/* Base page styles */
body {
  font-family: 'Fredoka', sans-serif;
  background: #f5f5f5; /* light gray */
  color: #222;
  margin: 0;
  padding: 1em;
}

nav {
  background-color: #d0f0f4;
  padding: 1.2em 2em;
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  text-decoration: none;
  color: #d60000;
  font-weight: bold;
  font-size: 1.1em;
}
nav a:hover {
  color: #000;
  background-color: #ffecec;
  padding: 0.3em 0.6em;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}
/* Card layout for content sections */
section.card {
  background-color: #ffffff;
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Alternate card backgrounds */
section.card.light {
  background-color: #ffffff;
}

section.card.dark {
  background-color: #f0f0f0;
}

/* Colored section headers */
.section-header {
  padding: 0.5em 1em;
  color: #ffffff;
  margin: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 1.3em;
}

/* Header color themes */
.section-header.red {
  background-color: #d60000;
}
.glow-title {
  font-size: 3rem;
  text-align: left;
  color: #a10000 !important;
  text-shadow: 0 0 5px #a10000, 0 0 10px #a10000;
  animation: pulse-glow 2s infinite ease-in-out;
  margin-bottom: 0.2em; /* This is the key fix */
}

@keyframes pulse-glow {
  0% {
    text-shadow: 0 0 5px #a10000, 0 0 10px #a10000;
  }
  50% {
    text-shadow: 0 0 15px #ff4d4d, 0 0 30px #ff4d4d;
  }
  100% {
    text-shadow: 0 0 5px #a10000, 0 0 10px #a10000;
  }
}
.section-header.blue {
  background-color: #0074d9;
}

.section-header.teal {
  background-color: #009688;
}

.section-header.orange {
  background-color: #ff851b;
}

/* Optional: style images inside cards */
section.card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5em;
}

/* Optional: spacing for list items or inline icons */
ul {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.6em;
}

/* Blog promo section on homepage */
.blog-banner {
  background-color: #d0f0f4;
  padding: 2em 1em;
  text-align: center;
  font-family: 'Comic Sans MS', 'Fredoka', cursive, sans-serif;
  color: #d60000;
  font-weight: bold;
  margin-top: 2em;
  border-top: 3px solid #d60000;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  cursor: pointer;
}

.blog-banner:hover {
  background-color: #b3e5ea;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-banner img {
  height: 60px;
  width: auto;
}

/* YouTube promo section */
.youtube-banner {
  background-color: #d0f0f4;
  padding: 2em 1em;
  text-align: center;
  font-family: 'Comic Sans MS', 'Fredoka', cursive, sans-serif;
  color: #d60000;
  font-weight: bold;
  margin-top: 2em;
  border-top: 3px solid #d60000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  cursor: pointer;
}

.youtube-banner:hover {
  background-color: #b3e5ea;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.youtube-banner img {
  height: 60px;
  width: auto;
}

/* Shared font styling for text in banners */
.blog-banner p,
.youtube-banner p {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

/* Divider line between sections */
.red-divider {
  height: 4px;
  background-color: #d60000;
  border: none;
  margin: 3em 0;
  width: 100%;
}
.video-wrapper {
  width: 48%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.video-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.video-container {
  position: relative;
  width: 48%;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  display: block;
  width: 100%;
  height: 250px;
  border-radius: 8px;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover .play-overlay {
  opacity: 1;
  }
.title-row {
  display: flex;
  flex-direction: row; /* Makes icons and text sit side by side */
  align-items: center; /* Vertically center icons with the text */
  justify-content: center; /* Center everything horizontally */
  gap: 20px; /* Space between icon, title, and icon */
  margin: 1em 0; /* Optional spacing above and below */
}
.site-title {
  margin: 0;
  font-size: 2.5em;
  color: #d60000;
  transition: transform 0.3s ease;
}

.site-title:hover {
  transform: scale(1.05);
}

.site-ball {
  height: 60px;
  width: auto;
  transition: transform 0.4s ease;
}

.site-ball:hover {
  transform: rotate(-10deg) scale(1.1);
}
/* Responsive layout for mobile */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    padding: 0.5em 0;
    font-size: 1em;
  }

.title-row {
  display: flex;
  flex-direction: column; /* stack items vertically */
  align-items: center;    /* center everything horizontally */
  justify-content: center;
  gap: 0.5em;            /* vertical spacing between items */
  text-align: center;
}

  .video-container,
  .hero-row img {
    width: 100%;
    height: auto;
  }

  .hero-row {
    flex-direction: column;
  }

  .blog-banner,
  .youtube-banner {
    flex-direction: column;
    font-size: 1.2em;
    text-align: center;
  }

  .blog-banner img,
  .youtube-banner img {
    height: 50px;
    margin-bottom: 0.5em;
  }
}
/* Animated header section (used on Rules page) */
.header-animate:hover h1 {
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

/* Smooth fade-in effect for images */
.fade-in {
  opacity: 0;
  animation: fadeIn ease 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.rule-intro {
  background-color: #fff3cd;
  border-left: 6px solid #ffa500;
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 8px;
  font-size: 1.05em;
}
.rule-intro p {
  margin: 0 0 0.75em 0;
}
.rule-block {
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  padding: 1em;
  border-radius: 6px;
  margin-bottom: 2em;
}

.rule-block h2 {
  margin-top: 0;
}

.logo-banner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 30px 0;
  padding: 10px;
  animation: pop-in 0.8s ease-out;
}

.logo-banner img {
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.logo-banner img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.4);
}
/* CHAMPIONS COLLAPSIBLE YEAR STYLES */
details summary {
  cursor: pointer;
  font-size: 1.4em;
  padding: 0.5em 0.8em;
  margin-bottom: 0.5em;
  background-color: #ffecec;
  color: #d60000;
  border-radius: 8px;
  position: relative;
  transition: background-color 0.3s ease;
}

details summary:hover {
  background-color: #ffb3b3;
}

details[open] summary::before {
  content: "▼ ";
  position: absolute;
  left: -1.2em;
}

details:not([open]) summary::before {
  content: "▶ ";
  position: absolute;
  left: -1.2em;
}

details summary strong {
  font-weight: 600;
}

.champ-card {
  flex: 1 1 250px;
  max-width: 250px;
  text-align: center;
  background-color: #fff4f4; /* soft red-tinted background */
  border: 2px solid #a10000;
  border-radius: 10px;
  padding: 1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.champ-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0.5em;
}

.champ-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.champ-card p {
  margin: 0;
  font-size: 1.05em;
}

.champ-card span {
  display: block;
  margin-top: 0.2em;
  font-size: 0.95em;
  color: #444;
}

.champion-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.champions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin-top: 1em;
}

