  :root {
      --primary: #4a6fa5;
      --primary-dark: #385d8a;
      --secondary: #6bbf59;
      --accent: #ff9f1c;
      --light: #f8f9fa;
      --dark: #212529;
      --gray: #6c757d;
      --border-radius: 8px;
      --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
  }

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

  html {
      scroll-behavior: smooth;
  }

  body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: var(--light);
  }


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

  h1 {
      font-size: 2.5rem;
  }

  h2 {
      font-size: 2rem;
  }

  h3 {
      font-size: 1.5rem;
  }

  p {
      margin-bottom: 1rem;
  }

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

  a:hover,
  a:focus {
      color: var(--primary-dark);
  }


  .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
  }

  section {
      padding: 4rem 0;
  }


  .btn {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      text-align: center;
  }

  .btn:hover,
  .btn:focus {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
  }

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

  .btn-secondary:hover,
  .btn-secondary:focus {
      background-color: #5aa849;
  }

  .btn-accent {
      background-color: var(--accent);
  }

  .btn-accent:hover,
  .btn-accent:focus {
      background-color: #e88c0a;
  }

  .btn-outline {
      background-color: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
  }

  .btn-outline:hover,
  .btn-outline:focus {
      background-color: var(--primary);
      color: white;
  }


  header {
      background-color: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
  }

  .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
  }

  .logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
  }

  .logo i {
      color: var(--secondary);
  }

  .nav-menu {
      display: flex;
      list-style: none;
      gap: 1.5rem;
  }

  .nav-menu a {
      font-weight: 500;
  }

  .burger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 4px;
  }

  .burger span {
      width: 25px;
      height: 3px;
      background-color: var(--dark);
      transition: var(--transition);
  }


  .hero {
      background: url('../img/hero.png') center center/cover no-repeat;
      color: white;
      text-align: center;
      padding: 6rem 0;
  }

  .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
  }

  .hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto 2rem;
  }

  .hero-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
  }

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

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

  .feature-item i {
      font-size: 2rem;
      margin-bottom: 0.5rem;
  }


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

  .game-card {
      background: white;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--box-shadow);
      transition: var(--transition);

  }

  .game-card:hover,
  .game-card:focus-within {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .game-image {
      background-color: #e9ecef;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gray);
  }

  .game-image img {
      width: 100%;
  }

  .game-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 175px;
  }

  .game-content h3 {
      margin-bottom: 0.5rem;
  }


  .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
  }

  .step {
      text-align: center;
      padding: 1.5rem;
  }

  .step i {
      font-size: 3rem;
      color: var(--primary);
      margin-bottom: 1rem;
  }


  .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
  }

  .feature-card {
      background: white;
      padding: 2rem;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      text-align: center;
  }

  .feature-card i {
      font-size: 2.5rem;
      color: var(--secondary);
      margin-bottom: 1rem;
  }


  .responsible-play {
      background-color: #f0f7ff;
      text-align: center;
  }


  .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
  }

  .contact-info {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
  }

  .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
  }

  .contact-item i {
      color: var(--primary);
      margin-top: 0.25rem;
  }

  .form-group {
      margin-bottom: 1.5rem;
  }

  label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
  }

  input,
  select,
  textarea {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #ced4da;
      border-radius: var(--border-radius);
      font-family: inherit;
      font-size: 1rem;
  }

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

  .checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
  }

  .checkbox-group input {
      width: auto;
      margin-top: 0.25rem;
  }

  .form-error {
      color: #dc3545;
      font-size: 0.875rem;
      margin-top: 0.25rem;
      display: none;
  }

  .form-success {
      background-color: #d4edda;
      color: #155724;
      padding: 1rem;
      border-radius: var(--border-radius);
      margin-top: 1rem;
      display: none;
  }


  .faq-container {
      max-width: 800px;
      margin: 0 auto;
  }

  .faq-item {
      margin-bottom: 1rem;
      border: 1px solid #e9ecef;
      border-radius: var(--border-radius);
      overflow: hidden;
  }

  .faq-question {
      padding: 1rem;
      background-color: white;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 500;
  }

  .faq-answer {
      padding: 0 1rem;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
  }

  .faq-item.active .faq-answer {
      padding: 1rem;
      max-height: 500px;
  }


  footer {
      background-color: var(--dark);
      color: white;
      padding: 3rem 0 1.5rem;
  }

  .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
  }

  .footer-logo {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: white;
  }

  .footer-links h4 {
      color: white;
      margin-bottom: 1rem;
  }

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

  .footer-links li {
      margin-bottom: 0.5rem;
  }

  .footer-links a {
      color: #adb5bd;
  }

  .footer-links a:hover {
      color: white;
  }

  .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
  }

  .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
  }

  .social-links a:hover {
      background-color: var(--primary);
  }

  .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 1.5rem;
      text-align: center;
      color: #adb5bd;
  }

  .disclaimer {
      font-size: 0.875rem;
      margin-bottom: 1rem;
      line-height: 1.5;
  }


  .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .modal.active {
      opacity: 1;
      visibility: visible;
  }

  .modal-content {
      background-color: white;
      border-radius: var(--border-radius);
      width: 90%;
      max-width: 500px;
      padding: 2rem;
      position: relative;
      transform: translateY(-20px);
      transition: transform 0.3s ease;
  }

  .modal.active .modal-content {
      transform: translateY(0);
  }

  .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--gray);
  }

  .modal-close:hover {
      color: var(--dark);
  }

  .modal-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
  }

  .game-modal .modal-content {
      max-width: 900px;
      width: 95%;
      height: 80vh;
      padding: 0;
      display: flex;
      flex-direction: column;
  }

  .game-modal-header {
      padding: 1rem;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .game-frame-container {
      flex: 1;
      overflow: hidden;
  }

  .game-frame {
      width: 100%;
      height: 100%;
      border: none;
  }


  .cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: var(--dark);
      color: white;
      padding: 1rem;
      z-index: 1500;
      transform: translateY(100%);
      transition: transform 0.3s ease;
  }

  .cookie-banner.active {
      transform: translateY(0);
  }

  .cookie-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
  }

  .cookie-buttons {
      display: flex;
      gap: 1rem;
  }


  @media (max-width: 768px) {
      h1 {
          font-size: 2rem;
      }

      h2 {
          font-size: 1.75rem;
      }

      .nav-menu {
          position: fixed;
          top: 70px;
          left: 0;
          width: 100%;
          background-color: white;
          flex-direction: column;
          padding: 1rem;
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
          transform: translateY(-100%);
          opacity: 0;
          visibility: hidden;
          transition: var(--transition);
      }

      .nav-menu.active {
          transform: translateY(0);
          opacity: 1;
          visibility: visible;
      }

      .burger {
          display: flex;
      }

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

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

      .burger.active span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -6px);
      }

      .hero {
          padding: 4rem 0;
      }

      .hero h1 {
          font-size: 2rem;
      }

      .hero-buttons {
          flex-direction: column;
          align-items: center;
      }

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

      .modal-buttons {
          flex-direction: column;
      }

      .cookie-content {
          flex-direction: column;
          text-align: center;
      }

      .cookie-buttons {
          width: 100%;
          justify-content: center;
      }
  }

  @media (max-width: 480px) {
      section {
          padding: 3rem 0;
      }

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

      .steps,
      .features-grid {
          grid-template-columns: 1fr;
      }
  }


  .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
  }

  button:focus,
  a:focus,
  input:focus,
  select:focus,
  textarea:focus {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
  }


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

      html {
          scroll-behavior: auto;
      }
  }

  .footer-legal {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
  }

  .footer-legal img {
      height: 60px;
  }

  .page-header {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: white;
      text-align: center;
      padding: 4rem 0;
  }

  .content-section {
      background-color: white;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
      padding: 2rem;
      margin-bottom: 2rem;
  }

  .content-section ul,
  .content-section ol {
      margin-left: 1.5rem;
      margin-bottom: 1rem;
  }

  .content-section li {
      margin-bottom: 0.5rem;
  }

  .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
  }

  .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
  }

  .social-links a:hover {
      background-color: var(--primary);
  }

  .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 1.5rem;
      text-align: center;
      color: #adb5bd;
  }

  .disclaimer {
      font-size: 0.875rem;
      margin-bottom: 1rem;
      line-height: 1.5;
  }

  .back-button {
      margin-top: 2rem;
      text-align: center;
  }

  .status-message {
      padding: 1rem;
      border-radius: var(--border-radius);
      margin-top: 1rem;
      display: none;
  }

  .status-success {
      background-color: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
  }

  .status-error {
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
  }