:root {
  --bg-dark: #06080f;
  --bg-card: #0d1222;
  --bg-card-hover: #141b33;
  --primary-blue: #1a56db;
  --primary-red: #e02424;
  --accent-cyan: #06b6d4;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --glass-bg: rgba(13, 18, 34, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-main: linear-gradient(135deg, #1a56db 0%, #e02424 100%);
  --font-heading: 'Bebas Neue', sans-serif;
  --font-sub: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s fade, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  letter-spacing: 2px;
}
.preloader-logo span { color: var(--primary-red); }

.preloader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  margin-top: 15px;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--gradient-main);
  animation: load 1.2s ease forward;
}

@keyframes load { to { width: 100%; } }

/* Scroll Progress & Back to Top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 10000;
  width: 0%;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: 0.3s;
}

.navbar.scrolled {
  background: rgba(6, 8, 15, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.navbar-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: bold;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.logo-text span { color: var(--primary-red); }

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 30px;
}

.navbar-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #fff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 36, 36, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: #fff;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}
.w-full { width: 100%; justify-content: center; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0.7) 0%, rgba(6, 8, 15, 0.95) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content { max-width: 800px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 86, 219, 0.2);
  border: 1px solid rgba(26, 86, 219, 0.4);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d1d5db;
}
.meta-item i { color: var(--primary-red); }

.hero-countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.countdown-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #fff;
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Marquee */
.marquee-section {
  background: var(--gradient-main);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-right: 40px;
  letter-spacing: 1px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Common */
section { padding: 90px 0; }

.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }

.section-tag {
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 1px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 10px auto 0;
}

/* Stats */
.stats-section {
  background: var(--bg-card);
  border-y: 1px solid var(--glass-border);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: #fff;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap { position: relative; }

.about-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-red);
}

.about-features {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 15px;
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: rgba(26, 86, 219, 0.15);
  color: var(--primary-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Events Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
}

.event-img-wrap {
  position: relative;
  height: 220px;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-red { background: var(--primary-red); color: #fff; }
.badge-blue { background: var(--primary-blue); color: #fff; }

.event-date {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--bg-dark);
  padding: 6px 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.event-date span {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-red);
}

.event-body { padding: 25px; }

.event-category {
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.event-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.event-text {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 20px;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 15px;
}

.event-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
}
.event-price span { font-size: 0.8rem; font-family: var(--font-body); color: var(--text-muted); }

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

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item.item-large { grid-column: span 2; }

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 8, 15, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.3s;
}

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

/* How Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 30px 20px;
  border-radius: 12px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.1);
  margin-bottom: 10px;
}

.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Register & Contact */
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-details {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-card);
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.contact-card i {
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.contact-card span { display: block; font-size: 0.8rem; color: var(--text-muted); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 16px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group { margin-bottom: 15px; }

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(6, 8, 15, 0.8);
  border: 1px solid var(--glass-border);
  padding: 12px 15px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
}

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

.form-message {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}

/* Footer */
.footer {
  background: #030408;
  border-top: 1px solid var(--glass-border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
}
.footer-logo span { color: var(--primary-red); }

.brand-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 12px; }

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-socials a:hover { background: var(--primary-blue); }

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-col ul a:hover { color: #fff; }

.footer-col p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 25px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations Scroll Reveal */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: 0.8s ease;
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .register-grid { grid-template-columns: 1fr; }
  .events-grid, .stats-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .events-grid, .stats-grid, .steps-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-item.item-large { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
}
