/* The landing page, on top of site.css: "Aurora showcase" (the crew on a glowing glass stage, glass cards with the
   3D art popping out of their tops) with the game's own cards rebuilt in HTML (upgrade, level up, office, away). */
.home { width: 100%; flex: 1; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.section { position: relative; padding: clamp(60px, 8vw, 110px) 0; }
.head { text-align: center; margin-bottom: clamp(34px, 5vw, 58px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 13px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 60ch; margin: 0 0 16px; text-wrap: pretty; }
.head .lede { margin: 0 auto; }
.grad { background: linear-gradient(90deg, #ffe07a, #ffb547 45%, #ff8fc8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home ul, .home ol { list-style: none; margin: 0; padding: 0; }
.tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font: 700 12.5px/1 var(--font); letter-spacing: 0.04em; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.tag.gold { color: #3a2600; background: linear-gradient(180deg, #ffe07a, #ffb31c); border-color: transparent; }
img.c { width: 1.15em; height: 1.15em; vertical-align: -0.2em; }

/* ---- hero ---- */
.hero { text-align: center; padding-top: clamp(8px, 2.5vw, 30px); overflow: hidden; }
.hero-logo { display: block; width: min(500px, 84vw); height: auto; margin: 0 auto 4px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); animation: float 7s ease-in-out infinite; }
.hero h1 { font-size: clamp(31px, 4.4vw, 54px); max-width: 18ch; margin: 0 auto 14px; text-wrap: balance; }
.hero .lede { margin: 0 auto 26px; }
.hero .stores { justify-content: center; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.chips li { padding: 6px 14px; border-radius: 999px; font: 700 13.5px/1.2 var(--font); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.stage { position: relative; max-width: 1000px; margin: clamp(16px, 3vw, 36px) auto 0; padding: 0 12px; }
.stage::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 2%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 255, 0.55), rgba(61, 139, 255, 0.25) 60%, transparent); filter: blur(10px); }
.stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 3%; height: 15%; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 0 60px rgba(34, 214, 192, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.25); }
.stage img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.sparkle { position: absolute; z-index: 2; width: 34px; height: 34px; background: url("../img/sparkle.webp") center / contain no-repeat; animation: twinkle 3.2s ease-in-out infinite; pointer-events: none; }
.sparkle.s1 { left: 8%; top: 18%; } .sparkle.s2 { right: 9%; top: 8%; animation-delay: 1.1s; } .sparkle.s3 { left: 46%; top: -2%; width: 26px; height: 26px; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1); } }

/* ---- how it plays ---- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { margin-top: 70px; padding: 112px 22px 26px; text-align: center; }
.step img { position: absolute; left: 50%; top: -70px; transform: translateX(-50%); width: 190px; height: 170px; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45)); }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; font: 700 16px/1 var(--font); background: linear-gradient(135deg, var(--purple), var(--blue)); box-shadow: 0 6px 18px rgba(91, 77, 255, 0.5); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--dim); font-size: 16px; }

/* text + game card, side by side */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: clamp(60px, 8vw, 110px); }
#away .feature, .container.feature { margin-top: 0; }
.feature.flip > :first-child { order: 2; }
.feature .title.left { text-align: left; }
.ticks { display: grid; gap: 10px; margin-top: 18px !important; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--dim); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: url("../img/coin.webp") center / cover; }

