/* ============ Aura Clash landing (gold / black) ============ */

.landing {
  --black: #0a0a0a;
  --deep-black: #000000;
  --gold: #d4af37;
  --gold-shine: #e8c547;
  --gold-dark: #a67c00;
  --gold-glow: rgba(212, 175, 55, 0.45);
  background: var(--deep-black);
  color: #f0f0f0;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

.landing a { color: var(--gold); text-decoration: none; }
.landing a:hover { text-decoration: none; filter: brightness(1.15); }

/* Fonts */
.landing .orb { font-family: 'Orbitron', 'Segoe UI', sans-serif; }
.landing .script {
  font-family: 'Great Vibes', cursive;
  background: linear-gradient(180deg, #f8e7b0 0%, #e8c547 25%, #d4af37 50%, #a67c00 75%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
  letter-spacing: 1px;
  line-height: 1.1;
}
.landing .italic-gold {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #e8c547;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

/* Spark particles */
.spark {
  position: fixed;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  animation: sparkle 3s infinite;
}
@keyframes sparkle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 1; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-100px) scale(0.5); }
}

/* Nav */
.lnav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.landing .logo { padding: 0; font-size: inherit; }
.nav-emblem {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}
.landing .logo-text { font-size: 1.7rem; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: #ddd;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.cta-nav {
  background: linear-gradient(135deg, #a67c00, #d4af37);
  color: #000;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.cta-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--gold-glow); }

/* Gold buttons (landing) — override app .btn on this page */
.landing .btn.primary,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37, #c9a227);
  color: #1a1400;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, filter 0.2s;
  text-decoration: none;
}
.landing .btn.primary:hover,
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(212, 175, 55, 0.5); filter: brightness(1.08); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-outline:hover { background: var(--gold); color: #000; transform: translateY(-3px); }
.landing .btn.ghost { color: #ddd; border-color: rgba(212, 175, 55, 0.35); }
.landing .btn.ghost:hover { color: var(--gold); border-color: var(--gold); }

/* Hero */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82)),
    url('/assets/img/hero.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 80px;
}
.hero-content { max-width: 920px; z-index: 2; }
.hero-emblem {
  width: clamp(88px, 12vw, 130px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.4));
  margin-bottom: 8px;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 2px;
  margin: 8px 0 10px;
  background: linear-gradient(90deg, #d4af37, #f0e68c, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
}
.hero .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  margin-bottom: 14px;
}
.hero .subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #e8e8e8;
  max-width: 640px;
  margin: 0 auto 28px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

/* Ticker */
.big-ticker {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
}
.big-ticker .tick {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  padding: 7px 14px;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  backdrop-filter: blur(6px);
}
.big-ticker .tick b { color: var(--gold); }
.landing .muted { color: #9a9a9a; }

/* Sections */
.landing section { padding: 90px 5%; position: relative; }
.section-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  text-align: center;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #f8e7b0 0%, #e8c547 30%, #d4af37 60%, #a67c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
  line-height: 1.15;
}
.section-subtitle {
  text-align: center;
  color: #b5b5b5;
  max-width: 680px;
  margin: 0 auto 48px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
}

/* Features */
.features { background: linear-gradient(180deg, #000, #0a0a0a); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.feature-card {
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  padding: 32px 22px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}
.feature-icon { font-size: 2.4rem; margin-bottom: 12px; }
.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0 0 10px;
}
.feature-card p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #cfcfcf;
  font-size: 0.95rem;
  margin: 0;
}

/* How */
.how {
  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9)),
    url('/assets/img/hero.jpg') center / cover;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.step { text-align: center; padding: 12px; }
.step-number {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #a67c00, #d4af37);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.step h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}
.step p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #c9c9c9;
  font-size: 0.95rem;
  margin: 0;
}

/* Competitions (live from API) */
.arenas { background: #050505; }
.comp-card {
  background: linear-gradient(145deg, #101010, #191410);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.comp-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.14);
}
.comp-card .emoji { font-size: 28px; }
.comp-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1rem; color: #fff; margin: 2px 0; }
.comp-card .prize { font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 800; color: var(--gold); }
.comp-card .small { font-size: 12.5px; }
.landing .badge {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold-shine);
}
.landing .badge.success { background: rgba(212, 175, 55, 0.15); border-color: #a67c00; color: #f8e7b0; }
.landing .badge.info { background: rgba(212, 175, 55, 0.1); border-color: #8b6914; color: #e8c547; }
.landing .badge.warn { background: rgba(166, 124, 0, 0.18); border-color: #a67c00; color: #f8e7b0; }

/* Prizes */
.prizes { background: #030303; }
.prize-pool { text-align: center; margin-bottom: 40px; }
.prize-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 900;
  background: linear-gradient(90deg, #d4af37, #e8c547);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.prize-pool p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #e8c547;
  margin-top: 6px;
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.prize-card {
  background: linear-gradient(145deg, #111, #1a1608);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}
.prize-card h4 {
  font-family: 'Orbitron', sans-serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.prize-card p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #ccc;
  margin: 0;
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, #000, #0a0a0a);
  padding: 110px 5%;
}

/* Footer */
.landing .footer {
  background: #000;
  border-top: 1px solid rgba(255, 215, 0, 0.12);
  padding: 36px 5%;
  color: #888;
  display: block;
  text-align: center;
}
.footer .logo-text {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  background: linear-gradient(180deg, #f8e7b0, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 8px;
}
.footer .row { justify-content: center; margin-top: 10px; }
.landing .footer a { color: var(--gold); }

/* Auth modal on gold page */
.landing .modal { background: #0b0b0b; border-color: rgba(212, 175, 55, 0.3); }
.landing .modal-head { border-bottom-color: rgba(212, 175, 55, 0.2); }
.landing .field input {
  background: #050505;
  border-color: rgba(212, 175, 55, 0.25);
}
.landing .field input:focus { border-color: var(--gold); }
.landing .auth-tabs { background: #050505; border-color: rgba(212, 175, 55, 0.25); }
.landing .auth-tabs button.on { background: rgba(212, 175, 55, 0.15); color: var(--gold); }
.landing .card { background: #101010; border-color: rgba(212, 175, 55, 0.2); }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .lnav { padding: 10px 4%; }
  .landing .logo-text { font-size: 1.4rem; }
  .nav-emblem { height: 40px; width: 40px; }
  .hero { padding-top: 96px; }
}
@media (max-width: 480px) {
  .hero-btns .btn-gold, .hero-btns .btn-outline { width: 100%; }
}
