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

:root {
  --cyan: #00ff88;
  --cyan-dark: #00cc6b;
  --cyan-light: #40ffb3;
  --purple: #7c3aed;
  --pink: #ec4899;
  --dark-bg: #0a0e27;
  --darker-bg: #050812;
  --card-bg: #0f1729;
  --white: #ffffff;
  --gray-light: #b0b8cc;
  --gray-medium: #7a8294;
  --border-color: #1a3a3a;
  --border-light: #2d5d5d;
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background-color: var(--dark-bg);
  color: var(--gray-light);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Added animated background with multiple gradient layers */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0a0e27 0%, #050812 25%, #0f1729 50%, #050812 75%, #0a0e27 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
  z-index: -2;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Added floating background elements */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: glow 8s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ========== NAVIGATION BAR ========== */
.navbar {
  background: linear-gradient(180deg, rgba(5, 8, 18, 0.8) 0%, rgba(5, 8, 18, 0.6) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(0, 255, 136, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
  transition: var(--transition);
}

.navbar:hover {
  box-shadow: 0 12px 48px rgba(0, 255, 136, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 1px;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.4), 0 0 60px rgba(0, 255, 136, 0.2);
  transition: var(--transition);
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo:hover {
  text-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 4px;
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light));
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

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

.register-btn {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: #000;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  letter-spacing: 1.5px;
}

.register-btn:hover::before {
  left: 100%;
}

.register-btn:active {
  transform: translateY(0);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Added multiple layered animated background effects */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: float1 8s ease-in-out infinite;
  filter: blur(40px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: float2 10s ease-in-out infinite reverse;
  filter: blur(40px);
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(40px) translateX(20px) rotate(10deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) translateX(-20px) rotate(-10deg);
  }
}

/* Added third background glow layer */
.hero {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.3) 0%, rgba(5, 8, 18, 0.3) 50%, rgba(10, 14, 39, 0.3) 100%),
    radial-gradient(circle at 30% 60%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 900px;
  animation: slideUp 1s ease-out;
}

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

.hero-title {
  font-size: 5.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan-light) 50%, var(--purple) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.3));
  animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.4));
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
  animation: fadeIn 1.2s ease-out 0.2s both;
}

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

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: fadeIn 1.2s ease-out 0.4s both;
}

.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
  letter-spacing: 1.5px;
}

.btn-secondary {
  background: rgba(0, 255, 136, 0.05);
  color: var(--cyan);
  border: 2px solid var(--cyan);
  box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.1), 0 0 20px rgba(0, 255, 136, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(0, 255, 136, 0.15);
  box-shadow: inset 0 0 30px rgba(0, 255, 136, 0.2), 0 0 30px rgba(0, 255, 136, 0.3);
  transform: translateY(-4px);
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: 8rem 0;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.section-title {
  font-size: 2.8rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  font-weight: 800;
  letter-spacing: -0.5px;
  animation: slideUp 0.8s ease-out;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), transparent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.about-card {
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.6) 0%, rgba(15, 23, 41, 0.3) 100%);
  border: 2px solid rgba(0, 255, 136, 0.1);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: slideUp 0.8s ease-out both;
}

.about-card:nth-child(1) {
  animation-delay: 0.1s;
}
.about-card:nth-child(2) {
  animation-delay: 0.2s;
}
.about-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Enhanced card background effects */
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.about-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--cyan);
  transform: translateY(-12px) translateX(0);
  box-shadow: 0 30px 60px rgba(0, 255, 136, 0.2), inset 0 1px 0 rgba(0, 255, 136, 0.1);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card:hover::after {
  opacity: 1;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2));
}

.about-card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.4));
}

.about-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.about-card p {
  color: var(--gray-light);
  line-height: 1.8;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ========== STRUCTURE SECTION ========== */
.structure {
  padding: 8rem 0;
  position: relative;
}

.structure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.level-card {
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.6) 0%, rgba(15, 23, 41, 0.3) 100%);
  border: 2px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: slideUp 0.8s ease-out both;
}

.level-card:nth-child(1) {
  animation-delay: 0.1s;
}
.level-card:nth-child(2) {
  animation-delay: 0.2s;
}
.level-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Added dynamic background animation */
.level-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.15), transparent);
  transition: var(--transition);
  z-index: 0;
}

.level-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.level-card > * {
  position: relative;
  z-index: 1;
}

.level-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.difficulty {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.level-card.beginner {
  border-color: var(--cyan);
}

.level-card.beginner:hover {
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.4), inset 0 0 30px rgba(0, 255, 136, 0.1);
  transform: translateY(-12px);
  border-color: var(--cyan-light);
}

.level-card.beginner:hover::before {
  top: 0;
}

.level-card.intermediate {
  border-color: #00ccff;
}

.level-card.intermediate:hover {
  box-shadow: 0 0 40px rgba(0, 204, 255, 0.4), inset 0 0 30px rgba(0, 204, 255, 0.1);
  transform: translateY(-12px);
  border-color: #00ffff;
}

.level-card.intermediate:hover::before {
  top: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 204, 255, 0.15), transparent);
}

.level-card.advanced {
  border-color: #ff0099;
}

.level-card.advanced:hover {
  box-shadow: 0 0 40px rgba(255, 0, 153, 0.4), inset 0 0 30px rgba(255, 0, 153, 0.1);
  transform: translateY(-12px);
  border-color: #ff3366;
}

