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

body {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background-color: #000; /* fallback background */
}

a { text-decoration: none; color: inherit; }
.section { padding: 60px 20px; text-align: center; }
h1, h2, h3 { color: #ff6f61; }
h4 { color: rgb(112, 142, 160); }

/* Navbar */
.nav {
  background: #111;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  flex-wrap: wrap;
}
.nav .brand {
  font-weight: 600;
  color: #ff6f61;
  display: flex;
  align-items: center;
}
.nav .brand img { height: 40px; margin-right: 10px; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links a:hover, .nav-links a.active { color: #ff6f61; }

/* Hero & Page Hero */
.hero, .page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 60vh;
  overflow: hidden;

  /* Set background directly */
  background: url('assets/hero-bg.webp') center/cover no-repeat;
}

/* Remove pseudo-element background */
.hero::before,
.page-hero::before { display: none; }

/* Particles inside hero */
#tsparticles {
  position: absolute; /* relative to hero */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* between background and overlay */
}

/* Overlay content stays above everything */
.overlay {
  background: rgba(0,0,0,0.5);
  padding: 40px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.glitch {
  font-family:'Press Start 2P', cursive;
  font-size:3em;
  position:relative;
  color:#ff6f61;
}
.hero p, .page-hero p { margin-top: 20px; font-size: 1.2em; }

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background: #ff6f61;
  color: #fff;
  border-radius: 5px;
  transition: .3s;
}
.btn:hover { background: #ff4c3b; }

/* Cards */
.event-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  transition: .3s;
  position: relative;
  overflow: hidden;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff6f61;
}

/* Highlights Section */
.section.highlights {
  background: rgba(10, 10, 10, 0.8);
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1200px;
}

/* VR Banner */
.vr-banner {
  background: linear-gradient(135deg, #ff003c, #ff6f61);
  padding: 40px 20px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1000px;
}
.vr-banner h2 { margin-bottom: 10px; font-size: 2em; }
.vr-banner p { font-size: 1.1em; }

/* Footer */
footer {
  background: #111;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
}

/* Register Button */
.register-highlight {
  background: linear-gradient(90deg, #ff003c, #ff0000);
  padding: 8px 15px;
  border-radius: 8px;
  color: white !important;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(255,0,60,0.6);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  display: inline-block;
}
.register-highlight:hover {
  background: linear-gradient(90deg, #ff0000, #ff0000);
  box-shadow: 0 0 20px rgba(255,0,60,0.8);
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background: #1a1a1a;
  color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px #ff0000;
}

.modal-content h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #ff0000;
}

.qr-image { width: 200px; height: 200px; border-radius: 10px; }
.close { color: #ff0000; float: right; font-size: 24px; cursor: pointer; }

/* Responsive */
@media(max-width:768px){
  .hero, .page-hero { height: 80vh; min-height: 50vh; }
  .glitch { font-size: 2em; }
  .overlay { padding: 20px; }

  .card { width: 90%; max-width: none; }
  .section { padding: 40px 10px; }

  .nav-inner { justify-content: center; gap: 5px; padding: 5px 10px; }
  .nav-links { flex-direction: row; flex-wrap: wrap; gap: 5px; width: auto; justify-content: center; }
  .nav-links li { width: auto; text-align: center; }
  .nav-links a { display: block; padding: 8px 10px; font-size: 0.9em; }

  .register-highlight {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: auto;
    padding: 6px 12px;
    font-size: 0.9em;
    margin: 0;
    z-index: 999;
  }
}
