@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root { --navy: #07152e; --navy-2: #0b1e3e; --ink: #0d1c38; --muted: #8da0be; --cyan: #36d6f7; --cyan-dark: #0aa7d4; --violet: #8b75ff; --yellow: #ffd66b; --line: rgba(150, 191, 238, .17); --white: #f8fbff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: 'DM Sans', system-ui, sans-serif; }
button, a, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.site-shell { overflow: hidden; min-height: 100vh; background: radial-gradient(circle at 79% 7%, rgba(14, 75, 142, .18), transparent 26rem), var(--navy); }
.section-wrap { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; gap: 48px; width: min(1270px, calc(100% - 56px)); height: 84px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px 'Space Grotesk', sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.brand-accent { color: var(--cyan); margin-left: 5px; }
.brand-mark { position: relative; display: inline-block; width: 27px; height: 27px; transform: rotate(45deg); }
.brand-mark span { position: absolute; display: block; background: var(--cyan); border-radius: 5px; }
.brand-mark span:nth-child(1) { width: 9px; height: 27px; left: 9px; top: 0; }.brand-mark span:nth-child(2) { width: 27px; height: 9px; left: 0; top: 9px; }.brand-mark span:nth-child(3) { width: 6px; height: 6px; left: 11px; top: 11px; background: var(--navy); border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-right: auto; color: #a9b7cf; font-size: 13px; font-weight: 600; }
.main-nav a { padding: 8px 0; transition: color .2s; }.main-nav a:hover, .main-nav a.active { color: var(--white); }.main-nav a.active { position: relative; }.main-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 3px; background: var(--cyan); }
.topbar-cta { padding: 12px 19px; border: 1px solid rgba(54, 214, 247, .35); border-radius: 999px; color: var(--white); background: rgba(54, 214, 247, .13); font-size: 13px; font-weight: 700; }.topbar-cta span { margin-left: 8px; color: var(--cyan); }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 48px; min-height: 600px; padding: 52px 0 70px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--cyan); font: 700 11px 'Space Grotesk', sans-serif; letter-spacing: .14em; }.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }.hero h1 { max-width: 570px; margin: 22px 0 20px; font: 700 clamp(42px, 5vw, 69px)/.99 'Space Grotesk', sans-serif; letter-spacing: -.075em; }.hero h1 em { color: var(--cyan); font-style: normal; }.hero-lead { max-width: 470px; color: #a8b6ca; font-size: 17px; line-height: 1.65; }.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 29px 0 39px; }.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 0 20px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }.button:hover { transform: translateY(-2px); }.button-primary { color: #06203d; background: var(--cyan); box-shadow: 0 9px 26px rgba(54, 214, 247, .18); }.button-primary:hover { background: #6ae4fa; }.button-ghost { color: var(--white); border: 1px solid rgba(153, 192, 229, .42); background: transparent; }.button-ghost:hover { border-color: var(--cyan); background: rgba(54, 214, 247, .08); }.play-icon { display: grid; place-items: center; width: 22px; height: 22px; padding-left: 2px; border-radius: 50%; color: var(--navy); background: var(--cyan); font-size: 9px; }
.hero-proof { display: flex; align-items: center; gap: 12px; color: #dce6f6; font-size: 12px; }.proof-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(54, 214, 247, .3); border-radius: 50%; color: var(--cyan); background: rgba(54, 214, 247, .1); font-size: 19px; }.hero-proof strong, .hero-proof small { display: block; }.hero-proof strong { font-size: 12px; }.hero-proof small { margin-top: 3px; color: var(--muted); }.proof-divider { width: 1px; height: 28px; margin: 0 6px; background: var(--line); }
.hero-visual { position: relative; min-height: 435px; display: grid; place-items: center; }.game-preview { position: relative; z-index: 2; width: min(100%, 600px); padding: 18px; border: 1px solid rgba(52, 159, 230, .78); border-radius: 24px; background: linear-gradient(145deg, #112e59, #0a1a37); box-shadow: 0 25px 65px rgba(0,0,0,.32), 0 0 0 10px rgba(35, 117, 197, .08), inset 0 1px 0 rgba(255,255,255,.1); transform: rotate(-2deg); }.preview-topline { display: flex; align-items: center; gap: 10px; }.preview-topline strong, .preview-topline small { display: block; }.preview-topline strong { font-size: 14px; }.preview-topline small { margin-top: 3px; color: #91a8c6; font-size: 10px; }.mini-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--navy); background: var(--cyan); font-weight: 800; }.preview-menu { margin-left: auto; color: #7690b3; letter-spacing: 3px; }.preview-board { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin-top: 17px; padding: 15px; border-radius: 15px; background: rgba(3, 14, 34, .44); }.word-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; align-content: center; padding: 11px; border: 1px solid rgba(115, 165, 221, .15); border-radius: 10px; background: rgba(16, 46, 82, .55); }.word-grid span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 4px; color: #a8c4ec; background: rgba(85, 144, 210, .12); font: 700 11px 'Space Grotesk'; }.word-grid span:nth-child(-n+3), .word-grid span:nth-child(n+17):nth-child(-n+19) { color: #082540; background: var(--cyan); box-shadow: 0 0 14px rgba(54,214,247,.25); }.preview-side { display: flex; flex-direction: column; justify-content: center; gap: 7px; }.side-label { margin-bottom: 4px; color: #7190b8; font-size: 9px; letter-spacing: .16em; }.preview-side strong { padding: 9px 11px; border: 1px solid rgba(124, 162, 212, .25); border-radius: 7px; color: #c9d8ec; background: rgba(25, 62, 105, .7); font-size: 11px; }.preview-side strong.found { border-color: rgba(54,214,247,.75); color: var(--cyan); }.preview-side button { margin-top: 7px; padding: 10px 8px; border: 0; border-radius: 7px; color: #04223e; background: var(--cyan); font-size: 10px; font-weight: 800; }.preview-side button span { float: right; }.preview-footer { display: flex; align-items: center; gap: 16px; padding: 14px 4px 0; color: #93add0; font-size: 10px; }.preview-footer span:first-child { color: var(--cyan); }.progress { width: 58px; height: 4px; overflow: hidden; border-radius: 9px; background: #1e3c64; }.progress i { display: block; width: 70%; height: 100%; background: var(--cyan); }.orbit { position: absolute; border: 1px solid rgba(43, 165, 234, .3); border-radius: 50%; transform: rotate(-25deg); }.orbit-one { width: 620px; height: 270px; }.orbit-two { width: 470px; height: 200px; transform: rotate(44deg); border-color: rgba(139,117,255,.24); }.floating-tag { position: absolute; z-index: 3; padding: 11px 15px; border: 1px solid rgba(54,214,247,.4); border-radius: 11px; color: var(--cyan); background: rgba(6, 29, 61, .9); box-shadow: 0 10px 20px rgba(0,0,0,.2); font: 700 11px 'Space Grotesk'; }.tag-xp { top: 38px; left: 4%; transform: rotate(-9deg); }.tag-level { right: 1%; bottom: 56px; color: #e2ecfb; transform: rotate(7deg); }.tag-level b { color: var(--cyan); margin-left: 8px; letter-spacing: 3px; }.floating-star { position: absolute; color: var(--cyan); text-shadow: 0 0 14px var(--cyan); }.star-one { top: 20px; right: 18%; }.star-two { bottom: 38px; left: 12%; color: var(--yellow); }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 116px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 26, 53, .56); }.quick-link { display: flex; align-items: center; gap: 12px; min-height: 95px; padding: 16px 22px; border-right: 1px solid var(--line); }.quick-link:last-child { border: 0; }.quick-link:hover strong { color: var(--cyan); }.quick-icon { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 800; }.quick-icon.cyan { color: var(--cyan); background: rgba(54,214,247,.13); }.quick-icon.violet { color: #aa9aff; background: rgba(139,117,255,.14); }.quick-icon.yellow { color: var(--yellow); background: rgba(255,214,107,.13); }.quick-icon.green { color: #80efbd; background: rgba(85,230,158,.13); }.quick-link strong, .quick-link small { display: block; }.quick-link strong { font-size: 13px; transition: color .2s; }.quick-link small { margin-top: 4px; color: #7f94b5; font-size: 10px; line-height: 1.3; }.arrow { margin-left: auto; color: #7089aa; font-size: 17px; }
.catalog { margin-bottom: 120px; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 30px; }.section-heading h2, .how-copy h2 { max-width: 590px; margin: 12px 0 0; font: 700 39px/.98 'Space Grotesk'; letter-spacing: -.06em; }.section-heading p { margin: 0 0 2px; color: #8498b8; font-size: 13px; }.level-tabs { display: flex; gap: 8px; margin-bottom: 26px; }.level-tab { min-width: 67px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; color: #91a5c2; background: transparent; font-size: 12px; font-weight: 700; }.level-tab:hover, .level-tab.active { border-color: var(--cyan); color: var(--navy); background: var(--cyan); }.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #0c2142; transition: transform .2s, border-color .2s; }.game-card:hover { border-color: rgba(54,214,247,.48); transform: translateY(-4px); }.game-card.featured { grid-column: span 2; display: grid; grid-template-columns: .95fr 1.05fr; }.card-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 174px; overflow: hidden; background: #102d55; }.featured .card-art { min-height: 100%; }.art-label { position: absolute; z-index: 1; top: 15px; left: 16px; color: var(--cyan); font: 700 9px 'Space Grotesk'; letter-spacing: .13em; }.soup-art { background: radial-gradient(circle at 54% 50%, rgba(54,214,247,.3), transparent 21%), linear-gradient(135deg, #1b4380, #0d2247); }.art-grid { position: relative; z-index: 1; width: 124px; padding: 15px; border: 1px solid rgba(54,214,247,.45); border-radius: 10px; color: #a8def3; background: rgba(4,22,53,.7); font: 700 15px/2.15 'Space Grotesk'; letter-spacing: 12px; transform: rotate(-9deg); box-shadow: 0 15px 28px rgba(0,0,0,.2); }.art-orbit { position: absolute; width: 210px; height: 90px; border: 1px solid rgba(54,214,247,.38); border-radius: 50%; transform: rotate(35deg); }.phrase-art { background: linear-gradient(135deg, #1d265e, #382573); }.phrase-shape { position: absolute; padding: 12px 19px; border-radius: 9px; color: #fff; background: rgba(113,97,239,.7); font: 700 14px 'Space Grotesk'; box-shadow: 0 12px 20px rgba(0,0,0,.18); transform: rotate(-12deg); }.shape-a { left: 25%; top: 38%; }.shape-b { right: 20%; top: 24%; background: rgba(54,214,247,.75); transform: rotate(8deg); }.shape-c { right: 25%; bottom: 18%; background: rgba(255,214,107,.75); color: var(--ink); transform: rotate(-4deg); }.phrase-line { position: absolute; width: 130px; height: 1px; background: rgba(255,255,255,.25); transform: rotate(-13deg); }.odd-art { background: linear-gradient(135deg, #0f3d5a, #104e48); }.odd-word { display: flex; flex-direction: column; gap: 6px; font: 700 13px 'Space Grotesk'; }.odd-word b { padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: #bce1e6; background: rgba(0,20,40,.3); }.odd-word .marked { border-color: var(--yellow); color: var(--yellow); }.cross { position: absolute; right: 23%; top: 36%; color: var(--yellow); font-size: 46px; }.memory-art { background: linear-gradient(135deg, #442858, #1c2e62); }.memory-cards { display: grid; grid-template-columns: repeat(2, 62px); gap: 7px; transform: rotate(7deg); }.memory-cards span { display: grid; place-items: center; height: 62px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: var(--cyan); background: rgba(8, 26, 65, .74); font: 700 13px 'Space Grotesk'; }.memory-cards span:nth-child(2), .memory-cards span:nth-child(3) { color: var(--yellow); background: rgba(255,214,107,.13); }.card-content { padding: 20px 21px 18px; }.card-meta, .card-bottom { display: flex; align-items: center; justify-content: space-between; }.card-type { color: #7b95bb; font: 700 9px 'Space Grotesk'; letter-spacing: .15em; }.difficulty { display: flex; gap: 3px; }.difficulty i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }.difficulty i.off { background: #2f496f; }.card-content h3 { margin: 16px 0 8px; font: 600 20px/1.1 'Space Grotesk'; letter-spacing: -.04em; }.card-content p { min-height: 40px; margin-bottom: 21px; color: #8ea3c2; font-size: 12px; line-height: 1.5; }.card-bottom { color: #738caf; font-size: 11px; }.card-link { padding: 0; border: 0; color: var(--cyan); background: transparent; font-size: 12px; font-weight: 700; }.card-link span { margin-left: 5px; font-size: 15px; }.card-link.muted { color: #7088a9; cursor: default; }.game-card[hidden] { display: none; }.empty-state { padding: 48px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; }
.how-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: 62px 0 82px; border-top: 1px solid var(--line); }.how-copy p { max-width: 420px; margin: 22px 0 20px; color: #91a4c0; line-height: 1.6; font-size: 14px; }.text-link { color: var(--cyan); font-size: 13px; font-weight: 700; }.text-link span { margin-left: 8px; }.steps { display: grid; gap: 13px; }.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 33, 66, .5); }.step > span { color: var(--cyan); font: 700 13px 'Space Grotesk'; }.step strong, .step small { display: block; }.step strong { font-size: 14px; }.step small { margin-top: 5px; color: #8298b7; font-size: 12px; }.footer { display: flex; align-items: center; justify-content: space-between; padding: 27px 0 34px; border-top: 1px solid var(--line); color: #7087a8; font-size: 11px; }.footer .brand { color: var(--white); font-size: 14px; }.footer > a:last-child { color: var(--cyan); }
.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(1, 9, 23, .82); backdrop-filter: blur(10px); }.modal-backdrop[hidden] { display: none; }.generator-modal { position: relative; width: min(920px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 34px; border: 1px solid rgba(54,214,247,.34); border-radius: 22px; background: #0a2041; box-shadow: 0 30px 90px rgba(0,0,0,.45); }.modal-close { position: absolute; top: 15px; right: 18px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: #b2c2da; background: transparent; font-size: 22px; line-height: 1; }.modal-close:hover { color: var(--white); border-color: var(--cyan); }.generator-head { max-width: 640px; margin-bottom: 27px; }.generator-head h2 { margin: 10px 0 8px; font: 700 32px 'Space Grotesk'; letter-spacing: -.06em; }.generator-head p { margin: 0; color: #9cafc9; font-size: 13px; }.generator-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; }.generator-controls { display: flex; flex-direction: column; gap: 9px; }.generator-controls label { margin-top: 3px; color: #dce8f7; font-size: 12px; font-weight: 700; }.generator-controls label span { float: right; color: #7590b5; font-size: 10px; font-weight: 400; }.generator-controls textarea, .generator-controls select { width: 100%; border: 1px solid rgba(133,177,227,.22); border-radius: 9px; outline: none; color: var(--white); background: #071733; }.generator-controls textarea { resize: vertical; padding: 12px; line-height: 1.65; font-size: 13px; }.generator-controls textarea:focus, .generator-controls select:focus { border-color: var(--cyan); }.generator-controls select { height: 42px; padding: 0 12px; }.generator-buttons { display: flex; gap: 8px; margin-top: 10px; }.generator-buttons .button { min-height: 40px; padding: 0 13px; font-size: 11px; }.generator-note { margin: 8px 0 0; color: #7590b5; font-size: 11px; line-height: 1.5; }.puzzle-area { min-width: 0; padding: 18px; border: 1px solid rgba(131,178,229,.16); border-radius: 14px; background: rgba(3, 15, 35, .4); }.puzzle-status { display: flex; justify-content: space-between; margin-bottom: 15px; color: #9bb0cc; font-size: 12px; }.puzzle-status span:last-child { color: var(--cyan); font-weight: 700; }.puzzle-board { display: grid; grid-template-columns: repeat(var(--grid-size, 12), 1fr); gap: 4px; width: min(100%, 400px); margin: 0 auto; padding: 10px; border-radius: 10px; background: #0e2c55; }.puzzle-cell { display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 1px solid rgba(149,194,239,.1); border-radius: 4px; color: #bad0e9; background: rgba(64,120,181,.14); font: 700 clamp(10px, 2vw, 15px) 'Space Grotesk'; user-select: none; }.puzzle-cell:hover, .puzzle-cell.selected { border-color: var(--cyan); color: #061d38; background: var(--cyan); }.puzzle-cell.found { border-color: rgba(129,239,189,.7); color: #062d31; background: #80efbd; }.word-bank { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 17px; }.word-chip { padding: 6px 10px; border: 1px solid rgba(129,166,210,.25); border-radius: 999px; color: #b8c9de; background: rgba(40,76,122,.45); font-size: 11px; }.word-chip.found { border-color: rgba(128,239,189,.45); color: #80efbd; text-decoration: line-through; }.shake { animation: shake .28s linear; } @keyframes shake { 25% { transform: translateX(5px); } 75% { transform: translateX(-5px); } }
.rhyme-featured { grid-column: span 2; display: grid; grid-template-columns: .95fr 1.05fr; }.rhyme-art { min-height: 100%; background: radial-gradient(circle at 50% 55%, rgba(255,214,107,.25), transparent 30%), linear-gradient(135deg, #194f70, #193064); }.rhyme-card-preview { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; transform: rotate(-5deg); }.rhyme-card-preview img { width: 104px; aspect-ratio: 1.35; object-fit: cover; border: 4px solid #f7f9e9; border-radius: 11px; box-shadow: 0 13px 25px rgba(0,0,0,.28); }.rhyme-card-preview img:last-child { transform: translateY(18px) rotate(8deg); }.rhyme-card-preview span { color: var(--yellow); font: 700 26px 'Space Grotesk'; text-shadow: 0 0 15px rgba(255,214,107,.8); }.rhyme-spark { position: absolute; right: 17%; bottom: 18%; color: var(--yellow); font-size: 21px; text-shadow: 0 0 16px var(--yellow); }
.rhyme-modal { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 32px; border: 1px solid rgba(255,214,107,.34); border-radius: 22px; background: #0a2041; box-shadow: 0 30px 90px rgba(0,0,0,.45); }.rhyme-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-right: 32px; }.rhyme-head h2 { margin: 10px 0 8px; font: 700 32px 'Space Grotesk'; letter-spacing: -.06em; }.rhyme-head p { margin: 0; color: #9cafc9; font-size: 13px; }.rhyme-score { flex: 0 0 auto; padding: 11px 16px; border: 1px solid rgba(255,214,107,.35); border-radius: 12px; background: rgba(255,214,107,.08); text-align: right; }.rhyme-score strong, .rhyme-score span { display: block; }.rhyme-score strong { color: var(--yellow); font: 700 19px 'Space Grotesk'; }.rhyme-score span { margin-top: 3px; color: #a9b6ca; font-size: 10px; }.rhyme-feedback { margin: 24px 0 14px; padding: 12px 15px; border: 1px solid rgba(54,214,247,.18); border-radius: 9px; color: #c8d7ea; background: rgba(54,214,247,.06); font-size: 12px; }.rhyme-feedback.success { border-color: rgba(128,239,189,.45); color: #80efbd; background: rgba(128,239,189,.08); }.rhyme-feedback.error { border-color: rgba(255,153,133,.45); color: #ffb8a8; background: rgba(255,153,133,.08); }.rhyme-board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }.rhyme-tile { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 12px; background: #f6f8e9; box-shadow: 0 8px 16px rgba(0,0,0,.18); transition: transform .18s, border-color .18s, opacity .2s; }.rhyme-tile:hover { border-color: var(--cyan); transform: translateY(-3px) rotate(-1deg); }.rhyme-tile img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; }.rhyme-tile.selected { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,107,.2), 0 10px 20px rgba(0,0,0,.24); transform: translateY(-4px) rotate(1deg); }.rhyme-tile.matched { border-color: #80efbd; opacity: .56; pointer-events: none; transform: scale(.96); }.rhyme-tile.matched::after { content: '✓'; position: absolute; right: 7px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #06362e; background: #80efbd; font-weight: 800; }.rhyme-actions { display: flex; align-items: center; gap: 15px; margin-top: 20px; }.rhyme-actions .button { min-height: 39px; padding: 0 15px; font-size: 11px; }.rhyme-actions span { color: #7891b3; font-size: 11px; }.rhyme-board.shake { animation: shake .28s linear; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 40px; }.hero-copy { max-width: 680px; }.hero-visual { min-height: 390px; }.quick-links { grid-template-columns: repeat(2, 1fr); }.quick-link:nth-child(2) { border-right: 0; }.quick-link:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.game-grid { grid-template-columns: repeat(2, 1fr); }.game-card.featured, .rhyme-featured { grid-column: span 2; }.how-section { gap: 45px; } }
@media (max-width: 620px) { .section-wrap, .topbar { width: min(100% - 34px, 1160px); }.topbar { height: 72px; gap: 0; justify-content: space-between; }.main-nav { display: none; }.topbar-cta { padding: 10px 13px; font-size: 11px; }.hero { min-height: auto; padding: 38px 0 58px; }.hero h1 { font-size: clamp(40px, 12vw, 58px); }.hero-lead { font-size: 15px; }.hero-proof { align-items: flex-start; }.proof-divider { display: none; }.hero-visual { min-height: 300px; margin: 16px -8px 0; transform: scale(.92); }.game-preview { padding: 11px; }.preview-board { padding: 9px; gap: 7px; }.word-grid { gap: 3px; padding: 7px; }.word-grid span { font-size: 8px; }.preview-side strong { padding: 7px; font-size: 9px; }.floating-tag { font-size: 9px; padding: 8px; }.tag-xp { left: -2%; top: 35px; }.tag-level { right: -2%; bottom: 35px; }.quick-links { grid-template-columns: 1fr; margin-bottom: 75px; }.quick-link, .quick-link:nth-child(2) { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--line); }.quick-link:last-child { border-bottom: 0; }.section-heading { display: block; }.section-heading h2, .how-copy h2 { font-size: 34px; }.section-heading p { margin-top: 14px; }.game-grid { grid-template-columns: 1fr; }.game-card.featured, .rhyme-featured { grid-column: span 1; display: block; }.featured .card-art, .rhyme-art { min-height: 174px; }.how-section { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 60px; }.footer { flex-wrap: wrap; gap: 16px; }.footer > span { order: 3; width: 100%; }.generator-modal { padding: 26px 18px 20px; }.generator-head h2 { font-size: 27px; }.generator-layout { grid-template-columns: 1fr; gap: 22px; }.generator-buttons { flex-wrap: wrap; }.puzzle-area { order: -1; }.puzzle-board { width: min(100%, 360px); gap: 3px; padding: 7px; }.rhyme-modal { padding: 26px 16px 20px; }.rhyme-head { display: block; padding-right: 18px; }.rhyme-head h2 { font-size: 27px; }.rhyme-score { display: inline-block; margin-top: 16px; text-align: left; }.rhyme-board { grid-template-columns: repeat(3, 1fr); gap: 8px; }.rhyme-actions { align-items: flex-start; flex-direction: column; gap: 10px; } }
@media print { body { background: white; color: #111; }.site-shell > *:not(main), .modal-close, .generator-controls, .generator-head p, .puzzle-status { display: none !important; }.modal-backdrop { position: static; display: block; background: white; }.generator-modal { width: 100%; max-height: none; border: 0; box-shadow: none; background: white; }.generator-head { display: block; color: #111; }.generator-head .eyebrow { color: #087d9c; }.generator-head h2 { color: #111; }.puzzle-area { border: 0; background: white; }.puzzle-board { background: white; border: 1px solid #ccc; }.puzzle-cell { border-color: #bbb; color: #111; background: white; }.word-chip { color: #111; border-color: #bbb; background: white; } }
.modal-backdrop { padding: 0; align-items: stretch; }
.generator-modal, .rhyme-modal { width: 100%; height: 100vh; max-height: none; min-height: 100vh; border-right: 0; border-left: 0; border-radius: 0; }
.generator-modal { padding: clamp(32px, 6vh, 72px) clamp(22px, 7vw, 110px); }
.rhyme-modal { padding: clamp(32px, 6vh, 72px) clamp(22px, 7vw, 110px); }
.rhyme-head, .rhyme-feedback, .rhyme-board, .rhyme-actions { width: min(1240px, 100%); margin-left: auto; margin-right: auto; }
.rhyme-board { grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: clamp(12px, 1.5vw, 22px); }
.rhyme-tile img { aspect-ratio: 1.42; }
.generator-head, .generator-layout { width: min(1240px, 100%); margin-left: auto; margin-right: auto; }
.generator-layout { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); }
.puzzle-board { width: min(100%, 600px); }
.rhyme-match-layout { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: start; gap: clamp(18px, 3vw, 48px); width: min(1240px, 100%); margin: 0 auto; }.rhyme-column { min-width: 0; }.column-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }.column-heading strong, .column-heading small { display: block; }.column-heading strong { color: #e9f1fb; font: 700 14px 'Space Grotesk'; }.column-heading small { margin-top: 3px; color: #7891b3; font-size: 10px; }.column-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #06233f; background: var(--cyan); font: 700 13px 'Space Grotesk'; }.column-number.yellow { color: #392600; background: var(--yellow); }.rhyme-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.rhyme-connector { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 100%; padding-top: 48px; color: #6f88aa; text-align: center; }.rhyme-connector span { font: 700 10px/1.35 'Space Grotesk'; letter-spacing: .12em; text-transform: uppercase; }.rhyme-connector i { color: var(--yellow); font-size: 24px; font-style: normal; }.rhyme-success { position: absolute; z-index: 10; inset: 0; display: grid; place-items: center; overflow: hidden; padding: 30px; background: rgba(4, 17, 40, .82); backdrop-filter: blur(8px); }.rhyme-success[hidden] { display: none; }.success-card { position: relative; z-index: 1; width: min(420px, 100%); padding: 42px 30px 34px; border: 1px solid rgba(255,214,107,.65); border-radius: 24px; background: linear-gradient(145deg, #153a68, #0b2246); box-shadow: 0 22px 70px rgba(0,0,0,.42), 0 0 0 10px rgba(255,214,107,.06); text-align: center; animation: success-pop .35s ease-out; }.success-badge { display: grid; place-items: center; width: 65px; height: 65px; margin: 0 auto 18px; border: 4px solid var(--yellow); border-radius: 50%; color: #684c00; background: var(--yellow); font-size: 28px; box-shadow: 0 0 0 8px rgba(255,214,107,.13), 0 0 28px rgba(255,214,107,.4); }.success-card .eyebrow { justify-content: center; color: var(--yellow); }.success-card h3 { margin: 11px 0 8px; color: var(--white); font: 700 42px 'Space Grotesk'; letter-spacing: -.07em; }.success-card p { margin-bottom: 24px; color: #b3c4da; font-size: 13px; }.success-sparkle { position: absolute; color: var(--yellow); font-size: 26px; text-shadow: 0 0 17px var(--yellow); }.sparkle-one { top: 24%; left: 28%; }.sparkle-two { right: 28%; bottom: 24%; color: var(--cyan); text-shadow: 0 0 17px var(--cyan); } @keyframes success-pop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) { .rhyme-match-layout { grid-template-columns: 1fr; gap: 22px; }.rhyme-connector { min-height: 0; padding: 0; flex-direction: row; }.rhyme-connector span br { display: none; }.rhyme-connector i { transform: rotate(90deg); }.rhyme-column + .rhyme-connector { order: 2; }.rhyme-column:last-child { order: 3; } }
@media (max-width: 620px) { .rhyme-board { gap: 8px; }.rhyme-tile { border-width: 2px; }.column-heading { margin-bottom: 9px; }.success-card h3 { font-size: 36px; } }
.art-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 172px; aspect-ratio: 1; padding: 10px; border: 1px solid rgba(54,214,247,.55); border-radius: 10px; background: rgba(4,22,53,.82); box-shadow: 0 15px 28px rgba(0,0,0,.26); transform: rotate(-7deg); letter-spacing: 0; }.art-grid span { display: grid; place-items: center; min-width: 0; border-radius: 3px; color: #a8def3; background: rgba(85,144,210,.17); font: 700 11px 'Space Grotesk'; }.art-grid span.marked { color: #062540; background: var(--cyan); box-shadow: 0 0 9px rgba(54,214,247,.4); }.art-grid span:nth-child(n+15):nth-child(-n+18) { color: var(--ink); background: var(--yellow); box-shadow: 0 0 9px rgba(255,214,107,.34); }
.grade-picker { display: grid; grid-template-columns: 255px 1fr; align-items: center; gap: 35px; padding: 25px 0 12px; }.grade-picker-heading h2 { margin: 8px 0 4px; color: var(--white); font: 700 27px 'Space Grotesk'; letter-spacing: -.055em; }.grade-picker-heading p { margin: 0; color: #8ea3c2; font-size: 12px; }.grade-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.grade-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 82px; padding: 14px 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; color: var(--white); background: rgba(12, 37, 73, .82); text-align: left; transition: transform .2s, border-color .2s, background .2s; }.grade-card::before { content: ''; position: absolute; inset: auto auto -34px -19px; width: 100px; height: 100px; border-radius: 50%; background: var(--grade-glow); opacity: .2; }.grade-card:hover, .grade-card:focus-visible { border-color: var(--grade-color); background: rgba(18, 52, 96, .9); outline: none; transform: translateY(-3px); }.grade-number { position: relative; grid-row: span 2; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: var(--navy); background: var(--grade-color); font: 700 18px 'Space Grotesk'; }.grade-name, .grade-hint { position: relative; display: block; }.grade-name { font: 700 13px 'Space Grotesk'; letter-spacing: .05em; }.grade-hint { margin-top: 4px; color: #8da5c5; font-size: 10px; }.grade-arrow { position: relative; color: var(--grade-color); font-size: 22px; }.grade-one { --grade-color: var(--cyan); --grade-glow: var(--cyan); }.grade-two { --grade-color: #a996ff; --grade-glow: #a996ff; }.grade-three { --grade-color: var(--yellow); --grade-glow: var(--yellow); }
@media (max-width: 900px) { .grade-picker { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }.grade-picker-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; }.grade-picker-heading .eyebrow { width: 100%; }.grade-picker-heading h2 { margin-bottom: 0; } }
@media (max-width: 620px) { .grade-picker { gap: 15px; padding-top: 20px; }.grade-picker-heading { display: block; }.grade-picker-heading h2 { font-size: 25px; }.grade-picker-heading p { margin-top: 4px; }.grade-options { gap: 7px; }.grade-card { grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; min-height: 118px; padding: 13px 5px 12px; text-align: center; }.grade-number { grid-row: auto; width: 42px; height: 42px; font-size: 16px; }.grade-name { margin-top: 8px; font-size: 11px; }.grade-hint, .grade-arrow { display: none; } }
.catalog-group { margin-top: 31px; }.catalog-group-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }.catalog-group-heading h3 { margin: 0; color: #dfeafa; font: 700 15px 'Space Grotesk'; letter-spacing: -.02em; }.catalog-group-heading span { color: #7088aa; font-size: 11px; }.catalog-group-heading::after { content: ''; flex: 1; height: 1px; background: var(--line); }.upcoming-group { margin-top: 48px; }.game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }.game-card, .game-card.featured, .rhyme-featured { grid-column: auto; display: flex; flex-direction: column; min-height: 426px; }.card-art, .featured .card-art, .rhyme-art { flex: 0 0 188px; min-height: 188px; }.card-content { display: flex; flex: 1; flex-direction: column; }.card-content p { flex: 1; }
@media (max-width: 900px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.game-card, .game-card.featured, .rhyme-featured { grid-column: auto; } }
@media (max-width: 620px) { .game-grid { grid-template-columns: 1fr; }.game-card, .game-card.featured, .rhyme-featured { min-height: 0; }.catalog-group-heading { margin-bottom: 12px; }.upcoming-group { margin-top: 37px; } }
@media (max-width: 620px) { .generator-modal, .rhyme-modal { padding: 26px 16px 20px; }.generator-layout { grid-template-columns: 1fr; }.rhyme-head { display: block; padding-right: 18px; }.rhyme-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