.level-card.advanced:hover::before {
  top: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 153, 0.15), transparent);
}

.level-features {
  list-style: none;
  color: var(--gray-light);
}

.level-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  transition: var(--transition);
}

.level-features li:hover {
  padding-left: 0.5rem;
  color: var(--white);
}

.level-features li:last-child {
  border-bottom: none;
  color: var(--cyan);
  font-weight: 600;
}

/* ========== RULES SECTION ========== */
.rules {
  padding: 8rem 0;
  position: relative;
}

.rules::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.rules-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.rules-column h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.rules-column ul {
  list-style: none;
}

.rules-column li {
  padding: 1rem 0 1rem 2rem;
  color: var(--gray-light);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  font-size: 0.95rem;
  transition: var(--transition);
  animation: slideUp 0.8s ease-out both;
}

.rules-column li:nth-child(1) {
  animation-delay: 0.1s;
}
.rules-column li:nth-child(2) {
  animation-delay: 0.2s;
}
.rules-column li:nth-child(3) {
  animation-delay: 0.3s;
}
.rules-column li:nth-child(4) {
  animation-delay: 0.4s;
}
.rules-column li:nth-child(5) {
  animation-delay: 0.5s;
}

.rules-column li:hover {
  padding-left: 2.5rem;
  color: var(--white);
  background: rgba(0, 255, 136, 0.05);
  border-radius: 4px;
}

.rules-column li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
  font-size: 1.2rem;
  animation: bounce 0.5s ease-out;
}

.rules-column:nth-child(2) li:before {
  content: "✗";
  color: #ff6b6b;
}

@keyframes bounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.code-of-conduct {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
  border: 2px solid var(--cyan);
  border-left: 4px solid var(--cyan);
  padding: 2.5rem;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: slideUp 0.8s ease-out;
}

.code-of-conduct::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.code-of-conduct:hover {
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2), inset 0 1px 0 rgba(0, 255, 136, 0.1);
  transform: translateY(-8px);
}

.code-of-conduct:hover::before {
  opacity: 1;
}

.code-of-conduct h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.code-of-conduct p {
  color: var(--gray-light);
  line-height: 1.8;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ========== SCHEDULE SECTION ========== */
.schedule {
  padding: 8rem 0;
  position: relative;
}

.schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--purple) 50%, transparent 100%);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
  animation: slideIn 0.8s ease-out both;
}

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

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.timeline-marker {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--dark-bg), var(--card-bg));
  border: 3px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin: 0 2.5rem;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1);
  transition: var(--transition);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.6);
  }
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.7), inset 0 0 20px rgba(0, 255, 136, 0.2);
}

.timeline-content {
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.6) 0%, rgba(15, 23, 41, 0.3) 100%);
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  width: calc(50% - 70px);
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.timeline-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--cyan);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2), inset 0 1px 0 rgba(0, 255, 136, 0.1);
  transform: translateY(-8px);
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-content:hover::after {
  opacity: 1;
}

.timeline-content h4 {
  color: var(--cyan);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.timeline-content p {
  color: var(--gray-light);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    flex-direction: column !important;
    justify-content: flex-start;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column !important;
  }

  .timeline-marker {
    margin: 0 0 1.5rem 0;
  }

  .timeline-content {
    width: calc(100% - 100px);
    margin-left: 60px;
  }
}

/* ========== CONTACT & FAQS SECTION ========== */
.contact {
  padding: 8rem 0;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-box,
.faq-box {
  background: linear-gradient(135deg, rgba(15, 23, 41, 0.6) 0%, rgba(15, 23, 41, 0.3) 100%);
  border: 2px solid var(--border-color);
  padding: 3rem;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: slideUp 0.8s ease-out both;
}

.contact-box {
  animation-delay: 0.1s;
}
.faq-box {
  animation-delay: 0.2s;
}

.contact-box::before,
.faq-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.contact-box:hover,
.faq-box:hover {
  border-color: var(--cyan);
  box-shadow: 0 20px 50px rgba(0, 255, 136, 0.2), inset 0 1px 0 rgba(0, 255, 136, 0.1);
  transform: translateY(-12px);
}

.contact-box:hover::before,
.faq-box:hover::before {
  opacity: 1;
}

.contact-box h3,
.faq-box h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.contact-info {
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-info p {
  color: var(--gray-light);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-info p:hover {
  color: var(--white);
}

.contact-info a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
}

.contact-info a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--cyan-light);
}

.contact-info a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.social-btn {
  flex: 1;
  padding: 1rem;
  background-color: rgba(0, 255, 136, 0.05);
  border: 2px solid var(--border-color);
  color: var(--cyan);
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.social-btn:hover {
  background-color: rgba(0, 255, 136, 0.15);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.social-btn:hover::before {
  opacity: 1;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.faq-item:hover {
  padding-left: 1rem;
  border-left: 3px solid var(--cyan);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-item:hover h4 {
  color: var(--cyan);
}

.faq-item p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 2px solid rgba(0, 255, 136, 0.1);
  padding: 3rem 0;
  text-align: center;
  color: var(--gray-medium);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.footer p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .rules-content {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .register-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .about-grid,
  .levels-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-box,
  .faq-box {
    padding: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }

  .nav-container {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-menu {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .register-btn {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .hero::before,
  .hero::after {
    width: 400px;
    height: 400px;
  }
}
