/* ========================================
   X ROBOTICS CHALLENGE - PREMIUM DESIGN
   ======================================== */

/* CSS Variables */
:root {
  --primary: #00f0ff;
  --primary-dark: #00c4cc;
  --secondary: #ff3d00;
  --secondary-light: #ff6d33;
  --accent: #7c3aed;
  --bg-dark: #030014;
  --bg-darker: #010008;
  --bg-card: rgba(15, 15, 35, 0.8);
  --bg-card-hover: rgba(25, 25, 55, 0.9);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #7c3aed 50%, #ff3d00 100%);
  --gradient-secondary: linear-gradient(135deg, #ff3d00 0%, #ff9100 100%);
  --gradient-dark: linear-gradient(180deg, #030014 0%, #0a0a2e 50%, #030014 100%);
  --shadow-glow: 0 0 40px rgba(0, 240, 255, 0.3);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-heading: 'Orbitron', sans-serif;
  --font-subheading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--bg-dark);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Text Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
}

.loader-ring:nth-child(1) {
  border-top-color: var(--primary);
  animation: spin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
  border-right-color: var(--secondary);
  animation: spin 2s linear infinite reverse;
}

.loader-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor, .cursor-follower {
  display: none;
}

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
  }

  .cursor-follower {
    display: block;
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
  }

  .cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
  }
}

/* ========================================
   NAVBAR
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
}

.nav.scrolled {
  background: rgba(3, 0, 20, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: var(--font-heading);
}

.logo-x {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.logo-badge {
  font-size: 0.6rem;
  padding: 4px 8px;
  background: var(--gradient-secondary);
  border-radius: 4px;
  color: white;
  font-weight: 600;
  margin-left: 5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--gradient-secondary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(255, 61, 0, 0.4);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 61, 0, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 30px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 61, 0, 0.05) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  
  margin-bottom: 60px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-subheading);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  animation: fadeInDown 0.8s ease, badgeGlow 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 0 30px rgba(0, 240, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 50px rgba(0, 240, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

.pulse {
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
  position: relative;
}

.pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulseRing 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
  display: block;
}

.title-line .letter {
  display: inline-block;
  font-size: 1.2em;
  color: var(--primary);
  text-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
  animation: letterGlow 2s ease-in-out infinite;
}

.title-line.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes letterGlow {
  0%, 100% { text-shadow: 0 0 40px rgba(0, 240, 255, 0.8); }
  50% { text-shadow: 0 0 80px rgba(0, 240, 255, 1), 0 0 120px rgba(0, 240, 255, 0.6); }
}

.hero-subtitle {
  font-family: var(--font-subheading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 15px;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.separator {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 60px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-dark);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-color);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

.hero-socials {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-socials a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.hero-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(-5px);
  box-shadow: var(--shadow-glow);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   MARQUEE
   ======================================== */
