:root {
    --sand: #F5EDD6;
    --parchment: #EDE0C0;
    --deep-teal: #0D4A3C;
    --teal: #1A6B54;
    --teal-light: #2A8B6C;
    --red: #C1272D;
    --red-dark: #8B1A1E;
    --gold: #C8972A;
    --gold-light: #E8B84B;
    --cream: #FDF8EE;
    --dark: #1A1208;
    --mid-dark: #2D2010;
    --text-main: #2D2010;
    --text-muted: #6B5B3E;
    --white: #FFFFFF;
    --border: rgba(45,32,16,0.15);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-main);
    overflow-x: hidden;
  }

  /* ─── NOISE TEXTURE OVERLAY ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13,74,60,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200,151,42,0.3);
    padding: 0 2rem;
  }

  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .nav-logo-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    letter-spacing: 2px;
  }

  .nav-logo-sub {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: uppercase;
  }

  .nav-links a:hover { color: var(--gold-light); background: rgba(200,151,42,0.1); }

  .nav-cta {
    background: var(--red) !important;
    color: white !important;
    border-radius: 4px;
    padding: 0.45rem 1rem !important;
  }

  .nav-cta:hover { background: var(--red-dark) !important; }

  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
  }

  /* ─── HERO ─── */
  #home {
    min-height: 100vh;
    background:
      linear-gradient(160deg, rgba(13,74,60,0.92) 0%, rgba(13,74,60,0.75) 40%, rgba(26,18,8,0.9) 100%),
      repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(200,151,42,0.03) 20px, rgba(200,151,42,0.03) 40px);
    background-color: var(--deep-teal);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
  }

  /* cricket field rings */
  #home::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 70vmin;
    height: 70vmin;
    border: 2px solid rgba(200,151,42,0.08);
    border-radius: 50%;
    box-shadow:
      0 0 0 40px rgba(200,151,42,0.04),
      0 0 0 80px rgba(200,151,42,0.03),
      0 0 0 120px rgba(200,151,42,0.02);
    pointer-events: none;
    padding-top: 64px;
  }

  .hero-layout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left column gets 60% of width, Right gets 40% */
    gap: 4rem; /* Standard spacing, matching shared layout logic gap */
    align-items: center; /* Vertically center both columns */
    max-width: 1280px;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1rem;
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(193,39,45,0.2);
    border: 1px solid rgba(193,39,45,0.5);
    color: #FF8A8E;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
  }

  .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #FF8A8E;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    color: white;
    line-height: 0.95;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
  }

  .hero-title span { color: var(--gold-light); }

  .hero-powered-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1rem 0 1.5rem 0; /* Provides spacing between title and tagline */
  animation: fadeUp 0.6s ease both; /* Keeps your existing entrance animation */
  animation-delay: 0.25s;
}

.hero-powered-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.hero-powered-logo {
  height: 150px; 
  width: auto;
  opacity: 1; /* Increased opacity for testing */
  display: inline-block; /* Changed from block to inline-block for better flex alignment */
  
  /* REMOVE OR COMMENT OUT THESE LINES */
  /* filter: brightness(0) invert(1); */ 
  
  transition: opacity 0.3s;
}

.hero-powered-logo:hover {
  opacity: 1;
}


  .hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: var(--parchment);
    margin-bottom: 1rem;
    opacity: 0.9;
  }

  .hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
  }

  .hero-meta-icon {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(200,151,42,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gold-light);
  }

  .hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
