:root {
    --color-primary: #00aaff;
    --color-primary-dark: #0088cc;
    --color-secondary: #ffc107;
    --color-dark-bg: #1a1d24;
    --color-dark-card: #252a34;
    --color-light-bg: #f4f7f6;
    --color-text-light: #ffffff;
    --color-text-dark: #333333;
    --color-text-muted: #adb5bd;
    --color-error: #dc3545;
    --color-success: #28a745;
    --font-primary: 'Arial', 'Helvetica', sans-serif;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-light-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--color-primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
    padding-left: 0;
}

img {
    max-width: 100%;
    height: auto;
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

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

.btn-secondary {
    background-color: #6c757d;
    color: var(--color-text-light);
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.content-section {
    padding: 60px 0;
}

.content-section.bg-dark {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
}

.content-section.bg-dark h2 {
    color: var(--color-primary);
}

.content-section.bg-dark p {
    color: var(--color-text-muted);
}

.content-section.bg-light {
    background-color: var(--color-light-bg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.main-footer .logo-text {
    color: var(--color-text-light);
}


.main-header {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.main-header .nav-links {
    display: flex;
}

.main-header .nav-links li {
    margin-left: 20px;
}

.main-header .nav-links a {
    color: var(--color-text-light);
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
}

.main-header .nav-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}


.hero-section {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    background: url('../img/hero.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 29, 36, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
}

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

.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}


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

.feature-card {
    background-color: var(--color-dark-card);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.2);
}

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

.feature-card h3 {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}


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

.game-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.game-thumbnail {
    width: 100%;
    height: 370px;
    object-fit: cover;
}

.game-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.game-card-content p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #555;
}


.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step {
    flex-basis: 250px;
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.step h3 {
    margin-bottom: 0.5rem;
}


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

.faq-item {
    background-color: var(--color-dark-card);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform var(--transition-speed);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}


.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: var(--color-error);
    font-size: 0.9rem;
    display: none;
    margin-top: 5px;
}

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

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

#form-success-message {
    color: var(--color-success);
    margin-top: 1rem;
    font-weight: 600;
}

.contact-details {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    margin-top: 0;
}

.contact-details ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-details ul li i {
    font-size: 1.2rem;
    color: var(--color-primary);
    width: 30px;
    padding-top: 4px;
}


.main-footer {
    background-color: var(--color-dark-bg);
    color: var(--color-text-muted);
    padding: 40px 0 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: baseline;
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: var(--color-text-muted);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color var(--transition-speed);
}

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

.footer-links h3,
.footer-legal h3 {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--color-text-muted);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.main-footer hr {
    border: 0;
    border-top: 1px solid #444;
    margin: 20px 0;
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.9rem;
}

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

.footer-disclaimer strong {
    color: var(--color-secondary);
}




.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    display: none;
}

.modal-content {
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 90%;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}


.age-gate-modal {
    max-width: 500px;
    text-align: center;
}

.age-gate-modal .logo-text {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-gate-buttons {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.age-gate-buttons .btn {
    width: 100%;
}

.age-gate-disclaimer {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}


.game-modal {
    width: 90vw;
    max-width: 1200px;
    height: 90vh;
    padding: 40px 20px 20px 20px;
    display: flex;
    flex-direction: column;
}

.game-modal h3 {
    margin-bottom: 1rem;
    padding-left: 10px;
}

.game-iframe-container {
    flex-grow: 1;
    overflow: hidden;
    background-color: #000;
}

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


#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1500;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: none;
    flex-wrap: wrap;
    text-align: center;
}

#cookie-banner p {
    margin-bottom: 0;
}

#cookie-banner a {
    color: var(--color-primary);
    text-decoration: underline;
}


.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

.legal-page h2 {
    color: var(--color-text-dark);
    margin-top: 2rem;
}

.legal-page ul {
    list-style: disc;
    padding-left: 25px;
}

.legal-page ul li {
    margin-bottom: 0.5rem;
}





@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        margin-bottom: 1.5rem;
    }
}


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

    h2 {
        font-size: 1.8rem;
    }

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

    .main-header .container {
        flex-direction: column;
        gap: 10px;
    }

    .main-header .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .main-header .nav-links li {
        margin: 5px;
    }

    .main-header .nav-links a {
        font-size: 0.9rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .game-modal {
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 40px 10px 10px 10px;
    }

    #cookie-banner {
        flex-direction: column;
    }
}

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

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