/* ---- the game's cards ---- */
.gcard { position: relative; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(36, 30, 104, 0.95), rgba(20, 17, 64, 0.96)); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px rgba(3, 2, 25, 0.6), 0 0 90px rgba(91, 77, 255, 0.25); }
.ghead { position: relative; text-align: center; padding: 20px 20px 16px; background: linear-gradient(90deg, #6d4dff, #4a6bff 50%, #26b8d0); }
.ghead b { display: block; font-size: 28px; line-height: 1.1; text-shadow: 0 2px 0 rgba(30, 10, 90, 0.4); }
.ghead span { font-size: 14.5px; opacity: 0.92; }
.ghead .x { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(10, 8, 40, 0.5); display: grid; place-items: center; font-size: 14px; opacity: 1; }
.gbody { padding: 18px; }
.gwin { position: relative; display: grid; place-items: center; padding: 10px 10px 26px; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #3d3aa8, #1d1a5c); }
.gwin img { width: 74%; height: auto; }
.gtag { position: absolute; bottom: 10px; padding: 5px 12px; border-radius: 999px; font: 700 12.5px/1 var(--font); background: linear-gradient(180deg, #ff9d6b, #f2633a); }
.gstat { display: flex; justify-content: space-between; align-items: center; margin: 16px 2px 8px; font-weight: 600; }
.gstat em { font-style: normal; color: var(--teal); }
.gbar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.gbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #36e3c4, #2aa7ff); box-shadow: 0 0 14px rgba(54, 227, 196, 0.6); }
.gnote { display: flex; align-items: center; gap: 8px; margin: 14px 2px 16px; color: var(--dim); font-size: 14.5px; }
.gbtn { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 56px; border-radius: 999px; font: 700 22px/1 var(--font); background: linear-gradient(180deg, #34ecd0, #18b8c9); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 10px 26px rgba(34, 214, 192, 0.45); text-shadow: 0 1px 2px rgba(0, 50, 70, 0.45); }
.gbtn.purple { background: linear-gradient(180deg, #a77bff, #6b4dff); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 10px 26px rgba(139, 92, 255, 0.5); }
.glabel { margin: 6px 4px 10px; font: 700 12px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.grow { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; margin-bottom: 8px; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.grow .av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: end center; background: linear-gradient(180deg, #ffd88a, #f4a85a); }
.grow .av img { width: 120%; height: auto; margin-bottom: -40%; }
.grow .av.up { place-items: center; font: 700 22px/1 var(--font); background: linear-gradient(180deg, #8f7bff, #5b4dff); }
.grow b { display: block; font-size: 17px; line-height: 1.15; }
.grow small { color: var(--dim); font-size: 13px; }
.grow.locked { opacity: 0.6; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 9px; border-radius: 999px; font: 700 15px/1 var(--font); background: linear-gradient(180deg, #34ecd0, #18b8c9); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 6px 18px rgba(34, 214, 192, 0.4); text-shadow: 0 1px 1px rgba(0, 50, 70, 0.4); }
.pill.purple { padding: 7px 12px; background: linear-gradient(180deg, #a77bff, #6b4dff); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 6px 18px rgba(139, 92, 255, 0.45); }
.pill svg { width: 16px; height: 16px; }
.away-card .gbody { text-align: center; }
.away-card .who { display: block; width: auto; height: 190px; margin: 4px auto 0; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); }
.away-card .big { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 2px; font: 700 44px/1 var(--font); }
.away-card .sold { margin: 0; color: var(--dim); }
.gbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.gbtns .gbtn { min-height: 52px; font-size: 19px; }

/* ---- rooms ---- */
.rooms { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: 18px; }
.rooms .map { aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.rooms .map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.levelup { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 14px 18px 0; }
.ribbon { display: inline-block; padding: 12px 38px; border-radius: 18px; font: 700 34px/1 var(--font); background: linear-gradient(180deg, #8f7bff, #5b4dff); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 14px 40px rgba(91, 77, 255, 0.55); text-shadow: 0 3px 0 rgba(30, 10, 90, 0.45); }
.levelup::before { content: ""; position: absolute; inset: -14px 0; pointer-events: none; background-image: radial-gradient(4px 8px at 12% 20%, #ff6fb7 50%, transparent 52%), radial-gradient(4px 8px at 86% 14%, #ffc93a 50%, transparent 52%), radial-gradient(5px 5px at 74% 70%, #22d6c0 50%, transparent 52%), radial-gradient(4px 8px at 22% 76%, #3d8bff 50%, transparent 52%), radial-gradient(5px 5px at 94% 50%, #ff6fb7 50%, transparent 52%); }
.newroom { font-size: 18px; font-weight: 600; }
.newroom b { color: var(--gold); }
.roomlist { display: grid; gap: 12px; padding-right: 14px !important; }
.roomlist li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.roomlist b { display: block; font-size: 19px; }
.roomlist span { color: var(--dim); font-size: 15.5px; }
.roomlist .lv { width: 52px; height: 52px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 700 18px/1 var(--font); color: #fff; background: linear-gradient(135deg, rgba(139, 92, 255, 0.75), rgba(61, 139, 255, 0.6)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.roomlist .lv small { font-size: 10px; letter-spacing: 0.06em; opacity: 0.85; }

/* ---- helpers ---- */
.helpers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.helper { margin-top: 70px; padding: 150px 24px 26px; text-align: center; }
.helper img { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); width: auto; height: 200px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45)); }
.helper h3 { font-size: 24px; margin-bottom: 6px; }
.helper p { margin: 0; color: var(--dim); }

/* ---- toys ---- */
.toys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px !important; }
.toy { padding: 22px 16px 20px; text-align: center; }
.toy img { display: block; width: 100%; max-width: 170px; height: auto; aspect-ratio: 1; object-fit: contain; margin: -40px auto 6px; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.45)); }
.toy b { display: block; font-size: 20px; }
.toy span { color: var(--dim); font-size: 15px; }
.looks { padding: 26px 20px 22px; text-align: center; }
.looks h3 { font-size: 22px; margin-bottom: 4px; }
.looks > p { margin-bottom: 14px; color: var(--dim); }
.looks-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; }
.looks-row img { display: block; width: 100%; height: auto; margin-bottom: 6px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); }

/* ---- screenshots ---- */
.shots { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 40px); }
.phone { position: relative; flex: 0 1 270px; max-width: 270px; aspect-ratio: 9 / 19.5; padding: 10px; border-radius: 44px; background: linear-gradient(160deg, #3a3478, #17143f 60%, #2a2462); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14), 0 30px 70px rgba(4, 2, 30, 0.6), 0 0 80px rgba(139, 92, 255, 0.25); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; z-index: 2; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 20px; background: #05041a; }
.phone.big { flex-basis: 310px; max-width: 310px; transform: translateY(-14px); }
.phone > img, .phone > video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 35px; background: #2a1d10; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font: 700 18px/1.3 var(--font); border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--dim); font-size: 16.5px; }

/* ---- last call ---- */
.cta-wrap { padding-bottom: 80px; }
.cta { padding: clamp(40px, 6vw, 70px) 24px; text-align: center; overflow: hidden; }
.cta .icon { width: 110px; height: 110px; margin-bottom: 18px; border-radius: 28px; box-shadow: 0 16px 40px rgba(139, 92, 255, 0.5); }
.cta .lede { margin: 0 auto 22px; }
.cta .stores { justify-content: center; }

/* ---- scroll reveal (only with JS, see home.js) ---- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .steps4 { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .toys { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .rooms, .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .roomlist { padding: 0 !important; }
  .levelup { margin-right: 0; }
}
@media (max-width: 720px) {
  .steps4 { grid-template-columns: 1fr; }
  .helpers { grid-template-columns: 1fr; gap: 0; }
  .helper { margin-top: 84px; }
  .looks-row { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .shots { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 24px 20px 30px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .phone, .phone.big { flex: 0 0 72%; max-width: none; transform: none; scroll-snap-align: center; }
  .stage { padding: 0; }
  .ribbon { font-size: 28px; padding: 10px 28px; }
  .gbody { padding: 14px; }
  .grow { grid-template-columns: 42px 1fr auto; gap: 10px; padding: 8px 10px; }
  .grow .av { width: 42px; height: 42px; }
  .soon { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