/* New Right Column Styling */
  .hero-image-container {
    width: 100%;
    position: relative;
    z-index: 2; /* Ensures image sits above field rings in background */
  }

  .hero-event-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px; /* Subtle framing logic matching value cards */
    /* Add the sharp 3px accent, matching existing logic from layout cards: */
    border-left: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Adds depth to the poster */
  }





  .btn-primary {
    background: var(--red);
    color: white;
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }

  .btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

  .btn-secondary {
    background: transparent;
    color: var(--gold-light);
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1.5px solid rgba(200,151,42,0.5);
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
  }

  .btn-secondary:hover { border-color: var(--gold-light); background: rgba(200,151,42,0.08); }

  /* ─── HIGHLIGHTS STRIP ─── */
  .highlights-strip {
    background: var(--gold);
    padding: 1rem 2rem;
    position: relative;
    z-index: 3;
  }

  .highlights-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
  }

  .highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
  }

  .highlight-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--deep-teal);
  }

  .highlight-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(26,18,8,0.75);
  }

  .highlight-divider {
    width: 1px;
    height: 36px;
    background: rgba(26,18,8,0.2);
  }

  /* ─── SECTION TEMPLATE ─── */
  section {
    padding: 5rem 2rem;
    position: relative;
  }

  .section-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    line-height: 1;
    color: var(--deep-teal);
    margin-bottom: 1rem;
  }

  .section-title.light { color: white; }

  .section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
  }

  .section-desc.light { color: rgba(255,255,255,0.7); }

  /* ─── ABOUT SECTION ─── */
  #about { background: var(--cream); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .about-visual {
    position: relative;
  }

  .about-big-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 12vw, 9rem);
    color: var(--parchment);
    line-height: 0.9;
    letter-spacing: 2px;
  }

  .about-accent-box {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--deep-teal);
    color: white;
    padding: 2rem;
    max-width: 280px;
  }

  .about-accent-box blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
  }

  .about-accent-box cite {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .value-card {
    border: 1px solid var(--border);
    border-left: 3px solid var(--teal);
    padding: 1rem 1.25rem;
    background: white;
  }

  .value-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--deep-teal);
    margin-bottom: 0.25rem;
  }

  .value-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* ─── TOURNAMENT SECTION ─── */
  #tournament {
    background: var(--deep-teal);
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px),
      repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
  }

  .tournament-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .t-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--gold);
    padding: 1.75rem;
    transition: background 0.2s;
  }

  .t-card:hover { background: rgba(255,255,255,0.09); }

  .t-card-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .t-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
  }

  .t-card p, .t-card li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
  }

  .t-card ul { padding-left: 1rem; }


 /* ─── RULES SECTION (TWO-COLUMN) ─── */
  #rules { 
    background: var(--cream); 
  }

  .rules-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates the 50/50 left/right split */
    gap: 4rem; /* Adds space between text and image */
    align-items: center; /* Vertically centers both sides */
  }

  /* Styling for the left-side bullet points */
  .rule-highlights {
    list-style: none;
    margin-top: 1rem;
    max-width: 450px;
  }

  .rule-highlights li {
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .rule-highlights li:last-child {
    border-bottom: none;
  }

  .rule-highlights li::before {
    content: '✓';
    color: var(--teal);
    font-weight: bold;
  }

  /* Right-side poster framing */
  .rules-image-container {
    background: var(--deep-teal);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    padding: 1.25rem;
    width: 100%;
  }

  .rules-main-img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
  }

  /* Responsive: Stack them on smaller screens */
  @media (max-width: 1024px) {
    .rules-layout {
      gap: 2rem;
    }
  }

  @media (max-width: 768px) {
    .rules-layout {
      grid-template-columns: 1fr; /* Changes to single column on mobile */
    }
    .rules-image-container {
      margin-top: 1rem;
    }
  }


  /* Format visualization */
  .format-viz {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    margin-top: 2rem;
  }

  .format-stages {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
  }

  .stage-box {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
  }

  .stage-box::after {
    content: '▶';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.8rem;
    z-index: 1;
  }

  .stage-box:last-child::after { display: none; }

  .stage-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--gold-light);
    line-height: 1;
  }

  .stage-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
  }

  /* ─── PRIZES SECTION ─── */
  #prizes { background: var(--sand); }

  .prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .prize-card {
    background: white;
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
  }

  .prize-card:hover { transform: translateY(-4px); }

  .prize-card.featured {
    background: var(--deep-teal);
    color: white;
    border-color: var(--gold);
  }

  .prize-card::before {
    content: attr(data-pos);
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    color: rgba(200,151,42,0.08);
    line-height: 1;
    pointer-events: none;
  }

  .prize-medal {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .prize-position {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

  .prize-card.featured .prize-position { color: rgba(255,255,255,0.6); }

  .prize-amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--deep-teal);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .prize-card.featured .prize-amount { color: var(--gold-light); }

  .prize-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .prize-card.featured .prize-desc { color: rgba(255,255,255,0.6); }

  /* special awards */
  .awards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
  }

  .award-badge {
    background: white;
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .award-badge span { font-size: 1.1rem; }

  .award-badge div { font-size: 0.82rem; font-weight: 600; color: var(--text-main); }

  /* ─── RULES SECTION ─── */
  #rules { background: var(--cream); }

  .rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .rule-category {
    background: white;
    border: 1px solid var(--border);
  }

  .rule-cat-header {
    background: var(--deep-teal);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .rule-cat-header span { font-size: 1.2rem; }

  .rule-cat-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--gold-light);
  }

  .rule-list {
    padding: 1.25rem 1.5rem;
    list-style: none;
  }

  .rule-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
  }

  .rule-list li:last-child { border-bottom: none; }

  .rule-list li::before {
    content: '▸';
    color: var(--teal);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
  }


