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

:root {
  --primary-bg: #000000;
  --secondary-bg: #121212;
  --card-bg: #181818;
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --accent: #1DB954;
  --border: #282828;
  --hover-bg: #282828;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

header {
  background-color: var(--secondary-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-bg);
  padding: 12px 24px;
  border-radius: 500px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 500px;
  border: 1px solid var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--hover-bg);
}

.disclaimer-banner {
  background-color: var(--secondary-bg);
  border: 1px solid var(--border);
  padding: 15px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 20px 0;
}

.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.trust-elements {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.trust-item {
  background-color: var(--card-bg);
  padding: 20px 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

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

.step {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 15px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

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

.game-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.game-image {
  width: 100%;
  height: 200px;
  background-color: var(--secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.game-info {
  padding: 20px;
}

.game-info h3 {
  margin-bottom: 10px;
}

.game-info p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 15px;
}

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

.testimonial {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
}

.cta-section {
  background-color: var(--card-bg);
  padding: 60px 20px;
  text-align: center;
  margin: 60px 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

footer {
  background-color: var(--secondary-bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 20px;
  margin-top: 80px;
}

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

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

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

.footer-section li {
  margin-bottom: 10px;
}

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

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

.support-line {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}

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

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

.filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background-color: var(--card-bg);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 500px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary-bg);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.about-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.about-content li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid var(--border);
}

.comparison-table th {
  background-color: var(--card-bg);
  font-weight: 600;
}

.comparison-table td {
  background-color: var(--secondary-bg);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 16px;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  color: var(--text-secondary);
  font-size: 14px;
}

.game-iframe-container {
  margin: 40px 0;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.game-iframe-container iframe {
  width: 100%;
  border: none;
  border-radius: 4px;
}

.demo-notice {
  background-color: var(--secondary-bg);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Legal Pages Styles */
.legal-hero {
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--card-bg) 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.legal-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.2;
}

.legal-intro {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.legal-intro:last-child {
  margin-bottom: 0;
}

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

.legal-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.1);
}

.legal-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
}

.legal-section h3 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.legal-section p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-section p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-section ul,
.legal-section ol {
  margin-left: 25px;
  margin-bottom: 20px;
}

.legal-section li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.important-notice {
  background: linear-gradient(135deg, #1DB954 0%, #1AA34A 100%);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
}

.important-notice h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-bg);
  font-weight: 700;
}

.important-notice p {
  color: var(--primary-bg);
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.important-notice p strong {
  font-weight: 700;
}

.disclaimer-section {
  background-color: var(--secondary-bg);
  border-top: 1px solid var(--border);
  padding: 50px 20px;
  margin-top: 60px;
}

.disclaimer-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-weight: 700;
}

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

.disclaimer-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.disclaimer-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
}

.support-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 20px;
  font-weight: 500;
}

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

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }

  nav ul.active {
    display: flex;
  }

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

  .section-title {
    font-size: 28px;
  }

  .trust-elements {
    flex-direction: column;
  }

  .how-it-works {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  /* Legal Pages Mobile */
  .legal-hero h1 {
    font-size: 32px;
  }

  .legal-section {
    padding: 20px;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .legal-section h3 {
    font-size: 18px;
  }

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

  .disclaimer-section h2 {
    font-size: 24px;
  }

  .important-notice {
    padding: 20px;
  }

  .important-notice h3 {
    font-size: 20px;
  }

  /* About Page Mobile */
  .about-content h1 {
    font-size: 32px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }
}

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

  .section-title {
    font-size: 24px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Legal Pages Small Mobile */
  .legal-hero h1 {
    font-size: 24px;
  }

  .legal-section {
    padding: 15px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section h3 {
    font-size: 16px;
  }

  .disclaimer-section h2 {
    font-size: 20px;
  }

  .important-notice h3 {
    font-size: 18px;
  }

  /* About Page Small Mobile */
  .about-content h1 {
    font-size: 24px;
  }

  .about-content h2 {
    font-size: 20px;
  }

  .comparison-table {
    font-size: 12px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px;
  }
}
