/* CSS Variables - Red Theme */
:root {
  --primary: #c41e3a;      /* Cardinal Red */
  --secondary: #f4d03f;      /* Gold Yellow */
  --accent: #8b0000;        /* Dark Red */
  --dark: #110a01;
  --card: #111111;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.5);
  --border: rgba(196, 30, 58, 0.3);
  --border-hover: rgba(196, 30, 58, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text p:first-child {
  font-size: 0.65rem;
  color: var(--secondary);
  letter-spacing: 0.3em;
}

.logo-text .subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-links a.admin-link {
  background: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.nav-links a.admin-link:hover {
  background: var(--accent);
  color: white !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-top: 80px;
  padding-left: 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1a0508 50%, var(--dark) 100%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-lines .line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.3), transparent);
}

.hero-lines .line:nth-child(1) { top: 25%; }
.hero-lines .line:nth-child(2) { top: 50%; }
.hero-lines .line:nth-child(3) { top: 75%; }

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 600px;
}

.welcome-text {
  color: var(--secondary);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .highlight {
  display: block;
  color: var(--secondary);
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-primary:hover {
  background: #ffe066;
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-box {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Stats Section */
.stats {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), #e63946);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Mission Section */
.mission {
  padding: 6rem 1.5rem;
  background: #0f0f0f;
}

.mission-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-label {
  color: var(--secondary);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.mission-text h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.mission-text .highlight {
  color: var(--primary);
}

.description {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.mission-text .link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  transition: color 0.3s;
}

.mission-text .link:hover {
  color: #ffe066;
}

.mission-text .link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.mission-image .emblem {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(196, 30, 58, 0.2));
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  padding: 2rem;
}

.emblem-circle {
  width: 120px;
  height: 120px;
  border: 4px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.emblem-circle span {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary);
}

.mission-image p {
  color: var(--text-muted);
}

/* Support CTA */
.support-cta {
  padding: 6rem 1.5rem;
  position: relative;
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.2), transparent);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-content .description {
  margin-bottom: 2rem;
}

/* Section Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-header .description {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.video-item video{
  width:100%;
  height:250px;
  object-fit:cover;
}

.slideshow {
  position: relative;
  max-width: 600px;
  margin: 30px auto;
}

.slide {
  width: 100%;
  display: none;
  border-radius: 10px;
}

.slide.active {
  display: block;
}

.overlay p:first-child {
  font-weight: 600;
}

.overlay p:last-child {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Fixtures */
.fixtures-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fixture-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
  flex-wrap: wrap;
  gap: 1rem;
}

.fixture-card:hover {
  border-color: var(--border-hover);
  transform: scale(1.01);
}

.fixture-date {
  text-align: center;
  min-width: 70px;
}

.fixture-date .date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
}

.fixture-match {
  flex: 1;
  text-align: center;
}

.fixture-match .team {
  font-size: 1.2rem;
  font-weight: 700;
}

.fixture-match .vs {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.fixture-info {
  text-align: right;
}

.fixture-info .time {
  color: var(--secondary);
  font-weight: 600;
}

.fixture-info .venue {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.fixture-info .status {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(196, 30, 58, 0.2);
  color: var(--primary);
  font-size: 0.7rem;
  border-radius: 20px;
}

.fixtures-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.2), rgba(196, 30, 58, 0.1));
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.fixtures-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Players */
/* Players Grid - 4 per row */
.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* exactly 4 columns */
  gap: 20px;
  padding: 20px;
}

