/* Aurora Play Lounge — global styles */

:root {
  --c-bg: #070b16;
  --c-bg-2: #0b1124;
  --c-surface: rgba(16, 24, 48, .62);
  --c-surface-2: rgba(22, 32, 62, .8);
  --c-line: rgba(148, 184, 255, .14);
  --c-text: #eef3ff;
  --c-dim: #9fb0d0;
  --c-teal: #2dd4bf;
  --c-violet: #8b7cf6;
  --c-green: #4ade80;
  --c-gold: #fbbf24;
  --c-grad: linear-gradient(120deg, #2dd4bf 0%, #8b7cf6 50%, #4ade80 100%);
  --c-grad-soft: linear-gradient(120deg, rgba(45,212,191,.16), rgba(139,124,246,.16));
  --success: #4ade80;
  --danger: #ff6b8a;
  --ease: cubic-bezier(.22,1,.36,1);
  --easing: cubic-bezier(.22,1,.36,1);
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  width: 100%; max-width: 100%;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
}
main { flex: 1; position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; word-break: break-word; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.16; }
button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn, .nav a, .burger, summary, .chat-toggle, .filter-tab, .game-card__overlay, .lang-switch a { -webkit-user-select: none; user-select: none; }
.container { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .container { padding-inline: 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

::selection { background: rgba(139,124,246,.45); color: #fff; }

/* Aurora ambient backdrop */
.aurora-field {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.aurora-field span {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .32;
  will-change: transform;
}
.aurora-field span:nth-child(1) {
  width: 56vw; height: 56vw; left: -14vw; top: -22vw;
  background: radial-gradient(circle, #14b8a6 0%, transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora-field span:nth-child(2) {
  width: 48vw; height: 48vw; right: -16vw; top: 4vw;
  background: radial-gradient(circle, #7c6cf0 0%, transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aurora-field span:nth-child(3) {
  width: 42vw; height: 42vw; left: 28vw; bottom: -26vw;
  background: radial-gradient(circle, #22c55e 0%, transparent 65%);
  animation: drift-c 38s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(9vw, 7vw, 0) scale(1.15); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1.1); } to { transform: translate3d(-8vw, 9vw, 0) scale(.92); } }
@keyframes drift-c { from { transform: translate3d(0,0,0) scale(.95); } to { transform: translate3d(6vw, -8vw, 0) scale(1.18); } }

/* Animations */
.first-reveal { animation: rise .85s var(--ease) both; }
.first-reveal[data-delay="1"] { animation-delay: .12s; }
.first-reveal[data-delay="2"] { animation-delay: .24s; }
.first-reveal[data-delay="3"] { animation-delay: .36s; }
.first-reveal[data-delay="4"] { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .first-reveal, .aurora-field span { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  border: 0; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--aurora {
  color: #04121c;
  background: var(--c-grad);
  background-size: 180% 180%;
  animation: grad-shift 7s ease infinite;
  box-shadow: 0 10px 32px rgba(45,212,191,.28);
}
.btn--aurora:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(139,124,246,.4); }
@keyframes grad-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn--ghost {
  color: var(--c-text);
  background: rgba(148,184,255,.06);
  box-shadow: inset 0 0 0 1px rgba(148,184,255,.28);
}
.btn--ghost:hover { background: rgba(148,184,255,.13); transform: translateY(-3px); }
.btn--sm { padding: 11px 22px; font-size: 14px; }

.grad-text {
  background: var(--c-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,11,22,.78);
  border-bottom: 1px solid var(--c-line);
  overflow: visible;
}
.site-header__row {
  display: flex; align-items: center; gap: 26px;
  padding-block: 13px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 19px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav a {
  font-weight: 500; font-size: 15px; color: var(--c-dim);
  padding: 9px 14px; border-radius: 999px; position: relative;
  transition: color .3s var(--ease), background .3s var(--ease), text-shadow .3s var(--ease);
}
.nav a:hover { color: #fff; text-shadow: 0 0 18px rgba(45,212,191,.85); }
.nav a.is-active { color: #fff; background: var(--c-grad-soft); box-shadow: inset 0 0 0 1px rgba(148,184,255,.18); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-mobile-actions { display: none; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(148,184,255,.07); border: 1px solid var(--c-line); }
.lang-switch a { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--c-dim); }
.lang-switch a.is-on { background: var(--c-grad); color: #04121c; }
.lang-switch a:not(.is-on):hover { color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative; z-index: 110; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(148,184,255,.06);
  border: 1px solid var(--c-line);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .burger { display: block; }
  .site-header__row { justify-content: space-between; }
  .header-actions { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 64px));
    z-index: 100;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    margin-inline: 0;
    padding: 18px 24px 30px;
    background: linear-gradient(165deg, #0a1020 0%, #131c3a 100%);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 18px 40px rgba(0,0,0,.4);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .nav[data-open="true"] {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav a { width: 100%; padding: 15px 4px; font-size: 21px; border-radius: 0; border-bottom: 1px solid var(--c-line); }
  .nav a.is-active { background: none; box-shadow: none; color: var(--c-teal); }
  .nav-mobile-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
  .nav-mobile-actions .lang-switch { display: flex; }
  .nav .nav-mobile-actions a { width: auto; padding: 6px 16px; font-size: 14px; border-bottom: 0; border-radius: 999px; }
  .nav .nav-mobile-actions a.is-on { background: var(--c-grad); color: #04121c; }
  .nav .nav-mobile-actions a.btn { padding: 12px 24px; font-size: 14.5px; color: #04121c; }
}
@media (max-width: 520px) {
  .site-header__row { gap: 6px; }
}

/* Hero */
.hero {
  position: relative;
  background-image: url('/assets/img/hero/hero-bg.avif');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  overflow: clip;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,22,.55) 0%, rgba(7,11,22,.72) 62%, var(--c-bg) 100%);
}
.hero .container { position: relative; padding-block: 120px 150px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 26px;
}
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--c-dim); margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 56px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 38px; }
.hero__facts li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  color: var(--c-dim); font-size: 14.5px; font-weight: 500;
}
.hero__facts svg { width: 19px; height: 19px; color: var(--c-teal); flex-shrink: 0; }
@media (max-width: 820px) { .hero .container { padding-block: 80px 100px; } }

/* Generic section heading */
.section-head { margin-bottom: 54px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  display: flex; align-items: center; gap: 22px;
}
.section-head h2::after {
  content: ''; height: 2px; flex: 1; min-width: 40px;
  background: linear-gradient(90deg, rgba(45,212,191,.65), transparent);
  border-radius: 2px;
}
.section-head p { color: var(--c-dim); margin-top: 16px; font-size: 1.06rem; }

section { position: relative; }
.section-pad { padding-block: 96px; }
@media (max-width: 820px) { .section-pad { padding-block: 64px; } }

/* Perk cards (home) */
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.perk-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: clip;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.perk-card::before {
  content: ''; position: absolute; inset: -1px;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(45,212,191,.13), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.perk-card:hover { transform: translateY(-6px); border-color: rgba(45,212,191,.4); box-shadow: 0 22px 48px rgba(2,8,20,.5); }
.perk-card:hover::before { opacity: 1; }
.perk-card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-grad-soft);
  border: 1px solid rgba(148,184,255,.2);
  margin-bottom: 22px;
}
.perk-card__icon svg { width: 26px; height: 26px; color: var(--c-teal); }
.perk-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.perk-card p { color: var(--c-dim); font-size: .97rem; }
@media (max-width: 1100px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .perks-grid { grid-template-columns: 1fr; } }

/* Game cards */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.game-card:hover { transform: translateY(-7px) scale(1.012); border-color: rgba(139,124,246,.45); box-shadow: 0 26px 52px rgba(2,8,20,.55); }
.game-card__media { position: relative; overflow: clip; aspect-ratio: 4 / 3; }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .5s var(--ease); }
.game-card:hover .game-card__media img { transform: scale(1.07); filter: brightness(.55); }
.game-card__free {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 13px; border-radius: 999px;
  background: var(--c-grad); color: #04121c;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
}
.game-card__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s var(--ease);
}
.game-card:hover .game-card__overlay, .game-card:focus-within .game-card__overlay { opacity: 1; }
.game-card__body { padding: 20px 20px 24px; }
.game-card__body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.game-card__body p { color: var(--c-dim); font-size: .92rem; margin-bottom: 14px; }
.game-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.game-card__tags span {
  font-size: 11.5px; font-weight: 600; color: var(--c-dim);
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--c-line); background: rgba(148,184,255,.05);
}
.game-card.is-hidden { display: none; }
@media (max-width: 1100px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .games-grid { grid-template-columns: 1fr; } }

/* Filter tabs */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.filter-tab {
  padding: 11px 26px; border-radius: 999px;
  background: rgba(148,184,255,.06);
  border: 1px solid var(--c-line);
  color: var(--c-dim); font-weight: 600; font-size: 14.5px;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.filter-tab:hover { color: #fff; transform: translateY(-2px); }
.filter-tab.is-on { background: var(--c-grad); border-color: transparent; color: #04121c; }

/* Coins teaser + tiers */
.coins-tease { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.coins-tease__art { border-radius: 24px; overflow: clip; border: 1px solid var(--c-line); box-shadow: 0 30px 70px rgba(2,8,20,.55); }
.coins-tease__art img { width: 100%; height: 100%; object-fit: cover; }
.coins-tease h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 20px; }
.coins-tease p { color: var(--c-dim); margin-bottom: 18px; }
.coins-tease .btn { margin-top: 14px; }
@media (max-width: 1100px) { .coins-tease { grid-template-columns: 1fr; gap: 40px; } }

.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  overflow: clip;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tier-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(2,8,20,.55); }
.tier-card--hot { border-color: rgba(139,124,246,.55); box-shadow: 0 0 44px rgba(139,124,246,.18); }
.tier-card__flag {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 5px 14px; border-radius: 999px;
  background: var(--c-grad); color: #04121c;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
}
.tier-card__media { aspect-ratio: 4 / 3; overflow: clip; }
.tier-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tier-card:hover .tier-card__media img { transform: scale(1.06); }
.tier-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.tier-card__body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.tier-card__price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: 4px; }
.tier-card__price small { font-size: .9rem; color: var(--c-dim); font-weight: 500; }
.tier-card__coins { color: var(--c-teal); font-weight: 600; font-size: .98rem; margin-bottom: 18px; }
.tier-card__list { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.tier-card__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-dim); font-size: .94rem; }
.tier-card__list svg { width: 17px; height: 17px; color: var(--c-green); flex-shrink: 0; margin-top: 3px; }
.tier-card .btn { margin-top: auto; }
@media (max-width: 820px) { .tiers-grid { grid-template-columns: 1fr; } }

/* Community band */
.community {
  position: relative;
  background-image: url('/assets/img/sections/community-bg.avif');
  background-size: cover; background-position: center;
  overflow: clip;
}
.community::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,11,22,.9) 20%, rgba(7,11,22,.55) 100%); }
.community .container { position: relative; padding-block: 110px; }
.community h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 20px; }
.community p { color: var(--c-dim); margin-bottom: 18px; }
.community__panel {
  margin-top: 36px; padding: 26px 30px;
  border-radius: var(--radius);
  background: rgba(10,16,32,.72);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(8px);
  display: flex; gap: 18px; align-items: flex-start;
}
.community__panel svg { width: 30px; height: 30px; color: var(--c-green); flex-shrink: 0; margin-top: 3px; }
.community__panel h3 { font-size: 1.1rem; margin-bottom: 8px; }
.community__panel p { margin: 0; font-size: .95rem; }

