/* ---------- Seasonal themes (switched by site.js via <html data-theme>) ---------- */
:root, :root[data-theme="halloween"] {
  --bg: #0a0612;
  --bg-glow: #3b1466;
  --panel: rgba(24, 14, 40, .88);
  --border: #5b2a9a;
  --text: #f4eefc;
  --muted: #b9a8d6;
  --accent: #ff7a1a;
  --accent2: #9b4dff;
  --accent3: #7CFC00;
  --heading-font: "Creepster", "Impact", system-ui, sans-serif;
}
:root[data-theme="christmas"] {
  --bg: #07130d;
  --bg-glow: #14502f;
  --panel: rgba(10, 30, 20, .88);
  --border: #2f7d4f;
  --text: #f6fbf7;
  --muted: #b6d3c1;
  --accent: #ff3b4a;
  --accent2: #ffd24a;
  --accent3: #7be3a6;
  --heading-font: "Mountains of Christmas", Georgia, serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(ellipse at 50% -10%, var(--bg-glow) 0%, var(--bg) 62%) fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); }

/* ---------- Header ---------- */
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 20px; background: rgba(0,0,0,.55);
  border-bottom: 3px solid var(--accent2);
  box-shadow: 0 0 22px var(--accent2);
  position: relative; z-index: 2;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text);
  font-family: var(--heading-font); font-size: 1.8rem; letter-spacing: 1px; }
.brand img { height: 60px; width: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 14px var(--accent); }
nav a {
  color: var(--text); text-decoration: none; margin-left: 18px; font-weight: 700;
  padding-bottom: 3px; border-bottom: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem;
}
nav a:hover, nav a.active { border-color: var(--accent); color: var(--accent); }

/* ---------- Layout ---------- */
main { max-width: 980px; margin: 0 auto; padding: 24px 16px 60px; position: relative; z-index: 2; }
.hero { text-align: center; padding: 10px 0 0; }
.hero img.big-logo {
  width: min(280px, 60vw); height: auto; border-radius: 50%;
  box-shadow: 0 0 40px var(--accent), 0 0 90px var(--accent2);
  animation: pulse 4s ease-in-out infinite;
}
h1 {
  font-family: var(--heading-font); font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.6rem); margin: .3em 0 .1em; text-align: center;
  color: var(--accent); letter-spacing: 2px;
  text-shadow: 0 0 10px var(--accent), 0 0 30px var(--accent), 3px 3px 0 #000;
}
h2 {
  font-family: var(--heading-font); font-weight: 400; letter-spacing: 1px;
  color: var(--accent); font-size: 2rem; margin: 0 0 .4em;
  text-shadow: 0 0 12px rgba(255,122,26,.45);
}
:root[data-theme="christmas"] h2 { text-shadow: 0 0 12px rgba(255,59,74,.4); }
.tagline { text-align: center; color: var(--muted); margin: 0 0 24px; font-size: 1.1rem; }

.house-photo {
  display: block; width: 100%; height: auto; margin: 0 auto 24px;
  border: 2px solid var(--accent2); border-radius: 16px;
  box-shadow: 0 0 30px var(--accent2), 0 6px 30px rgba(0,0,0,.6);
}

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 2px solid var(--border); border-radius: 16px;
  padding: 22px; margin: 22px 0; box-shadow: 0 6px 30px rgba(0,0,0,.5), inset 0 0 30px rgba(0,0,0,.35);
  backdrop-filter: blur(3px);
}
.grid .card { margin: 0; text-align: center; }
.card .emoji { font-size: 2.6rem; display: block; margin-bottom: 4px; }
.big-fm { font-family: var(--heading-font); font-size: 3.2rem; color: var(--accent3); text-shadow: 0 0 16px var(--accent3); line-height: 1.1; }
.when { font-size: 1.15rem; }
.when strong { color: var(--accent2); }
.button {
  display: inline-block; margin-top: 10px; padding: 10px 22px; border-radius: 999px;
  background: var(--accent); color: #111; font-weight: 800; text-decoration: none;
  box-shadow: 0 0 18px var(--accent);
}
.button:hover { filter: brightness(1.1); }

.remote-frame { width: 100%; height: 760px; border: 0; border-radius: 14px; background: #000; }
@media (max-width: 600px) { .remote-frame { height: 680px; } nav a { margin: 0 12px 0 0; } .brand { font-size: 1.4rem; } }

table { width: 100%; border-collapse: collapse; }
td, th { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--accent2); text-transform: uppercase; font-size: .8rem; letter-spacing: 1px; }
ul { padding-left: 1.2em; }
li { margin: .4em 0; }

footer { text-align: center; color: var(--muted); padding: 24px; font-size: .9rem; position: relative; z-index: 2; }

/* ---------- Floating decorations ---------- */
.particles { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.particles span { position: absolute; opacity: .55; animation-timing-function: linear; animation-iteration-count: infinite; }
.particles.up span   { bottom: -60px; animation-name: rise; }
.particles.down span { top: -60px;    animation-name: fall; }
@keyframes rise { to { transform: translate(40px, -115vh) rotate(25deg); } }
@keyframes fall { to { transform: translate(-40px, 115vh) rotate(180deg); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px var(--accent), 0 0 90px var(--accent2); }
  50%      { box-shadow: 0 0 55px var(--accent), 0 0 120px var(--accent2); }
}
@media (prefers-reduced-motion: reduce) { .hero img.big-logo { animation: none; } }

/* ---------- Videos & social ---------- */
.video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 14px; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.social { margin-bottom: 8px; }
.social a { color: var(--accent2); font-weight: 700; margin: 0 10px; text-decoration: none; }
.social a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Home hero: text over the house photo ---------- */
.hero-photo {
  position: relative; border: 2px solid var(--accent2); border-radius: 16px; overflow: hidden;
  min-height: 560px; margin-bottom: 24px; display: flex; align-items: stretch;
  background: #000 url("assets/houseshot.jpg") center 35% / cover no-repeat;
  box-shadow: 0 0 30px var(--accent2), 0 6px 30px rgba(0,0,0,.6);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.88) 100%);
}
.hero-photo .hero-inner {
  position: relative; width: 100%; padding: 16px 16px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
}
.hero-photo .big-logo { width: min(150px, 34vw); animation: none; box-shadow: 0 0 24px var(--accent), 0 0 50px var(--accent2); }
.hero-photo h1 { margin: 0; }
.hero-photo .tagline { margin: 6px 0 0; color: #fff; text-shadow: 0 2px 6px #000; }
html, body { overflow-x: hidden; }
@media (max-width: 600px) { .hero-photo { min-height: 420px; background-position: 45% 40%; } }
.hero-photo .hero-inner { justify-content: flex-end; text-align: center; }
