/* ============================================================
   MARIO CRICKET GROUNDS — style.css
   Design: Bold Red Punch | Fonts: Anton + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --red:          #e03030;
  --red-dark:     #b52424;
  --red-dim:      rgba(224,48,48,0.12);
  --red-border:   rgba(224,48,48,0.3);
  --black:        #0d0d0d;
  --black-2:      #141414;
  --black-3:      #1a1a1a;
  --black-4:      #222222;
  --white:        #ffffff;
  --text:         #f0f0f0;
  --text-muted:   #888888;
  --text-dim:     #555555;
  --border:       rgba(255,255,255,0.07);
  --border-mid:   rgba(255,255,255,0.12);

  --font-display: 'Anton', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:        68px;
  --radius:       8px;
  --radius-lg:    14px;
  --container:    1200px;
  --ease:         0.18s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.page-top { padding-top: var(--nav-h); }
.bg-surface { background: var(--black-2); }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 3px solid var(--red);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: 0.06em;
  color: var(--black); line-height: 1; flex-shrink: 0;
}
.nav-logo-img {
  height: 42px; width: 42px; border-radius: 50%; object-fit: cover;
}
.nav-logo small {
  display: block; font-family: var(--font-body);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links > a {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: #444;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
}
.nav-links > a:hover, .nav-links > a.active { color: var(--red); }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: #444;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  transition: color var(--ease);
}
.nav-dropdown > button:hover, .nav-dropdown > button.active { color: var(--red); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  padding-top: 10px; /* visual gap without breaking hover area */
  background: transparent;
  min-width: 180px;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}
.nav-dropdown-menu::before {
  content: ''; display: block;
  background: var(--white); border: 1px solid #eee;
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: absolute; inset: 10px 0 0 0; z-index: -1;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: none; }
.nav-dropdown-menu a {
  display: block; padding: 0.55rem 0.9rem;
  font-size: 0.82rem; font-weight: 600; color: #333;
  border-radius: 6px; transition: background var(--ease), color var(--ease);
  position: relative;
}
.nav-dropdown-menu a:hover { background: #f5f5f5; color: var(--red); }

.nav-book-now {
  background: var(--red); color: var(--white) !important;
  padding: 0.5rem 1.25rem !important; border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 700 !important; letter-spacing: 0.07em;
  text-transform: uppercase; transition: background var(--ease);
  margin-left: 0.5rem;
}
.nav-book-now:hover { background: var(--red-dark) !important; color: var(--white) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile nav drawer */
.nav-links.open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 3px solid var(--red);
  padding: 1rem 1.5rem 1.5rem; gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 99;
}
.nav-links.open > a {
  width: 100%; padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0; border-radius: 0;
}
.nav-links.open .nav-dropdown { width: 100%; }
.nav-links.open .nav-dropdown > button { padding: 0.75rem 0; width: 100%; text-align: left; border-bottom: 1px solid #f0f0f0; border-radius: 0; }
.nav-links.open .nav-dropdown-menu {
  position: static; opacity: 1; pointer-events: all;
  transform: none; box-shadow: none; border: none;
  background: #f9f9f9; border-radius: 8px; margin: 0.25rem 0 0.5rem;
}
.nav-links.open .nav-book-now { margin: 0.75rem 0 0; text-align: center; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em; line-height: 1; color: var(--white);
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted); line-height: 1.75;
  max-width: 560px; margin-bottom: 2.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  transition: all var(--ease); cursor: pointer; border: none;
  text-decoration: none;
}
.btn-lg { padding: 0.9rem 2.25rem; font-size: 0.9rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.78rem; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 4px 16px rgba(224,48,48,0.3); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost {
  border: 2px solid var(--border-mid); color: var(--text-muted);
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.25); color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--white); }
.btn-whatsapp {
  background: #25d366; color: var(--white);
}
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-3); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; padding-top: var(--nav-h);
}
.hero-left {
  background: var(--red); padding: 5rem 3.5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-left::before {
  content: 'M'; position: absolute; right: -0.08em; top: 50%;
  transform: translateY(-52%); font-family: var(--font-display);
  font-size: 22rem; line-height: 1; color: rgba(255,255,255,0.07);
  pointer-events: none; user-select: none;
}
.hero-tag {
  display: inline-block; background: rgba(255,255,255,0.15);
  color: var(--white); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 4px;
  margin-bottom: 1.75rem; width: fit-content;
}
.hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 6vw, 7rem);
  line-height: 0.92; letter-spacing: 0.02em; color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  line-height: 1.75; max-width: 380px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-right {
  background: var(--black-2); padding: 4rem 3rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  border-left: 1px solid rgba(255,255,255,0.04);
}
.hero-right-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem;
}
.ground-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem 1.5rem; border-left: 3px solid var(--red);
  background: var(--black-3); border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 0.75rem; transition: background var(--ease); gap: 1rem;
}
.ground-row:hover { background: var(--black-4); }
.ground-row:last-of-type { margin-bottom: 0; }
.ground-row-info h4 {
  font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.2rem;
}
.ground-row-info span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.ground-row-arrow { color: var(--red); font-size: 1.3rem; flex-shrink: 0; transition: transform var(--ease); }
.ground-row:hover .ground-row-arrow { transform: translateX(3px); }

/* ============================================================
   GROUNDS SECTION (home)
   ============================================================ */
.grounds-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
}
.ground-card {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--ease), border-color var(--ease);
}
.ground-card:hover { transform: translateY(-4px); border-color: var(--red-border); }
.ground-card-top {
  background: var(--red); padding: 1.75rem 1.75rem 1.5rem;
  position: relative; overflow: hidden;
}
.ground-card-top::after {
  content: ''; position: absolute; right: -20px; bottom: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.ground-num {
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1;
  color: rgba(255,255,255,0.15); position: absolute; top: 0.75rem; right: 1.25rem;
}
.ground-card-top h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  letter-spacing: 0.04em; color: var(--white); position: relative; z-index: 1;
}
.ground-card-body { padding: 1.5rem 1.75rem; }
.ground-location {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
  margin-bottom: 1.5rem; line-height: 1.5;
}
.ground-location svg { flex-shrink: 0; margin-top: 2px; }
.ground-map-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red-dim); color: var(--red);
  border: 1px solid var(--red-border); padding: 0.55rem 1.1rem;
  border-radius: var(--radius); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; transition: background var(--ease);
}
.ground-map-btn:hover { background: rgba(224,48,48,0.22); }

/* ============================================================
   GROUND HERO (individual ground pages)
   ============================================================ */
.ground-hero {
  position: relative; min-height: 55vh; padding-top: var(--nav-h);
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--black-2);
}
.ground-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.ground-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.5) 60%, transparent 100%);
}
.ground-hero-content {
  position: relative; z-index: 1; padding: 3rem 0;
}
.ground-hero-badge {
  display: inline-block; background: var(--red); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.3rem 0.85rem;
  border-radius: 4px; margin-bottom: 1rem;
}
.ground-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.03em; line-height: 1;
  color: var(--white); margin-bottom: 0.75rem;
}
.ground-hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 500px;
  margin-bottom: 1.75rem; line-height: 1.7;
}
.ground-hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============================================================
   ABOUT GRID (ground pages)
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start;
}
.about-grid p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.info-panel {
  background: var(--black-3); border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.info-row { margin-bottom: 1rem; }
.info-row:last-child { margin-bottom: 0; }
.info-label-sm {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.2rem;
}
.info-value { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
}
.facility-item {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  transition: border-color var(--ease);
}
.facility-item:hover { border-color: var(--red-border); }
.facility-icon {
  width: 28px; height: 28px; color: var(--red); flex-shrink: 0;
}
.facility-name { font-size: 0.88rem; font-weight: 700; color: var(--white); }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.pricing-table th {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--border-mid);
}
.pricing-table td {
  padding: 1rem; color: var(--text-muted); vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.pricing-table td:first-child { color: var(--white); font-weight: 600; }
.pricing-table tr:last-child td { border-bottom: none; }
.price-val { font-family: var(--font-display); font-size: 1.2rem; color: var(--red); }
.price-note { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.2rem; font-weight: 400; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding-top: var(--nav-h); padding-bottom: 0;
}
.page-header-inner {
  padding: 2.5rem 0; border-bottom: 1px solid var(--border);
  background: var(--black-2);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.gallery-filter {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1.5px solid var(--border-mid); border-radius: 50px;
  padding: 0.4rem 1rem; transition: all var(--ease); cursor: pointer;
  background: transparent;
}
.gallery-filter.active, .gallery-filter:hover {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem;
}
.gallery-item {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; position: relative;
  background: var(--black-3);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 1rem 0.75rem 0.6rem;
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem; color: var(--white); background: rgba(255,255,255,0.1);
  border: none; cursor: pointer; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.lightbox-close:hover { background: var(--red); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
}
.blog-card {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color var(--ease), transform var(--ease);
}
.blog-card:hover { border-color: var(--red-border); transform: translateY(-3px); }
.blog-card-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: var(--red-dim);
  border: 1px solid var(--red-border); border-radius: 4px;
  padding: 0.2rem 0.6rem; width: fit-content;
}
.blog-card-title {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 0.02em; line-height: 1.15; color: var(--white);
}
.blog-card-excerpt {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; flex: 1;
}
.blog-card-read {
  font-size: 0.8rem; font-weight: 700; color: var(--red);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.5rem;
}

/* Blog article */
.blog-article {
  max-width: 720px; margin: 0 auto; padding: 3rem 0 5rem;
}
.blog-article h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  letter-spacing: 0.02em; margin: 2rem 0 0.75rem; color: var(--white);
}
.blog-article p { font-size: 1rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 1.25rem; }
.blog-article ul { margin: 0 0 1.25rem 1.5rem; color: var(--text-muted); line-height: 1.85; }
.blog-article ul li { margin-bottom: 0.5rem; list-style: disc; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.contact-card {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--ease);
}
.contact-card:hover { border-color: var(--red-border); }
.contact-card-map {
  width: 100%; height: 200px; border: none;
  background: var(--black-4);
}
.contact-card-body { padding: 1.5rem; }
.contact-card-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: var(--red-dim);
  border: 1px solid var(--red-border); border-radius: 4px;
  padding: 0.2rem 0.6rem; margin-bottom: 0.75rem;
}
.contact-card-name {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 0.03em; color: var(--white); margin-bottom: 0.5rem;
}
.contact-card-address {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem;
}
.contact-card-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ============================================================
   STATS
   ============================================================ */
.stats-hero { padding: calc(var(--nav-h) + 48px) 0 48px; text-align: center; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem;
  padding-bottom: 80px;
}
.stats-card {
  display: block; background: var(--black-3); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  text-decoration: none; transition: border-color var(--ease), background var(--ease), transform var(--ease);
  position: relative; overflow: hidden;
}
.stats-card:hover { border-color: var(--red-border); background: var(--black-4); transform: translateY(-2px); }
.stats-card.disabled { cursor: default; pointer-events: none; opacity: 0.5; }
.stats-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); background: var(--red-dim);
  border: 1px solid var(--red-border); border-radius: 4px; padding: 0.2rem 0.6rem;
}
.stats-card-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.stats-card-title {
  font-family: var(--font-display); font-size: 1.8rem;
  letter-spacing: 0.02em; color: var(--white); line-height: 1; margin-bottom: 0.75rem;
}
.stats-card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.stats-card-arrow {
  display: inline-block; margin-top: 1.25rem;
  font-size: 0.82rem; font-weight: 700; color: var(--red); letter-spacing: 0.04em;
}

/* ============================================================
   LEADERBOARD
   ============================================================ */
.lb-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.lb-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.lb-table th {
  background: var(--black-3); padding: 0.9rem 1.1rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); text-align: left;
  border-bottom: 1px solid var(--border-mid);
}
.lb-table th:first-child { width: 50px; text-align: center; }
.lb-table td {
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--border);
  color: var(--text-muted); vertical-align: middle;
}
.lb-table td:first-child { text-align: center; color: var(--text-dim); font-weight: 700; }
.lb-table tr:last-child td { border-bottom: none; }
.lb-table tr:hover td { background: var(--black-3); }
.lb-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.lb-val { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); }
.lb-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.lb-tab {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1.5px solid var(--border-mid); border-radius: 50px;
  padding: 0.4rem 1rem; transition: all var(--ease); cursor: pointer;
  background: transparent;
}
.lb-tab.active, .lb-tab:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.lb-coming-soon {
  text-align: center; padding: 4rem 2rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.lb-coming-soon-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ============================================================
   TOURNAMENTS
   ============================================================ */
.tourn-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
}
.tourn-card {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: border-color var(--ease), transform var(--ease);
}
.tourn-card:hover { border-color: var(--red-border); transform: translateY(-3px); }
.tourn-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.tourn-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; gap: 0.5rem;
}
.tourn-card-title {
  font-size: 0.82rem; font-weight: 700; color: var(--white); line-height: 1.3; flex: 1;
}
.tourn-share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #25d366; color: var(--white); border: none;
  border-radius: var(--radius); padding: 0.4rem 0.8rem;
  font-size: 0.75rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s; flex-shrink: 0; font-family: inherit;
}
.tourn-share-btn:hover { background: #1ebe5d; }

/* ============================================================
   TEAM PAGE (Mario Brothers)
   ============================================================ */
.team-hero {
  background: var(--red); padding: calc(var(--nav-h) + 3rem) 0 3rem;
  position: relative; overflow: hidden;
}
.team-hero::before {
  content: 'MB'; position: absolute; right: -0.05em; top: 50%;
  transform: translateY(-50%); font-family: var(--font-display);
  font-size: 20rem; line-height: 1; color: rgba(255,255,255,0.07);
  pointer-events: none;
}
.team-hero-inner { position: relative; z-index: 1; }
.team-crest {
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; overflow: hidden;
}
.team-crest img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-hero h1 {
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95; letter-spacing: 0.03em; color: var(--white);
  margin-bottom: 0.75rem;
}
.team-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 500px; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black); border-top: 3px solid var(--red);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand { }
.footer-logo-text {
  font-family: var(--font-display); font-size: 1.2rem;
  letter-spacing: 0.06em; color: var(--white); margin-bottom: 0.75rem;
}
.footer-logo-text em { color: var(--red); font-style: normal; }
.footer-tagline { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 1.25rem; }
.footer-col-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem; padding: 2.5rem 0;
}
.cta-band-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.02em; color: var(--white);
}
.cta-band-sub { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grounds-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .tourn-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .nav-links { display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 1.5rem 3rem; }
  .hero-left::before { font-size: 14rem; opacity: 0.06; }
  .hero-right { padding: 2.5rem 1.5rem; }

  .grounds-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .tourn-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section { padding: 56px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
