/* =====================================================
   Christmas Theme 2026 – Heroradio
   Warm, festive, deep-forest green with candlelight gold
   ===================================================== */

.theme-christmas {
  --bg: #06170f;
  --bg-2: #0b2418;
  --bg-3: #123322;
  --fg: #fff8ec;
  --muted: #b8c9be;
  --primary: #e63946;        /* christmas red */
  --primary-2: #b71c1c;
  --secondary: #0b2418;
  --accent: #f5c453;         /* candle gold */
  --accent-2: #f0a04b;
  --green: #2e7d4f;
  --green-2: #1b5e34;
  --snow: #ffffff;
  --card: rgba(255,255,255,.04);
  --card-brd: rgba(245,196,83,.22);
  --shadow-glow: 0 8px 30px rgba(230,57,70,.25), 0 2px 8px rgba(0,0,0,.4);
}

/* Global body backdrop */
.theme-christmas body {
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(230,57,70,.18), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(46,125,79,.28), transparent 60%),
    linear-gradient(180deg, #06170f 0%, #0b2418 60%, #06170f 100%);
  color: var(--fg);
  background-attachment: fixed;
}

/* Subtle festive grain */
.theme-christmas .bg-grain {
  background-image:
    radial-gradient(rgba(245,196,83,.05) 1px, transparent 1px),
    radial-gradient(rgba(230,57,70,.04) 1px, transparent 1px);
  background-size: 32px 32px, 48px 48px;
  background-position: 0 0, 16px 16px;
  opacity: .5;
}

