/* ==========================================================================
  CSS Reset & Base Styles
  ========================================================================== */

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #a41628; /* Deep red-burgundy */
    --secondary-color: #6c757d; /* Grey */
    --accent-color: #ffc2b3; /* Light coral */
    --dark-color: #2b0202; /* Very dark red */
    --light-color: #fcebeb; /* Light pink-red */
    --white-color: #ffffff;
    --text-color: #495057;
    --link-color: #a41628;
    --bg-dark: #000000;
    --bg-light: #fef1f1;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 0.5em;
  }
  
  p {
    margin-bottom: 1em;
  }
  
  a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--primary-color);
  }
  
  ul {
    list-style: none;
  }
  
  /* ==========================================================================
    Utility Classes
    ========================================================================== */
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .btn-main {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  /* ==========================================================================
  New Button Styles
  ========================================================================== */
.btn-main {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px; /* More rounded shape */
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #7b131f 100%);
  color: var(--white-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7b131f 0%, var(--primary-color) 100%);
  transform: translateY(-4px); /* Larger lift effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: var(--dark-color); /* Updated secondary color */
  color: var(--white-color);
  border: 2px solid var(--primary-color); /* Added a border */
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-4px);
  border-color: var(--white-color); /* Change border color on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure the button container looks good */
.hero-buttons {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  gap: 20px;
}
  
  .age-stamp {
    background: linear-gradient(45deg, #a41628, #000000);
    color: var(--white-color);
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    display: inline-block;
    white-space: nowrap;
  }
  /* ==========================================================================
  Benefits Section (New Minimalistic Design)
  ========================================================================== */

.benefits-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.benefits-intro {
  max-width: 700px;
  margin: 0 auto 60px;
}

.benefits-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 0.5em;
}

.benefits-intro p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 0.5em;
}

.item-content p {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  font-size: 1rem;
}
  /* ==========================================================================
    Modal Styles
    ========================================================================== */
  
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-dialog {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
  }
  
  .modal-dialog h3 {
    margin-top: 10px;
    font-size: 1.5em;
    color: var(--dark-color);
  }
  
  .modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    gap: 15px;
  }
  
  /* ==========================================================================
    Header
    ========================================================================== */
  
  .page-header {
    background-color: #a41628; /* Красный хедер */
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  
  .page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    letter-spacing: 1px;
    transition: transform 0.3s ease;
  }
  
  .site-logo:hover {
    transform: scale(1.05);
  }
  
  .main-navigation .btn-main {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
  }
  .nav-image {
    width: 60px;
  }
  
  /* ==========================================================================
    Hero Section
    ========================================================================== */
  
  .hero-section {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
      url('../images/j1.avif') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white-color);
    overflow: hidden;
  }
  
  .hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--white-color);
  }
  
  .hero-section .hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .hero-buttons .btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
  }
  
  .hero-buttons .btn-primary:hover {
    background-color: #ff9980;
  }
  
  /* ==========================================================================
    Game Showcase Section
    ========================================================================== */
  
  .game-showcase {
    padding: 80px 0;
    background-color: var(--white-color);
  }
  
  .showcase-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .showcase-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--dark-color);
  }
  
  .game-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .game-item {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .item-header {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    text-align: center;
  }
  
  .item-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 10px;
  }
  
  .item-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  
  .item-numbers span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--dark-color);
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
  }
  
  .item-details {
    padding: 20px;
    flex-grow: 1;
  }
  
  .item-details li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .item-details hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 10px 0;
  }
  
  .detail-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: invert(30%);
  }
  
  .item-footer {
    padding: 20px;
    text-align: center;
    background-color: #f1f1f1;
  }
  
  .item-footer .btn-primary {
    width: 100%;
  }
  /* ==========================================================================
  Game Options Section (New Design)
  ========================================================================== */

.game-options-section {
  padding: 80px 0;
  background-color: var(--white-color);
}

.options-header {
  text-align: center;
  margin-bottom: 50px;
}

.options-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-top: 10px;
  color: var(--dark-color);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.game-option-card {
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.option-card-header {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 25px;
  text-align: center;
}

.option-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 15px;
}