/* Steps (how it works) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  position: relative;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 34px 28px 30px;
  counter-increment: step;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(74,222,128,.4); }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1;
  background: var(--c-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 18px;
}
.step-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step-card p { color: var(--c-dim); font-size: .96rem; }
@media (max-width: 1100px) { .steps-grid { grid-template-columns: 1fr; } }

/* Split layout (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip { direction: rtl; }
.split--flip > * { direction: ltr; }
.split__art { border-radius: 24px; overflow: clip; border: 1px solid var(--c-line); box-shadow: 0 30px 70px rgba(2,8,20,.5); }
.split__art img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.split__copy p { color: var(--c-dim); margin-bottom: 16px; }
.split__copy ul { list-style: none; display: grid; gap: 12px; margin-block: 10px 18px; }
.split__copy ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--c-dim); }
.split__copy ul svg { width: 19px; height: 19px; color: var(--c-teal); flex-shrink: 0; margin-top: 4px; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; gap: 38px; } .split--flip { direction: ltr; } }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 16px; overflow: clip;
  transition: border-color .3s var(--ease);
}
.faq-item.is-open { border-color: rgba(45,212,191,.42); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 24px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.07rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-item__chev {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(148,184,255,.08); border: 1px solid var(--c-line);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq-item summary .faq-item__chev svg { width: 14px; height: 14px; color: var(--c-teal); transition: transform .3s var(--ease); }
.faq-item.is-open summary .faq-item__chev { background: var(--c-grad); }
.faq-item.is-open summary .faq-item__chev svg { transform: rotate(180deg); color: #04121c; }
.faq-item__body { padding: 0 24px 22px; color: var(--c-dim); }
.faq-item__body p { margin-bottom: 10px; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: clip; border-bottom: 1px solid var(--c-line); }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 15% 0%, rgba(45,212,191,.14), transparent 60%),
    radial-gradient(50% 110% at 85% 10%, rgba(139,124,246,.16), transparent 60%);
}
.page-hero .container { position: relative; padding-block: 78px 66px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 18px; }
.page-hero p { color: var(--c-dim); font-size: 1.08rem; }

/* Banner image strip on content pages */
.page-banner { border-radius: 24px; overflow: clip; border: 1px solid var(--c-line); }
.page-banner img { width: 100%; height: auto; }

