/* Base Styles */
body {
  font-family: 'Georgia', serif;
  background-color: #1a1a1a;
  color: #f5f5f5;
  text-align: center;
  padding: 2rem;
}

/* Countdown Timer */
#countdown {
  font-size: 2rem;
  margin: 1rem 0;
}

/* Section Styling */
#affiliate,
#history,
#trivia,
#costumes {
  margin-top: 2rem;
  background-color: #2c2c2c;
  padding: 1rem;
  border-radius: 8px;
}

/* CTA Button Styling */
.cta-button {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 0 10px #ff6600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  box-shadow: 0 0 20px #ff6600;
  transform: scale(1.05);
}

/* Flying Bat Animation */
.bat {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url('images/bat.png') no-repeat center center;
  background-size: contain;
  animation: flyBat 10s linear infinite;
  z-index: 9999;
}

@keyframes flyBat {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateX(100vw) rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: translateX(0) rotate(720deg);
    opacity: 0.8;
  }
}

/* Lore Fun Facts List */
ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 0.5rem 0;
  font-size: 1.1em;
  color: #f5f5f5;
}

li::before {
  content: "🕸️ ";
  margin-right: 6px;
}

/* Trivia Quiz Styling */
form#quiz-form {
  max-width: 600px;
  margin: 0 auto;
}

.question {
  margin: 1.5rem 0;
  text-align: left;
  background-color: #2c2c2c;
  padding: 1rem;
  border-radius: 8px;
  color: #f5f5f5;
}

.question p {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

label {
  display: block;
  margin: 0.3rem 0;
  cursor: pointer;
}

/* Quiz Result Styling */
#quiz-result {
  font-size: 1.2em;
  margin-top: 15px;
  color: #ff6600;
  font-weight: bold;
  text-align: center;
}

/* Optional: Highlight selected answers (Chrome/Safari only) */
label:has(input[type="radio"]:checked) {
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}
/* Footer Link Styling */
footer a {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #ff6600;
}

/* Costume Teaser Section */
#costumes h2 {
  font-family: 'Creepster', cursive;
  font-size: 2em;
  color: #ff00ff;
}

#costumes p {
  font-size: 1.1em;
  color: #f5f5f5;
}

/* 🎃 Responsive Font Scaling for Mobile */
@media (max-width: 600px) {
  body {
    padding: 1rem;
    font-size: 1.1em;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  p,
  li,
  label {
    font-size: 1.2em;
  }

  #countdown {
    font-size: 1.5rem;
  }

  .cta-button,
  a {
    font-size: 1.1em;
    padding: 12px 20px;
  }

  #quiz-result {
    font-size: 1.3em;
  }
}
/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Nosifer&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

/* SECTION WRAPPER */
#hawloween-countdown-hero {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background: #0a0a0a;
  overflow: hidden;
  border-bottom: 3px solid #ff6a00;
}

/* TITLE */
.hc-title {
  font-family: 'Creepster', cursive;
  font-size: 3rem;
  color: #ff6a00;
  text-shadow: 0 0 15px #ff6a00;
  margin-bottom: 40px;
}

/* COUNTDOWN GRID */
#hc-countdown {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* TIME BLOCKS */
.hc-time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* NOSIFER NUMBERS */
.hc-number {
  font-family: 'Nosifer', cursive;
  font-size: 4rem;
  color: #ff3b3b;
  text-shadow: 0 0 20px #ff3b3b, 0 0 40px #ff0000;
  animation: hc-flicker 2s infinite;
}

/* LABELS (Cute Spooky) */
.hc-label {
  font-family: 'Creepster', cursive;
  font-size: 1.5rem;
  color: #ffa64d;
  margin-top: 10px;
}

/* FOG LAYER */
.hc-fog-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://i.imgur.com/8fK4h7U.png');
  opacity: 0.25;
  animation: hc-fog-move 20s linear infinite;
  pointer-events: none;
}

/* ANIMATIONS */
@keyframes hc-flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.85; }
  50% { opacity: 0.6; }
  55% { opacity: 0.85; }
}

@keyframes hc-fog-move {
  from { transform: translateX(-50px); }
  to { transform: translateX(50px); }
}
/* --- Hawloween Spooky Enhancements --- */

.history-page {
  background: #0b0b0d;
  color: #e6e6e6;
}

.hero.foggy {
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4)),
              url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=60');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: #f5f5f5;
  text-shadow: 0 0 10px #000;
}

.tagline {
  font-style: italic;
  opacity: 0.85;
  margin-top: 10px;
}

.spooky-list {
  display: grid;
  gap: 30px;
  padding: 40px 20px;
}

.spooky-card {
  background: rgba(20, 20, 25, 0.85);
  border-left: 4px solid #a84cff;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spooky-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(168,76,255,0.4);
}

.story-link {
  color: #a84cff;
  font-weight: bold;
  text-decoration: none;
}

.story-link:hover {
  text-decoration: underline;
}
.story-link:hover {
  text-decoration: underline;
}

/* --- Hawloween Spooky Enhancements --- */

.history-page {
  background: #0b0b0d;
  color: #e6e6e6;
}

.hero.foggy {
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4)),
              url('images/hawloween-history-banner.png');
  background-size: cover;
  background-position: top;
  padding: 80px 20px;
  text-align: center;
  color: #f5f5f5;
  text-shadow: 0 0 10px #000;
}

.tagline {
  font-style: italic;
  opacity: 0.85;
  margin-top: 10px;
}

.spooky-list {
  display: grid;
  gap: 30px;
  padding: 40px 20px;
}

.spooky-card {
  background: rgba(20, 20, 25, 0.85);
  border-left: 4px solid #a84cff;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spooky-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(168,76,255,0.4);
}
.gothic-hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.4)),
              url('images/gothic-sanctuary-banner-new.png');
  background-size: cover;
  background-position: top;
  padding: 80px 20px;
  text-align: center;
  color: #f5f5f5;
  text-shadow: 0 0 10px #000;
}
.folklore-hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.4)),
              url('images/forbidden-folklore-banner.png');
  background-size: cover;
  background-position: top;
  padding: 80px 20px;
  text-align: center;
  color: #f5f5f5;
  text-shadow: 0 0 10px #000;
}

