:root {
  --primary-hue: 34;
  --primary-color: hsl(var(--primary-hue), 85%, 55%);
  --primary-light: hsl(var(--primary-hue), 85%, 65%);
  --primary-dark: hsl(var(--primary-hue), 85%, 45%);
  --secondary-color: hsl(260, 70%, 55%);
  --secondary-light: hsl(260, 70%, 65%);
  --secondary-dark: hsl(260, 70%, 45%);
  --accent-color: hsl(340, 80%, 55%);
  --accent-light: hsl(340, 80%, 65%);
  --accent-dark: hsl(340, 80%, 45%);
  --background: hsl(220, 25%, 10%);
  --background-light: hsl(220, 20%, 15%);
  --background-lighter: hsl(220, 15%, 20%);
  --text-primary: hsl(0, 0%, 98%);
  --text-secondary: hsl(0, 0%, 75%);
  --text-muted: hsl(0, 0%, 60%);
  --border-color: hsl(220, 15%, 25%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-heading: "Georgia", serif;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

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

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

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

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

.btn {
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-color)
  );
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

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

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background-light);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid var(--primary-color);
}

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

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

.cookie-content p {
  flex: 1;
  min-width: 280px;
  margin: 0;
  color: var(--text-secondary);
}

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

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

.header {
  position: sticky;
  top: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--spacing-xs) 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsl(var(--primary-hue), 60%, 20%) 0%,
    hsl(260, 50%, 20%) 50%,
    hsl(340, 50%, 20%) 100%
  );
  opacity: 0.3;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 50%,
      var(--primary-color) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      var(--secondary-color) 0%,
      transparent 50%
    );
  opacity: 0.1;
  animation: pulse 10s ease-in-out infinite;
}

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

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--accent-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.stat-item {
  background: var(--background-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.game-info {
  padding: var(--spacing-xl) 0;
}

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

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

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

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

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

.game-description {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-top: var(--spacing-xl);
  background: var(--background-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

.description-content h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-light);
}

.description-content p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

.age-rating {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--background-lighter);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
}

.rating-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.description-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay p {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.social-proof {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(
    135deg,
    var(--background),
    var(--background-light)
  );
}

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

.proof-item {
  background: var(--background-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.proof-icon {
  font-size: 3rem;
}

.proof-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.proof-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.responsible-gaming {
  padding: var(--spacing-xl) 0;
}

.responsible-gaming h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-xl);
}

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

.responsible-card {
  background: var(--background-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
}

.responsible-card h3 {
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

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

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

.trust-security h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-xl);
}

.trust-content > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
}

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

.trust-item {
  background: var(--background);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
}

.trust-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.trust-item h3 {
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
}

.trust-item p {
  color: var(--text-secondary);
}

.company-info {
  background: var(--background);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

.company-info h3 {
  text-align: center;
  color: var(--primary-light);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.company-info address {
  font-style: normal;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.8;
}

.company-info address p {
  margin-bottom: var(--spacing-xs);
}

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

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

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

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  width: 100%;
  padding: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

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

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

.contact-info h3,
.contact-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-light);
}

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

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-size: 1.125rem;
}

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

.contact-item a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.contact-item p,
.contact-item address {
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--background);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: var(--spacing-sm);
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.newsletter {
  background: var(--background);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  max-width: 700px;
  margin: 0 auto;
}

.newsletter h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-light);
}

.newsletter p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

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

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

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: var(--spacing-xs);
}

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

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

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

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--background-light);
  border-radius: var(--border-radius-lg);
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  color: var(--primary-light);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.7;
}

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

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

.legal-content address {
  font-style: normal;
  background: var(--background);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  margin: var(--spacing-md) 0;
}

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

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--spacing-md);
    transform: translateX(100%);
    transition: var(--transition);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .game-description {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

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

  .btn-large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2.5rem;
    --spacing-lg: 2rem;
  }

  .hero {
    min-height: 70vh;
  }

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

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