/* ===========================
   CSS Variables for Gradient Theme
   Requirements: 6.1, 6.2
   =========================== */
:root {
  --gradient-yellow: #FFE866;
  --gradient-cyan: #40E0D0;
  --gradient-blue: #1E3A8A;
}

/* ===========================
   Smooth Scroll Behavior
   Requirement: 8.4
   =========================== */
html {
  scroll-behavior: smooth;
}

/* ===========================
   Body Base Styles
   =========================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Space Mono', monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body, h1, h2, h3, h4, h5, h6, p, a, span, button, div {
  font-family: 'Space Mono', monospace;
}

/* ===========================
   Gradient Backgrounds
   Requirements: 6.1, 6.2, 6.3
   =========================== */
.gradient-bg {
  background: linear-gradient(135deg, var(--gradient-yellow) 0%, var(--gradient-cyan) 50%, var(--gradient-blue) 100%);
}

/* Add this block right here to override the background for the hero section with your GIF */
#hero {
  background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.75), rgba(30, 58, 138, 0.6)), url('../src/k.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gradient-bg-alt {
  background: linear-gradient(45deg, var(--gradient-blue) 0%, var(--gradient-cyan) 50%, var(--gradient-yellow) 100%);
}

/* ===========================
   Gradient Text
   Requirements: 6.3, 6.4
   =========================== */
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-yellow) 0%, var(--gradient-cyan) 50%, var(--gradient-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ===========================
   Navigation Links with Hover Effects
   Requirements: 6.4, 6.5
   =========================== */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: #31bbe9;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-yellow), var(--gradient-cyan));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--gradient-cyan);
}

/* ===========================
   Countdown Timer Styling
   Requirements: 6.4, 6.5
   =========================== */
.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  min-width: 100px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: scale(1.05);
}

/* ===========================
   Schedule Items
   Requirements: 6.4, 6.5
   =========================== */
.schedule-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Media Items
   Requirements: 6.4, 6.5
   =========================== */
.media-item {
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Sponsor Items
   Requirements: 6.4, 6.5
   =========================== */
.sponsor-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Benefit Cards
   Requirements: 6.4, 6.5
   =========================== */
.benefit-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
}

/* ===========================
   Social Icons
   Requirements: 6.4, 6.5
   =========================== */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

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

.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease-in 0.3s backwards;
}

/* ===========================
   Responsive Typography
   Requirement: 8.4
   =========================== */
@media (max-width: 768px) {
  .countdown-item {
    min-width: 70px;
    padding: 1rem;
  }
  
  .countdown-item div:first-child {
    font-size: 2rem;
  }
  
  .countdown-item div:last-child {
    font-size: 0.75rem;
  }
  
  /* Responsive heading sizes */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 4.5rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  h3 {
    font-size: 2rem;
  }
}

/* ===========================
   Mobile Menu
   =========================== */
@media (max-width: 768px) {
  #mobile-menu a {
    transition: background-color 0.3s ease;
  }
  
  #mobile-menu a:hover {
    background-color: rgba(64, 224, 208, 0.1);
  }
}

/* ===========================
   Utility Classes
   =========================== */
.aspect-video {
  aspect-ratio: 16 / 9;
}

.test-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

/* ===========================
   Focus Styles for Accessibility
   =========================== */
a:focus,
button:focus {
  outline: 2px solid var(--gradient-cyan);
  outline-offset: 2px;
}

/* ===========================
   Print Styles
   =========================== */
@media print {
  .gradient-bg,
  .gradient-bg-alt {
    background: white !important;
  }
  
  .gradient-text {
    -webkit-text-fill-color: black;
    color: black;
  }
}
