
    :root {
      --teal: #2a9d8f;
      --navy: #1a2b4a;
      --coral: #e76f51;
      --gold: #f4a261;
      --cream: #fdf8ef;
      --light-teal: #e8f7f5;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Nunito', sans-serif;
      background: var(--cream);
      color: var(--navy);
      overflow-x: hidden;
    }

    /* ── HERO ── */
    .hero {
      background: var(--navy);
      color: white;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 10% 50%, #2a9d8f22 0%, transparent 55%),
                  radial-gradient(ellipse at 90% 20%, #e76f5122 0%, transparent 55%);
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, #ffffff12 1px, transparent 1px);
      background-size: 28px 28px;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 1100px;
      margin: 0 auto;
      padding: 48px 32px 5px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    /* LEFT: flyer */
    .hero-flyer {
      animation: fadeUp .6s ease both;
    }

    .hero-flyer img {
      width: 100%;
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0,0,0,.45);
      display: block;
    }

    /* RIGHT: info */
    .hero-info {
      animation: fadeUp .6s .15s ease both;
    }

    .eyebrow {
      display: inline-block;
      background: var(--teal);
      color: white;
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .15em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 100px;
      margin-bottom: 16px;
    }

    .hero-info h1 {
      font-family: 'Bangers', cursive;
      font-size: clamp(2.2rem, 4vw, 3.6rem);
      letter-spacing: .04em;
      line-height: 1.05;
      color: white;
      text-shadow: 3px 3px 0 var(--teal);
      margin-bottom: 16px;
    }

    .hero-info .tagline {
      font-size: 1rem;
      color: #b8cfe0;
      line-height: 1.6;
      margin-bottom: 28px;
    }

    .hero-info a {
      color: var(--teal);
      font-weight: 700;
      text-decoration: none;
    }

    .hero-info  a:hover { text-decoration: underline; }

    /* event detail rows */
    .detail-list {
      list-style: none;
      padding: 0;
      margin-bottom: 28px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .detail-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: .98rem;
    }

    .detail-icon {
      width: 36px;
      height: 36px;
      background: rgba(255,255,255,.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .detail-text strong {
      display: block;
      color: white;
      font-weight: 800;
      font-size: .95rem;
    }

    .detail-text span {
      color: #94b8d4;
      font-size: .88rem;
    }

    /* pill badges */
    .badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .badge {
      display: flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 100px;
      padding: 6px 13px;
      font-size: .8rem;
      font-weight: 700;
      color: white;
    }

    @media (max-width: 700px) {
      .hero-inner {
        grid-template-columns: 1fr;
        padding: 32px 20px;
        gap: 28px;
      }
      .hero-info h1 { font-size: 2.4rem; }
    }

    /* ── MAIN CONTENT ── */
    main {
      max-width: 1000px;
      margin: 0 auto;
      padding: 60px 24px;
    }

    .section-title {
      font-family: 'Bangers', cursive;
      font-size: 2rem;
      letter-spacing: .06em;
      color: var(--navy);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-title::after {
      content: '';
      flex: 1;
      height: 2px;
      background: linear-gradient(to right, var(--teal), transparent);
    }

    /* ── ABOUT CARD ── */
    .about-card {
      background: white;
      border-radius: 20px;
      padding: 36px;
      box-shadow: 0 4px 24px rgba(26,43,74,.08);
      border-left: 6px solid var(--teal);
      margin-bottom: 56px;
      font-size: 1.05rem;
      line-height: 1.7;
      animation: fadeUp .5s .1s ease both;
    }

    /* ── GAMES GRID ── */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 14px;
      margin-bottom: 56px;
    }

    .game-card {
      background: white;
      border-radius: 14px;
      padding: 18px 20px;
      box-shadow: 0 2px 12px rgba(26,43,74,.07);
      border-top: 4px solid var(--teal);
      font-weight: 700;
      font-size: .95rem;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: transform .2s, box-shadow .2s;
    }

    .game-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(26,43,74,.13);
    }

    .game-card:nth-child(3n+1) { border-top-color: var(--teal); }
    .game-card:nth-child(3n+2) { border-top-color: var(--coral); }
    .game-card:nth-child(3n)   { border-top-color: var(--gold); }

    .game-icon { font-size: 1.4rem; }

    /* ── FLYER DOWNLOAD (below hero) ── */
    .flyer-download {
      text-align: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 30px;
      background: var(--coral);
      color: white;
      text-decoration: none;
      border-radius: 100px;
      font-weight: 800;
      font-size: .95rem;
      letter-spacing: .02em;
      transition: background .2s, transform .2s;
      box-shadow: 0 4px 16px rgba(231,111,81,.35);
    }

    .btn:hover {
      background: #d4603f;
      transform: translateY(-2px);
    }

    /* ── DONATE BANNER ── */
    .donate-banner {
      background: linear-gradient(135deg, var(--navy) 0%, #2a4a7a 100%);
      border-radius: 20px;
      padding: 48px 36px;
      text-align: center;
      color: white;
      margin-bottom: 0;
      position: relative;
      overflow: hidden;
      text-decoration: none;
    }

    .donate-banner::before {
      content: '🀄';
      position: absolute;
      font-size: 8rem;
      opacity: .06;
      right: 40px;
      top: 50%;
      transform: translateY(-50%);
      text-decoration: none;
    }

    .donate-banner h2 {
      font-family: 'Bangers', cursive;
      font-size: 2.4rem;
      letter-spacing: .06em;
      margin-bottom: 8px;
      text-decoration: none;
    }

    .donate-banner p {
      color: #a8c4e0;
      font-size: 1rem;
      margin-bottom: 24px;
      text-decoration: none;
    }

    .donate-banner a {
      color: var(--gold);
      font-weight: 800;
      display: flex;
      text-decoration: none;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--navy);
      color: #8aa5c0;
      text-align: center;
      padding: 32px 20px;
      font-size: .9rem;
      margin-top: 60px;
    }

    footer a {
      color: var(--teal);
      font-weight: 700;
      text-decoration: none;
    }

    footer a:hover { text-decoration: underline; }

    .scroll-hint {
      text-align: center;
      padding: 16px;
      color: rgba(255,255,255,.5);
      font-size: .85rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .arrow {
      font-size: 2rem;
      line-height: 1;
      animation: bounce .8s infinite alternate;
      margin-top: -20px;
    }

    @keyframes bounce {
      from { transform: translateY(0); }
      to   { transform: translateY(6px); }
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 600px) {
      .info-item { padding: 14px 20px; }
      .about-card { padding: 24px; }
      .donate-banner { padding: 36px 24px; }
    }

    .schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 56px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26,43,74,.08);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: .95rem;
}

.schedule-table thead {
  background: var(--navy);
  color: white;
}

.schedule-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
}

.schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f4;
  vertical-align: middle;
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.schedule-table tbody tr:hover {
  background: #f7fbff;
}

.dm-wanted {
  background: #fffbf0;
}

.game-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 800;
}

.game-tag.botc {
  background: #1a2b4a22;
  color: var(--navy);
}

.game-tag.dnd {
  background: #e76f5122;
  color: #b84a2e;
}

.wanted-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}
.story-section {
  margin-top: 56px;
}

.story-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(26,43,74,.08);
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 1rem;
}

.story-card p {
  margin-bottom: 16px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-heading {
  font-family: 'Bangers', cursive;
  font-size:  1.2em;
  letter-spacing: .05em;
  color: var(--teal);
}
.site-nav {
  background: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #eef0f4;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(26,43,74,.08);
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 24px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}

.site-nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
/* Smoothly glide to sections */
html {
  scroll-behavior: smooth;
}

/* Offset for the sticky navbar */
[id] {
  scroll-margin-top: 70px;
}

/* Account for the navbar height increasing when links wrap on small screens */
@media (max-width: 480px) {
  [id] {
    scroll-margin-top: 120px;
  }
}

/* ── GAMES GRID REFINEMENTS ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Slightly wider for better spacing */
  gap: 20px;
  margin-bottom: 56px;
}

.game-card {
  background: white;
  border-radius: 14px;
  /* Removed padding here to let the <a> handle the clickable area */
  padding: 0; 
  box-shadow: 0 2px 12px rgba(26,43,74,.07);
  border-top: 4px solid var(--teal);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden; /* Keeps the hover effect clean */
}

/* This targets the link inside the card */
.game-card a {
  display: flex;
  flex-direction: column; /* Stack image and text vertically */
  align-items: center;    /* Center horizontally */
  justify-content: center; /* Center vertically */
  text-align: center;
  padding: 20px;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.game-card img {
  display: block;
  margin-bottom: 12px; /* Space between image and text */
  object-fit: contain;
  border-radius: 8px;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,43,74,.13);
}

/* Colorful borders you already had */
.game-card:nth-child(3n+1) { border-top-color: var(--teal); }
.game-card:nth-child(3n+2) { border-top-color: var(--coral); }
.game-card:nth-child(3n)   { border-top-color: var(--gold); }

/* ── THE RAIL FIX ── */

/* 1. The Window */
.scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px; /* Space for the scrollbar */
  -webkit-overflow-scrolling: touch;
}

/* 1. The Wrapper: This keeps the rail inside your site margins */
.games-rail-wrapper {
  width: 100%;
  overflow: hidden; /* Clips the inner rail to your margins */
  margin-bottom: 56px;
  position: relative;
}

/* 2. The Rail: This is what actually scrolls */
.games-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  padding: 15px 5px; /* Padding for shadows so they aren't cut off */
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: var(--teal) var(--light-teal);
  -webkit-overflow-scrolling: touch;
}

/* 3. The Cards: Standardized size and centering */
.game-card {
  flex: 0 0 240px; /* Each card is exactly 240px wide */
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(26,43,74,.07);
  border-top: 4px solid var(--teal);
  scroll-snap-align: start;
  transition: transform .2s;
}

.game-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Keeps title at bottom, image in middle */
  text-align: center;
  padding: 20px;
  height: 100%;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
}

.game-card img {
  max-width: 100%;
  max-height: 160px; /* Uniform height for box art */
  object-fit: contain;
  margin-bottom: 12px;
}

/* Custom Scrollbar for Chrome/Safari */
.games-grid::-webkit-scrollbar {
  height: 8px;
}
.games-grid::-webkit-scrollbar-track {
  background: var(--light-teal);
  border-radius: 10px;
}
.games-grid::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
}
/* 4. Scrollbar Styling */
.scroll-container::-webkit-scrollbar {
  height: 8px;
}
.scroll-container::-webkit-scrollbar-track {
  background: var(--light-teal);
  border-radius: 10px;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
}