/* ==========================================
   소환사노트 - Summoner Note Website Styles
   Brand: LoL Gold #C89B3C + Navy #0A1628/#050D1A
   Palettes mirror the app themes:
   - light_theme.dart: cream #F5F0E8 bg, white surface, navy #1E3A5F app bar
   - dark_theme.dart:  #050D1A bg, #0A1628 surface, gold accents
   Theme switching: CSS variables + prefers-color-scheme + [data-theme]
   ========================================== */

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------------------------------
   Theme variables — LIGHT (default)
   ------------------------------------------ */
:root {
  color-scheme: light;

  /* Brand constants */
  --gold: #c89b3c;
  --gold-light: #e8c96e;
  --gold-dark: #9a7530;
  --navy: #1e3a5f;
  --navy-deep: #0a1628;
  --navy-deepest: #050d1a;
  --win-color: #4ade80;
  --loss-color: #f87171;
  --white: #ffffff;

  /* Surfaces */
  --bg: #f5f0e8;
  --bg-alt: #fdfaf3;
  --surface: #ffffff;
  --card-border: rgba(154, 117, 48, 0.22);
  --divider: #e8dec8;
  --shadow-strong: rgba(30, 58, 95, 0.16);

  /* Text */
  --text-primary: #1a1a2e;
  --text-body: #3a3a5c;
  --text-secondary: #6b6b8a;
  --text-muted: #63637e;

  /* Accent (gold, AA-safe variants for light bg) */
  --accent: #c89b3c;
  --accent-heading: #9a7530;
  --accent-text: #7e5f25;
  --accent-soft: rgba(200, 155, 60, 0.1);
  --accent-soft-strong: rgba(200, 155, 60, 0.18);
  --accent-border: rgba(154, 117, 48, 0.35);

  /* Navbar (navy app bar in light mode, like the app) */
  --nav-bg: rgba(30, 58, 95, 0.94);
  --nav-bg-solid: rgba(30, 58, 95, 0.98);
  --nav-text: #e9eef6;
  --nav-border: rgba(200, 155, 60, 0.28);

  /* Footer (navy in both modes, like the app bottom nav) */
  --footer-bg: #1e3a5f;
  --footer-text: #f2f5f9;
  --footer-secondary: #c3d0e0;
  --footer-muted: #9db0c7;
  --footer-border: rgba(200, 155, 60, 0.28);

  /* Hero gradient (app splash _brandGradientLight) */
  --hero-g1: #050d1a;
  --hero-g2: #0a1628;
  --hero-g3: #1e3a5f;
}

/* ------------------------------------------
   Theme variables — DARK
   (system preference, unless user forced light)
   ------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;

    --bg: #050d1a;
    --bg-alt: #091629;
    --surface: #0a1628;
    --card-border: rgba(200, 155, 60, 0.14);
    --divider: #1e3a5f;
    --shadow-strong: rgba(0, 0, 0, 0.45);

    --text-primary: #f0e6c8;
    --text-body: #9aabb8;
    --text-secondary: #a8956e;
    --text-muted: #6b8399;

    --accent: #c89b3c;
    --accent-heading: #c89b3c;
    --accent-text: #d4ad55;
    --accent-soft: rgba(200, 155, 60, 0.1);
    --accent-soft-strong: rgba(200, 155, 60, 0.18);
    --accent-border: rgba(200, 155, 60, 0.3);

    --nav-bg: rgba(5, 13, 26, 0.92);
    --nav-bg-solid: rgba(5, 13, 26, 0.98);
    --nav-text: #d8e2ec;
    --nav-border: rgba(200, 155, 60, 0.15);

    --footer-bg: #091629;
    --footer-text: #f0e6c8;
    --footer-secondary: #9aabb8;
    --footer-muted: #6b8399;
    --footer-border: rgba(200, 155, 60, 0.15);

    /* Hero gradient (app splash _brandGradientDark) */
    --hero-g1: #030810;
    --hero-g2: #060d18;
    --hero-g3: #122339;
  }
}

