/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASIC THEME ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  /* Big circus vibe: subtle stripes + warm gradient */
  background:
    linear-gradient(135deg, rgba(255, 240, 200, 0.96), rgba(255, 220, 180, 0.9)),
    repeating-linear-gradient(
      90deg,
      #b30000 0,
      #b30000 18px,
      #ffcf4a 18px,
      #ffcf4a 36px
    );
  background-attachment: fixed;
  color: #201018;
}

/* Links */
a {
  color: #b30000;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}

/* ===== HEADER & NAV ===== */
header {
  background: linear-gradient(90deg, #4b0510, #b30000, #ffcf4a, #b30000, #4b0510);
  border-bottom: 4px solid #3b0b0b;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Logo / Brand */
.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffeac2;
  text-shadow: 0 1px 0 #7a0d0d, 0 0 6px rgba(0, 0, 0, 0.8);
}

.logo-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe5a0;
}

.logo-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffeac2;
  opacity: 0.9;
}

/* Nav */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

nav a {
  display: inline-block;
  position: relative;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 237, 190, 0.8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: radial-gradient(circle at top, #fff6d8 0, #ffe2a3 52%, #f9c777 100%);
  color: #4b0510;
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(255, 255, 255, 0.45);
}

nav a::after {
  /* tiny "bulb" */
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0, #ffd44a 40%, #d08102 100%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

nav a:hover,
nav a.active {
  background: radial-gradient(circle at top, #fffaf0 0, #ffcf4a 50%, #ffa73a 100%);
  border-color: #fff6d8;
  transform: translateY(1px);
}

/* Marquee strip under nav */
.nav-marquee {
  background: #2b0508;
  border-top: 2px solid #ffcf4a;
  border-bottom: 2px solid #ffcf4a;
  padding: 0.25rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.marquee-lights {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

.marquee-lights span {
  flex: 1;
  height: 6px;
  margin: 0 0.15rem;
  border-radius: 999px;
  background: radial-gradient(circle, #fff9df 0, #ffd44a 40%, #d08102 100%);
  box-shadow:
    0 0 6px rgba(255, 250, 210, 0.9),
    0 0 12px rgba(255, 213, 74, 0.7);
  animation: marquee-twinkle 1.8s infinite ease-in-out;
}

/* stagger animation */
.marquee-lights span:nth-child(odd) {
  animation-delay: 0.25s;
}
.marquee-lights span:nth-child(3),
.marquee-lights span:nth-child(7) {
  animation-delay: 0.5s;
}

@keyframes marquee-twinkle {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 2rem 0 2.3rem;
  overflow: hidden;
  border-bottom: 3px solid #b30000;
  background:
    radial-gradient(circle at top, rgba(255, 247, 225, 0.95) 0, rgba(255, 221, 170, 0.95) 40%, rgba(252, 195, 120, 0.95) 100%),
    url("../logo.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
}

.hero--small {
  padding: 1.3rem 0 1.7rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: center;
}

.hero-inner-small {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #3b0b0b;
  text-shadow: 0 1px 0 #ffe5a0, 0 0 4px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  margin-top: 0.6rem;
  font-size: 1rem;
}

.hero-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 2px solid #3b0b0b;
  background: rgba(255, 246, 216, 0.95);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-ribbon span {
  font-weight: 800;
  color: #b30000;
}

.hero-pill {
  margin-top: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
}

.hero-dates {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  border: 2px solid #3b0b0b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-dates strong {
  color: #b30000;
}

/* Top decorative lights in hero */
.hero-lights {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.hero-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0, #ffd44a 45%, #d08102 100%);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 213, 74, 0.8);
  animation: hero-bulbs 1.6s infinite ease-in-out;
}

.hero-lights span:nth-child(2n) {
  animation-delay: 0.3s;
}
.hero-lights span:nth-child(3n) {
  animation-delay: 0.6s;
}

@keyframes hero-bulbs {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%      { transform: translateY(-2px); opacity: 1; }
}

/* ===== MAIN & CARDS ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.page-heading {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: #3b0b0b;
}

.page-subheading {
  font-size: 0.97rem;
  margin-bottom: 1.3rem;
}

section {
  margin-bottom: 2.1rem;
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  border: 2px solid #b30000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.2rem;
}

.card h2,
.card h3 {
  color: #3b0b0b;
  margin-bottom: 0.4rem;
}

.highlight {
  color: #b30000;
  font-weight: 700;
}

/* Lists & tables */
ul,
ol {
  margin-left: 1.2rem;
  margin-top: 0.3rem;
}
li + li {
  margin-top: 0.22rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}
.schedule-table th,
.schedule-table td {
  border: 1px solid #b30000;
  padding: 0.4rem 0.6rem;
}
.schedule-table th {
  background: #ffcf4a;
}

/* Buttons & badges */
.button-primary {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #b30000, #ff5b3c);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.button-primary:hover {
  background: linear-gradient(135deg, #d00000, #ff7a50);
  text-decoration: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #b30000;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #ffe5c2;
}

/* Rules typography tweaks */
.rules-section h2 {
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.rules-section h3 {
  margin-top: 0.6rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
.rules-section p {
  margin-top: 0.22rem;
}

/* Footer */
footer {
  border-top: 3px solid #b30000;
  background: #3b0b0b;
  color: #ffe5c2;
  text-align: center;
  padding: 0.8rem 1.5rem;
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-dates {
    margin-top: 1rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  nav ul {
    margin-top: 0.3rem;
  }
}

@media (max-width: 640px) {
  main {
    padding-inline: 1rem;
  }
  .hero-inner,
  .hero-inner-small {
    padding-inline: 1rem;
  }
}

