:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --primary: #ccff00;
  /* Neon Lime */
  --primary-hover: #b3e600;
  --secondary: #ff0055;
  /* Neon Pink */
  --accent-cyan: #00ffff;
  --accent-purple: #bf00ff;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --spacing-container: 1200px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  75% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(11px, 9999px, 89px, 0);
  }

  20% {
    clip: rect(84px, 9999px, 2px, 0);
  }

  40% {
    clip: rect(18px, 9999px, 66px, 0);
  }

  60% {
    clip: rect(6px, 9999px, 96px, 0);
  }

  80% {
    clip: rect(48px, 9999px, 29px, 0);
  }

  100% {
    clip: rect(74px, 9999px, 7px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
  }

  20% {
    clip: rect(3px, 9999px, 35px, 0);
  }

  40% {
    clip: rect(55px, 9999px, 12px, 0);
  }

  60% {
    clip: rect(16px, 9999px, 87px, 0);
  }

  80% {
    clip: rect(98px, 9999px, 5px, 0);
  }

  100% {
    clip: rect(27px, 9999px, 44px, 0);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--accent-cyan));
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 25px 5px rgba(204, 255, 0, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--text-main);
  color: var(--bg-dark);
  animation: shake 0.4s ease-in-out;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 6rem;
  line-height: 0.9;
  margin-bottom: 20px;
  position: relative;
  color: var(--text-main);
}

.glitch {
  margin: auto;
  width: fit-content;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
}

.glitch::before {
  left: 2px;
  text-shadow: -1px 0 var(--secondary);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -1px 0 var(--accent-cyan);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* About */
.about-section {
  text-align: center;
  background-color: var(--bg-card);
}

.about-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(204, 255, 0, 0.2);
}

.game-card:hover .card-image {
  filter: brightness(1.2);
  transform: scale(1.05);
}

.card-image {
  height: 250px;
  background-color: #222;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--text-muted);
  border-radius: 20px;
}

/* Watch Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.video-card {
  aspect-ratio: 16/9;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.video-card:hover {
  opacity: 0.8;
}

.play-button {
  font-size: 3rem;
  color: var(--text-main);
}

/* Join Section */
.join-section {
  text-align: center;
  background: linear-gradient(45deg, var(--bg-dark), #1a1a1a);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-form {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.signup-form input {
  padding: 15px 20px;
  width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-family: var(--font-body);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.consent-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-section h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.consent-section p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #050505;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  color: #444;
  font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .signup-form {
    flex-direction: column;
    align-items: center;
  }

  .signup-form input {
    width: 100%;
  }
}
