 :root {
     --primary: #4a6cf7;
     --primary-light: #6a8af9;
     --secondary: #8a63d2;
     --accent: #00d9ff;
     --text: #2d3748;
     --text-light: #718096;
     --bg: #ffffff;
     --bg-alt: #f7f9fc;
     --card-bg: #ffffff;
     --border: #e2e8f0;
     --shadow: rgba(149, 157, 165, 0.1);
     --radius: 12px;
     --transition: all 0.3s ease;
 }

 [data-theme="dark"] {
     --primary: #5d7df8;
     --primary-light: #7d9afa;
     --secondary: #9a73e2;
     --accent: #00e5ff;
     --text: #e2e8f0;
     --text-light: #a0aec0;
     --bg: #121826;
     --bg-alt: #1a202c;
     --card-bg: #1e2738;
     --border: #2d3748;
     --shadow: rgba(0, 0, 0, 0.2);
 }

 * {
     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(--text);
     background-color: var(--bg);
     transition: var(--transition);
 }

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

 a:hover {
     color: var(--primary-light);
 }

 button {
     cursor: pointer;
     font-family: inherit;
     border: none;
     transition: var(--transition);
 }

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

 .btn {
     display: inline-block;
     padding: 12px 28px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: white;
     border-radius: var(--radius);
     font-weight: 600;
     text-align: center;
     box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
     transition: var(--transition);
 }

 .btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
     color: white;
 }

 .btn-secondary {
     background: transparent;
     border: 2px solid var(--primary);
     color: var(--primary);
     box-shadow: none;
 }

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

 section {
     padding: 80px 0;
 }

 .section-title {
     text-align: center;
     margin-bottom: 50px;
 }

 .section-title h2 {
     font-size: 2.5rem;
     margin-bottom: 15px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .section-title p {
     color: var(--text-light);
     max-width: 600px;
     margin: 0 auto;
 }

 .card {
     background: var(--card-bg);
     border-radius: var(--radius);
     box-shadow: 0 5px 15px var(--shadow);
     padding: 30px;
     transition: var(--transition);
     border: 1px solid var(--border);
 }

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


 header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     background: var(--bg);
     box-shadow: 0 2px 10px var(--shadow);
     z-index: 1000;
     transition: var(--transition);
 }

 header.scrolled {
     padding: 10px 0;
 }

 .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 0;
 }

 .logo {
     display: flex;
     align-items: center;
     font-size: 1.8rem;
     font-weight: 700;
     color: var(--text);
 }

 .logo i {
     margin-right: 10px;
     color: var(--accent);
 }

 nav ul {
     display: flex;
     list-style: none;
 }

 nav ul li {
     margin-left: 30px;
 }

 nav ul li a {
     color: var(--text);
     font-weight: 500;
     display: flex;
     align-items: center;
 }

 nav ul li a i {
     margin-right: 8px;
     font-size: 0.9rem;
 }

 .mobile-menu-btn {
     display: none;
     background: none;
     color: var(--text);
     font-size: 1.5rem;
 }


 .hero {
     padding: 160px 0 100px;
     background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: -50%;
     right: -20%;
     width: 600px;
     height: 600px;
     border-radius: 50%;
     background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
     opacity: 0.1;
     z-index: 0;
 }

 .hero-content {
     display: flex;
     align-items: center;
     justify-content: space-between;
     position: relative;
     z-index: 1;
 }

 .hero-text {
     flex: 1;
     max-width: 600px;
 }

 .hero-text h1 {
     font-size: 3.5rem;
     margin-bottom: 20px;
     line-height: 1.2;
 }

 .hero-text p {
     font-size: 1.2rem;
     color: var(--text-light);
     margin-bottom: 30px;
 }

 .hero-btns {
     display: flex;
     gap: 15px;
 }

 .hero-visual {
     flex: 1;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .hero-shapes {
     position: relative;
     width: 400px;
     height: 400px;
 }

 .shape {
     position: absolute;
     border-radius: 50%;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     opacity: 0.7;
     animation: float 6s ease-in-out infinite;
 }

 .shape-1 {
     width: 200px;
     height: 200px;
     top: 0;
     left: 0;
     animation-delay: 0s;
 }

 .shape-2 {
     width: 150px;
     height: 150px;
     bottom: 50px;
     right: 0;
     animation-delay: 2s;
 }

 .shape-3 {
     width: 100px;
     height: 100px;
     bottom: 0;
     left: 150px;
     animation-delay: 4s;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-20px);
     }
 }


 .how-it-works {
     background: var(--bg-alt);
 }

 .steps {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
 }

 .step {
     text-align: center;
     padding: 30px 20px;
 }

 .step-icon {
     width: 80px;
     height: 80px;
     margin: 0 auto 20px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.8rem;
     box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
 }

 .step h3 {
     margin-bottom: 15px;
     font-size: 1.3rem;
 }

 .step p {
     color: var(--text-light);
 }


 .games-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 30px;
 }

 .game-card {
     position: relative;
     border-radius: var(--radius);
     overflow: hidden;
     box-shadow: 0 5px 15px var(--shadow);
     transition: var(--transition);
 }

 .game-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px var(--shadow);
 }

 .game-img {
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 3rem;
 }

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

 .game-content {
     padding: 20px;
     background: var(--card-bg);
 }

 .game-content h3 {
     margin-bottom: 10px;
 }

 .game-content p {
     color: var(--text-light);
     margin-bottom: 15px;
     font-size: 0.9rem;
 }

 .game-play-btn {
     width: 100%;
     padding: 10px;
     background: var(--primary);
     color: white;
     border-radius: var(--radius);
     font-weight: 600;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .game-play-btn i {
     margin-right: 8px;
 }


 .features {
     background: var(--bg-alt);
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }

 .feature {
     display: flex;
     align-items: flex-start;
 }

 .feature-icon {
     flex-shrink: 0;
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.5rem;
     margin-right: 20px;
 }

 .feature-content h3 {
     margin-bottom: 10px;
 }

 .feature-content p {
     color: var(--text-light);
 }


 .testimonials-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }

 .testimonial {
     padding: 30px;
     position: relative;
 }

 .testimonial::before {
     content: '"';
     position: absolute;
     top: 10px;
     left: 20px;
     font-size: 4rem;
     color: var(--primary-light);
     opacity: 0.2;
     line-height: 1;
 }

 .testimonial p {
     margin-bottom: 20px;
     font-style: italic;
 }

 .testimonial-author {
     display: flex;
     align-items: center;
 }

 .author-avatar {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: var(--primary);
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-weight: bold;
     margin-right: 15px;
 }

 .author-info h4 {
     margin-bottom: 5px;
 }

 .author-info p {
     color: var(--text-light);
     font-size: 0.9rem;
     margin: 0;
     font-style: normal;
 }


 .responsible-play {
     background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
     color: white;
     text-align: center;
 }

 .responsible-play .section-title h2,
 .responsible-play .section-title p {
     color: white;
 }

 .responsible-play-content {
     max-width: 800px;
     margin: 0 auto 30px;
 }


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

 .faq-item {
     margin-bottom: 20px;
     border-radius: var(--radius);
     overflow: hidden;
 }

 .faq-question {
     padding: 20px;
     background: var(--card-bg);
     cursor: pointer;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-weight: 600;
     border: 1px solid var(--border);
 }

 .faq-question i {
     transition: var(--transition);
 }

 .faq-answer {
     padding: 0 20px;
     max-height: 0;
     overflow: hidden;
     transition: var(--transition);
     background: var(--bg-alt);
     border-left: 1px solid var(--border);
     border-right: 1px solid var(--border);
 }

 .faq-item.active .faq-question i {
     transform: rotate(180deg);
 }

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


 .contact {
     background: var(--bg-alt);
 }

 .contact-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 50px;
 }

 .contact-info h3 {
     margin-bottom: 20px;
 }

 .contact-details {
     margin-bottom: 30px;
 }

 .contact-detail {
     display: flex;
     align-items: center;
     margin-bottom: 15px;
 }

 .contact-detail i {
     width: 40px;
     height: 40px;
     background: var(--primary);
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-right: 15px;
 }

 .contact-form .form-group {
     margin-bottom: 20px;
 }

 .contact-form label {
     display: block;
     margin-bottom: 8px;
     font-weight: 500;
 }

 .contact-form input,
 .contact-form textarea {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid var(--border);
     border-radius: var(--radius);
     background: var(--card-bg);
     color: var(--text);
     transition: var(--transition);
 }

 .contact-form input:focus,
 .contact-form textarea:focus {
     outline: none;
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
 }

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

 .form-message {
     padding: 10px 15px;
     border-radius: var(--radius);
     margin-bottom: 20px;
     display: none;
 }

 .form-message.success {
     background: rgba(72, 187, 120, 0.1);
     border: 1px solid rgba(72, 187, 120, 0.3);
     color: #38a169;
 }

 .form-message.error {
     background: rgba(245, 101, 101, 0.1);
     border: 1px solid rgba(245, 101, 101, 0.3);
     color: #e53e3e;
 }


 footer {
     background: var(--bg-alt);
     padding: 60px 0 20px;
     border-top: 1px solid var(--border);
 }

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

 .footer-col h3 {
     margin-bottom: 20px;
     font-size: 1.2rem;
 }

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

 .footer-col ul li {
     margin-bottom: 10px;
 }

 .footer-col ul li a {
     color: var(--text-light);
     transition: var(--transition);
 }

 .footer-col ul li a:hover {
     color: var(--primary);
 }

 .social-links {
     display: flex;
     gap: 15px;
 }

 .social-links a {
     width: 40px;
     height: 40px;
     background: var(--card-bg);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--text);
     transition: var(--transition);
 }

 .social-links a:hover {
     background: var(--primary);
     color: white;
     transform: translateY(-3px);
 }

 .footer-bottom {
     text-align: center;
     padding-top: 20px;
     border-top: 1px solid var(--border);
     color: var(--text-light);
     font-size: 0.9rem;
 }

 .disclaimer {
     background: var(--card-bg);
     padding: 15px;
     border-radius: var(--radius);
     margin-bottom: 20px;
     text-align: center;
     border-left: 4px solid var(--accent);
 }


 .age-gate {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 9999;
     backdrop-filter: blur(5px);
 }

 .age-gate-content {
     background: var(--card-bg);
     border-radius: var(--radius);
     padding: 40px;
     max-width: 500px;
     width: 90%;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
 }

 .age-gate-content h2 {
     margin-bottom: 20px;
     color: var(--text);
 }

 .age-gate-content p {
     margin-bottom: 30px;
     color: var(--text-light);
 }

 .age-gate-btns {
     display: flex;
     gap: 15px;
     justify-content: center;
 }


 .cookie-banner {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     background: var(--card-bg);
     padding: 20px;
     box-shadow: 0 -5px 15px var(--shadow);
     z-index: 1000;
     transform: translateY(100%);
     transition: transform 0.5s ease;
 }

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

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

 .cookie-text {
     flex: 1;
     min-width: 300px;
 }

 .cookie-text p {
     margin-bottom: 10px;
     color: var(--text);
 }

 .cookie-btns {
     display: flex;
     gap: 10px;
 }


 .game-modal {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 1001;
     opacity: 0;
     visibility: hidden;
     transition: var(--transition);
 }

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

 .game-modal-content {
     background: var(--card-bg);
     border-radius: var(--radius);
     width: 90%;
     max-width: 900px;
     max-height: 90vh;
     overflow: hidden;
     position: relative;
     transform: scale(0.9);
     transition: transform 0.3s ease;
 }

 .game-modal.active .game-modal-content {
     transform: scale(1);
 }

 .game-modal-header {
     padding: 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-bottom: 1px solid var(--border);
 }

 .game-modal-header h3 {
     margin: 0;
 }

 .close-modal {
     background: none;
     color: var(--text);
     font-size: 1.5rem;
     width: 40px;
     height: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     transition: var(--transition);
 }

 .close-modal:hover {
     background: var(--bg-alt);
 }

 .game-modal-body {
     padding: 20px;
     height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
     background: var(--bg-alt);
 }

 .game-placeholder {
     width: 100%;
     height: 100%;
     background: var(--border);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--text-light);
     font-size: 1.2rem;
     border-radius: var(--radius);
 }


 .theme-toggle {
     position: fixed;
     bottom: 20px;
     right: 20px;
     width: 50px;
     height: 50px;
     background: var(--card-bg);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 5px 15px var(--shadow);
     z-index: 100;
     cursor: pointer;
     transition: var(--transition);
 }

 .theme-toggle:hover {
     transform: rotate(30deg);
 }


 @media (max-width: 992px) {
     .hero-content {
         flex-direction: column;
         text-align: center;
     }

     .hero-text {
         margin-bottom: 50px;
     }

     .hero-btns {
         justify-content: center;
     }
 }

 @media (max-width: 768px) {
     .header-container {
         padding: 15px 0;
     }

     nav ul {
         display: none;
         position: absolute;
         top: 100%;
         left: 0;
         width: 100%;
         background: var(--card-bg);
         flex-direction: column;
         padding: 20px;
         box-shadow: 0 10px 15px var(--shadow);
         border-top: 1px solid var(--border);
     }

     nav ul.active {
         display: flex;
     }

     nav ul li {
         margin: 10px 0;
     }

     .mobile-menu-btn {
         display: block;
     }

     .hero-text h1 {
         font-size: 2.5rem;
     }

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

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

     .cookie-btns {
         justify-content: center;
     }

     .age-gate-btns {
         flex-direction: column;
     }
 }

 @media (max-width: 576px) {
     section {
         padding: 60px 0;
     }

     .hero {
         padding: 120px 0 60px;
     }

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

     .hero-btns {
         flex-direction: column;
         gap: 10px;
     }

     .btn {
         width: 100%;
     }
 }

 .game-modal-body {
     padding: 0;
     height: 600px;
     position: relative;
     background: var(--bg-alt);
 }

 .game-loading {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     background: var(--bg-alt);
     z-index: 10;
     transition: opacity 0.3s ease;
 }

 .game-loading.hidden {
     opacity: 0;
     pointer-events: none;
 }

 .game-frame {
     width: 100%;
     height: 100%;
     border: none;
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .game-frame.loaded {
     opacity: 1;
 }

 @media (max-width: 768px) {
     .game-modal-content {
         width: 95%;
         height: 70vh;
     }

     .game-modal-body {
         height: calc(70vh - 60px);
     }
 }

 @media (max-width: 480px) {
     .game-modal-content {
         width: 100%;
         height: 100vh;
         border-radius: 0;
     }

     .game-modal-body {
         height: calc(100vh - 60px);
     }

     .game-modal-header {
         padding: 15px;
     }
 }

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

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

 .policy-content {
     padding: 160px 0 80px;
     max-width: 900px;
     margin: 0 auto;
 }

 .policy-content h1 {
     font-size: 2.5rem;
     margin-bottom: 20px;
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .policy-content h2 {
     font-size: 1.5rem;
     margin: 30px 0 15px;
     color: var(--primary);
 }

 .policy-content p {
     margin-bottom: 15px;
     color: var(--text-light);
 }

 .policy-content ul {
     margin: 15px 0 15px 30px;
 }

 .policy-content li {
     margin-bottom: 8px;
     color: var(--text-light);
 }

 footer {
     background: var(--bg-alt);
     padding: 60px 0 20px;
     border-top: 1px solid var(--border);
 }

 .tips-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 20px;
     margin: 30px 0;
 }

 .tip-card {
     background: var(--card-bg);
     border-radius: var(--radius);
     padding: 25px;
     box-shadow: 0 5px 15px var(--shadow);
     border-left: 4px solid var(--accent);
 }

 .tip-card i {
     font-size: 2rem;
     color: var(--accent);
     margin-bottom: 15px;
 }

 .tip-card h3 {
     margin-bottom: 10px;
     font-size: 1.2rem;
 }

 .cookie-table {
     width: 100%;
     border-collapse: collapse;
     margin: 20px 0;
 }

 .cookie-table th,
 .cookie-table td {
     padding: 12px 15px;
     text-align: left;
     border-bottom: 1px solid var(--border);
 }

 .cookie-table th {
     background-color: var(--bg-alt);
     font-weight: 600;
 }

 .cookie-table tr:hover {
     background-color: var(--bg-alt);
 }

 .cookie-controls {
     background: var(--card-bg);
     border-radius: var(--radius);
     padding: 25px;
     margin: 30px 0;
     box-shadow: 0 5px 15px var(--shadow);
 }

 .cookie-controls h3 {
     margin-bottom: 15px;
     color: var(--primary);
 }

 .cookie-option {
     margin-bottom: 15px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 0;
     border-bottom: 1px solid var(--border);
 }

 .cookie-toggle {
     position: relative;
     display: inline-block;
     width: 50px;
     height: 24px;
 }

 .cookie-toggle input {
     opacity: 0;
     width: 0;
     height: 0;
 }

 .cookie-slider {
     position: absolute;
     cursor: pointer;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: #ccc;
     transition: .4s;
     border-radius: 24px;
 }

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

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

 input:checked+.cookie-slider:before {
     transform: translateX(26px);
 }

 @media (max-width: 768px) {
     .policy-content {
         padding: 120px 0 60px;
     }

     .policy-content h1 {
         font-size: 2rem;
     }

     .cookie-table {
         display: block;
         overflow-x: auto;
     }
 }