:root {
  --bg:#100d25;
  --panel:#211c3c;
  --mint:#c4afff;
  --ink:#fff9f1;
  --muted:#c9c2dc;
  --line:#4c4368;
  --warm:#ffd27b;
  --arcade-purple:#a88aff;
  --arcade-peach:#ffc28b;
}
body { background:radial-gradient(ellipse at 95% 8%,#4d2f6d55,transparent 34rem),radial-gradient(ellipse at 2% 25%,#253d7430,transparent 40rem),var(--bg); }
h1,h2,h3 { font-family:"Trebuchet MS",system-ui,sans-serif; font-weight:800; }
header { background:#18132ecc; border-bottom-color:#493c60; }
.brand { letter-spacing:-.035em; }
.brand span { color:#ffc988; }
.navigation nav { gap:.3rem 1.2rem; }
.navigation nav a:hover { color:#ffd27b; }
.button,button { color:#231434; background:linear-gradient(180deg,#ffdfa3,#ffc478); border-radius:999px; box-shadow:0 4px 0 #9e613c,0 8px 22px #05041233; min-height:48px; }
.button:hover,button:hover { color:#22122f; background:#ffe4b5; }
.button.small { min-height:44px; box-shadow:none; }
.button.secondary,button.secondary { color:var(--ink); background:#312749; border:1px solid #9783bb; box-shadow:none; }
.disclaimer { border-color:#e6b365; background:linear-gradient(115deg,#3b2b25,#282239); border-radius:.9rem; }
.disclaimer strong { color:#ffda97; }
.disclaimer p { color:#f7e8d0; }
.account-panel,.play-area,.consent { background:linear-gradient(140deg,#2c2343,#211b37); border-color:#66517d; border-radius:1rem; }
.notice { background:#302647; border-left-color:#c9afff; }
.error { background:#582b3e; border-left-color:#ffb59c; }
input,select { background:#161128; border-color:#716283; border-radius:.55rem; }
input:focus,select:focus { outline-color:#ffd27b; }
.reading { max-width:57rem; }
.reading section { border-color:#4d4162; }
.reading h2 { color:#ffcf8c; }
.reading p { color:#ddd4e7; }
footer { background:linear-gradient(180deg,#1a142c,#110c20); border-color:#5f4675; }
.footer-disclaimer { border-color:#c49760; border-radius:.8rem; color:#ffe0ad; background:#302335; }
.footer-grid nav a:hover { color:#ffd27b; }
.resource-card { background:#251b37; border-color:#5f4675; }
.resource-image { background:#fff9f0; }
.consent { box-shadow:0 12px 30px #07041144; }
.market-hero { position:relative; display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:1.6rem; padding:3.6rem 0 4rem; min-width:0; }
.market-copy { position:relative; z-index:1; min-width:0; }
.market-intro { margin:0 0 .7rem; color:#d3b8ff; font-size:.75rem; letter-spacing:.14em; font-weight:750; }
.market-hero h1 { margin:0; font-size:clamp(3rem,5.2vw,5.25rem); letter-spacing:-.065em; line-height:1.035; font-weight:850; }
.market-hero h1 span { color:#ffcf8d; }
.market-description { max-width:30rem; font-size:1.12rem; color:#e1d6ee; line-height:1.65; margin:1.15rem 0; }
.market-access { display:flex; align-items:flex-start; gap:.8rem; max-width:32rem; padding:1rem; margin:1.2rem 0 1.4rem; border:1px solid #8f6fb0; background:#43305666; border-radius:.85rem; color:#e9dff4; }
.market-access p { margin:0; font-size:.92rem; line-height:1.55; }
.market-access strong { display:block; color:#fff8e9; }
.market-lock { width:18px; height:16px; margin:10px 3px 2px; border:2px solid #ffcd85; border-radius:3px; position:relative; flex:0 0 18px; }
.market-lock::before { content:""; position:absolute; width:10px; height:10px; border:2px solid #ffcd85; border-bottom:0; border-radius:8px 8px 0 0; left:2px; top:-11px; }
.market-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem 1.3rem; }
.market-primary { gap:1.3rem; }
.market-primary span { font-size:1.3rem; }
.market-rules { min-height:44px; display:inline-flex; align-items:center; }
.market-credit { font-size:.8rem; color:#bdb2cf; margin:1.1rem 0 0; }
.market-scene { position:relative; min-height:29rem; isolation:isolate; min-width:0; }
.scene-orbit { position:absolute; inset:5% -2% 5% 2%; border-radius:50%; background:radial-gradient(ellipse,#aa76db5c,#6a42a01c 65%,transparent 66%); border:1px solid #9271b430; transform:rotate(-14deg); }
.scene-feature { position:absolute; inset:10% 3% 11% 8%; border-radius:1.5rem; border:3px solid #a994f0; background:#35508f; box-shadow:0 20px 50px #0704129e,inset 0 0 0 3px #352e6f; transform:rotate(5deg); overflow:hidden; }
.scene-ocean { position:absolute; inset:0; background:linear-gradient(#143b5a11,#111d6977),url("covers/aqua-background.png") 50% 70%/cover; }
.scene-reel-frame { position:absolute; inset:19% 6% 25%; }
.scene-machine { position:absolute; width:100%; height:100%; object-fit:fill; filter:drop-shadow(0 8px 10px #0c1a4580); }
.scene-symbols { position:absolute; inset:13% 4% 6%; display:flex; align-items:center; }
.scene-symbols img { min-width:0; width:33.33%; filter:drop-shadow(0 5px 4px #152d5644); }
.scene-title { position:absolute; bottom:7%; left:0; right:0; text-align:center; color:#fff4c1; font:900 clamp(1.6rem,2.7vw,2.8rem)/1 system-ui,sans-serif; letter-spacing:.04em; text-shadow:0 3px 0 #514194,0 6px 12px #0b2856; }
.scene-mini { position:absolute; overflow:hidden; border:3px solid #f1c17a; border-radius:1rem; box-shadow:0 15px 25px #09051466; }
.scene-mini img { width:100%; height:100%; object-fit:cover; }
.scene-roulette { width:46%; height:31%; left:-3%; bottom:0; transform:rotate(-9deg); }
.scene-monkey { width:31%; height:34%; right:-2%; top:0; transform:rotate(12deg); border-color:#ce97ed; }
.scene-monkey img { object-position:50% 50%; }
.market-collection { padding:.5rem 0 2rem; }
.market-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:1.3rem; margin-bottom:1.25rem; }
.market-section-head h2 { margin:0; font-size:clamp(1.9rem,3.3vw,3rem); letter-spacing:-.04em; }
.market-section-head > p { color:#bbafcc; font-size:.875rem; line-height:1.5; margin:0; text-align:right; }
.market-gate-note { color:#cfbfdc; font-size:.9rem; margin:0 0 1.25rem; }
.market-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.2rem; }
.market-card { min-width:0; background:linear-gradient(155deg,#342545,#221a36); border:1px solid #69507f; border-radius:1rem; overflow:hidden; box-shadow:0 10px 24px #07041338; transition:transform .18s ease,border-color .18s ease; }
.market-card:hover { transform:translateY(-4px); border-color:#b493db; }
.market-art { display:block; position:relative; aspect-ratio:1.22; overflow:hidden; background:#332748; }
.market-art:focus-visible { outline-offset:-5px; }
.market-art::after { content:""; position:absolute; inset:0; box-shadow:inset 0 -18px 20px #17102333; pointer-events:none; }
.market-card-body { padding:1rem; display:flex; flex-direction:column; }
.market-category { margin:0 0 .35rem; color:#cdb0ed; font-size:.71rem; font-weight:650; letter-spacing:.04em; }
.market-card h3 { font:800 1.25rem/1.2 "Trebuchet MS",system-ui,sans-serif; color:#fff4de; margin:0 0 .55rem; letter-spacing:-.025em; }
.market-card-description { color:#cec2dc; font-size:.85rem; line-height:1.55; margin:0 0 1rem; min-height:4rem; }
.market-play { display:flex; justify-content:space-between; min-height:44px; padding:.55rem 1rem; font-size:.9rem; margin-top:auto; box-shadow:0 3px 0 #99633f; }
.market-play span { font-size:1.2rem; }
.market-art-aqua { background:linear-gradient(#20497411,#102d6f77),url("covers/aqua-background.png") 50% 60%/cover; }
.card-creature { position:absolute; width:54%; height:auto; filter:drop-shadow(0 8px 6px #12346444); }
.card-crab { bottom:7%; left:0; transform:rotate(-14deg); }
.card-turtle { top:3%; right:-1%; transform:rotate(10deg); }
.aqua-art-title { position:absolute; bottom:11%; right:4%; text-align:right; color:#fffbc9; font:900 clamp(1.3rem,2.5vw,2.35rem)/.93 system-ui,sans-serif; text-shadow:0 3px 0 #2d559e,0 5px 8px #113c74; letter-spacing:-.06em; }
.market-art-aquarium { background:radial-gradient(ellipse at center,#28b4ed,#143465 78%); }
.card-square { height:100%; width:100%; object-fit:contain; }
.market-art-jurassic { background:linear-gradient(130deg,#eea252,#653f87); }
.market-art-jurassic .card-square { object-fit:cover; }
.market-art-monkey { background:url("covers/monkey-background.png") center/cover; }
.card-monkey { width:83%; height:100%; object-fit:contain; margin:auto; filter:drop-shadow(0 8px 9px #133b1f99); }
.card-landscape { height:100%; width:100%; object-fit:cover; }
.market-art-roulette .card-landscape { object-position:24% 50%; }
.market-art-red-dog .card-landscape { object-position:58% 50%; }
.market-art-dice { background:radial-gradient(ellipse,#8b3cc3,#391945); }
.card-dice-board { position:absolute; width:110%; max-width:none; height:auto; left:-5%; bottom:-5%; transform:rotate(-8deg); opacity:.8; }
.card-die { position:absolute; width:25%; aspect-ratio:1; top:11%; background:url("covers/dice.png") 60% center/600% 100% no-repeat; filter:drop-shadow(0 7px 10px #12091e88); }
.die-one { left:15%; transform:rotate(-15deg); }
.die-two { right:15%; transform:rotate(16deg); background-position:100% center; }
.market-art-horse { background:url("covers/horse-track.png") 50% 100%/auto 76% no-repeat,url("covers/horse-background.png") center/cover; }
.card-horse { position:absolute; width:67%; height:auto; bottom:5%; left:1%; filter:drop-shadow(0 8px 4px #1c3d1d55); }
.card-horse-logo { position:absolute; height:100%; width:100%; object-fit:contain; top:-18%; right:-7%; }
@media(min-width:90rem) { .market-art { aspect-ratio:1.2; } }
@media(max-width:68rem) {
 .market-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .market-art { aspect-ratio:1.8; }
 .market-card-description { min-height:0; }
 .market-scene { min-height:25rem; }
 .market-hero h1 { font-size:clamp(2.8rem,5vw,4rem); }
 .aqua-art-title { font-size:2.8rem; }
 .card-crab { width:42%; }
 .card-turtle { width:42%; right:9%; }
 .card-monkey { width:70%; }
 .card-square { object-fit:contain; }
 .market-art-jurassic .card-square { object-fit:contain; }
 .card-horse { width:48%; left:12%; }
 .card-horse-logo { width:75%; right:-1%; }
}
@media(max-width:49rem) {
 .market-hero { grid-template-columns:1fr; gap:1rem; padding:2rem 0 2.6rem; }
 .market-copy { max-width:40rem; }
 .market-hero h1 { font-size:clamp(3rem,8vw,4.25rem); }
 .market-scene { min-height:28rem; width:min(100% - 2rem,34rem); margin-inline:auto; }
 .scene-title { font-size:2.6rem; }
 .scene-roulette { left:0; }
 .scene-monkey { right:0; }
 .market-section-head > p { display:none; }
}
@media(max-width:35rem) {
 .market-grid { grid-template-columns:minmax(0,1fr); gap:1.3rem; }
 .market-art { aspect-ratio:1.6; }
 .market-card-body { padding:1.1rem; }
 .market-card h3 { font-size:1.5rem; }
 .market-category { font-size:.75rem; }
 .market-card-description { min-height:0; font-size:.95rem; }
 .market-play { font-size:1rem; }
 .market-scene { min-height:22rem; width:calc(100% - 1rem); }
 .market-hero h1 { font-size:clamp(2.65rem,12vw,3.8rem); }
 .market-description { font-size:1rem; }
 .market-credit { font-size:.8rem; }
 .market-access { padding:.85rem; }
 .scene-title { font-size:1.9rem; }
 .scene-feature { inset:10% 1% 12% 8%; }
 .scene-mini { border-width:2px; border-radius:.7rem; }
 .market-section-head h2 { font-size:2rem; }
}
@media(prefers-reduced-motion:reduce) { .market-card { transition:none; } .market-card:hover { transform:none; } }
.market-scene { overflow:hidden; }