/* =============== Header / Branding =============== */
.theme-christmas .site-header {
  background: linear-gradient(180deg, rgba(11,36,24,.92), rgba(6,23,15,.85));
  border-bottom: 1px solid rgba(245,196,83,.25);
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  position: relative;
}
.theme-christmas .site-header::before {
  content:''; position:absolute; left:0; right:0; bottom:-9px; height:10px;
  background:
    radial-gradient(circle at 10px 0, #e63946 6px, transparent 7px) 0 0/22px 10px,
    radial-gradient(circle at 10px 0, #f5c453 4px, transparent 5px) 11px 0/22px 10px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
  opacity: .95;
}
.theme-christmas .brand strong { color: #fff8ec; letter-spacing: .5px; }
.theme-christmas .brand small { color: var(--accent); font-weight: 600; }
.theme-christmas .brand-mark {
  background: linear-gradient(135deg, #e63946 0%, #b71c1c 100%);
  color: #fff8ec;
  box-shadow: 0 0 0 3px rgba(245,196,83,.4), 0 8px 20px rgba(230,57,70,.4);
  border-radius: 50%;
}

/* Nav */
.theme-christmas .site-nav a {
  color: #eaf3ec;
  transition: color .2s, transform .2s;
}
.theme-christmas .site-nav a:hover,
.theme-christmas .site-nav a.active {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(245,196,83,.5);
}
.theme-christmas .btn-pill {
  border-radius: 999px;
  border: 1px solid rgba(245,196,83,.4);
  background: rgba(255,255,255,.04);
  color: #fff8ec;
}
.theme-christmas .btn-pill.primary,
.theme-christmas .btn-pill.admin {
  background: linear-gradient(135deg, #e63946, #b71c1c);
  border-color: transparent;
  color:#fff;
  box-shadow: var(--shadow-glow);
}
.theme-christmas .btn-pill.ghost { background: transparent; }
.theme-christmas .btn-pill:hover { transform: translateY(-1px); }

/* =============== Cards / panels =============== */
.theme-christmas .card,
.theme-christmas .panel,
.theme-christmas .box,
.theme-christmas .tile,
.theme-christmas .ad-tile,
.theme-christmas .mb-tile,
.theme-christmas .news-item,
.theme-christmas .team-card,
.theme-christmas .stream-card {
  background:
    linear-gradient(180deg, rgba(18,51,34,.85), rgba(11,36,24,.9));
  border: 1px solid var(--card-brd);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  color: var(--fg);
  position: relative;
  overflow: hidden;
}
.theme-christmas .card:hover,
.theme-christmas .ad-tile:hover,
.theme-christmas .mb-tile:hover {
  border-color: rgba(245,196,83,.5);
  box-shadow: 0 14px 40px rgba(230,57,70,.25);
  transform: translateY(-2px);
  transition: all .25s ease;
}

/* Hero / dashboard hero */
.theme-christmas .hero,
.theme-christmas .dash-hero,
.theme-christmas .mb-hero {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(245,196,83,.2), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(230,57,70,.28), transparent 60%),
    linear-gradient(135deg, #0b2418 0%, #123322 50%, #0b2418 100%);
  border: 1px solid rgba(245,196,83,.3);
  border-radius: 24px;
  color: var(--fg);
  position: relative;
  overflow: hidden;
}
.theme-christmas .hero::after,
.theme-christmas .dash-hero::after,
.theme-christmas .mb-hero::after {
  content:'❄'; position:absolute; top:12px; right:20px;
  font-size: 80px; color: rgba(255,255,255,.06);
  pointer-events:none;
}

/* Buttons */
.theme-christmas .btn,
.theme-christmas button.primary,
.theme-christmas .btn-primary {
  background: linear-gradient(135deg, #e63946, #b71c1c);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-glow);
  border-radius: 12px;
}
.theme-christmas .btn.secondary,
.theme-christmas .btn-secondary {
  background: linear-gradient(135deg, #2e7d4f, #1b5e34);
  color:#fff;
}
.theme-christmas .btn.ghost {
  background: transparent; color: var(--accent); border:1px solid var(--accent);
}
.theme-christmas .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Links */
.theme-christmas a { color: var(--accent); }
.theme-christmas a:hover { color: #ffe08a; }

/* Inputs */
.theme-christmas input, .theme-christmas textarea, .theme-christmas select {
  background: rgba(6,23,15,.7);
  border: 1px solid rgba(245,196,83,.25);
  color: var(--fg);
  border-radius: 10px;
}
.theme-christmas input:focus, .theme-christmas textarea:focus, .theme-christmas select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,196,83,.2);
}

/* Player */
.theme-christmas .mini-player {
  background: linear-gradient(135deg, rgba(11,36,24,.95), rgba(6,23,15,.95));
  border: 1px solid rgba(245,196,83,.3);
  box-shadow: 0 -8px 30px rgba(0,0,0,.5);
}
.theme-christmas .mp-btn {
  background: linear-gradient(135deg, #e63946, #b71c1c);
  color:#fff; border:none;
  box-shadow: 0 0 20px rgba(230,57,70,.5);
}

/* Footer */
.theme-christmas .site-footer {
  background: linear-gradient(180deg, #0b2418, #06170f);
  border-top: 1px solid rgba(245,196,83,.25);
  color: var(--muted);
}
.theme-christmas .site-footer strong,
.theme-christmas .site-footer a { color: var(--accent); }

/* Badges */
.theme-christmas .badge, .theme-christmas .new-badge, .theme-christmas .tag {
  background: linear-gradient(135deg, #e63946, #b71c1c);
  color:#fff;
  border-radius: 999px;
}

/* Headings */
.theme-christmas h1, .theme-christmas h2, .theme-christmas h3 {
  color: #fff8ec;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}
.theme-christmas h1 span.accent,
.theme-christmas .accent-text { color: var(--accent); }

/* =====================================================
   Snowfall (pure CSS, three layers of falling flakes)
   ===================================================== */
.theme-christmas .xmas-snow {
  position: fixed; inset: 0; pointer-events: none; z-index: 40;
  overflow: hidden;
}
.theme-christmas .xmas-snow span {
  position: absolute; top: -10vh; color: #fff;
  user-select: none; opacity: .85;
  text-shadow: 0 0 6px rgba(255,255,255,.5);
  animation: xmas-fall linear infinite;
}
@keyframes xmas-fall {
  0%   { transform: translate3d(0,-10vh,0) rotate(0deg); }
  100% { transform: translate3d(4vw,110vh,0) rotate(360deg); }
}

/* String of lights along top of page */
.theme-christmas .xmas-lights {
  position: fixed; top: 0; left: 0; right: 0; height: 26px;
  pointer-events: none; z-index: 60;
  background: linear-gradient(#f5c453, #f5c453) 0 2px/100% 2px no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.theme-christmas .xmas-lights::before {
  content:''; position:absolute; top:4px; left:0; right:0; height:20px;
  background-image:
    radial-gradient(circle at 12px 8px, #ff5252 6px, transparent 7px),
    radial-gradient(circle at 36px 12px, #4caf50 6px, transparent 7px),
    radial-gradient(circle at 60px 8px, #f5c453 6px, transparent 7px),
    radial-gradient(circle at 84px 12px, #29b6f6 6px, transparent 7px);
  background-repeat: repeat-x;
  background-size: 96px 20px;
  animation: xmas-twinkle 1.6s ease-in-out infinite alternate;
}
@keyframes xmas-twinkle {
  from { opacity: .55; filter: drop-shadow(0 0 2px rgba(255,255,255,.3)); }
  to   { opacity: 1;   filter: drop-shadow(0 0 8px rgba(255,220,120,.9)); }
}

/* Corner decorations: pine branches */
.theme-christmas .xmas-branch {
  position: fixed; z-index: 55; pointer-events: none;
  width: 220px; height: 220px; opacity: .9;
}
.theme-christmas .xmas-branch.tl { top: 20px; left: -30px; transform: rotate(-10deg); }
.theme-christmas .xmas-branch.tr { top: 20px; right: -30px; transform: rotate(10deg) scaleX(-1); }

/* Floating banner */
.theme-christmas .xmas-banner {
  display:flex; align-items:center; gap:.6rem;
  padding: .55rem 1rem;
  background: linear-gradient(135deg, #e63946, #b71c1c);
  color:#fff; font-weight:700; letter-spacing:.4px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  position: relative; z-index: 65;
  justify-content:center;
  text-transform: uppercase;
  font-size: .8rem;
}
.theme-christmas .xmas-banner i { color: #f5c453; }

/* Tables */
.theme-christmas table { color: var(--fg); }
.theme-christmas table thead th {
  background: rgba(245,196,83,.12);
  color: var(--accent);
  border-bottom: 1px solid rgba(245,196,83,.3);
}
.theme-christmas table tbody tr:hover { background: rgba(245,196,83,.05); }

/* Chat bubbles / guestbook entries */
.theme-christmas .chat-msg, .theme-christmas .gb-entry {
  background: rgba(18,51,34,.7);
  border: 1px solid rgba(245,196,83,.2);
  border-radius: 14px;
}

/* Small screens */
@media (max-width: 640px) {
  .theme-christmas .xmas-branch { width: 140px; height: 140px; }
  .theme-christmas .hero::after,
  .theme-christmas .dash-hero::after,
  .theme-christmas .mb-hero::after { font-size: 50px; }
}
