@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Nunito:wght@400;600;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --primary-color: #06b6d4;
  --primary-glow: rgba(6, 182, 212, 0.5);
  --secondary-color: #0891b2;
  --accent-color: #67e8f9;
  --accent-glow: rgba(103, 232, 249, 0.3);
  --bg-gradient-from: #042f2e;
  --bg-gradient-via: #134e4a;
  --bg-gradient-to: #021716;
  --card-bg: rgba(19, 78, 74, 0.6);
  --card-border: rgba(6, 182, 212, 0.25);
  --text-light: #f0fdfa;
  --text-muted: #ccfbf1;
  --hover-scale: 1.03;
  --transition-speed: 0.4s;
  --border-radius: 14px;
  --section-spacing: 70px;
}

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

body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, var(--bg-gradient-from), var(--bg-gradient-via), var(--bg-gradient-to));
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
}

/* Age Verification Modal */
.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.age-modal.active {
  display: flex;
}

.age-modal-content {
  background: linear-gradient(145deg, var(--bg-gradient-via), var(--bg-gradient-from));
  padding: 50px 40px;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 500px;
  border: 2px solid var(--card-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--primary-glow);
  animation: modalSlideIn 0.5s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.age-modal-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 30px var(--primary-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.age-modal h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.age-modal p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.age-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-btn {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed) ease-out;
  font-family: 'Poppins', sans-serif;
}

.age-btn-confirm {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.age-btn-confirm:hover {
  transform: scale(var(--hover-scale));
  box-shadow: 0 6px 25px var(--primary-glow);
}

.age-btn-exit {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid var(--card-border);
}

.age-btn-exit:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(var(--hover-scale));
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(4, 47, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 26px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 20px var(--primary-glow);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-speed) ease-out;
}

nav a:hover {
  color: var(--accent-color);
}

.age-badge {
  background: #dc2626;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background-image: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?w=1600');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(4, 47, 46, 0.92), rgba(19, 78, 74, 0.88), rgba(2, 23, 22, 0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 25px;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.6);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-shadow: 0 0 30px var(--accent-glow);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 20px var(--accent-glow); }
  to { text-shadow: 0 0 40px var(--accent-glow); }
}

.hero p {
  font-size: 22px;
  margin-bottom: 35px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-speed) ease-out;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: scale(var(--hover-scale)) translateY(-2px);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 2px solid var(--card-border);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  transform: scale(var(--hover-scale)) translateY(-2px);
}

.hero-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 15px;
}

/* Section Styles */
section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 42px;
  color: var(--accent-color);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: all var(--transition-speed) ease-out;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, var(--accent-glow), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.game-card:hover {
  transform: scale(var(--hover-scale)) translateY(-5px);
  box-shadow: 0 12px 35px var(--primary-glow);
  border-color: var(--primary-color);
}

.game-image-container {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--bg-gradient-from), var(--secondary-color));
  position: relative;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-color);
  text-align: center;
  padding: 20px;
}

.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.game-category {
  background: var(--secondary-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.game-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.play-demo-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-speed) ease-out;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.play-demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Game Modal */
.game-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.game-modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-gradient-via);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--card-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid var(--card-border);
  gap: 15px;
}

.modal-header h2 {
  flex: 1;
  color: var(--accent-color);
  font-size: 24px;
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-light);
  font-size: 32px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease-out;
}

.close-btn:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

#game-iframe {
  flex: 1;
  border: none;
  width: 100%;
  background: #000;
}

.demo-unavailable {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-speed) ease-out;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: scale(var(--hover-scale)) translateY(-5px);
  box-shadow: 0 10px 30px var(--primary-glow);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease-out;
  position: relative;
}

.step-card:hover {
  transform: scale(var(--hover-scale));
  box-shadow: 0 10px 30px var(--primary-glow);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.step-icon {
  font-size: 50px;
  margin: 20px 0;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent-color);
}

.step-card p {
  color: var(--text-muted);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 25px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  transition: all var(--transition-speed) ease-out;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
  padding: 0 25px;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 25px;
}

.faq-icon {
  transition: transform var(--transition-speed) ease-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Responsible Gaming */
.responsible-gaming {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 60px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.rg-icon {
  width: 120px;
  height: 120px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
}

.responsible-gaming h2 {
  font-size: 38px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.responsible-gaming p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.rg-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.rg-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  transition: all var(--transition-speed) ease-out;
}

.rg-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(var(--hover-scale));
}

/* Footer */
footer {
  background: rgba(2, 23, 22, 0.95);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
  margin-top: var(--section-spacing);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 24px;
  font-weight: 700;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px var(--primary-glow);
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-speed) ease-out;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-disclaimer {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-disclaimer .age-badge {
  font-size: 24px;
  padding: 10px 20px;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-disclaimer p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
}

/* Category Filters */
.category-filters {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 25px;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease-out;
  font-family: 'Nunito', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px var(--primary-glow);
  transform: scale(var(--hover-scale));
}

/* Page Banner */
.page-banner {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 20px;
  margin: 30px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-banner .age-badge {
  font-size: 16px;
}

/* Content Pages */
.content-page {
  padding: 60px 0;
}

.content-page h1 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--accent-color);
}

.content-page h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.content-page p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.content-page ul {
  margin: 20px 0 20px 30px;
  color: var(--text-muted);
}

.content-page li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(4, 47, 46, 0.98);
    flex-direction: column;
    padding: 40px 20px;
    transition: left var(--transition-speed) ease-out;
    backdrop-filter: blur(10px);
  }

  nav.active {
    left: 0;
  }

  nav a {
    font-size: 20px;
    padding: 15px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .modal-content {
    height: 95vh;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-header h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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