/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #d9381e;        /* насичений червоний для кнопок та акцентів */
  --primary-dark: #a82b16;         /* темніший червоний для hover та темних елементів */
  --primary-light: #f06b4a;        /* світліший червоний для підсвітки та ефектів */

  --secondary-color: #ffd166;      /* теплий золотий для акцентів */
  --accent-color: #ffb84d;         /* яскравіший золотий для іконок і градієнтів */

  --dark-bg: #3a1f1f;              /* темно-бордовий фон для секцій */
  --darker-bg: #1f0f0f;            /* ще темніший бордовий для футера та глибоких секцій */

  --text-color: #fff0e0;           /* світлий текст на темному фоні */
  --text-dark: #e6d6c3;            /* трохи темніший для контрасту */

  --border-radius: 8px;
  --box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;

  /* Градієнти для кнопок та фонів */
  --gradient-primary: linear-gradient(135deg, #d9381e 0%, #ffb84d 100%);
  --gradient-accent: linear-gradient(135deg, #ffd166 0%, #f06b4a 100%);
}



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

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

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

ul {
  list-style: none;
}

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

strong {
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h6 {
  color: var(--primary-light);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-size: 2.5rem;
  color: var(--primary-light);
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--text-color);
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Header Styles */
header {
  background-color: var(--darker-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.logo-container h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary-light);
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-size: 0.9rem;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background-color: var(--dark-bg);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--primary-light);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-light);
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 900px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 120px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-color);
}