.marquee-section {
  background: linear-gradient(90deg, var(--bg-dark), var(--bg-darker), var(--bg-dark));
  padding: 25px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee {
  display: flex;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 50px;
  letter-spacing: 3px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   SEASON SECTION
   ======================================== */
.season-section {
  padding: 120px 0;
  background: var(--gradient-dark);
  position: relative;
}

.theme-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 60px;
  text-align: center;
  margin-bottom: 80px;
  overflow: hidden;
}

.theme-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.theme-content {
  position: relative;
  z-index: 1;
}

.theme-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.theme-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.theme-title span {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-title .dot {
  background: none;
  -webkit-text-fill-color: var(--text-muted);
  margin: 0 15px;
}

.theme-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.season-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 20px;
  font-size: 2rem;
  color: var(--primary);
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.season-countdown {
  text-align: center;
}

.season-countdown h4 {
  font-family: var(--font-subheading);
  font-size: 1.2rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.countdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px 40px;
  min-width: 120px;
}

.countdown-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
}

.countdown-separator {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-muted);
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
  padding: 120px 0;
  background: var(--bg-darker);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 50px 35px;
  text-align: center;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--shadow-card);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card.featured {
  border-color: var(--secondary);
  background: linear-gradient(180deg, rgba(255, 61, 0, 0.1) 0%, var(--bg-card) 50%);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 15px;
  background: var(--gradient-secondary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.card-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 25px;
  font-size: 2.5rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.category-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-grade {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.category-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.card-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
}

.card-features li i {
  color: var(--primary);
  font-size: 0.8rem;
}

.card-btn {
  display: inline-block;
  width: 100%;
  padding: 15px 30px;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.card-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--bg-dark);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-section {
  padding: 120px 0;
  background: var(--gradient-dark);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border: 3px solid var(--primary);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  z-index: 1;
}

.timeline-content {
  width: calc(50% - 80px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 15px;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.timeline-date {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(124, 58, 237, 0.05));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 50px 30px;
  text-align: center;
  transition: all var(--transition-normal);
}

.stats-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.stats-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(124, 58, 237, 0.15));
  border-radius: 20px;
  font-size: 1.8rem;
  color: var(--primary);
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stats-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* ========================================
   WHY XRC SECTION
   ======================================== */
.why-section {
  padding: 120px 0;
  background: var(--bg-darker);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 50px 35px;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.why-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(124, 58, 237, 0.15));
  border-radius: 20px;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: 120px 0;
  background: var(--gradient-dark);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 40px;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.testimonial-quote {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   SPONSORS SECTION
   ======================================== */
.sponsors-section {
  padding: 80px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.sponsors-section h3 {
  text-align: center;
  font-family: var(--font-subheading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.sponsor-item {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all var(--transition-normal);
}

.sponsor-item:hover {
  opacity: 1;
  color: var(--primary);
}

/* ========================================
   REGISTER SECTION
   ======================================== */
.register-section {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}

.register-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff3d00 0%, #ff6d33 30%, #ff9100 60%, #ffab00 100%);
}

.register-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 30%;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.register-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.register-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.register-title span {
  display: inline-block;
  position: relative;
}

.register-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.register-desc {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 50px;
}

.register-form {
  max-width: 700px;
  margin: 0 auto 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 18px 20px 18px 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  font-size: 1rem;
  color: white;
  transition: all var(--transition-normal);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group select option {
  color: var(--bg-dark);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

.form-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 20px 40px;
  background: var(--bg-dark);
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.register-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.register-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.register-feature i {
  font-size: 1.2rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-darker);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  color: white;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  padding: 15px 20px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: var(--bg-dark);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--bg-dark);
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .nav-container {
    padding: 0 30px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-card {
    padding: 40px;
  }

  .season-section,
  .how-section,
  .categories-section,
  .why-section,
  .testimonials-section {
    padding: 100px 0;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: right var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1000;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero-socials {
    display: none;
  }
  
  .season-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 80px;
  }
  
  .timeline-number {
    left: 30px;
  }
  
  .timeline-content {
    width: 100%;
  }

  .register-section {
    padding: 100px 0;
  }

  .register-desc {
    margin-bottom: 30px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-badge {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .hero-tagline {
    gap: 12px;
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .stat-divider {
    width: 50px;
    height: 1px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .season-section,
  .how-section,
  .categories-section,
  .why-section,
  .testimonials-section {
    padding: 70px 0;
  }

  .theme-card {
    padding: 30px 20px;
  }

  .theme-title .dot {
    margin: 0 8px;
  }
  
  .countdown-timer {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .countdown-item {
    min-width: 100px;
    padding: 20px 25px;
  }

  .countdown-number {
    font-size: 2.2rem;
  }

  .countdown-separator {
    font-size: 1.8rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    padding: 35px 25px;
  }

  .timeline-item {
    margin-bottom: 50px;
  }

  .timeline-content {
    padding: 30px 20px;
  }

  .stats-section {
    padding: 70px 0;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 35px 25px;
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 30px 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .register-section {
    padding: 80px 0;
  }

  .register-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .register-form {
    margin-bottom: 30px;
  }

  .form-group input,
  .form-group select {
    padding: 15px 18px 15px 45px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    padding: 50px 0 40px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .sponsors-section {
    padding: 50px 0;
  }

  .sponsors-grid {
    gap: 30px;
  }

  .marquee-content span {
    font-size: 1rem;
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .nav-container {
    padding: 0 16px;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
    padding: 90px 30px 40px;
  }

  .logo-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .logo-badge {
    display: none;
  }

  .logo-x {
    font-size: 1.6rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .season-section,
  .how-section,
  .categories-section,
  .why-section,
  .testimonials-section {
    padding: 50px 0;
  }

  .theme-card {
    padding: 25px 16px;
  }

  .season-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 15px 12px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    padding: 35px 20px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-number {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    left: 22px;
  }

  .timeline-line {
    left: 22px;
  }

  .category-card {
    padding: 30px 20px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .register-features {
    flex-direction: column;
    gap: 15px;
  }

  .register-section {
    padding: 60px 0;
  }
  
  .sponsors-grid {
    gap: 20px;
  }
  
  .sponsor-item {
    font-size: 1.2rem;
  }

  .footer-socials {
    justify-content: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* AOS Animation Override for Mobile */
@media (max-width: 768px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
  }
}

footer {
  padding: 20px;
  text-align: center;
  background: #000;
}