.option-numbers-list {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.option-numbers-list span {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--accent-color);
  color: var(--dark-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
}

.option-card-body {
  padding: 30px;
  flex-grow: 1;
}

.option-details-list {
  list-style-type: none;
  padding: 0;
}

.option-details-list li {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

.option-details-list hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

.option-card-footer {
  padding: 25px;
  text-align: center;
  background-color: #f1f1f1;
}

.option-card-footer .btn-primary {
  width: 100%;
}
  /* ==========================================================================
    Advantage Section
    ========================================================================== */
  
  .advantage-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
  }
  
  .advantage-intro {
    max-width: 600px;
    margin: 0 auto 50px;
  }
  
  .advantage-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5em;
  }
  
  .advantage-intro p {
    font-size: 1.1rem;
    color: var(--text-color);
  }
  
  .advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .advantage-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
  }
  
  .advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .advantage-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5em;
  }
  
  .advantage-card p {
    color: var(--text-color);
    font-size: 1rem;
  }
  
  /* ==========================================================================
    How It Works Section
    ========================================================================== */
  
  .process-section {
    position: relative;
    padding: 80px 0;
    color: var(--white-color);
    z-index: 1;
  }
  
  .process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: -1;
    color: white;
  }
  
  .process-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  
  @media (min-width: 992px) {
    .process-content {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .process-steps h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
  }
  
  .step-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  
  .step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  
  .step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .step-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2em;
    color: white;
  }
  
  .step-info p {
    margin: 0;
    color: #ccc;
  }
  
  .process-visual {
    text-align: center;
  }
  
  .process-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* ==========================================================================
    Account Creation Section
    ========================================================================== */
  
  .signup-section {
    padding: 80px 0;
    background-color: var(--white-color);
  }
  
  .signup-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  
  @media (min-width: 768px) {
    .signup-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .signup-info h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
  }
  
  .signup-info p {
    color: var(--text-color);
  }
  
  .signup-form-wrapper {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .registration-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }
  
  .registration-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(164, 22, 40, 0.5);
  }
  
  .password-wrapper {
    position: relative;
  }
  
  .toggle-password-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
  }
  
  .notification-success {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  /* ==========================================================================
    Footer
    ========================================================================== */
  
  .site-footer {
    background-color: var(--bg-dark); /* Чёрный футер */
    color: #ccc;
    padding: 50px 0 20px;
    text-align: center;
  }
  
  .footer-content-base {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  
  .footer-branding {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-nav a {
    color: #ccc;
    transition: color 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: var(--primary-color);
  }
  
  .footer-bottom-info .footer-legal {
    font-size: 0.8rem;
    color: #999;
    max-width: 800px;
    margin: 0 auto 20px;
  }
  
  .responsible-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .responsible-logos a img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .responsible-logos a img:hover {
    opacity: 1;
  }
  
  .footer-copyright {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .footer-content-base {
      flex-direction: column;
    }
  }
  
  /* ==========================================================================
    Animations
    ========================================================================== */
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* ==========================================================================
    Media Queries
    ========================================================================== */
  
  @media (max-width: 768px) {
    .page-header .container {
      flex-direction: column;
      gap: 15px;
    }
  
    .hero-section h1 {
      font-size: 2.5rem;
    }
    
    .hero-section .hero-subtitle {
      font-size: 1.1rem;
    }
  
    .hero-buttons {
      flex-direction: column;
      gap: 15px;
    }
    
    .signup-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }

  /* ==========================================================================
  Cookie Policy Page Styles
  ========================================================================== */

.main-content {
  padding: 120px 0 80px;
}

.policy-page-section {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 100px;
}

.policy-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--dark-color);
  margin-bottom: 20px;
  text-align: center;
}

.policy-page-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.policy-page-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 25px;
}

.policy-page-list {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 25px;
}

.policy-page-list li {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 10px;
}

.policy-page-list li strong {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 100px;
  }

  .policy-page-title {
    font-size: 2.5rem;
  }

  .policy-page-subtitle {
    font-size: 1.8rem;
  }
}