/* ===============================================
   BASE (this page has no other base stylesheet): reset, fonts, header/footer switch, a page that scrolls
   =============================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior: contain; }
html, body { height: 100%; }
body { font-family: 'JetBrains Mono', monospace; background: #090909; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; line-height: 1.15; text-wrap: balance; }
img, svg, canvas, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; font: inherit; }
a { color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
th { font-weight: inherit; }

@font-face { font-family: 'JetBrains Mono'; src: url('../Source/Font/JetBrainsMono-2.304/fonts/webfonts/JetBrainsMono-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../Source/Font/JetBrainsMono-2.304/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../Source/Font/JetBrainsMono-2.304/fonts/webfonts/JetBrainsMono-ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }

.header-d-wrap, .header-p-wrap, .footer-d-wrap, .footer-p-wrap { width: 100%; flex-shrink: 0; }
.header-p-wrap, .footer-p-wrap { display: none; }
.header-d-logo img, .header-p-logo img, .headerc-d-logo img, .headerc-p-logo img { max-width: none; height: 148%; }
@media (max-width: 768px) {
  .header-d-wrap, .footer-d-wrap { display: none; }
  .header-p-wrap, .footer-p-wrap { display: block; }
}
/* Pool page: a fixed frame like the text pages (Policies, FAQ): the title stays, the reading area scrolls inside it
   with the same thin custom scrollbar. Inside it: live numbers, where the weekly profit goes, and the rules of the coin. */
