:root {
  --bg-color: #050505;
  --card-bg: #111111;
  --stark-red: #ED1D24;
  --arc-blue: #00D2FF;
  --infinity-gold: #FFD700;
  --text-main: #E0E0E0;
  --text-dim: #A0A0A0;
  --modal-overlay: rgba(0, 0, 0, 0.9);
  
  --font-heading: 'Impact', 'Arial Black', sans-serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  --shadow-blue: 0 0 15px rgba(0, 210, 255, 0.4);
  --shadow-red: 0 0 15px rgba(237, 29, 36, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Utilities */
.text-stark { color: var(--stark-red); }
.text-arc { color: var(--arc-blue); }
.hidden { display: none !important; }

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 2px solid var(--stark-red);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.logo img { height: 40px; filter: drop-shadow(0 0 5px var(--stark-red)); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--arc-blue); text-shadow: 0 0 8px var(--arc-blue); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--arc-blue); cursor: pointer; }

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(rgba(5, 5, 5, 0.6), rgba(5, 5, 5, 0.9)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(to bottom, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.5));
}
.hero p {
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--arc-blue);
  letter-spacing: 3px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.btn-cta {
  padding: 1rem 2.5rem;
  background: rgba(237, 29, 36, 0.1);
  border: 1px solid var(--stark-red);
  color: white;
  font-family: var(--font-heading);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}
.btn-cta:hover { background: var(--stark-red); box-shadow: 0 0 20px rgba(237, 29, 36, 0.6); }

/* Events Grid */
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; }
.category-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  border-left: 5px solid var(--stark-red);
  padding-left: 1rem;
  text-transform: uppercase;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.event-card {
  background: var(--card-bg);
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-blue); border-color: var(--arc-blue); }
.card-image { height: 180px; width: 100%; object-fit: cover; border-bottom: 1px solid var(--stark-red); }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.card-content p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1rem; flex-grow: 1; }
.card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid #444;
  color: var(--arc-blue);
  text-transform: uppercase;
}
.btn-register-card {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid var(--arc-blue);
  color: var(--arc-blue);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-heading);
}
.btn-register-card:hover { background: rgba(0, 210, 255, 0.1); box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); }

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--modal-overlay);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
  background: #0a0a0a;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--stark-red);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 0 30px rgba(237, 29, 36, 0.2);
  clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header {
  background: rgba(237, 29, 36, 0.1);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2 { font-family: var(--font-heading); color: var(--stark-red); font-size: 1.2rem; margin: 0; }
.btn-close { background: none; border: none; color: #666; font-size: 2rem; cursor: pointer; line-height: 1; }
.btn-close:hover { color: white; }
.modal-body { padding: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; color: var(--arc-blue); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 0.4rem; }
.form-control {
  width: 100%;
  padding: 0.8rem;
  background: #151515;
  border: 1px solid #333;
  color: white;
  font-family: var(--font-body);
}
.form-control:focus { outline: none; border-color: var(--arc-blue); }
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--stark-red);
  color: white;
  border: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover { background: #c31319; box-shadow: 0 0 15px rgba(237, 29, 36, 0.5); }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px);
    background: black; flex-direction: column; align-items: center; padding-top: 3rem;
    transition: right 0.3s ease; border-top: 1px solid #333;
  }
  .nav-links.active { right: 0; }
}
