/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #3b8b60; /* Dark Green */
    --secondary-color: #6c757d; /* Grey */
    --accent-color: #c9e4c9; /* Light Green */
    --dark-color: #1a3828; /* Very Dark Green */
    --light-color: #f0f8f0; /* Off-white with green tint */
    --white-color: #ffffff;
    --text-color: #495057;
    --link-color: #2e6b48;
    --bg-dark: #1a3828;
    --bg-light: #ecf0f1;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-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;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
  }
  
  .btn-primary:hover {
    background-color: #2e6b48;
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
  }
  
  .btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
  }
  
  .age-stamp {
    background: linear-gradient(45deg, #8a081a, #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;
  }
  
  /* ==========================================================================
     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
     ========================================================================== */
  
  .app-header {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  
  .app-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .app-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    letter-spacing: 1px;
    transition: transform 0.3s ease;
  }
  
  .app-logo:hover {
    transform: scale(1.05);
  }
  
  .main-nav .btn-main {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
  }
  .img-heads {
    width: 60px;

  }
  /* ==========================================================================
     Showcase Section (New Design)
     ========================================================================== */
  
     .showcase {
      background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), /* Темный градиент-наложение */
        url('../images/kir1.webp') 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;
    }
  
  .showcase-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .showcase h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--white-color);
  }
  
  .showcase .subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
  }
  
  .main-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .main-buttons .btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
  }
  
  .main-buttons .btn-primary:hover {
    background-color: #b1d4b1;
  }
  
  /* ==========================================================================
     Game Selection Section
     ========================================================================== */
  
  .game-selection {
    padding: 80px 0;
    background-color: var(--white-color);
  }
  
  .game-selection-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .game-selection-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--dark-color);
  }
  
  .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .game-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;
  }
  
  .card-header {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    text-align: center;
  }
  
  .game-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 10px;
  }
  
  .game-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  
  .game-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;
  }
  
  .card-body {
    padding: 20px;
    flex-grow: 1;
  }
  
  .card-body li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .card-body hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 10px 0;
  }
  
  .list-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: invert(30%);
  }
  
  .card-footer {
    padding: 20px;
    text-align: center;
    background-color: #f1f1f1;
  }
  
  .card-footer .btn-primary {
    width: 100%;
  }
  
/* ==========================================================================
   Key Benefits Section (New Minimalistic Design)
   ========================================================================== */

   .key-benefits {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
  }
  
  .benefits-intro {
    max-width: 600px;
    margin: 0 auto 50px;
  }
  
  .benefits-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5em;
  }
  
  .benefits-intro p {
    font-size: 1.1rem;
    color: var(--text-color);
  }
  
  .benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .benefit-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);
  }
  
  .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5em;
  }
  
  .benefit-card p {
    color: var(--text-color);
    font-size: 1rem;
  }
  
  /* ==========================================================================
     Media Queries for this section
     ========================================================================== */
  @media (max-width: 768px) {
    .benefits-intro {
      margin-bottom: 30px;
    }
  }
  
  /* ==========================================================================
     How It Works Section
     ========================================================================== */
  
     .how-it-works {
      position: relative;
      padding: 80px 0;
      color: var(--white-color);
      z-index: 1;
    }
    
    .how-it-works::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('../images/kir2.jpg') no-repeat center center/cover;
      z-index: -1;
      color: white;
    }
  
  .how-it-works-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  
  @media (min-width: 992px) {
    .how-it-works-content {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .how-it-works-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-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2em;
    color: white;
  }
  
  .step-content p {
    margin: 0;
    color: white;
  }
  
  .how-it-works-visual {
    text-align: center;
  }
  
  .how-it-works-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* ==========================================================================
     Account Creation Section
     ========================================================================== */
  
  .account-creation {
    padding: 80px 0;
    background-color: white;
    color: var(--white-color);
  }
  
  .account-creation-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  
  @media (min-width: 768px) {
    .account-creation-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .account-creation-info h2 {
    font-size: 2.5rem;
    color: black;
  }
  
  .account-creation-info p {
    color: #000;
  }
  
  .account-creation-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  
  .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(59, 139, 96, 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 (Minimalistic)
   ========================================================================== */

   .app-footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 50px 0 20px;
    text-align: center;
  }
  
  .footer-content-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #335d45;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  
  .footer-brand-minimal {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .footer-links-minimal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-links-minimal a {
    color: #ccc;
    transition: color 0.3s ease;
  }
  
  .footer-links-minimal a:hover {
    color: var(--primary-color);
  }
  
  .footer-bottom-info-minimal .legal-text {
    font-size: 0.8rem;
    color: #999;
    max-width: 800px;
    margin: 0 auto 20px;
  }
  
  .responsible-logos-minimal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .responsible-logos-minimal a img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .responsible-logos-minimal a img:hover {
    opacity: 1;
  }
  
  .copyright-minimal {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .footer-content-minimal {
      flex-direction: column;
    }
  }
  
  /* ==========================================================================
     Animations
     ========================================================================== */
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* ==========================================================================
     Media Queries
     ========================================================================== */
  
  @media (max-width: 768px) {
    .app-header .container {
      flex-direction: column;
      gap: 15px;
    }
  
    .showcase h1 {
      font-size: 2.5rem;
    }
    
    .showcase .subtitle {
      font-size: 1.1rem;
    }
  
    .main-buttons {
      flex-direction: column;
      gap: 15px;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .footer-section h4 {
      margin-top: 20px;
    }
  
    .newsletter-form {
      flex-direction: column;
    }
  }

  .policy-section {
    max-width: 900px;
    padding-top: 100px;
    margin: 0 auto;
  }
  
  .policy-title {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-align: center;
  }
  
  .policy-subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
  }
  
  .policy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
  }
  
  .policy-list {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 20px;
    margin-bottom: 25px;
  }
  
  .policy-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 10px;
  }
  
  .policy-list li strong {
    color: var(--primary-color);
  }
  
  @media (max-width: 768px) {
    .main-content {
      padding-top: 120px;
    }
  
    .policy-title {
      font-size: 2.5rem;
    }
  
    .policy-subtitle {
      font-size: 1.8rem;
    }
  }