:root {
  --plum: #24103a;
  --plum-deep: #13091f;
  --blue: #315bff;
  --coral: #ff4f7a;
  --cyan: #9ff7ff;
  --lavender: #c9b9ff;
  --chrome: #f2f0f7;
  --ink: #170d27;
  --muted: #675b76;
  --line: rgba(23, 13, 39, .17);
  --serif: "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--chrome); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
button { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 4px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 200; left: 18px; top: -80px; padding: 12px 18px; background: var(--cyan); color: var(--ink); font-weight: 900; }
.skip-link:focus { top: 18px; }

.top-signal { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 34px; padding: 7px 24px; background: var(--coral); color: var(--ink); font-size: .76rem; font-weight: 900; }
.top-signal a { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: relative; z-index: 50; background: rgba(19, 9, 31, .97); color: white; border-bottom: 1px solid rgba(255,255,255,.15); }
.header-shell { width: min(1320px, calc(100% - 40px)); min-height: 92px; margin: auto; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 5px 9px rgba(0,0,0,.3)); }
.brand > span { font: 900 1.45rem/.72 var(--serif); letter-spacing: -.055em; text-transform: lowercase; }
.brand small { display: block; margin-top: 8px; font: 700 .57rem/1 var(--sans); letter-spacing: .04em; color: var(--cyan); }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.7vw, 42px); font-weight: 800; font-size: .9rem; }
.site-header nav > a:not(.account-link) { position: relative; padding-block: 9px; }
.site-header nav > a:not(.account-link)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--coral); transition: left .2s, right .2s; }
.site-header nav > a:hover::after, .site-header nav > a[aria-current="page"]::after { left: 0; right: 0; }
.account-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 9px 8px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); }
.account-link i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); font-style: normal; }
.menu-button { display: none; justify-self: end; width: 54px; height: 50px; padding: 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: transparent; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 4px auto; background: white; }
.menu-button b { display: block; color: white; font-size: .57rem; }

