* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --coral: #ff6b6b;
    --sunshine: #ffd93d;
    --mint: #6bcf7f;
    --lavender: #a29bfe;
    --peach: #fab1a0;
    --white: #ffffff;
    --dark-text: #2d3436;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--peach) 50%, var(--sunshine) 100%);
    background-attachment: fixed;
    color: var(--dark-text);
    line-height: 1.7;
}

header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo {
    width: 55px;
    height: 55px;
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--coral), var(--sunshine), var(--mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle .bar {
    width: 32px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--mint));
    border-radius: 10px;
    transition: all 0.3s;
}

.main-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.main-nav a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    position: relative;
    transition: color 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--mint));
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--coral);
}

.main-nav a:hover::after {
    width: 100%;
}

.splash {
    text-align: center;
    padding: 6rem 5% 5rem;
    background: var(--white);
    margin: 2rem 5%;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.splash h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--coral), var(--sunshine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.splash-description {
    font-size: 1.4rem;
    color: #636e72;
    max-width: 850px;
    margin: 0 auto 3rem;
}

.action-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, var(--coral), var(--sunshine), var(--mint));
    color: var(--white);
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s;
}

.action-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.content-block {
    padding: 4rem 5%;
    margin: 2rem 5%;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--mint), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.info-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 3px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--coral);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2);
}

.info-card h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--coral);
}

.info-card p {
    color: #636e72;
    font-size: 1.15rem;
}

.game-frame {
    width: 100%;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-frame iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.site-footer {
    background: var(--white);
    padding: 3rem 5%;
    margin-top: 3rem;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #636e72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--coral);
}

.legal-content {
    padding: 4rem 5%;
    max-width: 1300px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.legal-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--coral);
}

.legal-content h3 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--mint);
}

.legal-content p, .legal-content ul {
    color: #636e72;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
}

.legal-content ul {
    margin-left: 2.5rem;
}

.legal-content li {
    margin-bottom: 0.7rem;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.show {
    display: flex;
}

.popup-box {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--coral);
}

.popup-box p {
    font-size: 1.25rem;
    color: #636e72;
    margin-bottom: 2.5rem;
}

.popup-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.popup-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-btn.yes {
    background: linear-gradient(135deg, var(--coral), var(--sunshine));
    color: var(--white);
}

.popup-btn.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.popup-btn.no {
    background: #dfe6e9;
    color: var(--dark-text);
}

.popup-btn.no:hover {
    background: #b2bec3;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 85px);
        background: var(--white);
        flex-direction: column;
        padding: 3rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        align-items: flex-start;
    }

    .main-nav.open {
        right: 0;
    }

    .splash h1 {
        font-size: 2.5rem;
    }

    .splash-description {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .game-frame iframe {
        height: 500px;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