/* Manual override — dark (must mirror the block above) */
:root[data-theme='dark'] {
  color-scheme: dark;

  --bg: #050d1a;
  --bg-alt: #091629;
  --surface: #0a1628;
  --card-border: rgba(200, 155, 60, 0.14);
  --divider: #1e3a5f;
  --shadow-strong: rgba(0, 0, 0, 0.45);

  --text-primary: #f0e6c8;
  --text-body: #9aabb8;
  --text-secondary: #a8956e;
  --text-muted: #6b8399;

  --accent: #c89b3c;
  --accent-heading: #c89b3c;
  --accent-text: #d4ad55;
  --accent-soft: rgba(200, 155, 60, 0.1);
  --accent-soft-strong: rgba(200, 155, 60, 0.18);
  --accent-border: rgba(200, 155, 60, 0.3);

  --nav-bg: rgba(5, 13, 26, 0.92);
  --nav-bg-solid: rgba(5, 13, 26, 0.98);
  --nav-text: #d8e2ec;
  --nav-border: rgba(200, 155, 60, 0.15);

  --footer-bg: #091629;
  --footer-text: #f0e6c8;
  --footer-secondary: #9aabb8;
  --footer-muted: #6b8399;
  --footer-border: rgba(200, 155, 60, 0.15);

  --hero-g1: #030810;
  --hero-g2: #060d18;
  --hero-g3: #122339;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--nav-bg-solid);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(200, 155, 60, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--nav-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.nav-menu a:hover {
  color: var(--gold-light);
}

/* Theme toggle (navbar is navy in both modes → fixed gold) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.12);
  border: 1px solid rgba(200, 155, 60, 0.35);
  color: var(--gold-light);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(200, 155, 60, 0.24);
  color: #ffffff;
  transform: rotate(15deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--nav-bg-solid);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(200, 155, 60, 0.15);
  gap: 0;
}

.nav-menu.active li {
  padding: 0.75rem 20px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.08);
}

/* ==========================================
   Hero Section
   (brand navy gradient in both modes, like the app splash —
   all hero text colors are fixed light-on-navy)
   ========================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--hero-g1) 0%, var(--hero-g2) 55%, var(--hero-g3) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200, 155, 60, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200, 155, 60, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Particle effects */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s infinite;
}

.particle:nth-child(1) { left: 15%; animation-delay: 0s; animation-duration: 9s; }
.particle:nth-child(2) { left: 35%; animation-delay: 2s; animation-duration: 7s; }
.particle:nth-child(3) { left: 55%; animation-delay: 4s; animation-duration: 11s; }
.particle:nth-child(4) { left: 70%; animation-delay: 1s; animation-duration: 8s; }
.particle:nth-child(5) { left: 85%; animation-delay: 3s; animation-duration: 10s; }

@keyframes floatParticle {
  0% { bottom: -10px; opacity: 0; transform: scale(1); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { bottom: 100vh; opacity: 0; transform: scale(0.5); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 155, 60, 0.12);
  border: 1px solid rgba(200, 155, 60, 0.3);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--win-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #f0e6c8;
  letter-spacing: -0.01em;
}

.hero-content h1 .highlight {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(200, 155, 60, 0.4);
}

.hero-content p {
  font-size: 1.1rem;
  color: #a9b8c9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a1628;
  box-shadow: 0 4px 20px rgba(200, 155, 60, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 155, 60, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(200, 155, 60, 0.1);
  transform: translateY(-2px);
}

.disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #8fa2b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 6px;
}

/* ==========================================
   Phone Mockup (always dark — matches app dark UI)
   ========================================== */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
}

.phone-screen {
  width: 280px;
  height: 580px;
  background: #0a0f1a;
  border-radius: 36px;
  padding: 16px;
  border: 2px solid rgba(200, 155, 60, 0.3);
  box-shadow:
    0 0 40px rgba(200, 155, 60, 0.15),
    0 30px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(200, 155, 60, 0.1);
  position: relative;
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(200, 155, 60, 0.3);
  border-radius: 2px;
}

.app-preview {
  background: linear-gradient(180deg, #0a1628 0%, #050d1a 100%);
  height: 100%;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 12px 12px;
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.preview-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

.search-icon {
  font-size: 0.9rem;
}

.preview-summoner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(200, 155, 60, 0.1);
}

.summoner-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: ringGlow 2s ease-in-out infinite;
}

@keyframes ringGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(200, 155, 60, 0.4); }
  50% { box-shadow: 0 0 14px rgba(200, 155, 60, 0.7); }
}

.avatar-icon {
  font-size: 1.2rem;
  z-index: 1;
}

.summoner-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f0e6c8;
}

.summoner-level {
  font-size: 0.7rem;
  color: var(--gold);
}

.preview-rank-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.15) 0%, rgba(200, 155, 60, 0.05) 100%);
  border: 1px solid rgba(200, 155, 60, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}

.rank-emblem {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0a1628;
  font-weight: 900;
  flex-shrink: 0;
}

.rank-tier {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
}

.rank-lp {
  font-size: 0.75rem;
  color: #a8956e;
}

.rank-wr {
  font-size: 0.75rem;
  color: #6b8399;
}

.wr-gold {
  color: var(--gold);
  font-weight: 700;
}

