:root {
    --primary-color: #0077b6;
    --secondary-color: #00b4d8;
    --dark-color: #2a3b4c;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --text-color: #333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
}

h1,
h2,
h3,
h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

a:hover {
    color: var(--secondary-color);
}

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

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--white-color);
}

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

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


.main-header {
    background-color: var(--white-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
}

.logo i {
    color: var(--primary-color);
    margin-right: 5px;
}

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

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    font-weight: 600;
    color: var(--dark-color);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--dark-color);
    cursor: pointer;
}


#hero {
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.9), rgba(212, 237, 252, 0.9)), url('../img/hero.png') no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

#hero .subheadline {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-weight: 400;
}

#hero .hero-cta {
    margin-bottom: 1rem;
}

#hero .hero-cta .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

#hero .age-note {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 600;
    margin-top: 1.5rem;
}

#hero .age-note i {
    color: var(--primary-color);
}

.hero-games-preview {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-games-preview img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-games-preview img:hover {
    transform: scale(1.05);
    opacity: 1;
}


#features .container {
    text-align: center;
}

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

.feature-card {
    background: var(--white-color);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}


#how-it-works .container {
    text-align: center;
}

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

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

.step .step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.step .step-number i {
    font-size: 1.5rem;
    vertical-align: middle;
}

.step h3 {
    color: var(--primary-color);
}


#games .container {
    text-align: center;
}

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

.game-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

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

.game-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.game-card-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}


#social {
    background: var(--dark-color);
    color: var(--light-color);
}

#social h2,
#social h3 {
    color: var(--white-color);
}

.social-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.social-text {
    flex: 1;
}

.social-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-visual .social-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.social-visual .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}


#responsible {
    text-align: center;
}

#responsible .container {
    max-width: 800px;
}

#responsible .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

#responsible .btn {
    margin-top: 1rem;
}


#faq .container {
    max-width: 900px;
    text-align: center;
}

.faq-accordion {
    margin-top: 3rem;
    text-align: left;
}

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

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

.faq-question i {
    transition: transform 0.3s ease;
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
    opacity: 0.9;
}


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

.contact-info li {
    list-style: none;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

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

#form-success-message {
    display: none;
    padding: 1rem;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
}


.main-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0;
}

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

.footer-grid h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer-grid .logo {
    color: var(--white-color);
}

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

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

.footer-grid a {
    color: #ccc;
}

.footer-grid a:hover {
    color: var(--white-color);
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom .disclaimer {
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 0.5rem;
}


#age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.age-gate-content {
    background: var(--dark-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
}

.age-gate-content h2 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.age-gate-buttons {
    margin-top: 2rem;
}

.age-gate-buttons .btn {
    margin: 0.5rem;
    min-width: 150px;
}


#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    color: var(--white-color);
    padding: 1.5rem;
    z-index: 1500;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner-text a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

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

.cookie-banner-buttons .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}


#game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1100;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background: var(--dark-color);
    width: 90%;
    height: 85%;
    max-width: 1200px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding-top: 40px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--white-color);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close-btn:hover {
    transform: scale(1.2);
}

.modal-iframe-container {
    width: 100%;
    height: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
}

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

.modal-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #222;
    color: #888;
}

.modal-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}


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

    #hero h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .social-content {
        flex-direction: column;
    }

    .social-visual {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 0;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--light-color);
    }

    .nav-toggle {
        display: block;
    }

    .hero-games-preview img {
        width: 150px;
        height: 110px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero .subheadline {
        font-size: 1.1rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 2.5rem;
    }

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

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

    .social-visual {
        flex-direction: column;
    }

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

    .cookie-banner-buttons {
        justify-content: center;
        margin-top: 1rem;
    }

    .modal-content {
        width: 95%;
        height: 90%;
    }

    .age-gate-content {
        width: 90%;
        padding: 2rem;
    }
}

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

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

.legal-page-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--white-color);
}

.legal-page-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-page-container h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
}

.legal-page-container p,
.legal-page-container li {
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-page-container ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {

    .legal-page-container {
        margin: 2rem auto;
        padding: 1rem;
    }

    .legal-page-container h1 {
        font-size: 2rem;
    }

    .legal-page-container h2 {
        font-size: 1.5rem;
    }
}