/* Legal pages */
.legal-content { padding-block: 70px 100px; }
.legal-content ol.legal-toc { margin: 0 0 44px 20px; color: var(--c-dim); columns: 2; column-gap: 48px; }
@media (max-width: 640px) { .legal-content ol.legal-toc { columns: 1; } }
.legal-content ol.legal-toc li { margin-bottom: 8px; }
.legal-content ol.legal-toc a:hover { color: var(--c-teal); }
.legal-content article h2 { font-size: 1.45rem; margin: 44px 0 16px; display: flex; gap: 14px; align-items: baseline; }
.legal-content article h2 span { color: var(--c-teal); font-size: 1.05rem; }
.legal-content article p { color: var(--c-dim); margin-bottom: 13px; }
.legal-content article ul { margin: 0 0 14px 22px; color: var(--c-dim); }
.legal-content article ul li { margin-bottom: 8px; }
.legal-meta { color: var(--c-dim); font-size: .92rem; margin-bottom: 36px; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
table th, table td { text-align: left; padding: 13px 16px; border: 1px solid var(--c-line); color: var(--c-dim); }
table th { color: var(--c-text); background: rgba(148,184,255,.06); font-weight: 600; }
.cookie-table-wrap, .table-wrap { overflow-x: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 1.6rem; margin-bottom: 18px; }
.contact-info > p { color: var(--c-dim); margin-bottom: 16px; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-block: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--c-dim); }
.contact-list li > div, .community__panel > div { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.contact-list svg { width: 21px; height: 21px; color: var(--c-teal); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { color: var(--c-text); display: block; font-size: .95rem; }
.map-frame {
  border-radius: 20px; overflow: clip; border: 1px solid var(--c-line);
  box-shadow: 0 24px 56px rgba(2,8,20,.5);
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.25) contrast(1.04); }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

/* Forms */
.form-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 22px; padding: 38px 36px 42px;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  border-radius: 12px;
  background: rgba(7,11,22,.6);
  border: 1px solid var(--c-line);
  color: var(--c-text); font-family: inherit; font-size: 1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  min-width: 0;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--c-teal);
  background: rgba(7,11,22,.85);
  box-shadow: 0 0 0 3px rgba(45,212,191,.16);
}
.field textarea { resize: none; min-height: 130px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.check-field { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; cursor: pointer; }
.check-field input {
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px;
  border-radius: 7px; border: 1px solid rgba(148,184,255,.35);
  background: rgba(7,11,22,.6); cursor: pointer; position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.check-field input:checked { background: var(--c-grad); border-color: transparent; }
.check-field input:checked::after {
  content: ''; position: absolute; left: 6px; top: 2.5px;
  width: 6px; height: 10px;
  border: solid #04121c; border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}
.check-field span { color: var(--c-dim); font-size: .92rem; }
.check-field a { color: var(--c-teal); }
.check-field a:hover { color: #fff; }
.form-msg { display: none; }
.form-aside { color: var(--c-dim); font-size: .9rem; margin-top: 18px; }
.form-aside a { color: var(--c-teal); font-weight: 600; }
.form-aside a:hover { color: #fff; }

/* Auth pages */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 80px 110px; }
.auth-side h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.auth-side p { color: var(--c-dim); margin-bottom: 16px; }
.auth-side ul { list-style: none; display: grid; gap: 13px; margin-top: 24px; }
.auth-side ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--c-dim); }
.auth-side ul svg { width: 19px; height: 19px; color: var(--c-green); flex-shrink: 0; margin-top: 4px; }
@media (max-width: 1100px) { .auth-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Custom select */
.cselect { position: relative; }
.cselect > select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip: rect(0 0 0 0); left: 0; top: 0; }
.cselect-trigger {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(7,11,22,.6); border: 1px solid var(--c-line); color: var(--c-text);
  text-align: left; font-size: 1rem; cursor: pointer; font-family: inherit;
  min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cselect-trigger:hover { border-color: rgba(45,212,191,.42); }
.cselect-trigger:focus-visible { outline: none; border-color: var(--c-teal); background: rgba(7,11,22,.85); box-shadow: 0 0 0 3px rgba(45,212,191,.16); }
.cselect-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-value.is-placeholder { color: var(--c-dim); }
.cselect-caret { width: 14px; height: 14px; color: var(--c-teal); transition: transform .2s ease-out, color .12s linear; flex-shrink: 0; transform-origin: center; }
.cselect.is-open .cselect-trigger { border-color: var(--c-teal); background: rgba(7,11,22,.85); box-shadow: 0 0 0 3px rgba(45,212,191,.16); }
.cselect.is-open .cselect-caret { transform: rotate(180deg); color: var(--c-violet); }
.cselect-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, #101a36, #0b1124);
  border: 1px solid rgba(45,212,191,.35);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  max-height: 260px; overflow-y: auto;
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transform-origin: top center;
  transition: opacity .2s ease, transform .25s ease;
  scrollbar-width: thin; scrollbar-color: var(--c-teal) transparent;
  list-style: none; margin: 0;
}
.cselect.is-open .cselect-panel { opacity: 1; transform: none; pointer-events: auto; }
.cselect-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 8px; cursor: pointer;
  font-size: .95rem; color: var(--c-text);
  border-left: 3px solid transparent;
  transition: background .15s linear, border-color .15s linear, color .15s linear;
}
.cselect-option:hover, .cselect-option.is-active { background: rgba(45,212,191,.14); border-left-color: var(--c-violet); }
.cselect-option.is-selected { color: var(--c-teal); font-weight: 600; }

/* Toast */
.toast-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,8,18,.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  padding: 24px;
}
.toast-overlay.show { opacity: 1; pointer-events: auto; }
.toast-card {
  background: linear-gradient(180deg, rgba(18,28,56,.97), rgba(10,16,34,.98));
  border: 1px solid var(--c-line);
  border-radius: 20px; padding: 36px 36px 32px;
  max-width: 440px; width: 100%; text-align: center;
  transform: scale(.88) translateY(8px); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 60px rgba(45,212,191,.18);
}
.toast-overlay.show .toast-card { transform: none; opacity: 1; }
.toast-card .toast-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 30px; font-weight: 700; line-height: 1;
}
.toast-card.ok .toast-icon { background: rgba(74,222,128,.14); color: var(--success); border: 2px solid rgba(74,222,128,.45); }
.toast-card.err .toast-icon { background: rgba(255,107,138,.14); color: var(--danger); border: 2px solid rgba(255,107,138,.45); }
.toast-card.info .toast-icon { background: rgba(45,212,191,.14); color: var(--c-teal); border: 2px solid rgba(45,212,191,.45); }
.toast-card .toast-text { color: var(--c-text); font-size: 1.02rem; line-height: 1.5; }

