/* ============================================================
   OHL GAMING — Community Gaming Portal
   Palette: Dark #0a0805 | Gold #F5A623 | Amber #E8612A | Cream #F0E6D3
   ============================================================ */
:root {
  --bg:         #0a0805;
  --bg-2:       #130f0a;
  --bg-card:    rgba(245, 166, 35, 0.04);
  --border:     rgba(245, 166, 35, 0.15);
  --gold:       #F5A623;
  --amber:      #E8612A;
  --red:        #C0392B;
  --text:       #F0E6D3;
  --text-muted: #9a8a78;
  --font-head:  'Orbitron', monospace;
  --font-body:  'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Animated background canvas ---- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10, 8, 5, 0.85);
  backdrop-filter: blur(12px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(245,166,35,0.2), rgba(232,97,42,0.1));
  border: 1px solid rgba(245,166,35,0.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.nav-logo-icon svg { width: 18px; height: 18px; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.nav-logo-ohl {
  background: linear-gradient(90deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-sub {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.9;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-btn.active {
  color: var(--gold);
  background: rgba(245,166,35,0.12);
}
.lang-sep {
  width: 1px;
  height: 12px;
  background: rgba(245,166,35,0.2);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  z-index: 99;
  background: rgba(10, 8, 5, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.mobile-menu-link {
  display: block;
  padding: 0.6rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(245,166,35,0.08);
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: var(--gold); }
.mobile-menu-portal {
  color: var(--gold);
  margin-top: 0.5rem;
  border-bottom: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 5vw 4rem;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
  max-width: 60px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}
.hero-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(240,230,211,0.75);
  margin-bottom: 1.5rem;
}
.hero-description strong { color: var(--gold); }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.pill {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(245,166,35,0.06);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #0a0805;
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.4);
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(245,166,35,0.08); transform: translateY(-1px); }

/* Hero stats */
.hero-visual { flex: 0 0 auto; }
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 280px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
}
.stat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #888;
  margin: 0 auto 0.5rem;
}
.stat-dot.live {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.stat-value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 5vw;
}
.section-alt {
  background: rgba(245,166,35,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   SERVERS
   ============================================================ */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}
.server-card:hover {
  border-color: rgba(245,166,35,0.4);
  transform: translateY(-2px);
}
.server-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.server-game-icon {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}
.cs2-icon   { background: rgba(245,166,35,0.15); color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }
.cs16-icon  { background: rgba(232,97,42,0.15);  color: var(--amber); border: 1px solid rgba(232,97,42,0.3); }
.mc-icon    { background: rgba(74,222,128,0.1);  color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.unturned-icon { background: rgba(192,57,43,0.15); color: #e74c3c; border: 1px solid rgba(192,57,43,0.3); }
.quake-icon { background: rgba(245,166,35,0.15); color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }
.rl-icon    { background: rgba(52,152,219,0.15); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }

.server-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.server-status.online { color: #4ade80; }
.server-status.soon { color: var(--gold); }
.server-status.soon .status-dot { background: var(--gold); animation: none; }
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}
.server-name {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.server-ip {
  font-size: 0.8rem;
  color: var(--gold);
  font-family: monospace;
  margin-bottom: 0.75rem;
}
.server-port { color: var(--text-muted); }
.server-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.player-count { color: var(--gold); font-weight: 600; }
.btn-connect {
  width: 100%;
  padding: 0.5rem;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-connect:hover { background: rgba(245,166,35,0.2); }
.servers-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.6;
}

/* ============================================================
   GAMES
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.game-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.game-card:hover { border-color: rgba(245,166,35,0.35); }
.game-icon-wrap {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
}
.cs2-bg    { }
.cs16-bg   { }
.mc-bg     { }
.rl-bg     { }
.quake-bg  { }
.lol-bg    { }
.game-abbr { text-align: center; line-height: 1.2; }
.game-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  padding: 4px;
}
.game-info { flex: 1; }
.game-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.game-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.game-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  background: rgba(245,166,35,0.1);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.2);
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.highlight-card:hover { border-color: rgba(245,166,35,0.4); transform: translateY(-2px); }
.highlight-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(232,97,42,0.05));
  display: flex; align-items: center; justify-content: center;
}
.highlight-card.placeholder .highlight-thumb {
  background: repeating-linear-gradient(
    45deg,
    rgba(245,166,35,0.03),
    rgba(245,166,35,0.03) 10px,
    transparent 10px,
    transparent 20px
  );
}
.play-btn {
  width: 48px; height: 48px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.play-btn:hover { background: rgba(245,166,35,0.3); }
.highlight-game-tag {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: rgba(10,8,5,0.8);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.65rem;
  font-family: var(--font-head);
  color: var(--gold);
  letter-spacing: 0.06em;
}
.highlight-info { padding: 0.75rem 1rem; }
.highlight-title {
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.highlight-meta { font-size: 0.72rem; color: var(--text-muted); }
.highlights-yt {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.highlights-yt p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 1.25rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s;
}
.community-card:hover { border-color: rgba(245,166,35,0.4); }
.community-icon {
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
}
.community-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.community-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.discord-card       .community-icon { background: rgba(88,101,242,0.15); color: #5865F2; }
.twitch-card        .community-icon { background: rgba(145,70,255,0.15);  color: #9146FF; }
.yt-card            .community-icon { background: rgba(232,97,42,0.15);    color: var(--gold); }
.yt-community-card  .community-icon { background: rgba(255,0,0,0.12);       color: #FF0000; }
.community-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.community-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.btn-community {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-community:hover { background: rgba(245,166,35,0.2); }

/* Clan section */
.clan-section {
  display: flex;
  justify-content: center;
}
.clan-box {
  background: linear-gradient(135deg, rgba(245,166,35,0.06), rgba(232,97,42,0.04));
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 500px;
}
.clan-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.clan-tag-demo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.clan-name-demo { opacity: 0.7; }
.clan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FOOTER — Exact Axiom structure, gold palette
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 5vw;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 12.8px;
  letter-spacing: 0.08em;
  color: #9a8a78;
}
.site-footer-logo strong { color: var(--gold); font-weight: 600; letter-spacing: 0; margin-left: -0.08em; }
.footer-brand { color: #9a8a78; font-family: 'Orbitron', monospace; letter-spacing: 0.08em; }
.footer-brand-hl { color: var(--gold); font-weight: 600; letter-spacing: 0; }
.site-footer-year {
  font-size: 12px;
  color: #9a8a78;
  opacity: 0.6;
  margin-left: 4px;
}
.site-footer-logo-icon {
  width: 26px; height: 26px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.site-footer-logo-icon svg { width: 14px; height: 14px; }
.site-footer-links ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-footer-links a {
  font-size: 12.5px;
  color: #9a8a78;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer-links a:hover { color: #e8e8f0; }
.site-footer-link-active {
  color: var(--gold) !important;
  font-weight: 600;
}
.site-footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-footer-social a {
  color: #9a8a78;
  transition: color 0.2s;
}
.site-footer-social a:hover { color: var(--gold); }
.site-footer-copy {
  font-size: 12px;
  color: #9a8a78;
  opacity: 0.7;
  margin: 0;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--gold);
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  z-index: 999;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 6rem;
    text-align: center;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-pills { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-stat-grid { width: 100%; max-width: 360px; margin: 0 auto; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 1rem 1.5rem; }
}
@media (max-width: 600px) {
  .section { padding: 3rem 1.25rem; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .servers-grid,
  .games-grid,
  .highlights-grid,
  .community-grid { grid-template-columns: 1fr; }
  .clan-box { padding: 1.5rem 1.25rem; }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .site-footer-links ul { flex-wrap: wrap; gap: 0.75rem; }
}
@media (max-width: 420px) {
  .site-footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-logo-text { font-size: 0.85rem; }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px; height: 44px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: rgba(245, 166, 35, 0.25);
}

/* ============================================================
   LIVE STREAM
   ============================================================ */
.live-container {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1.5rem;
  align-items: start;
}
.live-embed-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.live-tab {
  padding: 0.35rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
}
.live-tab.active {
  background: rgba(245,166,35,0.12);
  border-color: rgba(245,166,35,0.4);
  color: var(--gold);
}
.live-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0b08;
  border: 1px solid var(--border);
}
.live-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.live-iframe.hidden { display: none; }
.live-offline-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.live-offline-msg.show { display: flex; }
.live-offline-icon { font-size: 2.5rem; }
.live-offline-links { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.live-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.live-status-badge.live-on { color: #4ade80; }
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.live-status-badge.live-on .live-dot {
  background: #4ade80;
  animation: pulse-dot 1.5s infinite;
}
.live-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .live-container { grid-template-columns: 1fr; }
  .live-sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

/* ============================================================
   YOUTUBE CAROUSEL
   ============================================================ */
.yt-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.yt-carousel {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
}
.yt-carousel-btn {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(245,166,35,0.08);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.yt-carousel-btn:hover { background: rgba(245,166,35,0.2); }
.yt-carousel-btn:disabled { opacity: 0.3; cursor: default; }
.yt-card {
  flex: 0 0 calc(33.333% - 0.67rem);
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.yt-card:hover { border-color: rgba(245,166,35,0.4); transform: translateY(-2px); }
.yt-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d0b08;
}
.yt-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.yt-play-overlay {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s;
}
.yt-card:hover .yt-play-overlay { opacity: 1; }
.yt-play-icon {
  width: 44px; height: 44px;
  background: rgba(245,166,35,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0a0805;
  font-size: 1.1rem;
}
.yt-card-info {
  padding: 0.75rem;
}
.yt-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.yt-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 1.5rem 0;
  width: 100%;
}
.yt-loading-spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.yt-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.yt-empty.hidden { display: none; }
.hidden { display: none !important; }
@media (max-width: 768px) {
  .yt-card { flex: 0 0 calc(50% - 0.5rem); }
}
@media (max-width: 480px) {
  .yt-card { flex: 0 0 85%; }
}
