/* ==========================================================================
   Glass — frosted panels floating over a slow gradient. Layout is a bento
   grid: one tall hero cell with smaller cells packed around it.
   ========================================================================== */

:root {
    --ink: #f2f4ff;
    --dim: rgba(242, 244, 255, .62);
    --edge: rgba(255, 255, 255, .16);
    --fill: rgba(255, 255, 255, .08);
    --accent: #a5b4fc;
    --accent-2: #f0abfc;
    --wa: #22c55e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    min-height: 100vh;
    background: #0b0a1a;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }

/* --------------------------------------------------------------- blobs */

.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.blobs .b1 { top: -140px; left: -100px; width: 460px; height: 460px; background: #4f46e5; animation: drift1 22s ease-in-out infinite; }
.blobs .b2 { top: 30%; right: -160px; width: 420px; height: 420px; background: #db2777; animation: drift2 26s ease-in-out infinite; }
.blobs .b3 { bottom: -180px; left: 25%; width: 480px; height: 480px; background: #0891b2; animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 50% { transform: translate(90px, 70px) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(-80px, -60px) scale(.9); } }
@keyframes drift3 { 50% { transform: translate(60px, -80px) scale(1.08); } }

/* ---------------------------------------------------------------- glass */

/* The one surface treatment everything else inherits. */
.glass {
    background: var(--fill);
    border: 1px solid var(--edge);
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 18px 16px 44px; }

/* ------------------------------------------------------------------- nav */

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 40px; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: -.2px; word-break: break-word; }
.links { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.links a { padding: 6px 15px; border-radius: 30px; color: var(--dim); font-size: 14px; font-weight: 500; }
.links a:hover { background: rgba(255, 255, 255, .1); color: var(--ink); }
.links a.on { background: rgba(255, 255, 255, .92); color: #1a1533; }

/* --------------------------------------------------------------- bento */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.cell { padding: 22px; }
.hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.mini { grid-column: span 2; }
.wide { grid-column: span 4; padding: 16px 22px; }

.tag { display: inline-block; padding: 4px 12px; background: rgba(255, 255, 255, .12); border-radius: 30px; color: var(--dim); font-size: 11.5px; font-weight: 600; letter-spacing: .8px; }

/* Game name leads the hero, above the number. */
.gname-xl { margin-top: 12px; font-size: 32px; font-weight: 800; letter-spacing: -.8px; line-height: 1.15; word-break: break-word; }

.hnum { margin: 6px 0 4px; font-size: 82px; font-weight: 800; line-height: 1; letter-spacing: -5px; background: linear-gradient(120deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hsub { color: var(--dim); font-size: 14px; }
.hsub b { color: var(--ink); }

/* Pending: soft pulsing dots, no words and no icon. */
.dots { display: flex; gap: 12px; margin: 22px 0 14px; }
.dots i { width: 20px; height: 20px; background: rgba(255, 255, 255, .55); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
.dots.sm { margin: 0; gap: 7px; }
.dots.sm i { width: 11px; height: 11px; }
@keyframes pulse { 0%, 100% { transform: scale(.55); opacity: .35; } 50% { transform: scale(1); opacity: 1; } }

.mini-big { margin-top: 8px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.mini-big.sm { font-size: 30px; letter-spacing: -1px; }
.mini-name { margin-top: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.4px; word-break: break-word; }
.mini-sub { margin-top: 4px; color: var(--dim); font-size: 13.5px; }

.wide .line { font-size: 15px; }
.notice a { color: var(--accent-2); font-weight: 600; }

/* ---------------------------------------------------------------- pills */

.sec-h { margin: 28px 0 14px; font-size: 20px; font-weight: 700; letter-spacing: -.3px; }

.pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

.pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    opacity: 0;
    transform: translateY(14px);
    animation: float-in .5s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes float-in { to { opacity: 1; transform: none; } }

.pill:hover { background: rgba(255, 255, 255, .13); }
.pill-l { flex: 1; min-width: 0; }

/* Larger, heavier name — the primary label in each pill. */
.pname { font-size: 21px; font-weight: 800; letter-spacing: -.3px; word-break: break-word; }

.ptime { color: var(--dim); font-size: 13px; }
.plink { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.pill-r { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 74px; }
.pnum { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -2px; color: #fff; text-shadow: 0 0 26px rgba(240, 171, 252, .5); }
.pill.is-wait { border-color: rgba(240, 171, 252, .3); }

/* --------------------------------------------------------------- blocks */

.block { margin-top: 16px; padding: 22px; }
.block h3 { font-size: 19px; font-weight: 700; }
.rate { margin-top: 4px; color: var(--accent-2); font-size: 14px; font-weight: 600; }
.note { margin-top: 12px; color: var(--dim); font-size: 13.5px; }

.plist { list-style: none; margin-top: 12px; }
.plist li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 14.5px; }
.plist li span { font-weight: 600; }
.plist li i { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .2); }
.plist b { color: var(--dim); font-weight: 600; }

.cta { margin-top: 14px; }
.btn { display: inline-block; margin-right: 8px; padding: 11px 24px; background: var(--wa); border-radius: 30px; color: #062a12; font-size: 14px; font-weight: 700; }
.btn.tg { background: #38bdf8; color: #062334; }

/* ---------------------------------------------------------- week table */

.rec-wrap { overflow-x: auto; }
.rec { width: 100%; border-collapse: collapse; font-size: 14px; }
.rec th, .rec td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: center; white-space: nowrap; }
.rec thead th { color: var(--dim); font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.rec tbody tr:last-child td { border-bottom: 0; }
.rt-date { font-weight: 600; }
.rt-dash { color: rgba(255, 255, 255, .25); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 16px; }
.step { padding: 20px; border-radius: 20px; }
.step-ico { font-size: 26px; }
.step b { display: block; margin-top: 6px; font-size: 15px; }
.step span { color: var(--dim); font-size: 13.5px; }

/* ------------------------------------------------------------------- faq */

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 0; background: none; border: 0; color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.faq-ico { color: var(--accent-2); font-size: 19px; font-style: normal; transition: transform .25s ease; }
.faq-item.open .faq-ico { transform: rotate(135deg); }
.faq-a { display: none; padding-bottom: 14px; color: var(--dim); font-size: 14px; }
.faq-item.open .faq-a { display: block; }

.article h4 { margin-bottom: 9px; font-size: 19px; font-weight: 700; }
.article p { margin-bottom: 11px; color: rgba(242, 244, 255, .78); font-size: 14.5px; }
.article p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- footer */

.foot { margin-top: 30px; padding: 22px 4px; text-align: center; }
.foot .fname { font-size: 17px; font-weight: 700; }
.foot p { max-width: 720px; margin: 8px auto 0; color: var(--dim); font-size: 13px; word-break: break-word; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; background: var(--wa); border-radius: 50%; box-shadow: 0 10px 30px rgba(34, 197, 94, .4); color: #062a12; }

/* ------------------------------------------------------------ chart page */

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.filters select, .filters input { padding: 10px 12px; background: rgba(255, 255, 255, .1); border: 1px solid var(--edge); border-radius: 12px; color: var(--ink); font-family: inherit; font-size: 14px; }
.filters option { color: #1a1533; }
.btn-sm { display: inline-block; padding: 10px 20px; background: rgba(255, 255, 255, .92); border: 0; border-radius: 12px; color: #1a1533; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.btn-sm.ghost { background: rgba(255, 255, 255, .1); border: 1px solid var(--edge); color: var(--ink); }

@media (max-width: 820px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .hero { grid-column: span 2; grid-row: auto; }
    .mini { grid-column: span 1; }
    .wide { grid-column: span 2; }
}

@media (max-width: 560px) {
    .hnum { font-size: 62px; letter-spacing: -3px; }
    .gname-xl { font-size: 25px; }
    .mini { grid-column: span 2; }
    .pills { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; }
    .pill { opacity: 1; transform: none; }
}