/* Chat widget */
.chat-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--c-grad);
  background-size: 180% 180%;
  animation: grad-shift 7s ease infinite;
  display: flex; align-items: center; justify-content: center;
  color: #04121c;
  box-shadow: 0 14px 34px rgba(45,212,191,.4);
  transition: transform .3s var(--ease);
}
.chat-toggle:hover { transform: translateY(-4px) scale(1.05); }
.chat-toggle svg { width: 27px; height: 27px; }
.chat-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 150;
  width: 360px; max-width: calc(100vw - 32px);
  height: 460px; max-height: calc(100dvh - 130px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #101a36, #0a101f);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  overflow: clip;
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-panel__head {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px;
  background: rgba(45,212,191,.08);
  border-bottom: 1px solid var(--c-line);
}
.chat-panel__head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(45,212,191,.5); }
.chat-panel__head h3 { font-size: 1rem; }
.chat-panel__head p { font-size: .78rem; color: var(--c-green); display: flex; align-items: center; gap: 6px; }
.chat-panel__head p::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 8px var(--c-green); }
.chat-panel__close {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(148,184,255,.08); border: 1px solid var(--c-line);
  color: var(--c-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.chat-panel__close:hover { color: #fff; background: rgba(148,184,255,.16); }
.chat-panel__close svg { width: 15px; height: 15px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: msg-in .35s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-msg--bot { align-self: flex-start; background: rgba(148,184,255,.1); border: 1px solid var(--c-line); border-bottom-left-radius: 5px; }
.chat-msg--user { align-self: flex-end; background: var(--c-grad-soft); border: 1px solid rgba(45,212,191,.3); border-bottom-right-radius: 5px; }
.chat-msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.chat-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-dim); animation: typing 1s ease-in-out infinite; }
.chat-msg--typing i:nth-child(2) { animation-delay: .16s; }
.chat-msg--typing i:nth-child(3) { animation-delay: .32s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--c-line); }
.chat-form input {
  flex: 1; min-width: 0; padding: 12px 15px; border-radius: 999px;
  background: rgba(7,11,22,.6); border: 1px solid var(--c-line);
  color: var(--c-text); font-family: inherit; font-size: .93rem;
}
.chat-form input:focus { outline: none; border-color: var(--c-teal); }
.chat-form button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-grad); color: #04121c;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.chat-form button:hover { transform: scale(1.08); }
.chat-form button svg { width: 18px; height: 18px; }

