:root {
  --alien-primary: #00ff88;
  --alien-secondary: #00d4ff;
  --alien-accent: #ff00ff;
  --alien-dark: #0a0e27;
  --alien-darker: #050810;
  --alien-glow: #00ff88;
  --alien-purple: #8b5cf6;
  --alien-cyan: #06b6d4;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --bg-primary: #0a0e27;
  --bg-secondary: #151b3d;
  --bg-card: rgba(21, 27, 61, 0.6);
  --border-glow: rgba(0, 255, 136, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--alien-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background */
/* body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(0, 255, 136, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: -1;
  animation: backgroundPulse 8s ease-in-out infinite;
} */

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Floating Stars */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(2px 2px at 60% 70%, #fff, transparent),
    radial-gradient(1px 1px at 50% 50%, #fff, transparent),
    radial-gradient(1px 1px at 80% 10%, #fff, transparent),
    radial-gradient(2px 2px at 90% 60%, #fff, transparent),
    radial-gradient(1px 1px at 33% 80%, #fff, transparent),
    radial-gradient(1px 1px at 70% 40%, #fff, transparent);
  background-repeat: repeat;
  background-size: 200% 200%;
  animation: starMove 20s linear infinite;
  z-index: -1;
  opacity: 0.6;
}

@keyframes starMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-glow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--alien-glow));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px var(--alien-glow));
  }
  50% {
    filter: drop-shadow(0 0 20px var(--alien-glow));
  }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(
    90deg,
    var(--alien-primary),
    var(--alien-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--alien-primary);
  border-radius: 3px;
  transition: all 0.3s;
  box-shadow: 0 0 5px var(--alien-glow);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--alien-primary);
  transition: width 0.3s;
  box-shadow: 0 0 5px var(--alien-glow);
}

nav a:hover {
  color: var(--alien-primary);
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-glow);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px;
  border-left: 3px solid transparent;
  transition: all 0.3s;
}

.mobile-menu a:hover {
  color: var(--alien-primary);
  border-left-color: var(--alien-primary);
  padding-left: 20px;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.65);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@keyframes heroPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    90deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--alien-primary), var(--alien-cyan));
  color: var(--alien-darker);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4), 0 0 20px rgba(0, 255, 136, 0.2),
    inset 0 0 10px rgba(0, 255, 136, 0.1);
  border: 2px solid var(--alien-primary);
  position: relative;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple),
    var(--alien-primary)
  );
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 255, 136, 0.8), 0 0 40px rgba(0, 255, 136, 0.4),
    inset 0 0 15px rgba(0, 255, 136, 0.2);
  animation: buttonPulse 1s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.8),
      0 0 40px rgba(0, 255, 136, 0.4), inset 0 0 15px rgba(0, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 8px 35px rgba(0, 255, 136, 1), 0 0 60px rgba(0, 255, 136, 0.6),
      inset 0 0 20px rgba(0, 255, 136, 0.3);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-secondary {
  background: transparent;
  color: var(--alien-primary);
  border: 2px solid var(--alien-primary);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3),
    inset 0 0 10px rgba(0, 255, 136, 0.1);
  position: relative;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple),
    var(--alien-primary)
  );
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

.btn-secondary:hover::after {
  opacity: 0.3;
}

.btn-secondary:hover {
  background: var(--alien-primary);
  color: var(--alien-darker);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.8),
    inset 0 0 20px rgba(0, 255, 136, 0.2), 0 0 60px rgba(0, 255, 136, 0.4);
  border-color: var(--alien-secondary);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    var(--alien-primary),
    var(--alien-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Content Blocks */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 4rem 0;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 2px solid var(--border-glow);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1),
    inset 0 0 20px rgba(0, 255, 136, 0.05);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple),
    var(--alien-cyan),
    var(--alien-primary)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  background-size: 400% 400%;
  animation: borderGlow 4s ease infinite;
}

.content-block:hover::before {
  opacity: 0.6;
}

.content-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.3),
    0 0 60px rgba(0, 255, 136, 0.2), inset 0 0 30px rgba(0, 255, 136, 0.1);
  border-color: var(--alien-primary);
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.content-block:nth-child(even) {
  direction: rtl;
}

.content-block:nth-child(even) > * {
  direction: ltr;
}

.content-block img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
  transition: all 0.3s;
}

.content-block:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 255, 136, 0.5);
}

.content-block-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--alien-primary);
}

.content-block-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.game-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--border-glow);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1),
    inset 0 0 15px rgba(0, 255, 136, 0.05);
}

.game-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple),
    var(--alien-cyan),
    var(--alien-primary)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  background-size: 400% 400%;
  animation: borderGlow 4s ease infinite;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 136, 0.1),
    transparent
  );
  transition: left 0.6s;
}

.game-card:hover::before {
  opacity: 0.7;
}

.game-card:hover::after {
  left: 100%;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--alien-primary);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4),
    0 0 60px rgba(0, 255, 136, 0.3), inset 0 0 25px rgba(0, 255, 136, 0.15);
}

.game-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--alien-primary);
}

.game-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Age Verification Modal */
.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.age-modal.active {
  display: flex;
}

.age-modal-content {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid var(--alien-primary);
  text-align: center;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3),
    0 0 80px rgba(0, 255, 136, 0.2), inset 0 0 30px rgba(0, 255, 136, 0.1);
  animation: modalAppear 0.5s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.age-modal-content::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple),
    var(--alien-cyan),
    var(--alien-primary)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
  background-size: 400% 400%;
  animation: borderGlow 4s ease infinite;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.age-modal-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--alien-primary);
}

.age-modal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.age-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Cookies Banner */
.cookies-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--alien-primary);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 255, 136, 0.2);
}

.cookies-banner.active {
  display: block;
}

.cookies-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookies-text {
  flex: 1;
  color: var(--text-secondary);
}

.cookies-buttons {
  display: flex;
  gap: 1rem;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border-glow);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--alien-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.footer-section a:hover {
  color: var(--alien-primary);
  padding-left: 5px;
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glow);
  color: var(--text-secondary);
}

/* Game Page */
.game-page {
  padding: 3rem 0;
}

.game-header {
  text-align: center;
  margin-bottom: 3rem;
}

.game-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    var(--alien-primary),
    var(--alien-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-iframe-container {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--border-glow);
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1),
    inset 0 0 20px rgba(0, 255, 136, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.game-iframe-container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--alien-primary),
    var(--alien-secondary),
    var(--alien-purple),
    var(--alien-cyan),
    var(--alien-primary)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  background-size: 400% 400%;
  animation: borderGlow 4s ease infinite;
}

.game-iframe-container:hover {
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.3),
    0 0 60px rgba(0, 255, 136, 0.2), inset 0 0 30px rgba(0, 255, 136, 0.1);
  border-color: var(--alien-primary);
  transform: translateY(-2px);
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 15px;
}

/* Legal Pages */
.legal-page {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--alien-primary);
}

.legal-page h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--alien-secondary);
}

.legal-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-page ul {
  color: var(--text-secondary);
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .content-block {
    grid-template-columns: 1fr;
  }

  .content-block:nth-child(even) {
    direction: ltr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .cookies-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .game-iframe {
    height: 400px;
  }
}
