 :root {
     --primary-color: #004a99;
     --secondary-color: #d7b26c;
     --accent-color: #d9534f;
     --text-color: #333;
     --text-color-light: #f4f4f4;
     --bg-color: #ffffff;
     --bg-color-light: #f9f9f9;
     --border-color: #ddd;
     --font-family: 'Helvetica Neue', Arial, sans-serif;
     --header-height: 70px;
     --primary-color: #004a99;
     --primary-text: #004a99;
     --bg-white: #ffffff;
     --overlay-bg: rgba(0, 0, 0, 0.65);
 }

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

 html {
     font-size: 16px;
     scroll-behavior: smooth;
 }

 body {
     font-family: var(--font-family);
     line-height: 1.6;
     color: var(--text-color);
     background-color: var(--bg-color);
     padding-top: var(--header-height);
 }

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

 a:hover {
     text-decoration: underline;
 }

 ul {
     list-style: none;
 }

 img {
     max-width: 100%;
     display: block;
 }

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

 h1 {
     font-size: 2.5rem;
 }

 h2 {
     font-size: 2rem;
 }

 h3 {
     font-size: 1.5rem;
 }

 section {
     padding: 3rem 0;
 }

 .container {
     width: 90%;
     max-width: 1100px;
     margin: 0 auto;
 }

 .btn {
     display: inline-block;
     padding: 0.8rem 1.5rem;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-size: 1rem;
     font-weight: bold;
     text-align: center;
     transition: background-color 0.3s ease, transform 0.2s ease;
 }

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

 .btn-primary:hover {
     background-color: #c9302c;
     text-decoration: none;
     transform: translateY(-2px);
 }

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

 .btn-secondary:hover {
     background-color: #c8a05a;
     text-decoration: none;
 }

 .text-center {
     text-align: center;
 }

 .responsible-note {
     font-size: 0.9rem;
     font-style: italic;
     color: #555;
     background-color: var(--bg-color-light);
     border-left: 4px solid var(--secondary-color);
     padding: 1rem;
     margin: 2rem 0;
     border-radius: 0 5px 5px 0;
 }

 .main-header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: var(--header-height);
     background-color: #fff;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     padding: 0 5%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     z-index: 1000;
 }

 .logo {
     font-size: 1.5rem;
     font-weight: bold;
     color: var(--primary-color);
 }

 .logo a {
     text-decoration: none;
     color: inherit;
 }

 .nav-links {
     display: flex;
     flex-direction: column;
     position: fixed;
     top: var(--header-height);
     left: 100%;
     width: 100%;
     height: calc(100vh - var(--header-height));
     background-color: rgba(255, 255, 255, 0.98);
     backdrop-filter: blur(5px);
     padding: 2rem;
     transition: left 0.3s ease-in-out;
 }

 .nav-links.active {
     left: 0;
 }

 .nav-links li {
     margin-bottom: 1.5rem;
     text-align: center;
 }

 .nav-links a {
     font-size: 1.2rem;
     font-weight: bold;
     color: var(--primary-color);
     text-decoration: none;
 }

 .nav-links a:hover {
     color: var(--accent-color);
 }

 .hamburger-menu {
     display: flex;
     flex-direction: column;
     justify-content: space-around;
     width: 30px;
     height: 25px;
     background: transparent;
     border: none;
     cursor: pointer;
     z-index: 1001;
 }

 .hamburger-menu .bar {
     width: 100%;
     height: 3px;
     background-color: var(--primary-color);
     border-radius: 2px;
     transition: all 0.3s ease;
 }


 .hamburger-menu.active .bar:nth-child(1) {
     transform: translateY(11px) rotate(45deg);
 }

 .hamburger-menu.active .bar:nth-child(2) {
     opacity: 0;
 }

 .hamburger-menu.active .bar:nth-child(3) {
     transform: translateY(-11px) rotate(-45deg);
 }

 .main-footer {
     background-color: #333;
     color: #ccc;
     padding: 2rem 0 1rem;
     font-size: 0.9rem;
 }

 .main-footer .container {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .footer-about,
 .footer-contact,
 .footer-social,
 .footer-disclaimer {
     margin-bottom: 1rem;
 }

 .footer-about h4,
 .footer-contact h4 {
     color: #fff;
     margin-bottom: 0.5rem;
 }

 .footer-contact p {
     margin-bottom: 0.3rem;
 }

 .footer-social .social-icons {
     display: flex;
     gap: 1rem;
     margin-top: 0.5rem;
 }

 .footer-social .social-icons a {
     color: #ccc;
     font-size: 1.5rem;
     transition: color 0.3s ease;
 }

 .footer-social .social-icons a:hover {
     color: var(--secondary-color);
 }

 .footer-disclaimer {
     border-top: 1px solid #555;
     padding-top: 1rem;
     font-size: 0.8rem;
     color: #aaa;
 }

 .footer-disclaimer p {
     margin-bottom: 0.5rem;
 }



 .hero {
     background: linear-gradient(rgba(0, 74, 153, 0.8), rgba(0, 50, 102, 0.7)), url('../img/hero.png') no-repeat center center/cover;
     min-height: 70vh;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     color: #fff;
     padding: 2rem 0;
 }

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

 .hero-content p {
     font-size: 1.2rem;
     margin-bottom: 2rem;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
 }


 .games-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 2rem;
     margin-top: 2rem;
 }

 .game-card {
     border: 1px solid var(--border-color);
     border-radius: 8px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
     overflow: hidden;
     transition: box-shadow 0.3s ease, transform 0.3s ease;
 }

 .game-card:hover {
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
     transform: translateY(-5px);
 }

 .game-logo-placeholder {
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 1.5rem;
     font-weight: bold;
     color: #fff;
 }

 .game-logo-placeholder img {
     width: 100%;
 }



 .game-card-content {
     padding: 1.5rem;
 }

 .game-card-content p {
     margin-bottom: 1.5rem;
 }


 #why {
     background-color: var(--bg-color-light);
 }

 .benefits-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 1.5rem;
     margin-top: 2rem;
 }

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

 .benefit-card .fas {
     font-size: 2.5rem;
     color: var(--primary-color);
     margin-bottom: 1rem;
 }


 .steps-container {
     display: flex;
     flex-direction: column;
     gap: 2rem;
     margin-top: 2rem;
 }

 .step {
     text-align: center;
 }

 .step .fas {
     font-size: 2rem;
     color: var(--secondary-color);
     margin-bottom: 1rem;
 }




 .page-header {
     background-color: var(--bg-color-light);
     padding: 2rem 0;
     text-align: center;
     border-bottom: 1px solid var(--border-color);
 }

 .page-header h1 {
     margin-bottom: 0;
 }


 .about-content p {
     margin-bottom: 1.5rem;
     font-size: 1.1rem;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
 }

 .mission-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 1.5rem;
     margin-top: 2rem;
     max-width: 900px;
     margin-left: auto;
     margin-right: auto;
 }

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

 .mission-item .fas {
     font-size: 2.5rem;
     color: var(--primary-color);
     margin-bottom: 1rem;
 }


 .contact-layout {
     display: grid;
     grid-template-columns: 1fr;
     gap: 3rem;
     margin-top: 2rem;
 }


 .form-container {
     width: 100%;
     max-width: 600px;
     margin: 0 auto;
 }

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

 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: bold;
 }

 .form-group input[type="text"],
 .form-group input[type="email"],
 .form-group input[type="password"],
 .form-group textarea,
 .form-group select {
     width: 100%;
     padding: 0.8rem;
     border: 1px solid var(--border-color);
     border-radius: 5px;
     font-size: 1rem;
 }

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

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

 .form-group .checkbox-group input {
     width: auto;
 }

 .form-group .error-message {
     color: var(--accent-color);
     font-size: 0.9rem;
     margin-top: 0.3rem;
     display: none;
 }

 .form-group.error .error-message {
     display: block;
 }

 .form-group.error input,
 .form-group.error textarea {
     border-color: var(--accent-color);
 }

 .form-success-message {
     color: #2a7d2a;
     background-color: #e9f5e9;
     border: 1px solid #a3d3a3;
     padding: 1rem;
     border-radius: 5px;
     margin-top: 1rem;
     display: none;
 }

 .form-links {
     margin-top: 1.5rem;
     text-align: center;
 }

 .form-links a {
     margin: 0 0.5rem;
 }


 .faq-item {
     border-bottom: 1px solid var(--border-color);
     margin-bottom: 1rem;
 }

 .faq-item summary {
     font-weight: bold;
     font-size: 1.1rem;
     cursor: pointer;
     padding: 1rem 0;
     position: relative;
 }

 .faq-item summary::after {
     content: '+';
     position: absolute;
     right: 0;
     font-size: 1.5rem;
     color: var(--primary-color);
 }

 .faq-item[open] summary::after {
     content: '−';
 }

 .faq-item p {
     padding: 0 0 1rem 0;
 }

 .ticket-builder {
     display: grid;
     grid-template-columns: 1fr;
     gap: 2rem;
 }

 .ticket-form {
     border: 1px solid var(--border-color);
     padding: 1.5rem;
     border-radius: 8px;
     background-color: var(--bg-color-light);
 }

 .number-selector {
     margin-top: 1.5rem;
 }

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

 .number-cell {
     width: 40px;
     height: 40px;
     display: flex;
     justify-content: center;
     align-items: center;
     border: 1px solid var(--border-color);
     border-radius: 50%;
     cursor: pointer;
     font-weight: bold;
     transition: background-color 0.2s ease, color 0.2s ease;
 }

 .number-cell:hover {
     background-color: #e9e9e9;
 }

 .number-cell.selected {
     background-color: var(--primary-color);
     color: #fff;
     border-color: var(--primary-color);
 }

 .number-selector-info {
     font-size: 0.9rem;
     color: #555;
     margin: 0.5rem 0;
 }

 .ticket-controls {
     display: flex;
     flex-direction: column;
     gap: 1rem;
     margin-top: 1.5rem;
 }

 .ticket-summary {
     border: 1px solid var(--border-color);
     padding: 1.5rem;
     border-radius: 8px;
     position: sticky;
     top: 100px;
 }

 .ticket-summary h3 {
     border-bottom: 1px solid var(--border-color);
     padding-bottom: 0.5rem;
 }

 .summary-line {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.5rem;
 }

 .summary-total {
     font-size: 1.5rem;
     font-weight: bold;
     color: var(--primary-color);
     margin-top: 1rem;
     border-top: 2px solid var(--primary-color);
     padding-top: 1rem;
 }


 .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: 2000;
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.3s ease, visibility 0.3s ease;
 }

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

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

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

 .modal-content .close-modal {
     position: absolute;
     top: 1rem;
     right: 1rem;
     font-size: 1.5rem;
     color: #aaa;
     background: none;
     border: none;
     cursor: pointer;
 }

 .modal-content h2 {
     color: var(--primary-color);
     margin-bottom: 1.5rem;
 }

 #modal-details p {
     margin-bottom: 0.5rem;
 }

 #modal-details .numbers {
     font-weight: bold;
     font-size: 1.1rem;
     word-wrap: break-word;
 }


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

     h2 {
         font-size: 2.5rem;
     }

     .hamburger-menu {
         display: none;
     }

     .nav-links {
         position: static;
         flex-direction: row;
         height: auto;
         width: auto;
         background-color: transparent;
         backdrop-filter: none;
         padding: 0;
     }

     .nav-links li {
         margin-bottom: 0;
         margin-left: 2rem;
     }

     .nav-links a {
         font-size: 1rem;
     }

     .main-footer .container {
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: space-between;
     }

     .footer-about {
         width: 40%;
     }

     .footer-contact {
         width: 30%;
     }

     .footer-social {
         width: 20%;
     }

     .footer-disclaimer {
         width: 100%;
     }

     .games-grid {
         grid-template-columns: repeat(3, 1fr);
     }

     .benefits-grid {
         grid-template-columns: repeat(4, 1fr);
     }

     .steps-container {
         flex-direction: row;
         justify-content: space-around;
     }

     .mission-grid {
         grid-template-columns: repeat(3, 1fr);
     }

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

     .ticket-builder {
         grid-template-columns: 2fr 1fr;
     }

     .ticket-controls {
         flex-direction: row;
         align-items: center;
     }
 }

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

 .footer-imgs img {

     padding: 12px;
     margin: 12px;
     height: 55px;
     background: white;
     border-radius: 10px;
 }

 .static-content ul {
     list-style-type: disc;
     margin-left: 1.5rem;
     margin-bottom: 1.5rem;
 }

 .static-content ul li {
     margin-bottom: 0.75rem;
 }

 .static-content h2 {
     margin-top: 2rem;
 }

 .age-overlay {
     position: fixed;
     inset: 0;
     background: var(--overlay-bg);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 9999;
 }

 .age-modal {
     background: var(--bg-white);
     color: var(--primary-text);
     max-width: 420px;
     width: 90%;
     padding: 24px 24px 18px;
     border-radius: 12px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
     text-align: center;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 }

 .age-modal h2 {
     margin-bottom: 12px;
     color: var(--primary-color);
 }

 .age-modal p {
     margin-bottom: 8px;
     font-size: 14px;
 }

 .age-buttons {
     display: flex;
     gap: 10px;
     justify-content: center;
     margin: 16px 0;
     flex-wrap: wrap;
 }

 .age-note {
     font-size: 11px;
     color: #555;
 }

 .cookie-banner {
     position: fixed;
     bottom: 16px;
     left: 50%;
     transform: translateX(-50%);
     max-width: 900px;
     width: calc(100% - 32px);
     background: var(--bg-white);
     color: var(--primary-text);
     border-radius: 12px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
     padding: 16px 20px;
     z-index: 9998;
     display: none;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 }

 .cookie-content {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     align-items: center;
     justify-content: space-between;
 }

 .cookie-text h3 {
     margin: 0 0 6px;
     color: var(--primary-color);
     font-size: 16px;
 }

 .cookie-text p {
     margin: 0;
     font-size: 13px;
 }

 .cookie-actions {
     display: flex;
     gap: 8px;
     flex-shrink: 0;
 }

 .btn-primary,
 .btn-secondary {
     border-radius: 999px;
     padding: 8px 18px;
     border: 2px solid var(--primary-color);
     cursor: pointer;
     font-size: 13px;
     font-weight: 600;
     transition: all 0.2s ease;
     background: transparent;
 }

 .btn-primary {
     background: var(--primary-color);
     color: #fff;
 }

 .btn-primary:hover {
     opacity: 0.9;
 }

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

 .btn-secondary:hover {
     background: #f3f7fb;
 }

 .cookie-settings {
     margin-top: 10px;
     border-top: 1px solid #dde5f1;
     padding-top: 10px;
     display: none;
 }

 .cookie-settings h4 {
     margin: 0 0 8px;
     font-size: 14px;
     color: var(--primary-color);
 }

 .cookie-option {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 12px;
     margin: 6px 0;
     font-size: 12px;
 }

 .cookie-option strong {
     font-size: 13px;
 }

 .cookie-switch.disabled {
     font-size: 12px;
     color: #777;
 }

 .switch {
     position: relative;
     display: inline-block;
     width: 36px;
     height: 20px;
 }

 .switch input {
     opacity: 0;
     width: 0;
     height: 0;
 }

 .slider {
     position: absolute;
     cursor: pointer;
     inset: 0;
     background-color: #ccc;
     transition: .2s;
     border-radius: 34px;
 }

 .slider:before {
     position: absolute;
     content: "";
     height: 14px;
     width: 14px;
     left: 3px;
     bottom: 3px;
     background-color: white;
     transition: .2s;
     border-radius: 50%;
 }

 .switch input:checked+.slider {
     background-color: var(--primary-color);
 }

 .switch input:checked+.slider:before {
     transform: translateX(16px);
 }

 .cookie-settings-buttons {
     margin-top: 10px;
     text-align: right;
 }

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

     .cookie-actions {
         align-self: flex-end;
     }
 }