:root {
  --page: #240819;
  --page-deep: #190511;
  --surface: #351027;
  --surface-2: #491537;
  --surface-3: #5b1b45;
  --line: rgba(255, 237, 220, .14);
  --text: #fff8ed;
  --muted: #d7c5d0;
  --amber: #ffc83d;
  --amber-2: #ff9f43;
  --violet: #a45cff;
  --coral: #ff7168;
  --blue: #45b9ff;
  --mint: #42e1ad;
  --green: #54df7e;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 0, 13, .28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 70% 0%, #5b174b 0, var(--page) 33rem, var(--page-deep) 100%); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--amber); color: #231006; padding: .65rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 40; min-height: 68px; padding: 0 clamp(1rem, 6vw, 7.5rem); display: flex; align-items: center; gap: 3rem; border-bottom: 1px solid var(--line); background: rgba(35, 5, 25, .88); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px 5px 10px 5px; transform: skew(-8deg); color: #2e1605; background: linear-gradient(135deg, #fff0a4, var(--amber)); box-shadow: 0 0 22px rgba(255, 200, 61, .38); font-weight: 1000; font-style: italic; }
.desktop-nav { display: flex; gap: 2rem; font-weight: 600; font-size: .95rem; }
.desktop-nav a, .nav-link-button, .footer-links a { color: var(--muted); }
.desktop-nav a:hover, .nav-link-button:hover, .footer-links a:hover { color: var(--text); }
.nav-link-button { padding: 0; border: 0; background: transparent; cursor: pointer; font-weight: inherit; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.search-box { width: min(240px, 20vw); height: 40px; padding: 0 .9rem; display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.055); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-box input::placeholder { color: #ae97a7; }
.streak-pill { display: flex; align-items: center; gap: .3rem; color: var(--amber); font-size: .84rem; white-space: nowrap; }
.profile-button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: linear-gradient(150deg, #8768ff, #f2ddff); color: #3e1a63; font-weight: 900; cursor: pointer; }
.archive-header-button { height: 38px; padding: 0 .78rem; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.055); color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 800; }

.hero { position: relative; min-height: 470px; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.25fr); overflow: hidden; border-bottom: 1px solid var(--line); background-image: linear-gradient(90deg, rgba(27,4,18,.45) 0%, rgba(43,7,31,.05) 55%, transparent 100%), url("assets/hero-landscape.webp"); background-size: cover; background-position: center; }
.hero-copy { position: relative; z-index: 6; padding: clamp(3rem, 6vw, 5.7rem) 1rem clamp(3rem, 6vw, 5.7rem) clamp(1.25rem, 7.7vw, 9rem); background: linear-gradient(90deg, rgba(31,5,20,.99) 0%, rgba(47,8,35,.92) 64%, rgba(47,8,35,.18) 88%, transparent 100%); }
.eyebrow, .section-kicker { margin: 0 0 .7rem; color: #c992ff; letter-spacing: .25em; text-transform: uppercase; font-weight: 800; font-size: .73rem; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 4.6vw, 5rem); line-height: .98; letter-spacing: -.055em; }
h1 span { color: var(--amber); text-shadow: 0 0 28px rgba(255, 200, 61, .18); }
.hero-description { max-width: 620px; margin: 1.25rem 0 1.35rem; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.2rem); }
.primary-button { min-height: 54px; padding: .8rem 1.35rem; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; background: linear-gradient(135deg, #ffe276, var(--amber)); color: #271404; box-shadow: 0 8px 28px rgba(255, 179, 39, .22); font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 11px 35px rgba(255, 179, 39, .34); }
.primary-button.small { min-height: 45px; padding: .65rem 1.2rem; }

.hero-art { position: relative; min-height: 470px; isolation: isolate; }
.hero-art > .stars, .hero-art > .mountains, .hero-art > .light-path, .hero-art > .puzzle-portal { display: none; }
.stars { position: absolute; inset: 0; opacity: .8; background-image: radial-gradient(circle, white 0 1px, transparent 1.5px), radial-gradient(circle, #e7b8ff 0 1px, transparent 1.5px); background-position: 20px 30px, 70px 90px; background-size: 97px 81px, 139px 113px; }
.mountains { position: absolute; inset: auto -5% 0 0; height: 58%; clip-path: polygon(0 67%, 8% 40%, 17% 60%, 29% 22%, 39% 59%, 50% 35%, 61% 71%, 70% 18%, 78% 55%, 90% 28%, 100% 61%, 100% 100%, 0 100%); }
.mountain-back { background: #51204d; opacity: .85; }
.mountain-front { height: 39%; background: linear-gradient(180deg, #371331, #180a18); clip-path: polygon(0 66%, 9% 48%, 17% 63%, 28% 38%, 38% 75%, 49% 45%, 58% 71%, 69% 35%, 79% 71%, 89% 43%, 100% 68%, 100% 100%, 0 100%); }
.light-path { position: absolute; z-index: 2; right: -4%; bottom: 0; width: 78%; height: 45%; border: 7px solid transparent; border-bottom-color: #ffbd39; border-radius: 70% 0 0 50%; transform: rotate(-6deg); filter: drop-shadow(0 0 9px #ff9b36); opacity: .9; }
.puzzle-portal { position: absolute; z-index: 4; right: 9%; top: 19%; width: 130px; height: 180px; padding: 11px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 4px; border: 7px solid #342033; border-radius: 50px 50px 10px 10px; background: #2b122b; box-shadow: 0 0 15px #ffae35, 0 0 55px rgba(255,174,53,.45); transform: perspective(400px) rotateY(-4deg); }
.portal-piece { border-radius: 6px; box-shadow: inset 0 0 15px rgba(255,255,255,.32), 0 0 15px currentColor; }
.p1 { color: var(--amber); background: #f7a928; grid-row: 1 / 3; clip-path: polygon(0 0,100% 0,75% 55%,100% 100%,0 100%); }
.p2 { color: var(--violet); background: #9e4cf5; }
.p3 { color: var(--blue); background: #3aaef4; }
.p4 { color: #ffd45b; background: #ffd45b; }
.p5 { color: var(--mint); background: #36d79f; grid-column: 2; grid-row: 3; }
.clue-stack { position: absolute; z-index: 7; left: 8%; top: 4%; width: min(410px, 48%); margin: 0; padding: 0; list-style: none; transform: rotate(-3deg); }
.clue-stack li { height: 62px; margin-bottom: -2px; padding: 0 1rem; display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: .55rem; border: 2px solid currentColor; border-radius: 12px; color: var(--amber); background: rgba(74,32,35,.93); box-shadow: 0 0 17px currentColor; font-size: .85rem; }
.clue-stack li:nth-child(2) { margin-left: 2px; color: var(--violet); background: rgba(64,29,88,.94); }
.clue-stack li:nth-child(3) { margin-left: -4px; color: var(--blue); background: rgba(20,64,97,.94); }
.clue-stack li:nth-child(4) { margin-left: 4px; color: var(--mint); background: rgba(22,78,62,.94); }
.clue-stack li:nth-child(5) { margin-left: -6px; color: var(--amber); }
.clue-stack b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.24); }
.clue-stack span { color: #fff; }
.clue-stack i { font-style: normal; font-weight: 800; }

.content-section { max-width: 1500px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 4rem) .5rem; }
.content-section.compact { padding-top: 1.25rem; }
.section-heading { margin-bottom: .9rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: -.025em; }
.section-kicker { margin-bottom: .15rem; color: #bb86e8; letter-spacing: .12em; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.text-button:hover { color: white; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.game-card { min-height: 145px; padding: 1.05rem; display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: 1rem; border: 1px solid rgba(199, 119, 255, .25); border-radius: var(--radius); background: linear-gradient(135deg, rgba(91,25,69,.92), rgba(43,12,47,.92)); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.game-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.26); }
.game-card.featured { border-color: rgba(255,200,61,.78); background: linear-gradient(135deg, rgba(104,44,36,.95), rgba(55,17,35,.95)); }
.game-copy h3 { margin: 0 0 .15rem; font-size: 1.35rem; }
.game-title-link:hover, .game-title-link:focus-visible { color: var(--amber); text-decoration: underline; text-underline-offset: .18em; }
.game-page-link { display: inline-block; margin-top: 7px; color: #7c285c; font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.game-page-link:hover, .game-page-link:focus-visible { color: var(--amber-dark); }
.cookie-banner { position: fixed; z-index: 1000; left: 18px; right: 18px; bottom: 18px; max-width: 980px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #32102b; color: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.3); }
.cookie-banner strong { font-size: 1.05rem; }
.cookie-banner p { margin: 6px 0; line-height: 1.45; color: #f1dfea; }
.cookie-banner a { color: #ffd47c; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.cookie-banner .secondary-button { border-color: #fff; color: #fff; }
.legal-page { max-width: 900px; margin: 0 auto; padding: 38px 24px 80px; }
.legal-page h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: #fff8ed; text-shadow: 0 10px 32px rgba(0,0,0,.24); }
.legal-card { margin-top: 24px; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(255,255,255,.72); border-radius: 22px; background: #fffaf4; color: #3a1830; box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 28px; color: #541b45; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { line-height: 1.7; }
.legal-card code { padding: .12em .35em; border-radius: .35em; background: #f3e5ee; color: #541b45; }
.legal-card .related-links a { border-color: rgba(84,27,69,.25); background: #f8edf3; color: #541b45; }
.legal-card .related-links a:hover, .legal-card .related-links a:focus-visible { border-color: #9b397d; color: #7d2465; }
@media (max-width: 700px) { .cookie-banner { align-items: stretch; flex-direction: column; } .cookie-actions { flex-direction: column-reverse; } .cookie-actions button { width: 100%; } }
.game-copy p { min-height: 2.5em; margin: 0; color: var(--muted); font-size: .9rem; }
.game-meta { margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .85rem; color: #d9c7d3; font-size: .78rem; }
.game-icon { min-height: 92px; display: grid; place-items: center; }
.layered-cards { position: relative; }
.layered-cards::before, .layered-cards::after, .layered-cards span { content: ""; position: absolute; width: 55px; height: 70px; border: 1px solid #70c8ff; border-radius: 8px; background: linear-gradient(145deg, #2474a7, #29206d); box-shadow: 0 0 18px rgba(70,180,255,.42); transform: rotate(-15deg); }
.layered-cards::after { border-color: #ad75ff; transform: rotate(-4deg) translate(10px); }
.layered-cards span { z-index: 2; display: grid; place-items: center; border-color: #ffd365; background: linear-gradient(145deg, #836731, #43332a); color: #ffe188; font-size: 2.2rem; font-weight: 900; transform: rotate(8deg) translate(20px); }
.rank-icon { align-content: center; gap: 3px; }
.rank-icon span { width: 80px; height: 17px; padding-left: .5rem; border-radius: 4px; background: linear-gradient(90deg, #b35aff, #5f69dd); font-size: .65rem; transform: rotate(-4deg); }
.false-icon { position: relative; }
.false-icon span { position: absolute; width: 62px; height: 45px; display: grid; place-items: center; border-radius: 9px; background: #2ecda4; box-shadow: 0 0 18px rgba(46,205,164,.45); font-size: 1.5rem; transform: rotate(-7deg) translate(-15px,-12px); }
.false-icon span + span { z-index: 2; background: #ff7168; box-shadow: 0 0 18px rgba(255,113,104,.45); transform: rotate(8deg) translate(20px,15px); }
.memory-game-card { border-color: rgba(66,225,173,.35); background: linear-gradient(135deg, rgba(21,77,67,.92), rgba(42,16,52,.94)); }
.memory-game-icon { width: 76px; height: 76px; min-height: 0; justify-self: center; border: 1px solid rgba(66,225,173,.7); border-radius: 18px; background: linear-gradient(145deg, #1b7763, #7041a3); color: #caffee; box-shadow: 0 0 24px rgba(66,225,173,.28); font-size: 2.4rem; }
.daily-ten-card { border-color: rgba(255,200,61,.48); background: linear-gradient(135deg, rgba(104,55,22,.94), rgba(65,22,61,.94)); }
.daily-ten-icon { position: relative; width: 78px; height: 78px; min-height: 0; justify-self: center; border: 1px solid rgba(255,200,61,.72); border-radius: 22px 12px 22px 12px; background: linear-gradient(145deg, #ffca3d, #a85aea); color: #321126; box-shadow: 0 0 25px rgba(255,200,61,.26); transform: rotate(-4deg); }
.daily-ten-icon span { font-size: 2rem; font-weight: 1000; }.daily-ten-icon small { position: absolute; right: 8px; top: 4px; color: #fff8ed; font-weight: 1000; }
.quote-game-card { border-color: rgba(164,92,255,.52); background: linear-gradient(135deg, rgba(72,35,111,.96), rgba(58,18,51,.94)); }
.sports-quiz-card { border-color: rgba(69,185,255,.5); background: linear-gradient(135deg, rgba(19,70,101,.95), rgba(38,16,52,.94)); }
.bollywood-quiz-card { border-color: rgba(255,113,104,.52); background: linear-gradient(135deg, rgba(108,42,50,.95), rgba(58,18,51,.94)); }
.hollywood-quiz-card { border-color: rgba(255,200,61,.5); background: linear-gradient(135deg, rgba(92,63,24,.95), rgba(48,20,48,.94)); }
.special-quiz-icon { min-height: 96px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; font-size: 2.2rem; font-weight: 1000; box-shadow: inset 0 0 28px rgba(255,255,255,.06); }
.sports-quiz-icon { background: linear-gradient(145deg, #2179a9, #19415d); }
.bollywood-quiz-icon { background: linear-gradient(145deg, #c9555e, #6d263b); }
.hollywood-quiz-icon { background: linear-gradient(145deg, #b07a20, #5e3a22); }
.seo-hero-card .special-quiz-icon { width: min(180px, 70%); min-height: 180px; font-size: 4.5rem; }
.quote-game-icon { position: relative; width: 78px; height: 78px; min-height: 0; justify-self: center; border: 1px solid rgba(194,132,255,.7); border-radius: 50% 50% 42% 58%; background: linear-gradient(145deg, #6631a5, #c45aa2); box-shadow: 0 0 25px rgba(164,92,255,.26); }
.quote-game-icon span { font-family: Georgia, serif; color: #fff4c4; font-size: 4rem; line-height: 1; transform: translateY(.5rem); }.quote-game-icon small { position: absolute; right: 9px; top: 7px; color: white; font-weight: 1000; }
.round-button { width: 46px; height: 46px; border: 0; border-radius: 50%; color: #211023; cursor: pointer; font-size: .9rem; transition: transform .18s ease; }
.round-button:hover { transform: scale(1.08); }
.amber { background: var(--amber); }.violet { background: var(--violet); }.blue { background: var(--blue); }.green { background: var(--mint); }
.empty-state { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.category-card { min-height: 86px; padding: .85rem; display: grid; grid-template-columns: 54px 1fr 15px; align-items: center; gap: .7rem; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: #3b153f; cursor: pointer; }
.category-card:hover { filter: brightness(1.13); }
.category-card > span:nth-child(2) { min-width: 0; }
.category-card strong, .category-card small { display: block; }
.category-card small { margin-top: .15rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-card i { color: var(--muted); font-style: normal; font-size: 1.7rem; }
.category-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; font-size: 1.6rem; font-weight: 900; background: rgba(255,255,255,.08); }
.category-card.word { border-color: rgba(164,92,255,.55); }.category-card.word .category-icon { color: #c381ff; }
.category-card.knowledge { border-color: rgba(255,113,104,.55); background: #471a31; }.category-card.knowledge .category-icon { color: var(--coral); }
.category-card.logic { border-color: rgba(69,185,255,.5); background: #172d4f; }.category-card.logic .category-icon { color: var(--blue); }
.category-card.memory { border-color: rgba(66,225,173,.5); background: #143c38; }.category-card.memory .category-icon { color: var(--mint); }
.category-card.money { border-color: rgba(84,223,126,.5); background: #1c432d; }.category-card.money .category-icon { color: var(--green); }
.category-card.trivia { border-color: rgba(255,200,61,.55); background: #503421; }.category-card.trivia .category-icon { color: var(--amber); }
.category-card.quotes { border-color: rgba(164,92,255,.55); background: #3c2457; }.category-card.quotes .category-icon { color: #d0a5ff; font-family: Georgia, serif; }
.coming-label { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .75rem; }
.money-layout { display: grid; grid-template-columns: 1fr 1fr .86fr; gap: 1rem; }
.money-layout .game-card { grid-template-columns: 105px 1fr 48px; }
.money-card { border-color: rgba(66,225,173,.42); background: linear-gradient(135deg, #174b39, #12302e); }
.price-card { border-color: rgba(69,185,255,.42); background: linear-gradient(135deg, #163d58, #172843); }
.money-icon, .price-icon { color: var(--mint); font-size: 3.4rem; text-shadow: 0 0 20px rgba(66,225,173,.5); }
.price-icon { color: var(--blue); }
.streak-card { min-height: 145px; padding: 1.15rem 1.4rem; border: 1px solid rgba(225,133,255,.3); border-radius: var(--radius); background: linear-gradient(145deg, #4c163e, #2b102e); box-shadow: var(--shadow); }
.streak-card p { margin: 0; font-weight: 800; }
.streak-number { display: flex; align-items: baseline; gap: .5rem; margin: .5rem 0 .7rem; }
.streak-number span { font-size: 2.3rem; }.streak-number strong { color: var(--amber); font-size: 2.4rem; line-height: 1; }.streak-number small { color: var(--muted); }
.week-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.day-dot { text-align: center; color: #9f8999; font-size: .63rem; }
.day-dot::before { content: ""; display: block; aspect-ratio: 1; margin: 0 auto .2rem; border: 2px solid #6a4961; border-radius: 50%; }
.day-dot.done { color: var(--text); }.day-dot.done::before { border-color: var(--amber); background: var(--amber); box-shadow: inset 0 0 0 3px #4a1a31; }

.daily-progress { width: min(1360px, calc(100% - 2rem)); margin: 1.5rem auto .35rem; padding: clamp(1rem, 2.5vw, 1.6rem); display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.6fr); align-items: center; gap: 1.25rem; border: 1px solid rgba(255,200,61,.28); border-radius: 22px; background: linear-gradient(135deg, rgba(85,25,65,.9), rgba(37,10,37,.94)); box-shadow: var(--shadow); }
.progress-summary { min-width: 0; }
.progress-summary p { margin: 0; color: #c992ff; font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.progress-summary h2 { margin: .2rem 0 .45rem; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.progress-summary > small { display: block; margin-top: .5rem; color: var(--muted); }
.today-progress-track { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.1); }
.today-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--mint)); transition: width .3s ease; }
.progress-streak { margin-top: .8rem; display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .78rem; }
.progress-streak strong { color: var(--amber); font-size: 1.15rem; }
.daily-progress-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.progress-game { min-width: 0; min-height: 76px; padding: .72rem; display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: .55rem; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.045); cursor: pointer; }
.progress-game:hover { border-color: rgba(255,200,61,.55); transform: translateY(-1px); }
.progress-game > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,200,61,.14); color: var(--amber); font-weight: 1000; }
.progress-game b, .progress-game i { display: block; min-width: 0; }
.progress-game b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.progress-game i { margin-top: .1rem; color: var(--muted); font-size: .68rem; font-style: normal; font-weight: 800; }
.progress-game.done { border-color: rgba(66,225,173,.52); background: rgba(33,112,87,.25); }
.progress-game.done > span { background: var(--mint); color: #123b31; }
.progress-game.done i { color: #8ff7d4; }

/* AD-READY HOOKS
   These elements use the HTML `hidden` attribute and occupy zero space.
   The future AdSense integration will reveal one only after an ad is filled. */
.ad-zone[hidden] { display: none !important; }
.ad-zone.is-filled { width: min(1180px, calc(100% - 2rem)); margin: 1.5rem auto; padding: .35rem 0; text-align: center; }
.ad-label { display: block; margin-bottom: .35rem; color: #a88f9f; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.ad-zone-content { min-width: 0; overflow: hidden; }

.about-section { max-width: 850px; margin: 5rem auto; padding: 0 1.5rem; text-align: center; }
.about-section h2 { margin: .4rem 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.about-section > p:last-child { color: var(--muted); font-size: 1.05rem; }
.site-footer { padding: 2rem clamp(1rem, 6vw, 7.5rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); background: #16040f; font-size: .85rem; }
.footer-links { display: flex; gap: 1rem; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,1,8,.78); backdrop-filter: blur(8px); }
.game-dialog { position: relative; z-index: 2; width: min(620px, 100%); max-height: min(850px, calc(100vh - 2rem)); overflow: auto; padding: clamp(1.25rem, 4vw, 2.2rem); border: 1px solid rgba(255,200,61,.35); border-radius: 24px; background: linear-gradient(155deg, #53173f, #27091d 68%); box-shadow: 0 28px 100px rgba(0,0,0,.52); }
.close-button { position: absolute; right: 1rem; top: 1rem; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.06); cursor: pointer; font-size: 1.5rem; }
.game-dialog-head { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: .8rem; padding-right: 2.5rem; }
.mini-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--amber); color: #301104; font-weight: 1000; font-size: 1.5rem; }
.game-dialog-head p, .game-dialog-head h2 { margin: 0; }.game-dialog-head p { color: var(--muted); font-size: .75rem; }.game-dialog-head h2 { font-size: 1.7rem; }
.attempts { color: var(--amber); font-size: .75rem; font-weight: 800; }
.game-progress { height: 5px; margin: 1rem 0 1.2rem; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.1); }.game-progress span { display: block; width: 20%; height: 100%; background: linear-gradient(90deg, var(--amber), var(--violet)); transition: width .25s ease; }
.game-instruction { color: var(--muted); font-size: .9rem; }
.play-clues { margin: 1.2rem 0; padding: 0; list-style: none; counter-reset: clue; }
.play-clues li { counter-increment: clue; min-height: 53px; margin: .5rem 0; padding: .8rem 1rem; display: flex; align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.055); animation: clueIn .3s ease both; }
.play-clues li::before { content: counter(clue); display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: rgba(255,200,61,.15); color: var(--amber); font-weight: 900; }
@keyframes clueIn { from { opacity: 0; transform: translateY(7px); } }
.secondary-button { width: 100%; min-height: 44px; border: 1px solid rgba(255,200,61,.45); border-radius: 10px; background: rgba(255,200,61,.08); color: #ffe080; cursor: pointer; font-weight: 800; }
.secondary-button:disabled { opacity: .45; cursor: default; }
.answer-form { margin-top: 1.15rem; }.answer-form label { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .8rem; }.answer-form > div { display: flex; gap: .6rem; }.answer-form input { min-width: 0; flex: 1; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; outline: none; background: rgba(255,255,255,.075); color: white; text-transform: uppercase; }.answer-form input:focus { border-color: var(--amber); }
.game-message { min-height: 1.4em; margin: .8rem 0 0; color: #ffb0a8; font-weight: 700; }
.result-panel { margin-top: 1rem; padding: 1.3rem; text-align: center; border: 1px solid rgba(66,225,173,.34); border-radius: 16px; background: rgba(66,225,173,.08); }.result-panel .result-icon { color: var(--amber); font-size: 2rem; }.result-panel h3 { margin: .1rem 0; font-size: 1.7rem; }.result-panel p { color: var(--muted); }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem; }.result-actions .secondary-button { width: auto; padding: .65rem 1.1rem; border-radius: 999px; }
.share-action { min-height: 42px; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: #fff; cursor: pointer; font-weight: 850; }
.share-copy { border-color: rgba(255,200,61,.5); background: rgba(255,200,61,.13); color: #ffe589; }
.share-whatsapp { border-color: rgba(66,225,173,.5); background: rgba(38,159,116,.2); color: #a2f7d9; }
.share-x { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.share-action:hover { filter: brightness(1.18); transform: translateY(-1px); }
.next-games { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.next-games > p { margin: 0 0 .6rem; color: var(--text); font-size: .82rem; }
.next-games > div { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.next-game-button { min-height: 38px; padding: .5rem .8rem; border: 1px solid rgba(164,92,255,.45); border-radius: 999px; background: rgba(164,92,255,.12); color: #e8d4ff; cursor: pointer; font-size: .75rem; font-weight: 850; }
.next-game-button:hover { border-color: var(--amber); color: var(--amber); }
.difficulty-result { display: table; margin: -.35rem auto 1rem; padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: #e6d3df; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.game-question { margin: .3rem 0 1rem; font-size: clamp(1.15rem, 3vw, 1.45rem); line-height: 1.35; }
.game-note { color: var(--muted); font-size: .82rem; }
.choice-list { display: grid; gap: .65rem; margin: 1rem 0; }
.choice-button { width: 100%; min-height: 52px; padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.055); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.choice-button:hover { border-color: rgba(255,200,61,.6); background: rgba(255,200,61,.08); transform: translateY(-1px); }
.choice-button.selected { border-color: var(--amber); background: rgba(255,200,61,.13); }
.choice-button.correct { border-color: var(--mint); background: rgba(66,225,173,.14); }
.choice-button.wrong { border-color: var(--coral); background: rgba(255,113,104,.12); }
.choice-letter { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--amber); font-weight: 900; }
.rank-board { display: grid; gap: .8rem; }
.rank-zone { min-height: 62px; padding: .75rem; border: 1px dashed rgba(255,200,61,.4); border-radius: 12px; background: rgba(0,0,0,.12); }
.rank-zone-title { margin: 0 0 .55rem; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.rank-items { display: flex; flex-wrap: wrap; gap: .5rem; }
.rank-token { min-height: 40px; padding: .55rem .75rem; border: 1px solid rgba(164,92,255,.48); border-radius: 10px; background: linear-gradient(135deg, rgba(117,49,151,.65), rgba(48,28,94,.72)); cursor: pointer; }
.rank-token:hover { border-color: var(--amber); }
.rank-token b { color: var(--amber); margin-right: .35rem; }
.game-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.game-actions .secondary-button { flex: 1; }
.memory-board { display: grid; grid-template-columns: repeat(4, minmax(52px, 1fr)); gap: .55rem; margin: 1rem 0; }
.memory-card { aspect-ratio: 1; border: 1px solid rgba(164,92,255,.45); border-radius: 12px; background: linear-gradient(145deg, #6c2e83, #35184c); box-shadow: inset 0 0 16px rgba(255,255,255,.04); cursor: pointer; color: transparent; font-size: clamp(1.35rem, 5vw, 2rem); transform-style: preserve-3d; transition: transform .2s ease, background .2s ease; }
.memory-card::before { content: "?"; color: #d3a8ef; font-weight: 900; }
.memory-card.flipped, .memory-card.matched { background: rgba(255,255,255,.1); color: white; transform: rotateY(180deg); }
.memory-card.flipped::before, .memory-card.matched::before { display: none; }
.memory-card.matched { border-color: var(--mint); box-shadow: 0 0 17px rgba(66,225,173,.2); }
.source-note { margin-top: 1rem; color: #ad95a5; font-size: .7rem; }
.quiz-topline { margin-bottom: .8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .75rem; }
.quiz-category { padding: .28rem .62rem; border: 1px solid rgba(255,200,61,.4); border-radius: 999px; color: var(--amber); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.quiz-question { min-height: 3.2em; }
.quiz-explanation { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.055); }
.quiz-explanation p { margin: .35rem 0 1rem; color: var(--muted); }
.quiz-verdict { color: var(--text); }.quiz-verdict.is-correct { color: var(--mint); }.quiz-verdict.is-wrong { color: #ffb0a8; }
.quiz-next { width: 100%; }
.lifeline-row { margin: -.25rem 0 .8rem; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }.lifeline-button { min-height: 38px; padding: .45rem .75rem; border: 1px solid rgba(69,185,255,.5); border-radius: 999px; background: rgba(69,185,255,.1); color: #a9ddff; cursor: pointer; font-size: .76rem; font-weight: 900; }.lifeline-button:disabled { opacity: .48; cursor: default; }.choice-button.eliminated { opacity: .28; text-decoration: line-through; pointer-events: none; }
.quiz-source-link { display: inline-block; margin-top: .55rem; color: #a9ddff; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.quiz-source-link:hover { color: #d4efff; }
.quote-text { min-height: 4.6em; padding-left: 1rem; border-left: 3px solid var(--amber); font-family: Georgia, serif; font-size: clamp(1.18rem, 3vw, 1.55rem); font-weight: 500; }
.archive-modal { z-index: 120; }.archive-dialog { position: relative; z-index: 2; width: min(860px, 100%); max-height: min(900px, calc(100vh - 2rem)); overflow: auto; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid rgba(164,92,255,.4); border-radius: 24px; background: linear-gradient(155deg, #4a173c, #210819 72%); box-shadow: 0 28px 100px rgba(0,0,0,.55); }
.archive-heading h2, .archive-heading p { margin-top: 0; }.archive-heading > p:last-child { color: var(--muted); }
.archive-game-tabs { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 .8rem; scrollbar-width: thin; }.archive-tab { flex: 0 0 auto; min-height: 38px; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.05); cursor: pointer; font-size: .76rem; font-weight: 800; }.archive-tab.active { border-color: var(--amber); background: rgba(255,200,61,.14); color: var(--amber); }
.archive-list { display: grid; gap: .55rem; }.archive-day { padding: .75rem .8rem; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.045); }.archive-day-info strong, .archive-day-info small { display: block; }.archive-day-info small { margin-top: .12rem; color: var(--muted); }.archive-score { color: var(--mint); font-size: .76rem; font-weight: 900; }.archive-play { min-height: 36px; padding: .4rem .75rem; border: 0; border-radius: 999px; background: var(--amber); color: #321507; cursor: pointer; font-size: .76rem; font-weight: 900; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 1.25rem; max-width: calc(100% - 2rem); padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff3db; color: #341323; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dedicated search-friendly game pages */
.seo-page { background: radial-gradient(circle at 82% 4%, #61204e 0, var(--page) 31rem, var(--page-deep) 100%); }
.seo-header .desktop-nav { margin-left: auto; }
.seo-header .header-actions { margin-left: 0; }
.breadcrumb { max-width: 1180px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 3rem) 0; color: #c8afbe; font-size: .78rem; }
.breadcrumb a:hover { color: var(--amber); }
.seo-game-hero { max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.seo-game-hero h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.seo-game-hero h1 span { display: block; }
.seo-game-hero p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.seo-hero-card { min-height: 330px; padding: 2rem; display: grid; place-items: center; border: 1px solid rgba(255,200,61,.55); border-radius: 28px; background: radial-gradient(circle, rgba(255,200,61,.16), transparent 48%), linear-gradient(145deg, #5e2438, #2a0c2a); box-shadow: 0 28px 70px rgba(10,0,8,.34); }
.seo-hero-card .layered-cards { width: 180px; height: 190px; transform: scale(1.75); }
.seo-main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem) 5rem; }
.seo-content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 1.2rem; }
.seo-info-card { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(82,24,62,.82), rgba(38,10,37,.9)); box-shadow: var(--shadow); }
.seo-info-card h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.seo-info-card h3 { margin-bottom: .35rem; }
.seo-info-card p, .seo-info-card li { color: var(--muted); }
.how-list { margin: 0; padding-left: 1.3rem; }
.how-list li { margin: .8rem 0; padding-left: .3rem; }
.quick-facts { margin: 0; display: grid; gap: .8rem; }
.quick-facts div { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.quick-facts div:last-child { padding-bottom: 0; border: 0; }
.quick-facts dt { color: var(--amber); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.quick-facts dd { margin: .15rem 0 0; color: var(--text); }
.seo-section { margin-top: 1.2rem; }
.faq-list details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--text); font-weight: 800; }
.faq-list details p { margin-bottom: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.related-links a { padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); font-weight: 750; }
.related-links a:hover { border-color: var(--amber); color: var(--amber); }

@media (max-width: 1100px) {
  .site-header { gap: 1.5rem; }.desktop-nav { display: none; }.search-box { width: 200px; }
  .hero { grid-template-columns: .9fr 1.1fr; }.hero-copy { padding-left: 2.2rem; }
  .clue-stack { left: 2%; width: 55%; }.puzzle-portal { right: 5%; transform: scale(.86); }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .money-layout { grid-template-columns: 1fr 1fr; }.streak-card { grid-column: 1 / -1; }
  .daily-progress { grid-template-columns: 1fr; }.daily-progress-games { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { min-height: 62px; padding: 0 1rem; }.brand { font-size: .96rem; }.brand-mark { width: 32px; height: 32px; }.search-box, .streak-pill span:last-child, .archive-header-button span:last-child { display: none; }.archive-header-button { width: 38px; padding: 0; justify-content: center; }.header-actions { gap: .55rem; }.streak-pill { font-size: .78rem; }
  .hero { min-height: auto; display: flex; flex-direction: column; background-image: none; }.hero-copy { padding: 3rem 1.25rem 2.4rem; background: radial-gradient(circle at 95% 5%, rgba(114,34,89,.5), transparent 45%), linear-gradient(180deg, #2d081f, #3a0d2c); }.hero-art { min-height: 360px; background-image: linear-gradient(180deg, rgba(41,7,29,.05), rgba(30,5,21,.18)), url("assets/hero-landscape.webp"); background-size: auto 100%; background-position: 69% center; }.hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }.hero-description { font-size: .97rem; }
  .clue-stack { left: 5%; top: 6%; width: 64%; }.clue-stack li { height: 53px; grid-template-columns: 31px 1fr 20px; padding: 0 .6rem; font-size: .72rem; }.clue-stack b { width: 25px; height: 25px; }.puzzle-portal { right: 2%; top: 21%; transform: scale(.62); transform-origin: right center; }
  .content-section { padding: 1.6rem 1rem .2rem; }.game-grid, .category-grid, .money-layout { grid-template-columns: 1fr; }.game-card, .money-layout .game-card { min-height: 125px; grid-template-columns: 88px 1fr 44px; gap: .65rem; }.game-card:last-child, .daily-ten-card, .streak-card { grid-column: auto; }.game-icon { min-height: 74px; transform: scale(.78); }.game-copy h3 { font-size: 1.15rem; }.game-copy p { font-size: .82rem; }.game-meta { gap: .55rem; font-size: .69rem; }
  .daily-progress { width: calc(100% - 2rem); margin-top: 1rem; }.daily-progress-games { grid-template-columns: 1fr 1fr; }.progress-game { min-height: 66px; padding: .6rem; }.progress-game b { font-size: .76rem; }
  .category-card { min-height: 76px; }.section-kicker { display: none; }.text-button { font-size: .78rem; }
  .about-section { margin: 4rem auto; }.site-footer { grid-template-columns: 1fr; text-align: center; }.site-footer .brand, .footer-links { justify-content: center; }.site-footer > p { margin: 0; }.footer-links { flex-wrap: wrap; }
  .answer-form > div { align-items: stretch; }.answer-form .primary-button { min-width: 94px; }.game-dialog { border-radius: 19px; }.game-dialog-head { grid-template-columns: 44px 1fr; }.attempts { grid-column: 2; }.close-button { right: .7rem; top: .7rem; }
  .memory-board { gap: .42rem; }.memory-card { border-radius: 9px; }.choice-button { min-height: 49px; }
  .archive-day { grid-template-columns: 1fr auto; }.archive-score { grid-column: 1; }.archive-play { grid-column: 2; grid-row: 1 / 3; }
  .seo-header .desktop-nav { display: none; }.seo-game-hero { grid-template-columns: 1fr; padding-top: 2.3rem; }.seo-hero-card { min-height: 245px; }.seo-hero-card .layered-cards { transform: scale(1.35); }.seo-hero-card .special-quiz-icon { width: 140px; min-height: 140px; font-size: 3.5rem; }.seo-content-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