.champion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.champion-card img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 0.75em;
}

.champion-card .crown {
  font-size: 2em;
  color: #d60000;
  margin-bottom: 0.25em;
}

.countdown-wrapper {
  max-width: 400px;
  padding: 1rem;
  border-left: 4px solid #a10000;
}

.countdown-wrapper h2 {
  margin-bottom: 0.5rem;
  color: #a10000;
  font-size: 1.2rem;
}

#countdown {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}
.champ-top-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1em;
}

.countdown-wrapper {
  text-align: center;
  max-width: 100%;
}

.champ-top-image {
  max-width: 350px !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.media-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* aligns items to the left */
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 1em;
}

.media-flex-wrapper .champ-image-wrapper {
  flex: 0 1 auto;
}

.media-flex-wrapper .video-container {
  flex: 1 1 300px;
  max-width: 600px;
}
#countdown {
  font-size: 1.4em;
  line-height: 1.5;
  margin-top: 0.5em;
  white-space: normal;
}

.countdown-wrapper {
  text-align: center;
}
/* Optional: Limit image max width on large screens */
@media (min-width: 768px) {
  .champ-top-image {
    max-width: 100%;
    width: 350px;
    height: auto;
  }
.home-logo {
  display: block;
  margin: 1em auto;
  max-width: 90%;
  height: auto;
  border: 4px solid #e53935; /* red frame */
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* base shadow */
  transition: all 0.3s ease;
}

.home-logo:hover {
  box-shadow: 0 0 24px rgba(255, 0, 0, 0.5); /* red glow */
  transform: scale(1.02); /* slight zoom */
}
/* === Home Page Section Styling Enhancements === */
.section-card {
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 1.5em;
  margin: 2em auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 900px;
}

/* Image Logo Enhancements */
.hero-logo {
  display: block;
  margin: 1em auto;
  max-width: 90%;
  height: auto;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
  transition: transform 0.3s ease-in-out;
}

.hero-logo:hover {
  transform: scale(1.03);
  }
.teal-banner {
  background-color: #d0f0f4;
  padding: 1.5em 1em;
  border-radius: 12px;
  margin: 2em auto;
}
.red-divider-section {
  background-color: #d60000;
  height: 40px;
  width: 100%;
  margin: 3em 0;
}

.highlight-banner {
  background-color: #d60000;
  color: white;
  padding: 1em 0.8em;
  text-align: center;
  font-size: 1.1em;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  line-height: 1.4;
}

.highlight-banner p {
  margin: 0.3em 0;
}

.highlight-banner a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.highlight-banner a:hover {
  color: #ffff99;
}

.social-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
  z-index: 0;
}

.social-glow > * {
  position: relative;
  z-index: 1;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.5; }
}
.social-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  margin-top: 1em;
}

