/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #0f0320;
  --secondary-bg: #1a0633;
  --gradient-start: #c940a1;
  --gradient-mid: #874fc5;
  --gradient-end: #3db8d9;
  --text-primary: #ffffff;
  --text-secondary: #e0d5ff;
  --accent-pink: #ff2bc2;
  --accent-cyan: #00d9ff;
  --accent-yellow: #ffeb3b;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Age Gate Modal */
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 2, 20, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(20px);
}

.age-gate.hidden {
  display: none;
}

.age-gate-content {
  background: linear-gradient(135deg, #250b44 0%, #391a76 100%);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  border: 2px solid var(--gradient-start);
  box-shadow: 0 20px 60px rgba(201, 64, 161, 0.3);
}

.age-gate-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.age-gate-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #250b44 0%, #1a0633 100%);
  padding: 1.5rem;
  z-index: 9999;
  border-top: 2px solid var(--gradient-start);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  color: var(--text-secondary);
}

.cookie-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(37, 11, 68, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.nav-right {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn-small {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--accent-pink), #c940a1);
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 43, 194, 0.3);
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 43, 194, 0.5);
}

.btn-large {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
}

.btn-play {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
  color: white;
  box-shadow: 0 8px 25px rgba(255, 43, 194, 0.4);
  position: relative;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  margin-top: 1.5rem;
}

.btn-play::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 ease;
}

.btn-play:hover::before {
  left: 100%;
}

.btn-play:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 43, 194, 0.7), 0 0 30px rgba(0, 217, 255, 0.5);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
}

.btn-play:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-learn {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
}

.btn-learn:hover {
  background: var(--accent-cyan);
  color: var(--primary-bg);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.hero-title {
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-cyan) 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient 3s linear infinite;
}

@keyframes gradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-card {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(201, 64, 161, 0.2), rgba(61, 184, 217, 0.2));
  border: 2px solid var(--gradient-start);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(201, 64, 161, 0.4);
  border-color: var(--accent-cyan);
}

/* Games Section */
.games {
  padding: 6rem 4rem;
  background: linear-gradient(180deg, rgba(37, 11, 68, 0.5) 0%, rgba(26, 6, 51, 0.5) 100%);
}

.games-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent-pink) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.bento-item {
  background: linear-gradient(135deg, rgba(57, 26, 118, 0.6), rgba(37, 11, 68, 0.6));
  border: 2px solid var(--gradient-start);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.bento-item:hover::before {
  left: 100%;
}

.bento-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 40px rgba(61, 184, 217, 0.3);
}

.bento-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.bento-item:hover .bento-image {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(61, 184, 217, 0.4);
}

.bento-emoji {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.bento-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.bento-players {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Features Section */
.features {
  padding: 6rem 4rem;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.features-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: linear-gradient(135deg, rgba(37, 11, 68, 0.8), rgba(26, 6, 51, 0.8));
  padding: 2.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--gradient-start);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
  border-left-color: var(--accent-cyan);
  box-shadow: -5px 0 20px rgba(61, 184, 217, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Stats Section */
.stats {
  padding: 6rem 4rem;
  background: linear-gradient(180deg, rgba(37, 11, 68, 0.5) 0%, rgba(26, 6, 51, 0.5) 100%);
}

.stats-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.isometric-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-box {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(201, 64, 161, 0.3);
}

.stat-box:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 20px 50px rgba(61, 184, 217, 0.4);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-bg);
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(15, 3, 32, 0.8);
}

/* CTA Section */
.cta {
  padding: 6rem 4rem;
  background: linear-gradient(135deg, #250b44 0%, #391a76 50%, #2d4c55 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 43, 194, 0.1), transparent);
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-btn {
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.2rem;
  background: var(--accent-yellow);
  color: var(--primary-bg);
  box-shadow: 0 10px 30px rgba(255, 235, 59, 0.4);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 235, 59, 0.6);
}

/* Footer */
footer {
  background: var(--primary-bg);
  padding: 4rem 4rem 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-pink);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

/* Responsible Gaming Logos */
.responsible-logos {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 11, 68, 0.5), rgba(57, 26, 118, 0.5));
  border-radius: 15px;
  text-align: center;
}

.responsible-logos h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent-cyan);
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logo-grid img {
  height: 80px;
  width: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(0.9);
  display: block;
}

.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 180px;
}

.logo-grid img:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Age Notice */
.age-notice {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 43, 194, 0.2), rgba(61, 184, 217, 0.2));
  border: 2px solid var(--accent-pink);
  border-radius: 15px;
  text-align: center;
}

.age-notice h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-pink);
}

.age-notice p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-secondary);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* Responsive Design */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 4rem 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .games,
  .features,
  .stats,
  .cta {
    padding: 4rem 2rem;
  }

  footer {
    padding: 3rem 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    text-align: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .isometric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .games-title,
  .features-title,
  .stats-title,
  .cta-title {
    font-size: 2rem;
  }

  .logo-grid {
    gap: 1.5rem;
  }

  .logo-grid img,
  .logo-grid a {
    height: 60px;
    width: 140px;
  }

  .age-gate-content {
    padding: 2rem;
    margin: 1rem;
  }

  .age-gate-buttons {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .games,
  .features,
  .stats,
  .cta {
    padding: 3rem 1rem;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }

  .isometric-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .age-notice h2 {
    font-size: 1.8rem;
  }
}