.pool-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; gap: 32px; padding: 36px 150px; overflow: hidden; color: #e6e6e6; font-family: 'JetBrains Mono', monospace; }
.pool-title-p { display: none; }
.pool-title-d, .pool-title-p { margin: 0; width: 100%; flex-shrink: 0; font-weight: 700; color: #3d0018; text-shadow: 0 1px 1px rgba(0, 255, 146, 0.5); white-space: nowrap; }
.pool-title-d { font-size: 40px; }
.pool-title-p { font-size: 30px; }
.pool-scroll { flex: 1 1 auto; min-height: 0; width: 100%; overflow: hidden; position: relative; }
.pool-scroll-inner { display: flex; flex-direction: row; align-items: stretch; gap: 6px; width: 100%; height: 100%; }
.pool-content-wrap { flex: 1 1 auto; min-width: 0; height: 100%; overflow-x: hidden; overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none; }
.pool-content-wrap::-webkit-scrollbar { display: none; width: 0; height: 0; }
.pool-content { width: 100%; max-width: 1000px; margin: 0 auto; color: #cdcdcd; font-size: 16px; }
.pool-scrollbar-track { flex-shrink: 0; align-self: stretch; width: 4px; padding: 4px 1px; box-sizing: border-box; background: #000; position: relative; }
.pool-scrollbar-thumb { position: absolute; left: 50%; width: 1px; transform: translateX(-50%); background: #00ff92; filter: blur(0.5px); cursor: pointer; }

/* ---- top ---- */
.pool-hero { text-align: center; margin-bottom: 26px; }
.pool-sub { opacity: .75; margin: 0 auto; font-size: 15px; max-width: 640px; line-height: 1.6; }
.pool-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 4px 12px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(245,197,66,.5); color: #f5c542; background: rgba(245,197,66,.08); }
.pool-badge i { width: 7px; height: 7px; border-radius: 50%; background: #f5c542; box-shadow: 0 0 8px #f5c542; }
.pool-badge.live { border-color: rgba(0,255,146,.5); color: #00ff92; background: rgba(0,255,146,.08); }
.pool-badge.live i { background: #00ff92; box-shadow: 0 0 8px #00ff92; animation: pool-pulse 2.2s ease-in-out infinite; }
@keyframes pool-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- live cards ---- */
.pool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.pool-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(205,205,205,.14); border-radius: 12px; padding: 16px; overflow: hidden; }
.pool-card .k { font-size: 11px; opacity: .65; text-transform: uppercase; letter-spacing: .1em; }
.pool-card .v { font-size: 24px; font-weight: 700; margin-top: 8px; color: #fff; word-break: break-all; }
.pool-card .s { font-size: 12px; opacity: .55; margin-top: 4px; line-height: 1.4; }
.pool-card.big { grid-column: 1 / -1; padding: 24px 20px; text-align: center; border-color: rgba(0,255,146,.35); background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(0,255,146,.14), rgba(0,0,0,0) 70%), linear-gradient(180deg, #0d1411, #070908); box-shadow: 0 0 30px rgba(0,255,146,.08); }
.pool-card.big .v { font-size: 52px; color: #00ff92; text-shadow: 0 0 22px rgba(0,255,146,.35); }
.pool-card.big .k { opacity: .8; }
.pool-card.gold .v { color: #f5c542; }

/* ---- sections ---- */
.pool-h { font-size: 22px; font-weight: 700; margin: 40px 0 6px; color: #fff; }
.pool-lead { opacity: .72; font-size: 14px; line-height: 1.6; margin: 0 0 16px; max-width: 760px; }

/* ---- where the profit goes ---- */
.pool-bar { display: flex; height: 44px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(205,205,205,.18); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.pool-bar span { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #060606; min-width: 0; overflow: hidden; }
.s-charity { background: linear-gradient(180deg, #19ffa0, #00c273); }
.s-pool { background: linear-gradient(180deg, #ffd864, #e0a91a); }
.s-net { background: linear-gradient(180deg, #e9e9e9, #a9a9a9); }
.s-bank { background: linear-gradient(180deg, #d1306f, #8e0f43); color: #fff !important; }
.pool-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pool-part { border: 1px solid rgba(205,205,205,.14); border-radius: 12px; padding: 14px; background: rgba(255,255,255,.04); }
.pool-part b { display: block; font-size: 22px; margin-bottom: 2px; }
.pool-part em { display: block; font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.pool-part p { margin: 0; font-size: 12.5px; line-height: 1.55; opacity: .72; }
.pool-part.c b, .pool-part.c em { color: #19ffa0; }
.pool-part.p b, .pool-part.p em { color: #ffd864; }
.pool-part.n b, .pool-part.n em { color: #dcdcdc; }
.pool-part.b b, .pool-part.b em { color: #ff5c9a; }
.pool-countdown { margin-top: 14px; font-size: 13px; opacity: .8; }
.pool-countdown b { color: #fff; font-variant-numeric: tabular-nums; }

/* ---- how it works: steps ---- */
.pool-steps { counter-reset: s; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pool-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; border: 1px solid rgba(205,205,205,.14); border-radius: 12px; background: rgba(255,255,255,.04); font-size: 14px; line-height: 1.6; }
.pool-steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #060606; background: linear-gradient(180deg, #ffd864, #e0a91a); }
.pool-steps li strong { color: #fff; }

/* ---- rules and risk ---- */
.pool-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.pool-rule { border: 1px solid rgba(205,205,205,.14); border-radius: 12px; padding: 14px; background: rgba(255,255,255,.04); }
.pool-rule .k { font-size: 11px; opacity: .6; text-transform: uppercase; letter-spacing: .1em; }
.pool-rule .v { font-size: 18px; font-weight: 700; margin: 6px 0 4px; color: #fff; }
.pool-rule p { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .7; }
.pool-risk { margin-top: 18px; border: 1px solid rgba(255,92,154,.45); background: rgba(142,15,67,.18); border-radius: 12px; padding: 16px 18px; font-size: 13.5px; line-height: 1.65; }
.pool-risk b { color: #ff9cc0; }
.pool-risk ul { margin: 8px 0 0; padding-left: 18px; }

/* ---- wallet and history ---- */
.pool-wallet { font-family: monospace; word-break: break-all; font-size: 15px; }
.pool-wallet a { color: #f5c542; }
.pool-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pool-table th, .pool-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pool-table th { font-size: 11px; opacity: .6; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }
.pool-note { opacity: .7; font-size: 13px; margin-top: 14px; line-height: 1.6; }
.pool-links { margin-top: 26px; font-size: 13px; opacity: .85; }
.pool-links a { color: #f5c542; }
.pool-off { text-align: center; padding: 10px; border: 1px dashed rgba(245,197,66,.45); border-radius: 10px; margin-bottom: 18px; display: none; color: #f5c542; font-size: 13px; }

@media (max-width: 860px) {
  .pool-grid { grid-template-columns: repeat(2, 1fr); }
  .pool-parts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pool-body { gap: 26px; padding: 36px 16px; }
  .pool-title-d { display: none; }
  .pool-title-p { display: block; }
  .pool-content { font-size: 14px; }
}
@media (max-width: 600px) {
  .pool-card .v { font-size: 20px; }
  .pool-card.big .v { font-size: 36px; }
  .pool-bar { height: 38px; }
  .pool-bar span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .pool-badge.live i { animation: none; } }

/* ---- the weekly sending: a week node, a moving track, the pool wallet ---- */
.pool-flow { display: grid; grid-template-columns: 1fr minmax(80px, 0.5fr) 1fr; align-items: center; gap: 0; }
.pf-node { border: 1px solid rgba(205,205,205,.16); border-radius: 12px; padding: 14px 16px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); }
.pf-node .k { font-size: 11px; opacity: .65; text-transform: uppercase; letter-spacing: .1em; }
.pf-node .v { font-size: 22px; font-weight: 700; margin-top: 6px; color: #fff; font-variant-numeric: tabular-nums; }
.pf-node .s { font-size: 12px; opacity: .55; margin-top: 6px; }
.pf-wallet { border-color: rgba(0,255,146,.4); box-shadow: 0 0 22px rgba(0,255,146,.1); }
.pf-wallet .v { color: #00ff92; }
.pf-prog { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 10px; overflow: hidden; }
.pf-prog i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #00c273, #19ffa0); position: relative; overflow: hidden; transition: width .6s ease; }
.pf-prog i::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: pf-shine 2.4s linear infinite; }
@keyframes pf-shine { from { left: -40%; } to { left: 100%; } }
.pf-track { position: relative; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, rgba(0,255,146,.45) 0 6px, transparent 6px 12px); }
.pf-track b { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #ffd864; box-shadow: 0 0 10px #ffd864; opacity: 0; animation: pf-move 3.2s linear infinite; }
.pf-track b:nth-child(2) { animation-delay: .8s; }
.pf-track b:nth-child(3) { animation-delay: 1.6s; }
.pf-track b:nth-child(4) { animation-delay: 2.4s; }
@keyframes pf-move { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@media (max-width: 600px) {
  .pool-flow { grid-template-columns: 1fr; }
  .pf-track { width: 2px; height: 46px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(0,255,146,.45) 0 6px, transparent 6px 12px); }
  .pf-track b { left: -4px; top: 0; animation-name: pf-move-v; }
}
@keyframes pf-move-v { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pf-prog i::after, .pf-track b { animation: none; } .pf-track b { opacity: 1; } }

/* Three rows: the XP, the pool, the coins. Each row is one line of cards. */
.pool-row { grid-column: 1 / -1; display: grid; gap: 12px; }
.pool-row.r4 { grid-template-columns: repeat(4, 1fr); }
.pool-row.r3 { grid-template-columns: repeat(3, 1fr); }
.pool-row.r2 { grid-template-columns: repeat(2, 1fr); }
.pool-row .pool-card { min-width: 0; }
@media (max-width: 860px) {
  .pool-row.r4, .pool-row.r3, .pool-row.r2 { grid-template-columns: repeat(2, 1fr); }
  .pool-row.r3 > :last-child { grid-column: 1 / -1; }
}