.hero-images {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-images img {
  max-height: 200px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 4rem 0;
  background-color: var(--darker-bg);
}

.experience-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.exp-box {
  background-color: var(--dark-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.exp-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.box-icon {
  margin-bottom: 1rem;
  width: 50px;
  height: 50px;
}

.box-content h4 {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.box-content p {
  color: var(--text-color);
  font-size: 0.95rem;
}

.play-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.play-button:hover {
  background-color: var(--primary-light);
  color: var(--darker-bg);
}

/* Reviews Section */
.reviews-section {
  padding: 4rem 0;
  background-color: var(--darker-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.review-card {
  background-color: var(--dark-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.review-stars {
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.review-content {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.reviewer {
  color: var(--primary-light);
  font-style: italic;
  text-align: right;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: var(--dark-bg);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.faq-question span {
  color: var(--primary-light);
  font-weight: 700;
}

.faq-answer {
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Support Section */
.support-section {
  padding: 4rem 0;
  background-color: var(--darker-bg);
}

.support-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Terms Section */
.terms-section {
  padding: 4rem 0;
  background-color: var(--dark-bg);
}

.terms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.terms-of-use, .privacy-policy {
  padding: 1.5rem;
  background-color: var(--darker-bg);
  border-radius: var(--border-radius);
}

.terms-of-use h3, .privacy-policy h3 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.terms-of-use p, .privacy-policy p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 4rem 0;
  background-color: var(--darker-bg);
}

.disclaimer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.disclaimer-box {
  background-color: var(--dark-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.disclaimer-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #000000;
  padding: 40px 0;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-info, .contact-form {
  flex: 1;
  margin: 0 20px;
}

.company-info h3, .contact-form h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ff0000;
}

.company-info p, .contact-form label {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input, .contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form button {
  padding: 10px 20px;
  background-color: #ff0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #b30000;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9em;
  color: #666;
}

/* Game Page Styles */
.game-page .header-container {
  margin-bottom: 0;
}

.game-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 15px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.game-hero-content h2 {
  color: var(--primary-light);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.game-hero-content p {
  margin-bottom: 2rem;
  color: var(--text-color);
}

.game-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.game-info {
  display: flex;
  align-items: center;
}

.info-label {
  font-weight: 500;
  color: var(--primary-light);
  width: 100px;
}

.info-value {
  color: var(--text-color);
}

.game-image-large {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  max-height: 400px;
}

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

.game-play-section {
  padding: 3rem 0;
  background-color: var(--darker-bg);
}

.game-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.game-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--dark-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-preview {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.play-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.play-game-button {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.play-game-button:hover {
  background-color: var(--primary-light);
  transform: scale(1.05);
}

.game-description {
  padding: 3rem 0;
  background-color: var(--dark-bg);
}

.description-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.description-content p, .description-content ul {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.description-content h3 {
  color: var(--primary-light);
  margin: 2rem 0 1rem;
}

.description-content ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.more-games {
  padding: 4rem 0;
  background-color: var(--darker-bg);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .game-hero {
    grid-template-columns: 1fr;
  }

  .game-image-large {
    order: -1;
  }

  nav ul {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .terms-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .features {
    gap: 1rem;
  }

  .feature {
    width: 100px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-text {
    font-size: 0.8rem;
  }

  .game-details h5 {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

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

/* Social Media Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.social-links a i {
  transition: transform 0.3s ease;
}

.social-links a:hover i {
  transform: scale(1.1);
}

/* Instagram specific color */
.social-links a:nth-child(1):hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* YouTube specific color */
.social-links a:nth-child(2):hover {
  background: #FF0000;
}

/* Facebook specific color */
.social-links a:nth-child(3):hover {
  background: #1877F2;
}


      .age-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
      }

      .age-box {
        background: #fff;
        color: #000;
        border-radius: 40px;
        padding: 60px 40px;
        max-width: 600px;
        width: 90%;
        text-align: center;
      }

      .age-box h1 {
        font-size: 48px;
        margin-bottom: 20px;
        color: #ff0000;;
      }

      .age-box p {
        font-size: 20px;
        margin-bottom: 50px;
        line-height: 1.5;
      }

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

      .age-buttons a {
        padding: 18px 40px;
        border-radius: 50px;
        font-size: 20px;
        font-weight: 700;
        text-decoration: none;
        color: #fff;
        transition: transform 0.3s, opacity 0.3s;
      }

      .age-buttons a.yes {
        background-color: #ff0000;;
      }
      .age-buttons a.no {
        background-color: #555;
      }

      .age-buttons a:hover {
        transform: translateY(-3px);
        opacity: 0.9;
      }

      @media (max-width: 600px) {
        .age-box h1 {
          font-size: 36px;
        }
        .age-box p {
          font-size: 18px;
        }
        .age-buttons {
          flex-direction: column;
        }
        .age-buttons a {
          width: 100%;
          text-align: center;
        }

        .footer-heading {
          font-size: 50px;
          text-align: left;
          margin-left: 30px;
          color: #000;
        }

        .contact-info {
          width: 300px;
        }
      }

      .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #222;
        color: #fff;
        padding: 20px 40px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        z-index: 9999;
      }

      .cookie-banner p {
        margin: 0;
        font-size: 16px;
        line-height: 1.4;
        flex: 1 1 60%;
      }

      .cookie-buttons {
        display: flex;
        gap: 15px;
        flex: 1 1 35%;
        justify-content: flex-end;
        flex-wrap: wrap;
      }

      .cookie-buttons a {
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 16px;
        transition: opacity 0.3s, transform 0.3s;
      }

      .cookie-buttons a.accept {
        background-color: #ff0000;;
        color: #fff;
      }

      .cookie-buttons a.reject {
        background-color: #fff;
        color: #222;
      }

      .cookie-buttons a:hover {
        transform: translateY(-2px);
        opacity: 0.9;
      }

      @media (max-width: 600px) {
        .cookie-banner {
          flex-direction: column;
          align-items: flex-start;
          gap: 15px;
        }
        .cookie-buttons {
          justify-content: flex-start;
        }
      }

      .subheading {
        font-size: 1rem;
        color: #ccc;
        margin-bottom: 10px;
      }

      .description {
        max-width: 700px;
        margin: 0 auto 40px auto;
        font-size: 1rem;
        color: #aaa;
      }

      .features-section {
        background-color: #fff;
        color: #000;
        padding: 60px 20px;
        text-align: center;
      }

      .subheading {
        font-size: 1rem;
        color: #555;
        margin-bottom: 10px;
      }

      .description {
        max-width: 700px;
        margin: 0 auto 40px auto;
        font-size: 1rem;
        color: #777;
      }

      .features-section {
        background-color: var(--dark-bg);
        color: #000;
        padding: 60px 20px;
      }

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

      .subheading {
        font-size: 1rem;
        color: #b800ff;
        margin-bottom: 10px;
        font-weight: 800;
      }

      .main-heading {
        font-size: 2rem;
        margin-bottom: 15px;
      }

      .features-main-heading {
        font-size: 2rem;
        color: #f0f3fa;
        font-weight: 500;
        font-size: 34px;
        margin-bottom: 10px;
      }

      .description {
        max-width: 700px;
        margin: 0 auto;
        font-size: 1rem;
        color: #777;
      }

      .features-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
      }

      .feature-card {
        background-color: #1c1c1c;
        border-radius: 15px;
        padding: 0 20px 20px 20px;
        width: 365px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        color: #fff;
        cursor: pointer;
      }

      .feature-card img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        border-radius: 10px;
        margin-bottom: 15px;
      }

      .feature-card h3 {
        margin: 10px 0;
        font-size: 1.2rem;
        font-weight: normal;
      }

      .feature-card p {
        font-size: 0.95rem;
        color: #7f8ba1;
        margin-bottom: 10px;
      }

      .tags {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
      }

      .tags span {
        border: 1px solid #6589a1;
        padding: 3px 8px;
        border-radius: 10px;
        font-size: 0.7rem;
      }

      .feature-btn {
        padding: 10px 20px;
        border-radius: 50px;
        background: linear-gradient(90deg, #4a90e2, #357abd);
        color: #000000;
        text-decoration: none;
        font-weight: 800;
        transition: background 0.3s;
        align-self: center;
        width: 100%;
        text-align: center;
      }

      .feature-btn:hover {
        background: linear-gradient(90deg, #357abd, #1c5bb0);
      }

      @media (max-width: 1200px) {
        .feature-card {
          width: 300px;
        }
      }

      @media (max-width: 992px) {
        .feature-card {
          width: 45%;
        }

        .disclaimer-container {
          margin: 0;
        max-width: 500px;
    padding: 0 10px;
  }

        }

      @media (max-width: 768px) {
        .feature-card {
          width: 100%;
        }
      }