/* Root Variables */
:root {
    --primary-dark-grey: #333333;
    --secondary-dark-grey: #2a2a2a;
    --light-text-color: #ffffff;
    --button-pink: #FF3366;
    --button-red: #dc3545;
    --button-brown: #8b4513;
    --button-green: #28a745;
    --container-max-width: 1200px;
    --header-height: 80px;
    --footer-bg: #1a1a1a;
    --text-grey: #cccccc;
    --border-grey: #444444;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: var(--light-text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    height: 50px;
    width: auto;
    z-index: 1001;
}

.header-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    align-items: center;
}

.header-nav a {
    color: var(--light-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--button-pink);
}

.header-play-btn {
    background-color: var(--button-pink);
    color: var(--light-text-color);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.header-play-btn:hover {
    background-color: #e02d5a;
    color: var(--light-text-color);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--light-text-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .header-nav.mobile-open {
        right: 0;
    }

    .header-nav a {
        font-size: 24px;
        font-weight: 600;
        padding: 15px 0;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    .header-nav .header-play-btn {
        margin-top: 20px;
        font-size: 18px;
        padding: 15px 30px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }

    .header-nav a {
        font-size: 20px;
    }

    .header-nav .header-play-btn {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - var(--header-height));
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-dark-grey);
    padding: 15px 20px;
    z-index: 999;
    display: none;
    justify-content: center;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner-content {
    max-width: var(--container-max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    color: var(--light-text-color);
    font-size: 14px;
}

.cookie-accept-btn {
    background-color: var(--button-pink);
    color: var(--light-text-color);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background-color: #e02d5a;
}

/* Age Verification Popup */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.age-popup-overlay.show {
    display: flex;
}

.age-popup {
    background-color: var(--primary-dark-grey);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--border-grey);
}

.age-popup h2 {
    color: var(--light-text-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.age-popup p {
    color: var(--text-grey);
    margin-bottom: 30px;
    font-size: 16px;
}

.age-confirm-btn {
    background-color: var(--button-pink);
    color: var(--light-text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.age-confirm-btn:hover {
    background-color: #e02d5a;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    padding: 40px 0 20px;
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.footer-content {
    max-width: var(--container-max-width);
    padding: 0 20px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-main-text {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--light-text-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column p {
    color: var(--text-grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    color: var(--text-grey);
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.footer-column ul li:before {
    content: "●";
    color: var(--button-pink);
    position: absolute;
    left: 0;
}

.footer-responsible-text {
    text-align: center;
    color: var(--light-text-color);
    margin: 30px 0;
    font-size: 16px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--button-pink);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-text-color);
}

.footer-copyright {
    text-align: center;
    color: var(--text-grey);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: var(--light-text-color);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-btn:hover {
    opacity: 0.8;
}

.footer-btn-red {
    background-color: var(--button-red);
}

.footer-btn-brown {
    background-color: var(--button-brown);
}

.footer-btn-green {
    background-color: var(--button-green);
}

/* Home Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/photo3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 60px 40px;
    border-radius: 15px;
    max-width: 1000px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--light-text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--text-grey);
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-play-btn {
    background-color: var(--button-pink);
    color: var(--light-text-color);
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-play-btn:hover {
    background-color: #e02d5a;
    color: var(--light-text-color);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* About Us Section */
.about-section {
    background-color: var(--light-text-color);
    padding: 80px 0;
    color: var(--primary-dark-grey);
    display: flex;
    justify-content: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-dark-grey);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--primary-dark-grey);
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Game Section */
.game-section {
    position: relative;
    min-height: 80vh;
    background-image: url('../images/photo3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.game-content {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
}

.game-image {
    margin-bottom: 30px;
}

.game-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-play-btn {
    background-color: var(--button-pink);
    color: var(--light-text-color);
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.game-play-btn:hover {
    background-color: #e02d5a;
    color: var(--light-text-color);
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--light-text-color);
    padding: 80px 0;
    color: var(--primary-dark-grey);
    display: flex;
    justify-content: center;
}

.why-choose-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 60px;
    color: var(--primary-dark-grey);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-choose-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-item .number {
    font-size: 3rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
}

.why-choose-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-dark-grey);
}

.why-choose-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-dark-grey);
}

/* Contact Section */
.contact-section {
    position: relative;
    min-height: 80vh;
    background-image: url('../images/photo3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    margin-top: 40px;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.contact-content h2 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--light-text-color);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-form {
    background-color: var(--light-text-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark-grey);
    font-size: 1rem;
}

.contact-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--button-pink);
}

.contact-form .submit-btn {
    background-color: var(--primary-dark-grey);
    color: var(--light-text-color);
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contact-form .submit-btn:hover {
    background-color: #555;
}

/* Page Styles */

/* Hero Page Header */
.page-hero {
    position: relative;
    min-height: 60vh;
    background-image: url('../images/photo3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 80px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--light-text-color);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Game Page Styles */
.game-page {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/photo3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0 80px;
}

.game-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--light-text-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-container {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 15px;
    width: 1160px;
    max-width: 95vw;
}

.game-iframe {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 10px;
}

/* Contact Page Styles */
.contact-page {
    background-color: var(--light-text-color);
    color: var(--primary-dark-grey);
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.contact-form-container {
    max-width: 600px;
    background-color: var(--light-text-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Page Styles */
.faq-page {
    background-color: var(--light-text-color);
    color: var(--primary-dark-grey);
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.faq-container {
    max-width: 800px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-dark-grey);
    border-bottom: 2px solid var(--button-pink);
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question.active {
    background-color: var(--button-pink);
    color: var(--light-text-color);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--light-text-color);
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Policy Pages Styles */
.policy-page {
    background-color: var(--light-text-color);
    color: var(--primary-dark-grey);
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.policy-container {
    max-width: 800px;
    background-color: var(--light-text-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-dark-grey);
    text-align: center;
}

.policy-container h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: var(--primary-dark-grey);
}

.policy-container h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 25px 0 10px 0;
    color: var(--primary-dark-grey);
}

.policy-container p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--primary-dark-grey);
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--primary-dark-grey);
}

.policy-container .last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .game-container {
        width: 95vw;
        max-width: 95vw;
    }

    .game-iframe {
        height: 100vh;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-logos {
        gap: 20px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-buttons {
        gap: 10px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .age-popup {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 10px;
    }

    .game-container {
        width: 95vw;
        max-width: 95vw;
        padding: 10px;
    }

    .game-iframe {
        height: 100vh;
    }

    .game-title {
        font-size: 2.5rem;
    }

    .footer-content {
        padding: 0 10px;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-btn {
        width: 100%;
        max-width: 200px;
    }
}