@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Poppins:wght@300;400;600&display=swap");

:root {
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --primary: #e94560; /* Neon Pink */
  --secondary: #00fff2; /* Neon Cyan */
  --text: #ffffff;
  --text-dim: #a5a5b5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* --- Gaming Navbar --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(15, 15, 26, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary);
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: 0.3s;
  font-family: "Orbitron", sans-serif;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary);
}

.btn {
  padding: 10px 30px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  cursor: pointer;
  transition: 0.3s;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
}
.btn:hover {
  background: var(--secondary);
  color: black;
  box-shadow: 0 0 20px var(--secondary);
  transform: translateY(-3px);
}

/* --- Mobile Menu --- */
.menu-btn {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  height: 90vh;
  background: linear-gradient(
      to right,
      rgba(15, 15, 26, 0.9),
      rgba(15, 15, 26, 0.3)
    ),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.hero-content {
  max-width: 600px;
}
.hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 span {
  color: var(--secondary);
}
.hero p {
  color: var(--text-dim);
  margin-bottom: 30px;
  font-size: 18px;
}

/* --- Grid & Cards --- */
.container {
  padding: 80px 5%;
}
.section-title {
  font-family: "Orbitron", sans-serif;
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  text-transform: uppercase;
}
.section-title span {
  color: var(--primary);
}

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

.game-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(0, 255, 242, 0.2);
}

.card-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.card-info {
  padding: 20px;
}
.game-title {
  font-family: "Orbitron";
  font-size: 18px;
  margin-bottom: 5px;
}
.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 15px;
}
.rating {
  color: #f1c40f;
}
.price {
  color: var(--secondary);
  font-weight: 700;
  font-size: 20px;
}

/* --- Tournament Card --- */
.tour-card {
  background: linear-gradient(45deg, #232526, #414345);
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  transition: 0.3s;
}
.tour-card:hover {
  transform: scale(1.02);
  background: linear-gradient(45deg, #1a1a2e, #16213e);
}
.tour-date {
  background: #000;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  font-family: "Orbitron";
  font-weight: bold;
}
.tour-info h3 {
  font-family: "Orbitron";
  color: white;
  margin-bottom: 5px;
}

/* --- Streamer Card --- */
.streamer-card {
  text-align: center;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.streamer-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin-bottom: 15px;
  object-fit: cover;
}
.live-badge {
  background: red;
  color: white;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 5px;
  animation: pulse 1.5s infinite;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
  }
  .nav-links.active {
    right: 0;
  }
  .tour-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
