@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Outfit:wght@400;700;900&display=swap');

:root {
  --primary: #00ffcc;
  --secondary: #0077ff;
  --bg-dark: #0a0a0c;
  --text-light: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Outfit', sans-serif;
  --font-accent: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  width: 100vw;
}

#vanta-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem 1rem;
  z-index: 1;
  background: radial-gradient(circle at center, transparent, rgba(0,0,0,0.4));
}

/* 1. Countdown Section */
.countdown-container {
  background: transparent;
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation: slideDown 1s ease-out both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.countdown-value {
  font-size: 2.5rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.countdown-divider {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

/* 2. Hero Section */
.hero {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeIn 1.2s ease-out;
}

.logo-container img {
  width: 140px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  margin-bottom: 1rem;
}

.event-title {
  font-family: var(--font-accent);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 30%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.event-date {
  font-size: 1rem;
  font-weight: 400;
  color: #ccc;
  letter-spacing: 0.1em;
}

/* 3. Links Section */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1000px;
  width: 100%;
  margin-bottom: 3rem;
  animation: slideUp 1s ease-out 0.2s both;
}

.link-card {
  text-decoration: none;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 95px;
  position: relative;
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.link-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.link-card p {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.link-card .icon {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.youtube-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.youtube-icon img {
  height: 20px;
}

/* 4. Photos Section */
.photos-sliders {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 1400px;
  height: 400px; /* IMPORTANT: Base height for desktop */
  margin-bottom: 4rem;
  animation: fadeIn 2s ease-out 0.5s both;
}

.slider-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  min-height: 100%; /* Ensure it takes parent height */
}

.slider-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2s ease-in-out, transform 10s linear;
}

.slider-col img.active {
  opacity: 1;
  transform: scale(1);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .countdown-container {
    gap: 0.5rem;
    padding: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .countdown-divider {
    display: none;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }
  
  .link-card {
    min-height: auto;
  }

  .photos-sliders {
    flex-direction: column;
    height: auto;
    min-height: 650px; /* Force room for 3 columns + gaps */
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .slider-col {
    height: 200px !important; /* Explicitly force height */
    width: 100%;
    flex: none; /* Prevent flex-based collapsing */
  }
}
