:root {
  --primary: #06b6d4;
  --primary-glow: rgba(6, 182, 212, 0.5);
  --secondary: #0891b2;
  --accent: #67e8f9;
  --accent-glow: rgba(103, 232, 249, 0.3);
  --bg-from: #042f2e;
  --bg-via: #134e4a;
  --bg-to: #021716;
  --card-bg: rgba(19, 78, 74, 0.6);
  --card-border: rgba(6, 182, 212, 0.25);
  --text-light: #f0fdfa;
  --text-muted: #99f6e4;
  --transition: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, var(--bg-from) 0%, var(--bg-via) 50%, var(--bg-to) 100%);
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(4, 47, 46, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.25s var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 20px var(--primary-glow);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  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-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.age-badge {
  background: #dc2626;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.2);
  border: 2px solid #dc2626;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
}

.hero-badge-icon {
  width: 30px;
  height: 30px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px var(--primary-glow);
}

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

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

.btn {
  padding: 15px 40px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--transition);
  font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px var(--primary-glow), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px var(--primary-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: inset 0 2px 8px rgba(6, 182, 212, 0.2);
}

.btn-secondary:hover {
  background: var(--card-bg);
  transform: scale(1.05);
}

.disclaimer-text {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}

section {
  padding: 80px 20px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--primary);
  text-shadow: 0 0 30px var(--primary-glow);
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
}

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

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.25s var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 8px rgba(6, 182, 212, 0.1);
  cursor: pointer;
}

.game-card:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow), inset 0 2px 12px rgba(6, 182, 212, 0.2);
}

.game-image-container {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
}

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

.game-image-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  font-size: 18px;
}

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

.game-category {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.play-demo-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--transition);
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 4px 15px var(--primary-glow);
}

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

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 8px rgba(6, 182, 212, 0.1);
  transition: all 0.25s var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

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

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

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

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

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-light);
}

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

.responsible-gaming {
  background: rgba(220, 38, 38, 0.1);
  border: 2px solid rgba(220, 38, 38, 0.3);
  border-radius: 16px;
  padding: 50px;
  text-align: center;
  margin: 60px 0;
}

.responsible-icon {
  width: 80px;
  height: 80px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

.responsible-gaming h2 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.responsible-gaming p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px;
}

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

.responsible-links a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 20px;
}

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

footer {
  background: rgba(2, 23, 22, 0.9);
  border-top: 1px solid var(--card-border);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

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

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

.footer-section p, .footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.25s var(--transition);
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-badge {
  width: 100px;
  height: 100px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

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

.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.age-modal.active {
  opacity: 1;
  visibility: visible;
}

.age-modal-content {
  background: var(--bg-via);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 50px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s var(--transition);
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.age-modal-icon {
  width: 100px;
  height: 100px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 700;
  margin: 0 auto 30px;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
}

.age-modal h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

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

.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.game-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-via);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  width: 95%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

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

.modal-header h2 {
  color: var(--text-light);
  font-size: 24px;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 32px;
  cursor: pointer;
  transition: all 0.25s var(--transition);
}

.close-btn:hover {
  color: var(--primary);
  transform: scale(1.2);
}

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

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

.filter-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 25px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--transition);
  font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}

.page-header {
  padding: 120px 20px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
  text-shadow: 0 0 30px var(--primary-glow);
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-section h2 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 28px;
}

.content-section h3 {
  color: var(--text-light);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 22px;
}

.content-section p, .content-section li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

.content-section ul {
  margin-left: 30px;
}

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

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: rgba(4, 47, 46, 0.98);
    flex-direction: column;
    padding: 30px;
    transition: left 0.3s ease;
    border-bottom: 1px solid var(--card-border);
  }

  nav.active {
    left: 0;
  }

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

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

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

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

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

  .modal-content {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
}