/* ============================================
   OPEX LOCK DOWN RP / PvP - STYLES
   Theme: War / Apocalyptic / Neon
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #14141e;
  --bg-card-hover: #1a1a28;
  --neon-green: #39ff14;
  --neon-green-dim: #39ff1444;
  --neon-green-glow: #39ff1422;
  --neon-amber: #ff9f1c;
  --neon-amber-dim: #ff9f1c44;
  --neon-red: #ff3131;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-muted: #555570;
  --border-color: #222233;
  --border-glow: #39ff1433;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-green), var(--neon-amber));
  border-radius: 4px;
  box-shadow: 0 0 10px var(--neon-green-dim);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-green), #fff);
  box-shadow: 0 0 20px var(--neon-green);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--neon-green) var(--bg-primary);
}

/* ---- Selection ---- */
::selection {
  background: var(--neon-green);
  color: var(--bg-primary);
}

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section-tag.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.1s;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.section-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green-dim);
  box-shadow: 0 0 15px var(--neon-green-glow), inset 0 0 15px var(--neon-green-glow);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--neon-green-dim);
  border-radius: 50%;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--neon-green);
  text-shadow: 0 0 20px var(--neon-green-dim);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--neon-green);
  background: var(--neon-green-glow);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--neon-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  box-shadow: 0 0 6px var(--neon-green);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  transform: scaleX(1);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.7);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.4) 0%,
    rgba(10, 10, 15, 0.6) 50%,
    var(--bg-primary) 100%
  );
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.05) 2px,
    rgba(0, 0, 0, 0.05) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--neon-green-dim);
  padding: 6px 20px;
  border-radius: 100px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--neon-green);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-green); }
  50% { opacity: 0.4; box-shadow: 0 0 4px var(--neon-green); }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 8px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-title .line-1 {
  display: block;
  color: var(--text-primary);
}

.hero-title .line-2 {
  display: block;
  color: var(--neon-green);
  text-shadow: 0 0 40px var(--neon-green-dim), 0 0 80px var(--neon-green-glow);
}

.hero-title .line-3 {
  display: block;
  font-size: 0.45em;
  font-weight: 500;
  color: var(--neon-amber);
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-top: 8px;
  text-shadow: 0 0 30px var(--neon-amber-dim);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 24px auto 40px;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--neon-green);
  color: var(--bg-primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px var(--neon-green-dim), 0 4px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 40px var(--neon-green-dim), 0 4px 30px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 20px var(--neon-green-glow);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  animation: fadeInUp 1s ease 1s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 20px var(--neon-green-dim);
}

.hero-stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-indicator span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--neon-green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 20px; }
}

/* ---- Section Spacing ---- */
section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green-dim), transparent);
}

/* ---- Rules Teaser Section ---- */
.rules-teaser {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.rules-teaser.visible {
  opacity: 1;
  transform: translateY(0);
}

.rules-teaser-content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}

.rules-teaser-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid var(--neon-green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--neon-green);
}

.rules-teaser-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.rules-teaser-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

.rules-teaser-highlights {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.rules-highlight {
  display: flex;
  flex-direction: column;
}

.rules-highlight-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 20px var(--neon-green-dim);
}

.rules-highlight-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.rules-teaser-btn {
  align-self: flex-start;
}

.rules-teaser-preview {
  width: 320px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rules-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  cursor: default;
}

.rules-preview-item:hover {
  background: rgba(57, 255, 20, 0.04);
  color: var(--text-primary);
}

.rules-preview-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--neon-green);
  opacity: 0.5;
  min-width: 20px;
}

/* ---- Info Section ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  border-color: var(--neon-green-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 15px var(--neon-green-glow);
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neon-green-glow);
  border: 1px solid var(--neon-green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--neon-green);
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  box-shadow: 0 0 20px var(--neon-green-dim);
  background: var(--neon-green-dim);
}

.info-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- Keybinds Section ---- */
.keybinds-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.keybind-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
}

.keybind-row.visible {
  opacity: 1;
  transform: translateX(0);
}

.keybind-row:hover {
  border-color: var(--neon-green-dim);
  background: var(--bg-card-hover);
}

.keybind-action {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.keybind-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--neon-green);
  letter-spacing: 1px;
  box-shadow: 0 2px 0 var(--border-color);
  text-transform: uppercase;
}

.key-separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ---- Discord Section ---- */
.discord-section {
  text-align: center;
}

.discord-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.discord-card.visible {
  opacity: 1;
  transform: scale(1);
}

.discord-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.discord-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(88, 101, 242, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.discord-logo svg {
  width: 36px;
  height: 36px;
  fill: #5865F2;
}

.discord-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.discord-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 450px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #5865F2;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.discord-members {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.discord-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.discord-stat .dot-online {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.discord-stat .dot-members {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
}

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

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-green);
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

/* ---- Events Section ---- */
.events-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.events-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-green), var(--neon-amber), transparent);
}

.event-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.event-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.event-dot {
  position: absolute;
  left: 16px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green-dim);
}

.event-item.upcoming .event-dot {
  background: var(--neon-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.event-date {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--neon-amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.event-card:hover {
  border-color: var(--neon-green-dim);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 15px var(--neon-green-glow);
}

.event-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.event-badge.live {
  background: rgba(255, 49, 49, 0.12);
  color: var(--neon-red);
  border: 1px solid rgba(255, 49, 49, 0.3);
}

.event-badge.upcoming {
  background: var(--neon-green-glow);
  color: var(--neon-green);
  border: 1px solid var(--neon-green-dim);
}

.event-badge.completed {
  background: rgba(136, 136, 160, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(136, 136, 160, 0.2);
}

.event-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border: 2px solid var(--neon-green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--neon-green);
}

.footer-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

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

/* ---- Glitch Effect ---- */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch::before {
  animation: glitch-1 3s ease-in-out infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  color: var(--neon-green);
  opacity: 0.5;
}

.glitch::after {
  animation: glitch-2 3s ease-in-out infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  color: var(--neon-amber);
  opacity: 0.3;
}

@keyframes glitch-1 {
  0%, 92%, 100% { transform: translate(0); }
  93% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
  95% { transform: translate(-2px, 0); }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); }
  91% { transform: translate(2px, -1px); }
  92% { transform: translate(-3px, 1px); }
  93% { transform: translate(1px, 0); }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---- Noise Overlay (pseudo-element on body) ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ---- Mobile Nav ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text-secondary);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.3s ease;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--neon-green);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .navbar-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .keybinds-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .events-timeline::before {
    left: 16px;
  }

  .event-item {
    padding-left: 56px;
  }

  .event-dot {
    left: 8px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 64px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .discord-card {
    padding: 40px 24px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