.primary-button, .ghost-button, .light-button, .dark-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 0; border-radius: 999px; font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button { background: var(--coral); color: var(--ink); box-shadow: 0 8px 0 #982845; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #982845; }
.primary-button:active { transform: translateY(5px); box-shadow: 0 3px 0 #982845; }
.ghost-button { color: white; border: 2px solid rgba(255,255,255,.75); background: rgba(19,9,31,.26); backdrop-filter: blur(9px); }
.light-button { background: white; color: var(--ink); }
.dark-button { background: var(--plum); color: white; }

.hero { position: relative; min-height: 790px; overflow: hidden; background: var(--plum-deep); color: white; isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(19,9,31,.96) 0%, rgba(19,9,31,.82) 30%, rgba(19,9,31,.22) 67%, rgba(19,9,31,.06)), linear-gradient(0deg, rgba(19,9,31,.84), transparent 35%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(112deg, transparent 0 110px, rgba(159,247,255,.08) 110px 112px); pointer-events: none; }
.hero-copy { width: min(1320px, calc(100% - 40px)); margin: auto; padding: 120px 0 170px; }
.hero-note { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 24px; font-weight: 900; }
.hero-note::before { content: ""; width: 38px; height: 38px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: inset 0 0 0 9px rgba(159,247,255,.14); }
.hero h1 { margin: 0; max-width: 820px; font: 500 clamp(5.8rem, 12vw, 11rem)/.7 var(--serif); letter-spacing: -.075em; text-shadow: 0 10px 34px rgba(0,0,0,.3); }
.hero-copy > p:not(.hero-note) { max-width: 650px; margin: 42px 0 28px; color: #e9e2f1; font-size: 1.06rem; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-dial { position: absolute; right: clamp(20px, 7vw, 100px); top: 48px; width: 154px; height: 154px; display: grid; place-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(36,16,58,.58); backdrop-filter: blur(15px); text-align: center; box-shadow: inset 0 0 0 12px rgba(255,255,255,.06); }
.hero-dial b { display: block; font: 500 3.8rem/.8 var(--serif); }
.hero-dial span { font-size: .65rem; font-weight: 900; line-height: 1.1; }
.hero-ticker { position: absolute; left: -3%; right: -3%; bottom: 34px; display: flex; align-items: center; justify-content: space-around; gap: 20px; padding: 14px 3%; color: var(--ink); background: var(--cyan); transform: rotate(-2deg); font-weight: 900; white-space: nowrap; }
.hero-ticker i { color: var(--coral); font-style: normal; }

.mood-deck { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 100px max(20px, calc((100vw - 1320px) / 2)); background: #e9e5f0; }
.mood-intro h2, .runway-head h2, .worlds-card h2, .account-copy h2, .responsible-stage h2, .inner-hero h1, .catalog-hero h1, .game-intro h1, .not-found h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; }
.mood-intro h2 { margin: 0 0 22px; font-size: clamp(3.3rem, 6vw, 6rem); line-height: .82; }
.mood-intro p { max-width: 500px; color: var(--muted); }
.mood-buttons { align-self: end; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mood-buttons button { min-height: 100px; padding: 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.46); cursor: pointer; font-weight: 900; text-align: left; }
.mood-buttons button:hover { background: white; }
.mood-buttons i { display: inline-block; width: 18px; height: 18px; margin-right: 8px; border-radius: 50% 50% 8px 50%; background: var(--m); transform: rotate(35deg); }
.mood-buttons button:last-child { background: var(--plum); color: white; text-align: center; }

.game-runway { padding: 108px max(20px, calc((100vw - 1320px) / 2)); overflow: hidden; background: var(--plum); color: white; }
.runway-head { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; margin-bottom: 46px; }
.runway-head > div > p { margin: 0 0 15px; color: var(--cyan); font-weight: 900; }
.runway-head h2 { margin: 0; font-size: clamp(4rem, 8vw, 7.4rem); line-height: .76; }
.runway-copy > p { max-width: 530px; margin: 0 0 24px; color: #d7cce1; }
.runway-controls { display: flex; align-items: center; gap: 13px; }
.runway-controls button { flex: none; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: white; font-size: 1.35rem; cursor: pointer; }
.runway-controls button:hover:not(:disabled) { background: var(--cyan); color: var(--ink); }
.runway-controls button:disabled { opacity: .28; cursor: default; }
.runway-controls strong { flex: none; font-size: .75rem; }
.runway-progress { position: relative; flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.17); }
.runway-progress i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--cyan)); transform: scaleX(var(--progress,.08)); transform-origin: left; transition: transform .18s ease; }
.game-rail { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: minmax(260px, 27%); gap: 22px; align-items: stretch; overflow-x: auto; overflow-y: hidden; padding: 4px 8px 25px 2px; scroll-snap-type: x mandatory; scroll-padding-left: 2px; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--coral) rgba(255,255,255,.12); }
.game-rail::-webkit-scrollbar { height: 10px; }
.game-rail::-webkit-scrollbar-track { background: rgba(255,255,255,.12); }
.game-rail::-webkit-scrollbar-thumb { background: var(--coral); }