/* ─── TEAMS SECTION ─── */
#teams { 
  background: var(--sand); 
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem 1rem; 
  display: flex;
  flex-direction: column; /* Stacks the logo and text vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s;
  border-radius: 4px;
}

.team-card:hover { 
  border-color: var(--teal); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(13, 74, 60, 0.08); 
}

.team-logo {
  width: 110px; /* Scaled to 110px to perfectly balance the text */
  height: 110px;
  border-radius: 50%; 
  background: var(--parchment);
  border: 2px solid black;
  display: block;
  object-fit: cover; 
  margin-bottom: 1rem; /* Adds space between the logo and the text */
}

.team-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; /* Smaller font size as requested */
  letter-spacing: 1.5px; /* Slightly wider letter spacing for readability */
  color: var(--deep-teal);
  line-height: 1.2;
}




  /* ─── COUNTDOWN ─── */
  #countdown {
    background: var(--red-dark);
    background-image: linear-gradient(135deg, var(--red-dark), #6B1010);
    padding: 4rem 2rem;
    text-align: center;
  }

  .countdown-inner { max-width: 700px; margin: 0 auto; }

  .countdown-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
  }

  .countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .countdown-unit {
    text-align: center;
  }

  .countdown-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    color: white;
    line-height: 1;
    display: block;
  }

  .countdown-unit-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
  }

  .countdown-divider {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    line-height: 1;
    align-self: flex-start;
    margin-top: 0.15rem;
  }


  /* ─── EVENT SCHEDULE GRID ─── */
  .schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .schedule-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-left: 3px solid; /* Specific colors are assigned inline */
  }

  .schedule-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .schedule-date {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
  }

  .schedule-details {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
  }


  /* ─── SPONSORS ─── */
  #sponsors { background: white; }

  .sponsor-tier {
    margin-bottom: 3rem;
  }

  .sponsor-tier-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }

  .sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }

  .sponsor-slot {
    border: 1px dashed var(--border);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 80px;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 1px;
    transition: border-color 0.2s;
    cursor: pointer;
  }

  .sponsor-slot.title-slot {
    min-width: 260px;
    min-height: 120px;
    border-width: 2px;
    border-color: var(--gold);
    background: rgba(200,151,42,0.03);
    font-size: 0.85rem;
    color: var(--gold);
  }

  .sponsor-cta-box {
    background: var(--deep-teal);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .sponsor-cta-box h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 0.5rem;
  }

  .sponsor-cta-box p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    max-width: 460px;
  }

   /* ─── REGISTER ─── */
  #register {
    background: var(--deep-teal);
    background-image: linear-gradient(135deg, #0D4A3C, #062A22);
  }

  .register-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--gold-light);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
  }

  .form-group select option { background: var(--deep-teal); }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .register-sidebar {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--gold);
    padding: 2rem;
    position: sticky;
    top: 80px;
  }

  .reg-sidebar-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .reg-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
  }

  .reg-detail-key { color: rgba(255,255,255,0.5); }
  .reg-detail-val { color: white; font-weight: 500; }

  .entry-fee-box {
    background: var(--red);
    padding: 1rem;
    text-align: center;
    margin-top: 1.5rem;
  }

  .entry-fee-box .fee-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.25rem;
  }

  .entry-fee-box .fee-amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: white;
    line-height: 1;
  }


  
/* ─── DYNAMIC PLAYER ROWS ─── */
.player-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 1rem;
}
.player-row-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    grid-column: span 2;
}


  /* ─── FAQ ─── */
  #faq { background: var(--sand); }

  .faq-list { max-width: 720px; }

  .faq-item {
    border-bottom: 1px solid var(--border);
  }

  .faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    gap: 1rem;
  }

  .faq-q::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--teal);
    flex-shrink: 0;
    transition: transform 0.2s;
    font-weight: 300;
  }

  .faq-item.open .faq-q::after { transform: rotate(45deg); }

  .faq-a {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding-bottom: 1.25rem;
    display: none;
  }

  .faq-item.open .faq-a { display: block; }

  /* ─── CONTACT ─── */
  #contact { background: var(--cream); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-info { }

  .contact-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    background: var(--deep-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .contact-block h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
  }

  .contact-block p, .contact-block a {
    font-size: 0.95rem;
    color: var(--text-main);
    text-decoration: none;
    line-height: 1.5;
  }

  .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 3px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.25rem;
    transition: background 0.2s;
  }

  .whatsapp-btn:hover { background: #1DA851; }

.map-wrapper {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border: 1px solid rgba(200, 151, 42, 0.2); /* Subtle Gold border */
  border-radius: 4px;
}

.map-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

/* This makes the map feel more integrated into a dark theme */
.map-container iframe {
  filter: grayscale(0.2) contrast(1.1) brightness(0.9);
}

.map-link {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gold-light);
  text-decoration: none;
  margin-top: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s;
}