.preview-matches {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.match-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.match-item.win {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.match-item.loss {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.match-result-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.match-result-dot.win { background: var(--win-color); }
.match-result-dot.loss { background: var(--loss-color); }

.match-champ {
  flex: 1;
  color: #f0e6c8;
  font-weight: 600;
}

.match-kda {
  color: #a8956e;
}

.match-result-label {
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.match-item.win .match-result-label {
  background: rgba(74, 222, 128, 0.2);
  color: var(--win-color);
}

.match-item.loss .match-result-label {
  background: rgba(248, 113, 113, 0.2);
  color: var(--loss-color);
}

/* ==========================================
   Section Header
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ==========================================
   Features Section
   ========================================== */
.features {
  padding: 90px 0;
  background: var(--bg-alt);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 60, 0.3), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  padding: 2rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-strong), 0 0 20px rgba(200, 155, 60, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent-soft-strong);
  border-color: var(--accent);
}

.feature-icon i {
  font-size: 1.4rem;
  color: var(--accent-heading);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 12px;
}

/* ==========================================
   Stats Section
   ========================================== */
.stats-section {
  padding: 60px 0;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--accent-heading);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-heading);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================
   Download Section
   ========================================== */
.download {
  padding: 90px 0;
  background: var(--bg-alt);
  position: relative;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem 2.5rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  min-width: 260px;
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--shadow-strong);
}

.download-card i {
  font-size: 2.5rem;
  color: var(--accent-heading);
  flex-shrink: 0;
}

.download-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.download-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.download-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.download-note a {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
}

.download-note a:hover {
  text-decoration: underline;
}

.download-note i {
  color: var(--accent-heading);
  margin-right: 0.4rem;
}

/* ==========================================
   About Section
   ========================================== */
.about {
  padding: 90px 0;
  background: var(--bg);
}

.about-content {
  display: flex;
  justify-content: center;
}

.about-text {
  max-width: 800px;
  width: 100%;
}

.about-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-text ul {
  list-style: none;
  margin-bottom: 2rem;
}

.about-text li {
  padding: 0.6rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.about-text li::before {
  content: '⚔';
  color: var(--accent-heading);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.about-text li:last-child {
  border-bottom: none;
}

.about-text li strong {
  color: var(--text-primary);
}

.disclaimer-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.disclaimer-box h3 {
  color: var(--accent-text);
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-box h3 i {
  color: var(--accent-heading);
}

.disclaimer-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   Footer (brand navy in both modes)
   ========================================== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-section p {
  color: var(--footer-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-section p i {
  color: var(--gold);
  margin-right: 0.4rem;
  width: 16px;
}

.footer-disclaimer {
  font-size: 0.8rem !important;
  color: var(--footer-muted) !important;
  font-style: italic;
  margin-top: 0.5rem;
}

.footer-section h4 {
  color: var(--footer-text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--footer-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
  color: var(--footer-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.riot-disclaimer {
  font-size: 0.75rem !important;
  color: var(--footer-muted) !important;
  line-height: 1.5;
}

/* ==========================================
   Document Pages (Privacy, Terms, FAQ)
   ========================================== */
.doc-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  line-height: 1.8;
}

.doc-content h1 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}

.doc-updated {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.doc-content h2 {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.doc-content h3 {
  color: var(--text-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.doc-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.doc-content ul {
  margin: 1rem 0 1rem 0;
  padding-left: 0;
  list-style: none;
}

.doc-content li {
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 1.2rem;
  position: relative;
}

.doc-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-heading);
}

.doc-content li strong,
.doc-content p strong {
  color: var(--text-primary);
}

.doc-content a {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 500;
}

.doc-content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: var(--accent-soft-strong);
  color: var(--accent-text);
}

.contact-info {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid var(--accent);
}

.contact-info h3 {
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info i {
  color: var(--accent-heading);
  margin-right: 0.5rem;
}

/* FAQ Accordion */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--accent-soft);
}

.faq-question h3 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.faq-question i {
  color: var(--accent-heading);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question.active {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--card-border);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.faq-answer ul {
  color: var(--text-secondary);
  padding-left: 0;
  list-style: none;
}

.faq-answer li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
  font-size: 0.9rem;
}

.faq-answer li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-heading);
}

.info-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}

.info-box h3 {
  color: var(--accent-text);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Images / screenshots: subtle frame so they sit well on dark bg */
.doc-content img,
.about img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    gap: 1rem;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .disclaimer-badge {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .phone-screen {
    width: 240px;
    height: 480px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .download-options {
    flex-direction: column;
    align-items: center;
  }

  .download-card {
    min-width: unset;
    width: 100%;
    max-width: 340px;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .doc-content {
    padding: 80px 16px 40px;
  }
}
