:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary-color: #ec4899;
  --secondary-dark: #db2777;
  --secondary-light: #f9a8d4;
  --accent-color: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --bg-color: #0f0f1e;
  --bg-light: #1a1a2e;
  --bg-lighter: #252540;
  --text-color: #ffffff;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.2rem;
  --spacing-xl: 1.7rem;
  --spacing-2xl: 2rem;
  --spacing-3xl: 2.5rem;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-full: 9999px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-color);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--secondary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-lighter);
  border-top: 2px solid var(--primary-color);
  padding: var(--spacing-lg);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  min-width: 300px;
  color: var(--text-light);
}

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

.cookie-buttons {
  display: flex;
  gap: var(--spacing-md);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar {
  padding: var(--spacing-md) 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo img {
  border-radius: var(--border-radius-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--spacing-sm);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-color);
  transition: all var(--transition-base);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--text-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
}

.hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(124, 58, 237, 0.15),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(236, 72, 153, 0.15),
      transparent 50%
    );
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(124, 58, 237, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fade-in-up 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, var(--text-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.age-warning {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--error-color);
  border-radius: var(--border-radius-md);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero-image {
  animation: fade-in-right 1s ease-out, float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-glow);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.about-game {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--primary-color);
}

.feature-badge svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

.about-image img {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.features {
  padding: var(--spacing-3xl) 0;
}

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

.feature-card {
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-lg);
}

.feature-icon svg {
  color: var(--text-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

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

.gallery {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.trust-security {
  padding: var(--spacing-3xl) 0;
}

.trust-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.trust-card {
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.trust-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius-full);
  margin: 0 auto var(--spacing-lg);
}

.trust-icon svg {
  color: var(--text-color);
}

.trust-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

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

.faq {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

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

.faq-item {
  margin-bottom: var(--spacing-md);
  background: var(--bg-lighter);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  background: transparent;
  transition: all var(--transition-base);
}

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

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

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

.faq-answer p {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  color: var(--text-muted);
}

.social-proof {
  padding: var(--spacing-3xl) 0;
}

.social-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.social-stat {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

.social-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--border-radius-full);
  margin: 0 auto var(--spacing-md);
}

.social-icon svg {
  color: var(--text-color);
}

.social-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: var(--spacing-xs);
}

.social-label {
  display: block;
  color: var(--text-muted);
}

.contact {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-lighter);
  border-radius: var(--border-radius-md);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary-light);
}

.contact-item strong {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
}

.contact-item a {
  color: var(--primary-light);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-forms {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact-form,
.newsletter-form {
  padding: var(--spacing-xl);
  background: var(--bg-lighter);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

.contact-form h3,
.newsletter-form h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.newsletter-form p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.footer {
  background: var(--bg-lighter);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.footer-logo {
  margin-top: var(--spacing-md);
}

.footer-logo img {
  border-radius: var(--border-radius-md);
}

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

.footer-bottom p {
  margin-bottom: var(--spacing-sm);
}

.footer-disclaimer {
  font-size: 0.875rem;
}

.legal-content {
  background: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  margin: var(--spacing-xl) 0;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: var(--text-color);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-top: 0;
}

.legal-content h2 {
  font-size: 2rem;
}

.legal-content h3 {
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.legal-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--primary-color);
}

.legal-page {
  padding-top: calc(80px + var(--spacing-xl));
  padding-bottom: var(--spacing-3xl);
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-lighter);
    flex-direction: column;
    padding: var(--spacing-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    min-height: auto;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }

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

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

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

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

  .cookie-buttons button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

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

  .section-header h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