/* Slot modal */
.game-modal {
  position: fixed; inset: 0; z-index: 180;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4,8,18,.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}
.game-modal.is-open { opacity: 1; pointer-events: auto; }
.game-modal__card {
  width: 100%; max-width: 520px;
  background: linear-gradient(180deg, #131e3e, #0a101f);
  border: 1px solid var(--slot-accent, var(--c-teal));
  border-radius: 26px; padding: 30px 30px 34px;
  box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 60px color-mix(in srgb, var(--slot-accent, #2dd4bf) 22%, transparent);
  transform: scale(.9) translateY(14px);
  transition: transform .4s var(--ease);
  max-height: calc(100dvh - 40px); overflow-y: auto;
}
.game-modal.is-open .game-modal__card { transform: none; }
.game-modal__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.game-modal__top h3 { font-size: 1.3rem; }
.game-modal__close {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(148,184,255,.08); border: 1px solid var(--c-line);
  color: var(--c-dim); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.game-modal__close:hover { color: #fff; transform: rotate(90deg); }
.game-modal__close svg { width: 16px; height: 16px; }
.slot-balance {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 22px; padding: 12px 18px;
  border-radius: 999px;
  background: rgba(7,11,22,.65); border: 1px solid var(--c-line);
  font-weight: 600;
}
.slot-balance svg { width: 20px; height: 20px; color: var(--c-gold); }
.slot-balance strong { font-family: var(--font-display); font-size: 1.25rem; transition: color .3s ease; }
.slot-balance strong.is-win { color: var(--c-green); }
.slot-balance strong.is-loss { color: var(--danger); }
.slot-reels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 24px;
}
.slot-reel {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: rgba(7,11,22,.75);
  border: 1px solid color-mix(in srgb, var(--slot-accent, #2dd4bf) 45%, transparent);
  overflow: clip; position: relative;
}
.slot-reel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,22,.85), transparent 30%, transparent 70%, rgba(7,11,22,.85));
  pointer-events: none;
}
.slot-reel__strip {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
}
.slot-reel__strip span {
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  height: 100%; flex-shrink: 0;
}
.slot-reel.is-spinning .slot-reel__strip { animation: reel-spin .16s linear infinite; }
@keyframes reel-spin { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.slot-result { text-align: center; min-height: 26px; margin-bottom: 18px; font-weight: 600; }
.slot-result.is-win { color: var(--c-green); animation: pop .5s var(--ease); }
.slot-result.is-loss { color: var(--c-dim); }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.slot-spin { width: 100%; }
.slot-note { text-align: center; color: var(--c-dim); font-size: .82rem; margin-top: 16px; }

/* Footer */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--c-line);
  background: rgba(5,8,17,.92);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px;
  padding-block: 64px 48px;
}
.footer-about p { color: var(--c-dim); font-size: .93rem; margin-top: 18px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 20px; letter-spacing: .04em; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--c-dim); font-size: .94rem; }
.footer-col a:hover { color: var(--c-teal); }
.footer-strip {
  border-top: 1px solid var(--c-line);
  padding-block: 22px;
  text-align: center;
}
.footer-strip p { color: var(--c-dim); font-size: .88rem; }
.footer-strip .age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--c-teal); color: var(--c-teal);
  font-weight: 800; font-size: .95rem;
  margin-bottom: 12px;
}
.footer-legal {
  border-top: 1px solid var(--c-line);
  padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between;
}
.footer-legal p { color: var(--c-dim); font-size: .85rem; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* Stats */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-cell {
  text-align: center; padding: 34px 18px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.stat-cell:hover { transform: translateY(-5px); border-color: rgba(45,212,191,.4); }
.stat-cell strong {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600;
  background: var(--c-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 8px;
}
.stat-cell span { color: var(--c-dim); font-size: .93rem; }
@media (max-width: 1100px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .stats-band { grid-template-columns: 1fr; } }

/* Values / team */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  position: relative; overflow: clip;
  border-radius: 28px;
  background: var(--c-grad-soft);
  border: 1px solid rgba(148,184,255,.22);
  padding: 64px 48px;
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(45,212,191,.16) 80%, transparent 90%);
  animation: cta-rotate 14s linear infinite;
  pointer-events: none;
}
@keyframes cta-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cta-band::before, .btn--aurora, .chat-toggle { animation: none; } }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.cta-band p { color: var(--c-dim); margin-bottom: 30px; }
@media (max-width: 640px) { .cta-band { padding: 46px 24px; } }

.faq-full .split { align-items: start; }
@media (max-width: 1100px) { .faq-full .split { gap: 14px; } }

/* Misc small screens */
@media (max-width: 430px) {
  .game-modal__card { padding: 22px 18px 26px; }
  .slot-balance { gap: 8px; padding: 10px 14px; font-size: .9rem; }
  .slot-balance span { white-space: nowrap; }
  .slot-balance strong { font-size: 1.1rem; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 2.1rem; }
  .btn { padding: 14px 24px; }
}