.map-link:hover {
  color:cornflowerblue;
}
  .contact-form-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--deep-teal);
    margin-bottom: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 1rem;
  }

  .contact-form input:focus,
  .contact-form textarea:focus { border-color: var(--teal); }

  /* ─── TESTIMONIALS ─── */
  #testimonials {
    background: var(--deep-teal);
    padding: 5rem 2rem;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
  }

  .testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--gold);
    line-height: 0;
    display: block;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }

  .testimonial-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gold-light);
  }

  .testimonial-role {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.2rem;
  }

  /* ─── HALL OF FAME ─── */
  #halloffame { background: var(--cream); }

  .hof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .hof-card {
    background: white;
    border: 1px solid var(--border);
    text-align: center;
    padding: 2rem 1.25rem;
    position: relative;
    overflow: hidden;
  }

  .hof-card::before {
    content: '★';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: rgba(200,151,42,0.06);
    pointer-events: none;
  }

  .hof-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--parchment);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--deep-teal);
    margin: 0 auto 1rem;
  }

  .hof-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--deep-teal);
    margin-bottom: 0.25rem;
  }

  .hof-achievement {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
  }

  .hof-year {
    display: inline-block;
    background: var(--deep-teal);
    color: var(--gold-light);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.2rem 0.6rem;
  }

  /* ─── GALLERY ─── */
  #gallery { background: var(--dark); padding: 5rem 2rem; }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 4px;
    margin-top: 2rem;
  }

  .gallery-cell {
    background: var(--mid-dark);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .gallery-cell:hover { opacity: 0.85; }

  .gallery-cell.tall { grid-row: span 2; }
  .gallery-cell.wide { grid-column: span 2; }

  .gallery-cell-inner {
    text-align: center;
    color: rgba(255,255,255,0.25);
  }

  .gallery-cell-inner div { font-size: 1.5rem; margin-bottom: 0.5rem; }
  .gallery-cell-inner p { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--dark);
    padding: 4rem 2rem 1.5rem;
    border-top: 1px solid rgba(200,151,42,0.2);
  }

  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
  }

  .footer-brand-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold-light);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
  }

  .footer-brand-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
  }

  .footer-brand-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
  }

  .footer-col h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
  }

  .footer-col ul { list-style: none; }

  .footer-col ul li { margin-bottom: 0.6rem; }

  .footer-col ul li a {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-col ul li a:hover { color: var(--gold-light); }



/* ─── IMAGE SOCIAL ICONS ─── */
.social-icons {
  display: flex;
  gap: 15px; /* Slightly wider gap for larger visual logos */
  align-items: center;
}

.social-icon-img-link {
  width: 42px; /* Slightly larger than text icons for better visibility */
  height: 42px;
  border-radius: 50%;
  overflow: hidden; /* Ensures the image doesn't bleed outside the circle */
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: block;
  background-color: var(--dark); /* Fallback background */
  transition: all 0.3s ease;
}

.social-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crucial: Prevents the logo from stretching or squishing */
  display: block;
}