/* Player Card */
.player-card {
  background: #1a0502;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

/* Circular Image */
.player-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(196, 30, 58, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover zoom */
.player-card:hover .player-photo {
  transform: scale(1.15);
  border-color: #c41e3a;
}

/* Player Number Badge */
.player-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #c41e3a, #8b0000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 10px auto;
}

/* Player Name */
.player-name {
  font-size: 1rem;
  font-weight: 600;
}

/* Info Section */
.player-info {
  padding-top: 8px;
}

.player-info .position {
  color: red;
  font-size: 0.85rem;
  font-weight: 600;
}

.player-info .status {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Responsive (optional) */
@media (max-width: 900px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Support Section */
.bank-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.bank-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bank-card .icon {
  font-size: 1.5rem;
}

.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bank-info div {
  margin-bottom: 1rem;
}

.bank-info .label {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.bank-info .value {
  font-size: 1.1rem;
  font-weight: 600;
}

.bank-info .value.highlight {
  color: var(--secondary);
}

.bank-info .account-number {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* M-Pesa */
.mpesa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mpesa-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.mpesa-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mpesa-card h3 span {
  color: var(--secondary);
}

.mpesa-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* Contact Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  padding: 2rem 1.5rem;
  background: var(--dark);
  border-top: 1px solid var(--border);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  width: 100%;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-content p:first-child {
  margin-bottom: 0.5rem;
}

.footer-content .admin-link {
  display: inline-block !important;
  visibility: visible !important;
  background: var(--primary) !important;
  color: var(--text) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  margin-top: 0.5rem !important;
  transition: all 0.3s !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.footer-content .admin-link:hover {
  background: var(--accent) !important;
  transform: scale(1.05) !important;
  color: white !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Mobile Responsive - REMOVED: conflicts with later media query */
/* All mobile styles consolidated in the @media (max-width: 768px) section below */


  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bank-grid {
    grid-template-columns: 1fr;
  }

  .mpesa-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .fixture-card {
    flex-direction: column;
    text-align: center;
  }

  .fixture-info {
    text-align: center;
  }

@media (max-width: 480px) {
  .players-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 1000;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.dropdown-content a {
  color: var(--text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background-color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Video Section */
.video-section {
  padding: 6rem 1.5rem;
  background: #0f0f0f;
}

.video-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.video-section .section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.video-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.video-section .description {
  color: var(--text-muted);
  margin-top: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-item {
  aspect-ratio: 16/9;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.video-placeholder:hover {
  border-color: var(--primary);
  background: rgba(196, 30, 58, 0.1);
}

.video-placeholder svg {
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  max-width: 45%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  max-height: 70vh;
}

@media (max-width: 768px) {
  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    margin-top: 2rem;
  }
  
  .hero-image img {
    max-height: 40vh;
  }
}

/* About Intro */
.about-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 3rem 1.5rem;
}

.about-intro h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-intro p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Mission Vision */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mission-vision .mission,
.mission-vision .vision,
.mission-vision .philosophy {
  background: var(--card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mission-vision h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.mission-vision p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Team Values */
.team-values {
  max-width: 800px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--card);
  border-radius: 8px;
}

.team-values h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text);
}

.team-values ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.team-values li {
  padding: 1rem;
  background: var(--dark);
  border-radius: 4px;
  border-left: 3px solid var(--primary);
}

.team-values li strong {
  color: var(--secondary);
  display: block;
  margin-bottom: 0.25rem;
}

.team-values li {
  color: var(--text-muted);
}

/* Team Photo */
.team-photo {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1.5rem;
}

.team-photo h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.team-photo p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .mission-vision {
    grid-template-columns: 1fr;
  }
  
  .team-values ul {
    grid-template-columns: 1fr;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   MOBILE NAV PATCH — paste at the bottom of style.css
   ═══════════════════════════════════════════════════════ */

/* Show hamburger on mobile */
@media (max-width: 768px) {

  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-btn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
  }

  .mobile-menu-btn span:nth-child(3) {
    width: 60%;
  }

  /* Hamburger → X animation */
  .mobile-menu-btn.menu-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.menu-open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.menu-open span:nth-child(3) {
    width: 100%;
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hide desktop nav links by default on mobile */
  .nav-links {
    display: none !important;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    z-index: 1000;
    overflow-y: auto;
    border-top: 2px solid #1a7a2e;
  }

  /* Show when toggled open */
  .nav-links.nav-open {
    display: flex !important;
  }

  .nav-links a,
  .nav-links .dropbtn {
    display: block;
    width: 100%;
    padding: 16px 28px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #fff;
    text-decoration: none;
  }

  .nav-links a:hover,
  .nav-links a:active,
  .nav-links .dropbtn:hover {
    background: #1a7a2e;
    padding-left: 36px;
  }

  /* Dropdown sub-links on mobile */
  .nav-links .dropdown-content {
    position: static !important;
    display: block !important;
    background: rgba(255,255,255,0.05) !important;
    box-shadow: none !important;
    border: none !important;
  }

  .nav-links .dropdown-content a {
    padding-left: 44px !important;
    font-size: 14px !important;
    opacity: 0.8;
  }

  /* Ensure footer is visible on mobile */
  footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .footer-content {
    display: block !important;
    visibility: visible !important;
  }

  .footer-content .admin-link {
    display: inline-block !important;
    margin: 1rem 0 !important;
  }
}