.game-card { --game-a: #315bff; --game-b: #ff4f7a; min-width: 0; overflow: hidden; background: white; color: var(--ink); border-radius: 28px 28px 10px 10px; box-shadow: 0 18px 40px rgba(24,8,40,.12); }
.game-rail .game-card { scroll-snap-align: start; }
.game-cover { position: relative; height: 275px; display: block; overflow: hidden; background: linear-gradient(145deg, var(--game-a), var(--game-b)); }
.game-cover::after { content: ""; position: absolute; inset: auto -22% -45% 20%; height: 80%; border: 2px solid rgba(255,255,255,.44); border-radius: 50%; transform: rotate(-20deg); }
.cover-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.48), transparent 45%), linear-gradient(145deg, transparent 45%, rgba(19,9,31,.22)); }
.cover-symbol { position: absolute; bottom: -3%; width: 60%; height: 86%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(19,9,31,.38)); transition: transform .25s ease; }
.cover-symbol-one { left: -6%; }
.cover-symbol-two { right: -7%; }
.game-cover:hover .cover-symbol-one { transform: translate(-5px, -7px) rotate(-2deg); }
.game-cover:hover .cover-symbol-two { transform: translate(5px, -8px) rotate(2deg); }
.cover-category { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(19,9,31,.8); color: white; font-size: .67rem; font-weight: 900; backdrop-filter: blur(8px); }
.cover-play { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-size: .67rem; font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.game-card-copy { padding: 22px; }
.game-card-copy h3 { margin: 0 0 10px; font: 500 1.62rem/.95 var(--serif); letter-spacing: -.035em; }
.game-card-copy p { min-height: 72px; margin: 0 0 16px; color: var(--muted); font-size: .84rem; }
.game-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.game-facts span { padding: 5px 8px; border-radius: 999px; background: #eeeaf3; font-size: .67rem; font-weight: 900; }
.game-card-compact .game-cover { height: 210px; }
.game-card-compact .game-card-copy { padding: 18px; }
.game-card-compact .game-card-copy h3 { font-size: 1.35rem; }
.game-card-compact .game-card-copy p { min-height: 58px; font-size: .78rem; }

.worlds-feature { position: relative; min-height: 740px; overflow: hidden; display: grid; align-items: center; padding: 80px max(20px, calc((100vw - 1320px) / 2)); background: var(--blue); }
.worlds-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.worlds-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,9,31,.94), rgba(19,9,31,.65) 45%, rgba(19,9,31,.05)); }
.worlds-card { position: relative; z-index: 2; max-width: 610px; padding: clamp(30px, 5vw, 62px); border: 1px solid rgba(255,255,255,.36); border-radius: 48px 48px 48px 8px; background: rgba(36,16,58,.75); color: white; backdrop-filter: blur(14px); }
.worlds-card h2 { margin: 0 0 25px; font-size: clamp(3.8rem, 7vw, 6.6rem); line-height: .76; }
.worlds-card p { margin-bottom: 28px; color: #e7ddf1; }

.account-feature { display: grid; grid-template-columns: minmax(360px, .88fr) 1.12fr; min-height: 820px; background: #e8e4ed; }
.account-image { position: relative; overflow: hidden; min-height: 680px; border-radius: 0 0 180px 0; }
.account-image img { width: 100%; height: 100%; object-fit: cover; }
.account-copy { align-self: center; max-width: 760px; padding: 90px clamp(32px, 7vw, 110px); }
.account-copy > p:first-child { margin: 0 0 16px; color: var(--blue); font-weight: 900; }
.account-copy h2 { margin: 0 0 26px; font-size: clamp(3.8rem, 6vw, 6.6rem); line-height: .78; }
.account-copy > p { color: var(--muted); }
.account-steps { margin: 34px 0; border-top: 1px solid var(--line); }
.account-steps article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.account-steps span { color: var(--coral); font: 500 1.9rem var(--serif); }
.account-steps h3 { margin: 0 0 4px; font-size: 1rem; }
.account-steps p { margin: 0; color: var(--muted); font-size: .84rem; }

.responsible-stage { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 46px max(20px, calc((100vw - 1320px) / 2)); background: var(--coral); color: var(--ink); }
.responsible-orbit { width: 94px; height: 94px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); box-shadow: inset 0 0 0 12px rgba(255,255,255,.24); font: 500 2rem var(--serif); }
.responsible-stage h2 { margin: 0 0 4px; font-size: clamp(2.6rem, 4vw, 4.5rem); line-height: .85; }
.responsible-stage p { max-width: 760px; margin: 0; }

.site-footer { position: relative; overflow: hidden; padding: 150px 0 0; background: var(--plum-deep); color: white; }
.footer-word { position: absolute; left: 50%; top: -38px; transform: translateX(-50%); width: max-content; color: rgba(255,255,255,.045); font: 500 clamp(9rem, 21vw, 21rem)/1 var(--serif); letter-spacing: -.09em; white-space: nowrap; }
.footer-shell { position: relative; width: min(1320px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 46px; padding: 60px 0; border-top: 1px solid rgba(255,255,255,.18); }
.footer-brand p { max-width: 390px; color: #bfb3cb; }
.footer-brand > strong { color: var(--cyan); }
.footer-shell > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-shell h3 { margin: 0 0 13px; color: var(--coral); font: 500 1.6rem var(--serif); }
.footer-shell > div:not(.footer-brand) a { color: #d8cfdf; font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px max(20px, calc((100vw - 1320px) / 2)); border-top: 1px solid rgba(255,255,255,.13); color: #9f91ac; font-size: .72rem; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 360px; padding: 15px 19px; border-radius: 18px 18px 4px 18px; background: var(--cyan); color: var(--ink); font-weight: 900; box-shadow: 0 16px 40px rgba(19,9,31,.26); transform: translateY(150px); transition: transform .25s ease; }
.toast.show { transform: none; }

/* Catalogue */
.catalog-hero, .inner-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; padding: 105px max(20px, calc((100vw - 1320px) / 2)); background: var(--plum); color: white; }
.catalog-hero { min-height: 520px; background: radial-gradient(circle at 80% 20%, rgba(49,91,255,.8), transparent 34%), radial-gradient(circle at 20% 90%, rgba(255,79,122,.38), transparent 30%), var(--plum); }
.catalog-hero p, .inner-hero > p { max-width: 620px; color: #d6cce0; }
.catalog-hero > div > p, .inner-hero > p:first-child { color: var(--cyan); font-weight: 900; }
.catalog-hero h1, .inner-hero h1 { margin: 0; font-size: clamp(5rem, 10vw, 9rem); line-height: .7; }
.catalog-controls { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 280px 1fr; gap: 20px; padding: 18px max(20px, calc((100vw - 1320px) / 2)); background: rgba(19,9,31,.97); color: white; }
.catalog-controls label { display: grid; gap: 4px; font-size: .67rem; font-weight: 900; }
.catalog-controls input { width: 100%; padding: 11px 13px; border: 0; border-radius: 999px; background: white; color: var(--ink); }
.category-scroll { display: flex; align-items: end; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.category-button { flex: none; padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: white; font-size: .72rem; font-weight: 900; cursor: pointer; }
.category-button.is-active { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.catalog-stage { padding: 64px max(20px, calc((100vw - 1320px) / 2)) 110px; background: #e8e4ed; }
.catalog-summary { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.catalog-summary strong { color: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.game-card[hidden], .empty-state[hidden] { display: none; }
.empty-state { padding: 80px; text-align: center; }

/* Game pages */
.game-page { --accent: #315bff; --accent-two: #ff4f7a; background: var(--plum-deep); color: white; }
.game-intro { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 610px; background: var(--plum); }
.game-intro-copy { align-self: center; padding: 80px max(40px, calc((100vw - 1320px) / 2)); padding-right: 40px; }
.back-link { display: inline-block; margin-bottom: 50px; text-decoration: underline; text-underline-offset: 5px; }
.game-intro-copy > p:not(.game-description) { color: var(--cyan); font-weight: 900; }
.game-intro h1 { margin: 14px 0 28px; max-width: 760px; font-size: clamp(5rem, 9vw, 9rem); line-height: .7; }
.game-description { max-width: 650px; color: #d7ccdf; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.game-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: .7rem; font-weight: 900; }
.game-intro-art { position: relative; min-height: 610px; overflow: hidden; background: linear-gradient(145deg, var(--accent), var(--accent-two)); border-radius: 0 0 0 150px; }
.game-intro-art > span { position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transform: rotate(-22deg); }
.game-intro-art img { position: absolute; bottom: 0; width: 63%; height: 84%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(19,9,31,.38)); }
.game-intro-art img:nth-of-type(1) { left: -7%; }
.game-intro-art img:nth-of-type(2) { right: -8%; }
.play-stage { padding: 54px max(20px, calc((100vw - 1320px) / 2)) 110px; background: radial-gradient(circle at 50% 0, rgba(49,91,255,.35), transparent 25%), var(--plum-deep); }
.game-console { padding: clamp(18px, 4vw, 42px); border: 1px solid rgba(255,255,255,.3); border-radius: 44px 44px 12px 12px; background: rgba(36,16,58,.88); box-shadow: 0 35px 90px rgba(0,0,0,.36); }
.console-top { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.console-top small, .balance-display small { display: block; color: #aa9bb8; }
.console-top h2 { margin: 2px 0 0; font: 500 2.6rem var(--serif); }
.balance-display { min-width: 170px; padding: 12px 17px; border-radius: 20px; background: white; color: var(--ink); text-align: right; }
.balance-display strong { display: block; font-size: 1.3rem; }
.reel-shell { position: relative; padding: 13px; border-radius: 34px; background: linear-gradient(130deg, var(--accent), var(--accent-two)); }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; padding: 12px; border-radius: 25px; background: rgba(19,9,31,.94); }
.reel-cell { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.reel-cell img { width: 94%; height: 94%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.32)); }
.reel-cell.win { background: rgba(159,247,255,.2); box-shadow: inset 0 0 0 4px var(--cyan); animation: win-pulse .7s ease-in-out 2; }
.reels.spinning .reel-cell img { animation: spin-tumble .16s linear infinite; }
@keyframes spin-tumble { 50% { transform: translateY(12px) scale(.85); filter: blur(2px); } }
@keyframes win-pulse { 50% { transform: scale(.94); } }
.feature-flash { position: absolute; inset: 13px; display: grid; place-items: center; border-radius: 25px; background: rgba(19,9,31,.88); opacity: 0; pointer-events: none; }
.feature-flash span { font: 500 clamp(2.8rem, 7vw, 7rem)/.8 var(--serif); text-align: center; }
.feature-flash.show { animation: feature-show 1.1s ease; }
@keyframes feature-show { 0%,100% { opacity: 0; } 20%,68% { opacity: 1; } }
.console-bottom { display: grid; grid-template-columns: auto 210px 1fr; gap: 18px; align-items: center; margin-top: 22px; }
.bet-picker { display: flex; min-height: 62px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; overflow: hidden; }
.bet-picker button { width: 56px; border: 0; background: rgba(255,255,255,.1); color: white; font-size: 1.4rem; cursor: pointer; }
.bet-picker > div { min-width: 110px; display: grid; place-content: center; text-align: center; }
.bet-picker small, .round-status small { display: block; color: #aa9bb8; }
.spin-button { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; background: var(--coral); color: var(--ink); box-shadow: 0 8px 0 #982845; font-weight: 900; font-size: 1.35rem; cursor: pointer; }
.spin-button:disabled { opacity: .6; }
.spin-button i { font-style: normal; }
.round-status strong { display: block; }
.session-strip { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 18px; color: #aa9bb8; font-size: .74rem; }
.game-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 44px; }
.game-details > article { padding: clamp(24px, 4vw, 40px); border-radius: 32px 32px 8px 32px; background: #eeeaf3; color: var(--ink); }
.game-details > article > p:first-child { color: var(--blue); font-weight: 900; }
.game-details h2 { margin: 0 0 18px; font: 500 3rem/.9 var(--serif); }
.game-details ol { padding-left: 20px; }
.feature-note { margin-top: 25px; padding: 17px 19px; border-left: 5px solid var(--coral); background: white; font-weight: 800; }
.paytable { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pay-symbol { display: grid; grid-template-columns: 66px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 17px; background: white; }
.pay-symbol img { width: 66px; height: 66px; object-fit: contain; }
.pay-symbol strong, .pay-symbol small { display: block; }
.pay-symbol small { color: var(--muted); font-size: .66rem; }

/* Account and utility pages */
.auth-page { background: var(--plum-deep); }
.auth-stage { width: min(1180px, calc(100% - 40px)); margin: 64px auto 96px; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 760px; overflow: hidden; border-radius: 48px 48px 12px 48px; background: white; box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.auth-visual { position: relative; overflow: hidden; min-height: 720px; color: white; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,9,31,.9), transparent 70%); }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.auth-visual > div { position: absolute; z-index: 2; left: 48px; right: 30px; bottom: 48px; }
.auth-visual p { color: var(--cyan); font-weight: 900; }
.auth-visual h1 { margin: 0; font: 500 clamp(4.2rem, 7vw, 7rem)/.72 var(--serif); letter-spacing: -.055em; }
.auth-panel { align-self: center; padding: clamp(32px, 5vw, 70px); color: var(--ink); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 34px; padding: 5px; border-radius: 999px; background: #eeeaf3; }
.auth-tabs button { padding: 12px; border: 0; border-radius: 999px; background: transparent; font-weight: 900; cursor: pointer; }
.auth-tabs button.is-active { background: var(--plum); color: white; }
.auth-panel h2 { margin: 0 0 8px; font: 500 3.2rem/.9 var(--serif); }
.auth-panel > p { color: var(--muted); }
.auth-form { display: grid; gap: 15px; margin-top: 26px; }
.auth-form[hidden] { display: none; }
.auth-form label, .profile-panel label { display: grid; gap: 6px; font-size: .78rem; font-weight: 900; }
.auth-form input, .profile-panel input { width: 100%; padding: 14px 15px; border: 1px solid #c9c0d1; border-radius: 14px; background: white; color: var(--ink); }
.password-field { position: relative; }
.password-field input { padding-right: 75px; }
.password-field button { position: absolute; right: 7px; bottom: 7px; padding: 7px 10px; border: 0; border-radius: 10px; background: #eeeaf3; font-weight: 900; cursor: pointer; }
.auth-form .consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.consent a, .auth-legal a { text-decoration: underline; }
.auth-message { padding: 12px 14px; border-radius: 13px; background: #ffe2e8; border-left: 5px solid var(--coral); font-weight: 800; }
.auth-message[data-type="success"] { background: #daf8f5; border-color: #2cb9aa; }
.auth-message[hidden] { display: none; }
.auth-legal { margin-top: 20px; font-size: .74rem; }
.browse-link { display: inline-block; margin-top: 13px; text-decoration: underline; text-underline-offset: 4px; font-weight: 900; }

.inner-hero { min-height: 520px; }
.inner-hero h1 { grid-row: 2; }
.inner-hero > p:first-child { grid-column: 1; margin: 0; }
.inner-hero > p:last-child { grid-column: 2; grid-row: 2; }
.profile-layout, .quest-layout, .support-layout, .story-layout, .legal-layout { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.profile-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }
.profile-card, .profile-panel, .profile-stats article, .support-cards article, .quest-card { background: white; box-shadow: 0 18px 50px rgba(23,13,39,.1); }
.profile-card { align-self: start; padding: 30px; border-radius: 30px 30px 8px 30px; }
.profile-avatar { width: 90px; height: 90px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--coral), var(--blue)); color: white; font: 500 2.7rem var(--serif); }
.profile-card h2 { margin-bottom: 2px; }
.profile-card p { color: var(--muted); word-break: break-word; }
.profile-card button { margin-top: 15px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.profile-stats article { padding: 26px; border-radius: 25px 25px 8px 25px; }
.profile-stats strong { display: block; font: 500 2.3rem var(--serif); }
.profile-stats span { color: var(--muted); font-size: .78rem; }
.profile-panel { margin-top: 22px; padding: 30px; border-radius: 28px 28px 8px 28px; }
.profile-panel h2 { font: 500 2rem var(--serif); }
.profile-panel form { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.recent-list { display: grid; gap: 8px; }
.recent-link { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; border-radius: 15px; background: #eeeaf3; font-weight: 900; }

.quest-hero { background: radial-gradient(circle at 78% 24%, rgba(255,79,122,.58), transparent 27%), radial-gradient(circle at 18% 90%, rgba(49,91,255,.62), transparent 28%), var(--plum); }
.quest-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 23px; }
.quest-card { position: relative; overflow: hidden; min-height: 390px; padding: 28px; border-radius: 46px 46px 10px 46px; }
.quest-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -45px; border-radius: 50%; background: hsl(calc(232 + var(--quest-index) * 22) 90% 70% / .22); }
.quest-number { color: var(--coral); font: 500 2rem var(--serif); }
.quest-card h2 { margin: 20px 0 10px; font: 500 2rem/.95 var(--serif); }
.quest-card p { min-height: 78px; color: var(--muted); }
.quest-progress { height: 10px; overflow: hidden; border-radius: 999px; background: #ddd5e5; }
.quest-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--coral)); }
.quest-meta { display: flex; justify-content: space-between; margin: 10px 0 22px; color: var(--muted); font-size: .76rem; }
.quest-meta strong { color: var(--blue); }
.quest-card button { width: 100%; }
.quest-card button:disabled { opacity: .45; cursor: default; transform: none; box-shadow: 0 5px 0 #982845; }
.quest-card.claimed { background: #ddf9f6; }

.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.story-layout > * { padding: clamp(28px, 5vw, 54px); border-radius: 42px 42px 8px 42px; background: white; }
.story-layout aside { padding: 0; overflow: hidden; min-height: 480px; }
.story-layout aside img { width: 100%; height: 100%; object-fit: cover; }
.story-layout h2 { margin: 0 0 22px; font: 500 3rem/.9 var(--serif); }
.story-layout p { color: var(--muted); }
.story-layout article:nth-child(3) { background: var(--plum); color: white; }
.story-layout article:nth-child(3) p { color: #d5cada; }
.support-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; }
.support-cards { display: grid; gap: 16px; }
.support-cards article { padding: 28px; border-radius: 30px 30px 8px 30px; }
.support-cards h2, .faq h2 { margin: 0 0 12px; font: 500 2.2rem var(--serif); }
.support-cards p { color: var(--muted); }
.support-cards a { color: var(--blue); font-weight: 900; text-decoration: underline; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 900; }
.faq details p { color: var(--muted); }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 70px; }
.legal-layout nav { position: sticky; top: 24px; align-self: start; display: grid; border-top: 1px solid var(--line); }
.legal-layout nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 900; }
.legal-layout article { max-width: 850px; }
.legal-layout article h2 { margin: 0; padding-top: 42px; font: 500 2.7rem/.9 var(--serif); }
.legal-layout article h2:first-child { padding-top: 0; }
.legal-layout article p, .legal-layout article li { color: var(--muted); }
.legal-layout table { width: 100%; border-collapse: collapse; background: white; }
.legal-layout th, .legal-layout td { padding: 13px; border: 1px solid #d5cddd; text-align: left; vertical-align: top; }
.legal-callout { margin: 25px 0; padding: 20px; border-radius: 4px 24px 24px 24px; background: var(--plum); color: white; font-weight: 800; }

.not-found { min-height: 70vh; display: grid; place-content: center; justify-items: center; padding: 70px 20px; background: radial-gradient(circle, rgba(49,91,255,.35), transparent 30%), var(--plum); color: white; text-align: center; }
.not-found img { width: 150px; }
.not-found p { margin: 0; color: var(--cyan); font-size: 1.2rem; }
.not-found h1 { margin: 0 0 25px; font-size: clamp(4rem, 9vw, 8rem); }

@media (max-width: 1040px) {
  .header-shell { min-height: 78px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .game-rail { grid-auto-columns: minmax(250px, 42%); }
  .mood-deck, .runway-head, .catalog-hero { grid-template-columns: 1fr; }
  .runway-copy { max-width: 650px; }
  .account-feature { grid-template-columns: .8fr 1.2fr; }
  .game-intro { grid-template-columns: 1fr; }
  .game-intro-copy { padding-inline: max(30px, calc((100vw - 900px) / 2)); }
  .game-intro-art { min-height: 490px; border-radius: 0 0 120px 0; }
  .game-details { grid-template-columns: 1fr; }
  .quest-grid { grid-template-columns: repeat(2,1fr); }
  .auth-stage { grid-template-columns: .85fr 1.15fr; }
}

@media (max-width: 760px) {
  .top-signal { justify-content: flex-start; gap: 18px; overflow-x: auto; white-space: nowrap; }
  .top-signal span:nth-child(2) { display: none; }
  .header-shell { width: min(100% - 28px, 1320px); grid-template-columns: auto auto; }
  .brand img { width: 48px; height: 48px; }
  .brand > span { font-size: 1.16rem; }
  .menu-button { display: block; }
  .site-header nav { position: fixed; inset: 112px 0 auto; display: none; padding: 28px; background: var(--plum-deep); flex-direction: column; align-items: stretch; }
  .site-header nav.open { display: flex; }
  .account-link { justify-content: space-between; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(19,9,31,.95), rgba(19,9,31,.45)), linear-gradient(0deg, rgba(19,9,31,.9), transparent 54%); }
  .hero-copy { width: min(100% - 30px, 1320px); padding: 160px 0 150px; }
  .hero h1 { font-size: clamp(4.8rem, 25vw, 7rem); }
  .hero-dial { right: 18px; top: 18px; width: 105px; height: 105px; }
  .hero-dial b { font-size: 2.8rem; }
  .hero-ticker { justify-content: flex-start; overflow: hidden; }
  .mood-deck, .game-runway { padding: 72px 15px; }
  .mood-deck { grid-template-columns: 1fr; gap: 30px; }
  .mood-buttons { grid-template-columns: 1fr 1fr; }
  .mood-buttons button { min-height: 82px; }
  .runway-head { grid-template-columns: 1fr; gap: 25px; }
  .game-rail { grid-auto-columns: minmax(240px, 82%); gap: 15px; }
  .game-card-compact .game-cover { height: 190px; }
  .worlds-feature { min-height: 680px; padding-inline: 15px; }
  .worlds-feature > img { object-position: 60% center; }
  .worlds-card { padding: 30px 25px; border-radius: 34px 34px 34px 8px; }
  .account-feature { grid-template-columns: 1fr; }
  .account-image { min-height: 500px; border-radius: 0 0 90px 0; }
  .account-copy { padding: 65px 20px; }
  .responsible-stage { grid-template-columns: 1fr; padding: 44px 20px; }
  .responsible-orbit { width: 78px; height: 78px; }
  .footer-shell { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-shell > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .catalog-hero, .inner-hero { grid-template-columns: 1fr; gap: 22px; min-height: 440px; padding: 72px 20px; }
  .catalog-hero h1, .inner-hero h1 { font-size: clamp(4.7rem, 23vw, 7rem); }
  .inner-hero > p:first-child, .inner-hero h1, .inner-hero > p:last-child { grid-column: auto; grid-row: auto; }
  .catalog-controls { grid-template-columns: 1fr; padding-inline: 15px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-stage { padding-inline: 15px; }
  .catalog-summary { align-items: flex-start; flex-direction: column; }
  .game-intro-copy { padding: 60px 20px; }
  .back-link { margin-bottom: 34px; }
  .game-intro h1 { font-size: clamp(4.7rem, 22vw, 7rem); }
  .game-intro-art { min-height: 390px; border-radius: 0 0 70px 0; }
  .play-stage { padding-inline: 10px; }
  .game-console { border-radius: 28px 28px 8px 8px; padding: 13px; }
  .console-top { align-items: flex-start; flex-direction: column; }
  .balance-display { text-align: left; }
  .reel-shell { padding: 6px; border-radius: 20px; }
  .reels { gap: 4px; padding: 6px; border-radius: 15px; }
  .reel-cell { border-radius: 10px; }
  .console-bottom { grid-template-columns: 1fr; }
  .spin-button { width: 100%; }
  .bet-picker { justify-content: space-between; }
  .paytable { grid-template-columns: 1fr; }
  .auth-stage { width: 100%; margin: 0; grid-template-columns: 1fr; border-radius: 0; }
  .auth-visual { min-height: 420px; }
  .auth-visual > div { left: 24px; bottom: 28px; }
  .auth-panel { padding: 38px 20px 60px; }
  .profile-layout, .support-layout, .story-layout, .legal-layout { width: min(100% - 30px, 1180px); grid-template-columns: 1fr; padding-block: 60px 85px; }
  .profile-stats { grid-template-columns: 1fr; }
  .profile-panel form { grid-template-columns: 1fr; }
  .quest-grid { grid-template-columns: 1fr; }
  .legal-layout nav { position: static; grid-template-columns: 1fr 1fr; }
  .legal-layout table { display: block; overflow-x: auto; }
}

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