/* Premium hover effect */
.social-icon-img-link:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px); /* Subtle lift effect */
  box-shadow: 0 5px 15px rgba(200, 151, 42, 0.3); /* Gold glow */
}





  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
  }

  .footer-bottom a { color: rgba(200,151,42,0.7); text-decoration: none; }

  /* ─── MOBILE STICKY CTA ─── */
  .sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--red);
    padding: 0.9rem 1.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sticky-cta p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.3;
  }

  .sticky-cta p strong { color: white; font-size: 0.9rem; display: block; }

  .sticky-cta a {
    background: white;
    color: var(--red);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 2px;
  }

  /* ─── NEWSLETTER ─── */
  .newsletter-strip {
    background: var(--gold);
    padding: 2.5rem 2rem;
  }

  .newsletter-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .newsletter-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--dark);
    margin-bottom: 0.25rem;
  }

  .newsletter-text p { font-size: 0.82rem; color: rgba(26,18,8,0.65); }

  .newsletter-form {
    display: flex;
    gap: 0;
  }

  .newsletter-form input {
    padding: 0.75rem 1.25rem;
    border: none;
    background: rgba(26,18,8,0.12);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--dark);
    outline: none;
    min-width: 260px;
  }

  .newsletter-form input::placeholder { color: rgba(26,18,8,0.45); }

  .newsletter-form button {
    background: var(--deep-teal);
    color: white;
    border: none;
    padding: 0 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
  }

  .newsletter-form button:hover { background: var(--teal); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .tournament-grid { grid-template-columns: 1fr 1fr; }
    .prizes-grid { grid-template-columns: 1fr 1fr; }
    .prizes-grid .prize-card:first-child { grid-column: span 2; }
    .teams-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .hof-grid { grid-template-columns: repeat(2, 1fr); }
    .register-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }

    .hero-layout-wrapper {
      grid-template-columns: 1fr 1fr; /* Shifts from 60/40 to a 50/50 split */
      gap: 2rem;
    }
    .hero-title {
      font-size: clamp(3rem, 8vw, 5rem); /* Prevents title from overflowing */
    }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 64px;
      left: 0; right: 0;
      background: var(--deep-teal);
      padding: 1rem;
      gap: 0.5rem;
      border-top: 1px solid rgba(200,151,42,0.2);
    }

    .hero-powered-logo{height: 150px;}


    .hero-layout-wrapper {
      grid-template-columns: 1fr; /* Stacks text on top, image on bottom */
      gap: 3rem;
      text-align: left;
      padding: 1rem 1rem;
    }

    /* Centers all the flexbox elements on mobile */
    .hero-badge,
    .hero-powered-by,
    .hero-meta,
    .hero-btns {
      justify-content: left;
    }

    /* Centers the descriptive paragraph */
    .hero-sub {
      margin-left: auto;
      margin-right: auto;
    }

    /* Keeps the poster image from becoming too massive on wide phones */
    .hero-image-container {
      max-width: 450px; 
      margin: 0 auto;
    }

    .schedule-grid {
      grid-template-columns: 1fr; /* Snaps from 3 columns to 1 column on mobile */
    }

    .tournament-grid { grid-template-columns: 1fr; }
    .prizes-grid { grid-template-columns: 1fr; }
    .prizes-grid .prize-card:first-child { grid-column: span 1; }
    .rules-grid { grid-template-columns: 1fr; }
    .teams-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hof-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-cell.wide { grid-column: span 1; }
    .format-stages { flex-direction: column; }
    .stage-box::after { display: none; }
    .register-grid { grid-template-columns: 1fr; }
    .sticky-cta { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .about-accent-box { position: static; max-width: 100%; margin-top: 1.5rem; }
    .newsletter-form { width: 100%; }
    .newsletter-form input { flex: 1; min-width: 0; }
  }



  /* SMALL MOBILE VIEW (Narrow phones) */
  @media (max-width: 480px) {
    .hero-meta {
      flex-direction: column; /* Stacks the Date, Venue, and Prize vertically */
      gap: 1.5rem;
    }
   
    .hero-meta-item {
      justify-content: left;
    }

    .hero-btns {
      flex-direction: column; /* Stacks buttons on top of each other */
      width: 100%;
    }
    
    .hero-btns a {
      width: 100%; /* Makes buttons full-width for easier tapping */
      text-align: center;
    }
    .teams-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
  }
  
  .team-logo {
    width: 80px; /* Scales down on very small phones */
    height: 80px;
  }
  
  .team-name {
    font-size: 0.9rem; /* Scales text down slightly on phones */
  }
  }

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

  .hero-content > *,
  .hero-image-container {
    animation: fadeUp 0.6s ease both;
  }

  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.2s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.5s; }
  .hero-content > *:nth-child(6) { animation-delay: 0.6s; }
  .hero-content > *:nth-child(7) { animation-delay: 0.7s; } 

  /* Image animates in right after the buttons */
  .hero-image-container { 
    animation-delay: 0.4s; 
  }






  /* ─── FORM VALIDATION & STATES ─── */
.error {
    border-color: #FF6B6B !important;
    background: rgba(255,107,107,0.07) !important;
}

.field-error {
    font-size: 0.75rem;
    font-weight: 500;
    color: #FF8A8A;
    margin-top: 0.4rem;
    display: none;
}

.field-error.show { display: block; }

.btn-primary:disabled { 
    opacity: 0.7; 
    cursor: not-allowed; 
}

#reg-success {
    display: none;
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgba(42,139,108,0.15);
    border: 1px solid var(--teal-light);
    border-radius: 4px;
    margin-bottom: 2rem;
}

#reg-success h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--gold-light);
    margin: 1rem 0 0.5rem;
}

#reg-success p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

#reg-error-banner {
    display: none;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(193,39,45,0.15);
    border: 1px solid var(--red);
    border-radius: 4px;
    color: #FF8A8A;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }