/* ============================================
   AuroraZone – Main Stylesheet
   Name: AuroraZone | aurora-zone.com
   Font: Trebuchet MS / system stack
   Palette: Navy #0a1628 | Teal #0fd4b4 | Mint #e0faf5
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0a1628;
  --navy-mid:    #112240;
  --navy-light:  #1a3355;
  --teal:        #0fd4b4;
  --teal-dark:   #09a892;
  --teal-glow:   rgba(15,212,180,.18);
  --mint:        #e0faf5;
  --mint-dark:   #c2f0e8;
  --white:       #ffffff;
  --text:        #1a2e44;
  --muted:       #5a7a94;
  --radius:      14px;
  --shadow:      0 8px 32px rgba(10,22,40,.22);
  --transition:  .32s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  background: var(--mint);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 {
  font-family: 'Trebuchet MS', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  color: var(--navy); margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--teal-dark); }
.section-sub { color: var(--muted); max-width: 560px; margin-bottom: 40px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  font-family: 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 700; font-size: .9rem;
  letter-spacing: .04em;
  padding: 14px 34px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(15,212,180,.35);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.15);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.btn-primary:hover::after { transform: scaleX(1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,212,180,.5); }

.btn-outline {
  display: inline-block;
  background: transparent; color: var(--white);
  font-family: 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 600; font-size: .9rem;
  padding: 13px 30px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.4);
  text-decoration: none; cursor: pointer;
  transition: var(--transition); margin-left: 14px;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 10px 22px; font-size: .83rem; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(10,22,40,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,212,180,.12);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__icon { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.logo__text {
  font-family: 'Trebuchet MS', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--white);
  letter-spacing: .02em;
}
.logo__text em { color: var(--teal); font-style: normal; }

.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  font-size: .86rem; font-weight: 600;
  color: rgba(255,255,255,.65); text-decoration: none;
  padding: 7px 13px; border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute;
  bottom: 2px; left: 13px; right: 13px; height: 2px;
  background: var(--teal); border-radius: 2px;
  transform: scaleX(0); transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  padding-top: 68px;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(17,34,64,.78) 55%, rgba(10,22,40,.55) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  padding: 80px 0; max-width: 700px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,212,180,.15);
  border: 1px solid rgba(15,212,180,.35);
  color: var(--teal); font-size: .72rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(15,212,180,.3); }
  50% { box-shadow: 0 0 0 8px rgba(15,212,180,.0); }
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  color: var(--white); margin-bottom: 22px; font-weight: 700;
}
.hero__title em { color: var(--teal); font-style: italic; display: block; }
.hero__sub {
  color: rgba(255,255,255,.72); font-size: 1.05rem;
  margin-bottom: 38px; line-height: 1.8;
}
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.35); font-size: 1.3rem;
  animation: scrollBounce 2s infinite; z-index: 1;
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(9px)} }

/* ── DISCLAIMER STRIP ── */
.disclaimer-strip {
  background: linear-gradient(90deg, var(--navy-mid), var(--navy));
  padding: 14px 0;
  border-top: 1px solid rgba(15,212,180,.15);
}
.disclaimer-strip .container { display: flex; align-items: center; gap: 12px; }
.disclaimer-strip span { font-size: 1.1rem; flex-shrink: 0; }
.disclaimer-strip p { color: rgba(255,255,255,.7); font-size: .84rem; line-height: 1.5; }
.disclaimer-strip strong { color: var(--teal); }

/* ── FEATURES ── */
.features { padding: 96px 0; background: var(--mint); }
.features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 22px; margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--mint-dark);
  border-radius: var(--radius);
  padding: 36px 26px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(28px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(15,212,180,.15); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.feature-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── GAMES PREVIEW ── */
.games-preview { padding: 96px 0; background: var(--navy); }
.games-preview .section-label { color: var(--teal); }
.games-preview .section-title { color: var(--white); }
.games-preview .section-sub { color: rgba(255,255,255,.55); }
.games-preview__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
  gap: 26px; margin-top: 48px;
}
.game-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(15,212,180,.18);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
  opacity: 0; transform: translateY(24px);
}
.game-card.visible { opacity: 1; transform: translateY(0); }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,212,180,.15); border-color: rgba(15,212,180,.45); }
.game-card__art-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.game-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; position: relative;
}
.game-art--fruit { background: linear-gradient(135deg, #052e1a 0%, #0a5c30 60%, #031a10 100%); }
.game-art--cards { background: linear-gradient(135deg, #0a1628 0%, #112240 60%, #061020 100%); }
.game-art__icon { font-size: 3rem; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); animation: floatArt 3s ease-in-out infinite; }
.game-art__icon:nth-child(2) { animation-delay: .6s; font-size: 3.6rem; }
.game-art__icon:nth-child(3) { animation-delay: 1.2s; }
@keyframes floatArt { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }
.game-art__label {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .78rem; font-style: italic; color: rgba(255,255,255,.4);
  white-space: nowrap; letter-spacing: .06em;
}
.game-card__tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10,22,40,.85); color: var(--teal);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px;
  border-radius: 50px; border: 1px solid rgba(15,212,180,.3);
}
.game-card__body { padding: 24px 24px 28px; }
.game-card__body h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 9px; }
.game-card__body p { font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: 18px; line-height: 1.65; }
.games-preview__note { text-align: center; margin-top: 32px; color: rgba(255,255,255,.35); font-size: .8rem; }

/* ── HOW IT WORKS ── */
.how-it-works { padding: 96px 0; background: var(--mint-dark); }
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 54px; flex-wrap: wrap;
}
.step { text-align: center; flex: 1; min-width: 200px; max-width: 280px; padding: 0 18px; }
.step__num {
  font-family: 'Trebuchet MS', serif;
  font-size: 3.8rem; font-weight: 700;
  color: var(--teal); opacity: .25; line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 9px; }
.step p { font-size: .86rem; color: var(--muted); }
.step__line {
  flex-shrink: 0; width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  opacity: .3; align-self: center; margin-top: -42px;
}

/* ── RESPONSIBLE ── */
.responsible { padding: 96px 0; background: var(--white); }
.responsible__intro { color: var(--muted); max-width: 580px; margin-bottom: 46px; font-size: .94rem; }
.responsible__orgs { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.org-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 30px; border-radius: var(--radius);
  border: 1.5px solid var(--mint-dark);
  text-decoration: none; color: var(--muted);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  transition: var(--transition); min-width: 190px;
}
.org-card:hover { border-color: var(--teal); box-shadow: 0 6px 24px rgba(15,212,180,.15); transform: translateY(-3px); }
.org-card__img-wrap { width: 160px; height: 68px; display: flex; align-items: center; justify-content: center; border-radius: 8px; overflow: hidden; padding: 8px; }
.org-card__img-wrap--dark { background: #000; }
.org-card__img-wrap--light { background: var(--white); border: 1px solid var(--mint-dark); }

/* ── FOOTER ── */
.site-footer { background: var(--navy); padding: 72px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 56px;
}
.footer-col .logo { margin-bottom: 14px; }
.footer-tagline { color: rgba(255,255,255,.4); font-size: .84rem; line-height: 1.65; }
.footer-col h4 {
  font-family: 'Trebuchet MS', system-ui, sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 9px; }
.footer-col ul a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .86rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-col address { font-style: normal; color: rgba(255,255,255,.5); font-size: .86rem; line-height: 1.8; }
.footer-col address a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col address a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(15,212,180,.1); padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,.28); font-size: .76rem; line-height: 1.7; text-align: center; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--teal); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy-mid);
  border-top: 1px solid rgba(15,212,180,.2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 32px;
}
.cookie-banner p { color: rgba(255,255,255,.7); font-size: .84rem; }
.cookie-banner a { color: var(--teal); text-decoration: underline; }
.cookie-banner button {
  flex-shrink: 0; background: var(--teal); color: var(--navy);
  border: none; padding: 9px 24px; border-radius: 50px;
  font-weight: 700; font-size: .84rem; cursor: pointer;
  transition: var(--transition);
}
.cookie-banner button:hover { background: var(--teal-dark); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 128px 0 58px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(15,212,180,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 12px; position: relative; }
.page-hero p { color: rgba(255,255,255,.55); max-width: 520px; margin: 0 auto; position: relative; }

/* ── PROSE ── */
.prose-section { padding: 72px 0; }
.prose-wrap { max-width: 840px; margin: 0 auto; }
.prose-wrap h2 { font-size: 1.4rem; color: var(--navy); margin: 36px 0 11px; }
.prose-wrap h3 { font-size: 1.1rem; color: var(--navy-mid); margin: 26px 0 9px; }
.prose-wrap p { color: var(--muted); font-size: .92rem; margin-bottom: 15px; line-height: 1.8; }
.prose-wrap ul { margin: 0 0 15px 22px; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.prose-wrap a { color: var(--teal-dark); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp .55s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .22s; }
.anim-delay-3 { animation-delay: .34s; }

/* teal glow line */
.teal-line {
  display: inline-block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 3px; margin-bottom: 18px;
  animation: lineGrow .8s ease both;
}
@keyframes lineGrow { from{width:0} to{width:48px} }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .step__line { display: none; }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy); padding: 20px;
    border-bottom: 1px solid rgba(15,212,180,.15);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .hero__content { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .games-preview__grid { grid-template-columns: 1fr; }
  .responsible__orgs { justify-content: center; }
  .cookie-banner { flex-direction: column; text-align: center; padding: 16px; }
}