.social-buttons a {
  background-color: #000; /* black background */
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.social-buttons a:hover {
  background-color: #333; /* dark gray on hover */
}
.four-square-balls {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

.four-square-balls img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.four-square-balls img:hover {
  transform: scale(1.1);
}
.follow-banner {
  text-align: center;
  background-color: #800000; /* Maroon */
  color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  margin: 20px auto;
}

.follow-banner h2 {
  margin-bottom: 15px;
}

.follow-buttons {
  margin-bottom: 15px;
}

.follow-buttons a {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  margin: 0 8px;
}

.btn-x {
  background-color: black; /* X/Twitter brand color */
}

.btn-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.btn-facebook {
  background-color: #1877F2; /* Facebook brand color */
}

.follow-buttons a:hover {
  opacity: 0.85;
}

.follow-text {
  font-size: 1.1em;
}
.welcome-container {
  border: 5px solid #800000; /* Maroon border */
  background: linear-gradient(135deg, #008080 0%, #800000 100%); /* Teal to maroon gradient */
  color: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.welcome-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Optional: for very small screens, center the image */
@media (max-width: 600px) {
  .welcome-container {
    flex-direction: column;
    text-align: center;
  }
}

.welcome-text {
  flex: 1;
  min-width: 250px;
}

.welcome-text ul {
  padding-left: 20px;
}
.rules-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  border: 5px solid #800000; /* Maroon border */
  background: linear-gradient(135deg, #008080 0%, #800000 100%); /* Teal to maroon gradient */
  color: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 1100px;
  margin: 30px auto;
  gap: 20px;
}

.rules-column {
  flex: 1;
  min-width: 250px;
}

.rules-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.rules-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rules-toc li {
  margin-bottom: 8px;
}

.rules-toc a {
  color: white;
  text-decoration: none;
  font-size: 1.05em;
}

.rules-toc a:hover {
  text-decoration: underline;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .rules-intro {
    flex-direction: column;
    text-align: center;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bouncing-ball {
  animation: bounce 1.5s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bouncing-ball {
  animation: bounce 1.5s ease-in-out infinite;
  transform-origin: center bottom;
}
.bouncing-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.moving-ball {
  animation: bounce 1s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* Rules page title layout */
.rules-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* tighter space between icon and text */
}

.rulebook-icon {
  width: 30px; /* smaller icon size */
  height: auto;
  flex-shrink: 0; /* stops it from stretching */
  vertical-align: middle;
  margin: 0 4px; /* less margin so text stays close */
  filter: drop-shadow(0 0 8px #a10000); /* match glow-title red glow */
}

/* Apply glow effect to RULES header */
.rules-title .glow-title {
  font-size: 3rem; /* match home page */
  color: #a10000;
  text-shadow: 0 0 5px #a10000, 0 0 10px #a10000;
  animation: pulse-glow 2s infinite ease-in-out;
  margin: 0;
}
/* Rules page header */
.rules-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* tighter spacing */
}

/* Smaller icons for the Rules page header */
.rules-title .rulebook-icon {
  width: 18px !important;
  height: auto !important;
  margin: 0 6px;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px #a10000);
}
/* === Rules page header sizing (scoped) === */
#rules-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#rules-header .rulebook-icon {
  width: 18px !important;
  height: auto !important;
  flex-shrink: 0;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px #a10000);
}

#rules-header .glow-title {
  font-size: 3rem;
  color: #a10000;
  text-shadow: 0 0 5px #a10000, 0 0 10px #a10000;
  animation: pulse-glow 2s infinite ease-in-out;
  margin: 0;
}
.hero-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 300px; /* adjust this to your preferred size */
  object-fit: cover; /* ensures it crops nicely instead of squishing */
}
/* World Championship hero image */
.hero-img {
  max-width: 680px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}
/* Override generic image sizing for hero image */
.champ-image-wrapper .hero-img {
  max-width: 80%;
  width: auto;
}
/* ========== Force container size so image cannot blow up ==========
   Keeps the parent from expanding and giving the image room to grow. */
.champ-image-wrapper {
  max-width: 720px;    /* change to taste (560, 680, 720, etc.) */
  flex: 0 0 auto;      /* prevents it from flexing to fill available space */
  box-sizing: border-box;
}

/* ========== Strong override for the hero image itself ==========
   Uses more specific selector + !important to beat other global img rules. */
.champ-image-wrapper .hero-img {
  max-width: 100% !important;   /* never exceed the wrapper width */
  width: auto !important;       /* let the image keep its correct aspect */
  height: auto !important;
  display: block !important;
  margin: 0 auto 1.5rem !important;
  object-fit: contain !important;
}

/* ========== Batched Section (Image + Intro + Countdown) ========== */
.wc-batched-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Image column */
.wc-batched-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}
.wc-batched-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Text + countdown column */
.wc-batched-text {
  flex: 1 1 500px;
  text-align: left;
}
.wc-batched-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Countdown placeholder */
#countdown-placeholder {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

/* Responsive for tablets/phones */
@media (max-width: 768px) {
  .wc-batched-inner {
    flex-direction: column;
    text-align: center;
  }
  .wc-batched-text {
    text-align: center;
  }
}
.small-hero-img {
  max-width: 350px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Force the batched section hero image to stay small */
.wc-batched-section .wc-batched-image img.only-batched {
  max-width: 360px !important;   /* desired size */
  width: 100% !important;        /* responsive on smaller screens */
  height: auto !important;
  display: block !important;
  margin: 0 auto 1rem !important;
  flex-shrink: 0 !important;     /* prevent flex container from stretching it */
  object-fit: contain !important; /* keeps proportions */
}
/* World Championship Intro Block */
.wc-batched-section {
  border: 5px solid #800000; /* same maroon as home */
  background: linear-gradient(135deg, #008080 0%, #800000 100%); /* teal → maroon */
  color: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* Text column */
.wc-batched-text {
  flex: 1;
  min-width: 280px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

/* Image column */
.wc-batched-image {
  flex: 0 0 auto;
  max-width: 360px;
  margin: 0 auto;
}

.wc-batched-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive stacking */
@media (max-width: 768px) {
  .wc-batched-section {
    flex-direction: column;
    text-align: center;
  }
  .wc-batched-text {
    text-align: center;
  }
}
.wc-video-caption {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #800000; /* maroon */
  margin-bottom: 12px;
}
.wc-video-caption {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #a10000 !important; /* match exact maroon */
  margin-bottom: 12px;
}
/* Trophy emoji for WORLD CHAMPIONSHIP title */
.wc-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trophy-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 6px #a10000);
  animation: pulseGlow 2s infinite alternate;
}

/* Subtle glowing animation */
@keyframes pulseGlow {
  from {
    filter: drop-shadow(0 0 4px #a10000);
  }
  to {
    filter: drop-shadow(0 0 12px #ffcc00);
  }
}
.countdown-wrapper {
  text-align: center;
  margin-top: 20px;
  color: #a10000; /* maroon */
}

.countdown-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.countdown-timer {
  font-size: 1.8rem;
  font-weight: bold;
  color: #222;
}
/* --- WC image column stacks image + countdown --- */
.wc-batched-image {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Countdown block styling (works on the gradient background) */
.countdown-block {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid #ffffff;
  box-sizing: border-box;
}

.clock-emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.countdown-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.countdown-title {
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.countdown-numbers {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}
#countdown {
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
@keyframes tick {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

.clock-emoji {
  display: inline-block;
  font-size: 2.5rem;
  animation: tick 1s infinite ease-in-out;
  transform-origin: center bottom;
}
/* Countdown numbers highlight */
.countdown-numbers {
  background: rgba(255, 255, 255, 0.2); /* semi-transparent white for subtle highlight */
  padding: 0.3em 0.6em;                 /* adds breathing room around the numbers */
  border-radius: 8px;                    /* soft rounded corners */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* subtle shadow for readability */
  display: inline-block;                 /* shrink-wrap the background to the numbers */
}
/* Responsive adjustments for countdown and image */
@media (max-width: 768px) {
  .wc-batched-section {
    display: flex;
    flex-direction: column; /* stack columns vertically */
    align-items: center;    /* center everything */
  }

  .wc-batched-image {
    margin-top: 1em; /* add some space above countdown */
    text-align: center; /* center countdown under image */
  }

  .countdown-block {
    margin-top: 0.8em; /* spacing between image and countdown */
  }

  .wc-batched-text {
    text-align: center; /* center text for mobile */
  }

  .wc-batched-image img {
    width: 90%; /* make image slightly smaller to fit mobile */
    height: auto;
  }
}
.wc-tagline {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #a10000; /* match the maroon theme */
  margin-top: 6px;
  font-style: italic;
}
.wc-tagline {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #a10000;
  margin-top: 6px;
  font-style: italic;
}
/* Stack title + tagline vertically inside World Championship header */
.wc-title-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* center text under title */
}

/* WORLD CHAMPIONSHIP section headings */
.wc-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: #ffffff; /* white so it stands out on gradient background */
  text-align: center;
  margin-bottom: 0.5em;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6); /* optional, helps readability */
}

/* underline decoration for WC headings */
.wc-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: gold;
  margin: 0.3em auto 0;
  border-radius: 2px;
}

/* paragraphs inside WC sections */
.wc-section p {
  color: #ffffff; /* white text */
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center; /* or left if you prefer */
  margin-bottom: 1em;
}

/* WORLD CHAMPIONSHIP section wrapper */
.wc-section {
  background: linear-gradient(135deg, #008080, #800000); /* teal → maroon */
  padding: 2em;
  border-radius: 12px;
  text-align: center; /* keep centered */
}

/* links inside WC sections */
.wc-section a {
  color: #ffd700; /* gold links */
  font-weight: bold;
  text-decoration: underline;
}

.wc-section a:hover {
  color: #ffffff;
}
/* Ensure all WC sections have consistent horizontal alignment */
.wc-section {
  padding-left: 2em;
  padding-right: 2em;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* keep headings and paragraphs centered */
  max-width: 1200px;  /* optional, ensures consistent width */
}

/* Remove any extra indentation on specific sections */
.wc-section h2, 
.wc-section p {
  margin-left: 0;
  margin-right: 0;
}
/* World Championship Sections - Alternating Backgrounds */
.card:nth-of-type(1) {
  background-color: #fff8e1; /* Light gold */
}

.card:nth-of-type(2) {
  background-color: #ffffff; /* White / neutral */
}

.card:nth-of-type(3) {
  background-color: #fff8e1; /* Light gold */
}

.card:nth-of-type(4) {
  background-color: #ffffff; /* White / neutral */
}

/* Optional: Add consistent padding and spacing */
.card {
  padding: 2em;
  margin: 2em 0;
  border-radius: 12px; /* subtle rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* soft shadow for depth */
}
/* Footer tagline styling */
.site-tagline {
  font-size: 1.2em;     /* smaller than before */
  font-weight: 500;
  font-style: italic;   /* ✅ italic like the others */
  color: #b22222;       /* maroon */
  text-align: center;
  margin-top: 0.3em;    /* slightly closer to the title */
}
/* Form styling */
form {
  max-width: 500px;
  margin: 20px auto; /* centers + adds top/bottom spacing */
  padding: 20px; /* space inside the form */
  background: #111; /* dark background for contrast */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 20px; /* a little more breathing room */
}

form label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #ddd; /* softer text instead of pure black */
  letter-spacing: 0.5px;
}
form input,
form select,
form textarea {
  padding: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  background-color: #222;   /* darker background */
  color: #fff;              /* white text */
  transition: all 0.3s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
  border-color: #b22222;   /* red highlight */
  outline: none;
  box-shadow: 0 0 6px rgba(178, 34, 34, 0.6);
}
form button {
  padding: 12px;
  background-color: #b22222;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

form button:hover {
  background-color: #8b1a1a;
}
/* === Form Styling === */
form {
  max-width: 500px;
  margin: 0 auto; /* center inside the card */
  display: flex;
  flex-direction: column;
  gap: 15px; /* space between fields */
}

form label {
  font-weight: bold;
  margin-bottom: 5px;
}

form input,
form select,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box; /* prevents overflow */
}

form button {
  padding: 12px;
  background-color: #b22222;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

form button:hover {
  background-color: #8b1a1a;
}
.register-intro {
  border: 5px solid #800000; /* Maroon border */
  background: linear-gradient(135deg, #008080 0%, #800000 100%); /* Teal → maroon */
  color: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 30px auto;
}
.slogan {
    font-family: 'Fredoka', sans-serif;
    color: #E10600; /* replace with your exact red if different */
    text-align: center;
    margin: 20px 0;
    font-size: 2rem; /* adjust size as needed */
}
/* Force Register page slogan to match Home tagline */
#register-slogan.home-tagline {
  font-family: 'Fredoka', sans-serif;
  font-weight: bold;
  font-size: 1.2em;
  color: #b22222 !important;   /* ✅ match maroon used on other pages */
  text-align: center;
  margin-top: 0.2em;           /* ✅ same tighter spacing as Home */
  font-style: italic;          /* ✅ italicized like other taglines */
}

/* Register note — subtle maroon-tinted highlight for the Register page */
.register-page .register-note {
  max-width: 700px;
  margin: 1rem auto 1.5rem;
  padding: 14px 18px;

  /* subtle maroon tint (transparent so the gradient shows through) */
  background: linear-gradient(
    180deg,
    rgba(178,34,34,0.06) 0%,
    rgba(178,34,34,0.04) 100%
  );

  border-left: 4px solid #b22222;   /* maroon accent bar */
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

  color: #f8f8f8;                   /* light text for readability on gradient */
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  font-style: italic;
}
/* ===== Register page overrides (paste at end of file) ===== */

/* Make the tagline on the Register page match the other pages */
.register-page .site-tagline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;     /* slightly smaller */
  color: #b22222;         /* maroon used sitewide */
  text-align: center;
  margin-top: 0.2em;      /* tight spacing like the Home page */
  font-style: italic;
}

/* Subtle highlighted box (non-white) for the registration note */
.register-note {
  max-width: 760px;
  margin: 1rem auto;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06); /* subtle light overlay over the gradient */
  border-left: 4px solid #b22222;     /* maroon accent bar */
  color: #ffffff;                     /* text white for contrast */
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  text-align: center;
  font-style: italic;
  line-height: 1.45;
}

/* Keep the section background (register-intro) as your gradient,
   but style the form *inside* it so the form itself looks like the mockup */
.register-intro {
  /* your existing gradient stays; this just ensures spacing */
  padding: 24px;
  box-sizing: border-box;
}

/* Form inside the register-intro gets a subtle dark panel */
.register-intro form {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0,0,0,0.18); /* subtle dark panel inside gradient */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

/* Ensure inputs inside that panel keep dark style and do not overflow */
.register-intro form input,
.register-intro form select,
.register-intro form textarea {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  box-sizing: border-box; /* prevents overflow */
  padding: 10px;
  border-radius: 8px;
}

/* Tighten button spacing to match mock */
.register-intro form button {
  align-self: center;
  min-width: 160px;
  padding: 10px 18px;
}
/* Registration Form Styling */
form {
  max-width: 600px;
  margin: 2em auto;
  padding: 2em;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
  color: #a10000;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1.2em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #a10000;
  outline: none;
  box-shadow: 0 0 6px rgba(166,0,0,0.3);
}

form button,
form input[type="submit"] {
  background-color: #d60000;
  color: #fff;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover,
form input[type="submit"]:hover {
  background-color: #a10000;
  transform: scale(1.03);
}
/* ✅ Fix tagline on Register page */
.register-page .site-tagline {
  font-size: 1.1em;
  font-style: italic;
  color: #800000;  /* maroon like other pages */
  margin-top: 0.2em;
  text-align: center;
}

.register-page .register-note {
  max-width: 700px;
  margin: 1rem auto 1.5rem;
  padding: 14px 18px;

  background-color: #ffffff;   /* clean white background for contrast */
  border-left: 4px solid #b22222;   /* maroon accent bar */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);

  color: #000000;   /* pure black text for maximum readability */
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  font-style: italic;
}
/* ---------------------------
  /* ---------------------------
   Register page - DARK THEME
   (Place at the *end* of styles.css)
   --------------------------- */

.register-page .register-intro form {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);  /* dark translucent panel */
  color: #f5f5f5;                   /* light text */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  box-sizing: border-box;
}

/* Labels */
.register-page .register-intro form label {
  display: block;
  margin-bottom: 6px;
  color: #ffdddd;                   /* soft light red/pink for brand tie-in */
  font-weight: 600;
  font-size: 0.95rem;
}

/* Inputs / selects / textarea */
.register-page .register-intro form input,
.register-page .register-intro form select,
.register-page .register-intro form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #444;
  background: #111;                 /* deep gray input background */
  color: #fff;                      /* white text */
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Placeholder styling */
.register-page .register-intro form input::placeholder,
.register-page .register-intro form textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

/* Select dropdown text */
.register-page .register-intro form select {
  color: #fff;
  background-color: #111;
}

/* Focus styles */
.register-page .register-intro form input:focus,
.register-page .register-intro form select:focus,
.register-page .register-intro form textarea:focus {
  outline: none;
  border-color: #b22222;
  box-shadow: 0 0 0 3px rgba(178,34,34,0.4);
}

/* Buttons */
.register-page .register-intro form button,
.register-page .register-intro form input[type="submit"] {
  background: #b22222;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.register-page .register-intro form button:hover,
.register-page .register-intro form input[type="submit"]:hover {
  background: #8b1a1a;
  transform: translateY(-1px);
}
.event-details {
  text-align: center;
  margin: 1.5em auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #b22222; /* maroon tie-in */
  font-weight: 600;
}

.event-date {
  margin: 0;
}

.event-location {
  margin: 0;
  font-style: italic;
}
.card { 
  margin: 1em 0; 
  padding: 1em; 
  border-radius: 12px; 
  background: #fff; 
  box-shadow: 0 3px 6px rgba(0,0,0,0.1); 
}
form input, form textarea { 
  width: 100%; 
  padding: 8px; 
  margin: 6px 0; 
  border: 1px solid #ccc; 
  border-radius: 6px; 
}
button { 
  padding: 8px 16px; 
  margin-top: 8px; 
  border: none; 
  border-radius: 6px; 
  cursor: pointer; 
  background: #e63946; 
  color: white; 
}
button:hover { 
  background: #c92f3f; 
}
.event { 
  border: 1px solid #ddd; 
  padding: 10px; 
  margin: 10px 0; 
  border-radius: 8px; 
}
.join-btn { 
  background: #457b9d; 
  margin-left: 10px; 
}
.join-btn:hover { 
  background: #35607a; 
}
.highlight { 
  margin-top: 15px; 
  font-size: 0.9em; 
  color: #555; 
}
/* Center main Game Hub title */
.glow-title {
  text-align: center;
}

#previous-games {
  text-align: center; /* centers all text inside */
}

#previous-games .game {
  display: inline-block;   /* makes each game card shrink-wrap */
  margin: 0 auto 20px;     /* centers the card block itself */
  text-align: left;        /* keeps text inside the card left-aligned */
  max-width: 450px;        /* optional: keeps card from being too wide */
}
.collapsible-header {
  cursor: pointer;
  font-weight: bold;
  padding: 8px;
  background: #f4f4f4;
  border-radius: 6px;
  margin-bottom: 5px;
  transition: background 0.2s;
}

.collapsible-header:hover {
  background: #e0e0e0;
}

.collapsible-content {
  display: none;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  margin-bottom: 15px;
  background: #fff;
}
/* Collapsible game content */
.collapsible-header {
  cursor: pointer;
  font-weight: bold;
  padding: 8px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-bottom: 6px;
}

.collapsible-content {
  display: none; /* hidden by default */
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 5px;
  text-align: left; /* keep details aligned inside */
}
/* Collapsible game content */
.collapsible-header {
  cursor: pointer;
  font-weight: bold;
  padding: 8px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-bottom: 6px;
}

.collapsible-content {
  display: none; /* hidden by default */
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 5px;
  text-align: left; /* keep details aligned inside */
}
/* Center content inside the PREVIOUS GAMES section */
.previous-games {
  text-align: center;
}

.previous-games .champions-grid {
  justify-content: center;
}

.previous-games details {
  display: inline-block;
  text-align: left;
}
#previous-games {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#previous-games .event {
  width: 100%;
  max-width: 800px; /* adjust as needed */
  margin: 0 auto 20px;
}
/* === Fix centering for PREVIOUS GAMES section === */
#previous-games-list {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers the event cards horizontally */
  justify-content: center;
  text-align: center;
}

/* Make sure each event card isn't stretching full width */
#previous-games-list .event {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* Optional: Center text inside collapsible content too */
#previous-games-list .collapsible-content {
  text-align: center;
}
/* === Game Hub Page Styles === */

/* Page Header */
.page-header {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--primary-color, #b22222); /* matches site red */
  color: #fff;
  margin-bottom: 2rem;
  border-radius: 12px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Section container */
.hub-section {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hub-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color, #b22222);
}

/* Form styling */
#gameForm label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

#gameForm input,
#gameForm textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#gameForm button {
  margin-top: 1.5rem;
  background: var(--primary-color, #b22222);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#gameForm button:hover {
  background: #8b1a1a;
}

/* Game list styling */
#gameList,
#previous-games-list {
  list-style: none;
  padding: 0;
}

#gameList li,
#previous-games-list li {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}

#gameList li:hover,
#previous-games-list li:hover {
  background: #fff5f5;
}

.join-button {
  background: var(--primary-color, #b22222);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  float: right;
}

.join-button:hover {
  background: #8b1a1a;
}
/* === Game Hub Page Consistency === */

/* Section container styling */
.hub-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0;
}

/* Card wrapper for each section */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 6px solid #b22222; /* maroon accent */
}

