/* Aladdin — site styles. System fonts only (no third-party font requests). */
:root {
  --night: #1c1446; --night-2: #2b1d6b; --violet: #5b3fd6; --violet-2: #7b5cff;
  --gold: #f6b93b; --gold-2: #ffd56b; --ink: #1d1a2e; --ink-2: #4b4766; --muted: #77738f;
  --paper: #ffffff; --tint: #f5f2ff; --line: #e6e1f5; --radius: 18px;
  --shadow: 0 2px 6px rgba(28, 20, 70, .06), 0 14px 40px rgba(28, 20, 70, .10);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.small { font-size: 14px; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; padding: 12px 22px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #3a2400; box-shadow: 0 6px 18px rgba(246, 185, 59, .35); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 6px 18px rgba(91, 63, 214, .3); }
.btn-primary:hover { background: var(--violet-2); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost-dark { background: transparent; color: var(--violet); border: 1.5px solid var(--violet); }
.btn-link { background: none; color: var(--violet); padding-left: 6px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; opacity: .85; }
.link-btn:hover { opacity: 1; text-decoration: underline; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(28, 20, 70, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: .01em; }
.brand .lamp { width: 44px; height: 28px; color: var(--gold); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 650; font-size: 16px; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--gold-2); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 80% 20%, rgba(123, 92, 255, .55), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(246, 185, 59, .18), transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--night-2) 60%, #3a2486 100%); }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 120px 80px, #ffe9b0 50%, transparent 51%), radial-gradient(1px 1px at 200px 150px, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 300px 40px, #fff 50%, transparent 51%); background-size: 340px 200px; opacity: .45; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 22px 80px; }
.hero .lede { font-size: 20px; color: rgba(255, 255, 255, .86); max-width: 560px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 800; color: var(--violet); margin-bottom: 14px; }
.eyebrow.gold { color: var(--gold-2); }
.shine { background: linear-gradient(90deg, var(--gold-2), #ffb45c, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.hero-points li::before { content: "✦"; color: var(--gold); margin-right: 8px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.phone { width: min(320px, 78vw); border-radius: 38px; padding: 10px; background: #0f0a2a; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(3deg); }
.phone img { border-radius: 30px; aspect-ratio: 600 / 1300; object-fit: cover; }
.float { position: absolute; width: 110px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); animation: bob 5s ease-in-out infinite; }
.f1 { left: 2%; top: 12%; }
.f2 { right: 0; top: 46%; animation-delay: -1.6s; width: 120px; }
.f3 { left: 8%; bottom: 6%; animation-delay: -3s; width: 96px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

/* sections */
.section { padding: 84px 0; }
.section.tint { background: var(--tint); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head p:last-child { color: var(--ink-2); font-size: 18px; }
.feature-game { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #fff 0%, var(--tint) 100%); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.fg-media img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.lede { font-size: 19px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { position: relative; padding-left: 34px; margin: 0 0 12px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #3a2400; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.world { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.world img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .4s; }
.world:hover img { transform: scale(1.05); }
.world figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 800; background: linear-gradient(transparent, rgba(16, 10, 44, .8)); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; text-align: center; box-shadow: var(--shadow); }
.card img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 10px; }
.card p { color: var(--ink-2); margin: 0; }
.card.left { text-align: left; }
.card.left p { margin-bottom: 12px; }
.card.left a { font-weight: 750; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps article { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 0; }
.band { background: linear-gradient(120deg, var(--night), var(--night-2)); color: #fff; padding: 56px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { margin-bottom: 6px; }
.band p { margin: 0; color: rgba(255, 255, 255, .8); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 750; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 22px; line-height: 1; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

/* inner pages */
.page-head { background: linear-gradient(160deg, var(--night), var(--night-2)); color: #fff; padding: 64px 0 52px; }
.page-head .eyebrow { color: var(--gold-2); }
.page-head .lede { color: rgba(255, 255, 255, .85); }
.page-head .meta { color: rgba(255, 255, 255, .6); font-size: 14px; margin: 0; }
.prose { padding: 48px 22px 72px; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 64px; }
.facts div { background: var(--tint); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.facts b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 22px 8px; }
.contact-cards { display: grid; gap: 16px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.contact-form h2 { font-size: 26px; margin: 0; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 63, 214, .12); }
.form-note { margin: 0; font-size: 14px; color: var(--violet); }

/* legal */
.legal { padding: 40px 22px 80px; }
.legal section { scroll-margin-top: 90px; }
.legal h2 { font-size: 24px; margin: 2em 0 .5em; }
.legal h3 { font-size: 18px; margin: 1.2em 0 .4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal li { margin-bottom: 6px; }
.toc { background: var(--tint); border-radius: 16px; padding: 20px 24px; }
.toc h3 { margin: 0 0 8px; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 4px; font-size: 15px; }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 12px 0 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--tint); font-weight: 750; }
tr:last-child td { border-bottom: 0; }

/* footer */
.foot { background: #120d31; color: rgba(255, 255, 255, .75); padding: 56px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot a, .foot .link-btn { display: block; color: rgba(255, 255, 255, .75); text-decoration: none; margin-bottom: 8px; font-size: 15px; }
.foot a:hover { color: var(--gold-2); }
.brand-foot { margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie-in { max-width: 920px; width: 100%; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 20px; box-shadow: 0 20px 60px rgba(16, 10, 44, .35); display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); }
.cookie-in p { margin: 0; font-size: 15px; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie .btn-ghost { background: var(--tint); color: var(--ink); border-color: var(--line); }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .feature-game, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 48px; }
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .cards3, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fg-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .btn { margin-top: 12px; }
  .section { padding: 60px 0; }
  .facts { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .cookie-in { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
  .float { width: 72px !important; }
  body { font-size: 16px; }
}