.card h2 {
  font-size: 2rem;
  color: #b22222; /* maroon heading */
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Form fields */
#gameForm input,
#gameForm textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

/* Primary button */
#gameForm button,
button.join-btn {
  background: #b22222; /* maroon primary */
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

#gameForm button:hover,
button.join-btn:hover {
  background: #8b1a1a;
}

/* Teal secondary button */
button.join-btn {
  background: #2a9d8f; /* teal */
}

button.join-btn:hover {
  background: #1f7d72;
}

/* Game event blocks */
.event {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Collapsible header */
.collapsible-header {
  background: #2a9d8f; /* teal header */
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px 12px 0 0;
  font-weight: bold;
  cursor: pointer;
}

.collapsible-content {
  padding: 1.2rem;
  text-align: left;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .card {
    padding: 1.5rem;
  }
  .card h2 {
    font-size: 1.6rem;
  }
}
.event {
  background: #fff;
  border-left: 6px solid #800000; /* maroon accent like sections */
  border-radius: 12px;
  margin: 1.2em 0;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.collapsible-header {
  background: #800000; /* maroon header */
  color: #fff;
  padding: 1em 1.2em;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  transition: background 0.2s;
}

.collapsible-header:hover {
  background: #660000; /* slightly darker on hover */
}

.collapsible-content {
  padding: 1.2em;
  display: none;
  background: #f0f8f8; /* very light teal tint to match buttons */
  border-radius: 0 0 12px 12px;
  line-height: 1.6;
}

.join-btn {
  background: #008080; /* teal like other buttons */
  color: white;
  border-radius: 8px;
  padding: 0.6em 1.2em;
  margin: 0.3em 0.2em;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.join-btn:hover {
  background: #006666; /* darker teal on hover */
}
#upcoming-games-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* === Center Upcoming Games (match Previous Games) === */
#gameList {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Make each event a centered card with a max width */
#gameList .event {
  width: 100%;
  max-width: 500px;    /* same sizing used for previous games */
  margin: 0 auto 20px; /* center horizontally and space between */
  text-align: center;  /* center text inside each event card */
}

/* Ensure the collapsible header & content are centered too */
#gameList .collapsible-header,
#gameList .collapsible-content {
  text-align: center;
}
/* Match Upcoming Games background to Previous Games */
#upcoming-games {
  background: linear-gradient(135deg, #800000, #008080);
  padding: 20px;
  border-radius: 12px;
}
/* === Make Upcoming Games background match Host A Game (only the background) === */
/* Place this at the END of styles.css so it overrides earlier .card rules */
.card.upcoming-gradient {
  background: linear-gradient(135deg, #800000, #008080) !important;
  /* do NOT set color here — we must NOT change text/input/button colors */
  box-shadow: 0 4px 14px rgba(0,0,0,0.08); /* optional: match other cards' shadow */
  border-top: 6px solid #b22222; /* optional: match your card style if you use this */
}
.pulse-ball {
  display: inline-block;
  font-size: 1.8rem;
  margin: 0 8px;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.4s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
body {
  background: linear-gradient(to right, rgba(128, 0, 0, 0.1), rgba(0, 128, 128, 0.1));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.collapsible-content {
  display: none;
}

.collapsible-content.active {
  display: block;
}
.gamehub-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.4s ease-out forwards;
  background: rgba(255, 255, 255, 0.8);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.register-note {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(6px);
  color: white;
  font-size: 1.2em;
  max-width: 850px;
  margin: 30px auto;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

  /* Animation */
  opacity: 0;
  transform: translateY(15px);
  animation: fadeSlideIn 1.2s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === Force Register note to match Game Hub intro (safe override) === */
.register-note {
  position: relative !important;
  overflow: visible !important;
  max-width: 900px !important;
  margin: 30px auto !important;
  padding: 0 !important;               /* inner padding provided by .register-note::after */
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
  background: linear-gradient(135deg, #800000 0%, #008080 100%) !important; /* gradient frame */
  color: #fff !important;
}

/* inner light panel to match Game Hub intro content area */
.register-note::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.92) !important;   /* light panel */
  border-radius: 12px !important;
  z-index: 0;
}

/* make the text sit on top of the inner panel */
.register-note * {
  position: relative;
  z-index: 1;
  color: #111 !important;           /* dark text on the light inner panel */
  padding: 20px 22px !important;
  display: block;
  box-sizing: border-box;
}
/* Register note styled to exactly match Game Hub intro box */
.register-note {
  max-width: 800px;               /* keeps the box from stretching too wide */
  width: 90%;                      /* ensures it scales on smaller screens */
  margin: 2em auto;                /* vertical spacing, centered horizontally */
  padding: 2em 2.5em;              /* inner padding — slightly larger for Game Hub feel */
  background-color: #222;          /* dark background */
  color: #f5f5f5;                  /* light text color */
  border-radius: 12px;
  text-align: center;
  font-size: 1.15em;               /* slightly larger font */
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Ensure space between heading and register note */
.register-page h1.glow-title {
  margin-bottom: 1em;
}

/* Give space between note and form */
.register-intro {
  margin-top: 2em;
}
/* Wrapper for register note to match Game Hub card exactly */
.register-intro-card {
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
  padding: 2em 2.5em;
  background-color: #2b2b2b;  /* soft dark gray like Game Hub */
  color: #f5f5f5;
  border-radius: 12px;
  text-align: center;
  font-size: 1.15em;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Space between heading and card */
.register-page h1.glow-title {
  margin-bottom: 1em;
}

/* Space between card and form */
.register-intro {
  margin-top: 2em;
}

/* Page background for correct contrast */
body.register-page {
  background-color: #f5f5f5;
}
/* Blog page card similar to Register intro */
.blog-intro-card {
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
  padding: 2em 2.5em;
  background-color: #2b2b2b;  /* same soft dark gray */
  color: #f5f5f5;
  border-radius: 12px;
  text-align: center;
  font-size: 1.15em;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Space between heading and blog card */
.blog-page h1.glow-title {
  margin-bottom: 1em;
}

/* Placeholder blog posts container */
.blog-posts {
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

/* Individual blog post card styling */
.blog-post-card {
  padding: 1.5em 2em;
  background-color: #333; /* slightly lighter than intro card for differentiation */
  color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Match background for Blog Archive section */
.blog-archive {
    background-color: #f5f5f5; /* same as other sections */
    padding: 2em 0; /* optional: adds top/bottom spacing to match other sections */
}
/* Blog Intro Note - match Game Hub intro styling */
.blog-intro-note {
  position: relative;
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
  padding: 0; /* inner padding provided by ::after */
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  background: linear-gradient(135deg, #800000 0%, #008080 100%);
  color: #fff;
  text-align: center;
  font-size: 1.15em;
  line-height: 1.6;
}

/* Inner light panel to match Game Hub intro */
.blog-intro-note::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  z-index: 0;
}

/* Make text sit on top of inner panel */
.blog-intro-note p {
  position: relative;
  z-index: 1;
  color: #111;
  padding: 2em 2.5em;
  margin: 0;
  box-sizing: border-box;
}
/* Make text sit on top of inner panel */
.blog-intro-note p {
  position: relative;
  z-index: 1;
  color: #111;
  padding: 0; /* removed extra padding from individual paragraphs */
  margin: 0.5em 0; /* tighter spacing between paragraphs */
  box-sizing: border-box;
}

/* Typing effect container */
.typing-text {
  display: block;
  overflow: hidden;
  border-right: 2px solid #111; 
  white-space: pre-wrap;
  box-sizing: border-box;
  font-family: inherit;
  height: 7em; /* roughly the height of the full paragraph */
 animation: typingSmooth 6s steps(150, end) forwards, blinkCursor 0.75s step-end infinite; 
}

@keyframes typingSmooth {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: #111; }
}
/* Blog title icon styling */
.blog-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  position: relative;
}

.blog-icon {
  display: inline-block;
  font-size: 1.15em; /* slightly smaller size */
  transform-origin: center;
  animation: pencilWiggle 2.5s ease-in-out infinite;
}

/* Optional: make left and right alternate slightly for natural feel */
.blog-icon.left {
  animation-delay: 0s;
}
.blog-icon.right {
  animation-delay: 1.25s;
}

/* Wiggle animation */
@keyframes pencilWiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(8deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}
/* Media Page - Match Style With Other Pages */
body.media-page {
  background-color: #f5f5f5;
}

.media-intro-card {
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
  padding: 2em 2.5em;
  background: linear-gradient(135deg, #800000 0%, #008080 100%);
  color: #111;
  border-radius: 16px;
  text-align: center;
  font-size: 1.15em;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.media-intro-card::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  z-index: 0;
}

.media-intro-card p {
  position: relative;
  z-index: 1;
}

.media-section {
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
}

.media-video-card {
  background: #2b2b2b;
  color: #f5f5f5;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-align: center;
}

.video-caption {
  margin-top: 1em;
  font-size: 1.05em;
}

.media-press-card {
  max-width: 800px;
  width: 90%;
  margin: 2em auto;
  padding: 2em 2.5em;
  background-color: #333;
  color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.media-press-card h2 {
  margin-top: 0;
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 1em;
}

.media-press-card ul {
  list-style: none;
  padding: 0;
}

.media-press-card li {
  margin: 0.8em 0;
  font-size: 1.1em;
}
/* Wrap for camera to enable flash effect */
.camera-wrapper {
  position: relative;
  display: inline-block;
}

/* Animate the SVG camera itself */
.camera-flash {
  animation: cameraSnap 0.5s infinite ease-in-out; /* faster flash */;
  transform-origin: center;
  display: inline-block;
  position: relative;
  z-index: 2;
}

/* Bright flash burst */
.camera-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0px;
  height: 0px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: flashBurst 3s infinite ease-in-out;
}

/* Wiggle / snap animation */
@keyframes cameraSnap {
  0%, 80%, 100% {
    transform: rotate(0deg) scale(1);
  }
  82% {
    transform: rotate(-5deg) scale(1.1);
  }
  84% {
    transform: rotate(5deg) scale(1.1);
  }
  86% {
    transform: rotate(0deg) scale(1);
  }
}

/* Flash burst expansion */
@keyframes flashBurst {
  0%, 80%, 100% {
    width: 0px;
    height: 0px;
    opacity: 0;
  }
  82% {
    width: 60px;
    height: 60px;
    opacity: 0.9;
  }
  84% {
    width: 80px;
    height: 80px;
    opacity: 0.4;
  }
  86% {
    width: 0px;
    height: 0px;
    opacity: 0;
  }
}
/* Nav links consistency across all pages */
nav a {
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 600;          /* same as other pages */
  text-transform: uppercase; /* same as other pages */
  letter-spacing: 1px;       /* same as other pages */
  color: inherit;            /* inherit from nav (optional) */
}
/* Nav links consistency across all pages */
nav a {
  font-family: 'Fredoka', sans-serif !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: inherit; /* ensures text color remains consistent */
}
/* Fix header nav font and color */
nav a {
    color: #800000;           /* original maroon color */
    font-family: 'Fredoka', sans-serif; /* original font */
    font-weight: normal;      /* adjust to match original style */
    text-decoration: none;    /* optional: removes underlines if present */
}
/* --- Press Mentions Grid --- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin-top: 1.5em;
}

.press-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2em;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.press-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.4em;
  color: #fff;
}

.press-quote {
  font-style: italic;
  color: #f5f5f5;
  margin-bottom: 1em;
}

.press-item img {
  width: 180px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
  display: block;
}

.press-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* Add border around each champion image */
.champions-section .champion-img {
  border: 4px solid #8B0000; /* maroon, adjust to teal if desired */
  border-radius: 8px;         /* optional: rounded corners */
  margin: 0.5em;              /* space between images */
  padding: 2px;               /* optional: inner padding for border */
  display: block;             /* ensures spacing works inside flex/grid */
}

