@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.75;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.logo {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0891b2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #0891b2;
    transition: all 0.3s;
    border-radius: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 10px 22px;
    border-radius: 8px;
}

nav a:hover {
    color: #0891b2;
    background: #e0f2fe;
}

.banner {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    padding: 110px 60px;
    text-align: center;
    color: #ffffff;
}

.banner h1 {
    font-size: 4.2rem;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.banner p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.main-section {
    background: #ffffff;
    padding: 75px 70px;
    margin: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.main-section h2 {
    font-size: 3.2rem;
    margin-bottom: 35px;
    text-align: center;
    color: #0891b2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.main-section p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    line-height: 1.95;
    color: #475569;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 55px;
}

.card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 42px;
    text-align: center;
    transition: all 0.35s;
}

.card:hover {
    border-color: #0891b2;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.15);
}

.card-icon {
    font-size: 3.8rem;
    margin-bottom: 24px;
    display: block;
}

.card h3 {
    font-size: 1.9rem;
    margin-bottom: 18px;
    color: #0891b2;
    font-weight: 700;
}

.card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #64748b;
}

.alert-section {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 5px solid #dc2626;
    border-radius: 12px;
    padding: 45px;
    margin: 50px 60px;
}

.alert-section h3 {
    font-size: 2.5rem;
    margin-bottom: 28px;
    color: #991b1b;
    font-weight: 800;
}

.alert-section ul {
    list-style: none;
    padding: 0;
}

.alert-section li {
    padding: 16px 0;
    padding-left: 42px;
    position: relative;
    font-size: 1.1rem;
    color: #7f1d1d;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.alert-section li:last-child {
    border-bottom: none;
}

.alert-section li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    font-size: 1.6rem;
}

.game-area {
    background: #ffffff;
    border: 3px solid #0891b2;
    border-radius: 16px;
    padding: 65px;
    margin: 50px 60px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.12);
}

.game-area h2 {
    margin-bottom: 42px;
    font-size: 3.5rem;
    color: #0891b2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.game-frame {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 55px 60px;
    text-align: center;
    margin-top: 70px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 42px;
    margin-bottom: 28px;
}

.footer-menu a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #0891b2;
}

footer p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 75px;
    text-align: center;
    max-width: 620px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    font-size: 3.5rem;
    margin-bottom: 28px;
    color: #0891b2;
    font-weight: 800;
}

.modal-content p {
    font-size: 1.3rem;
    margin-bottom: 38px;
    line-height: 1.9;
    color: #475569;
}

.modal-buttons {
    display: flex;
    gap: 28px;
    justify-content: center;
}

.btn {
    padding: 18px 52px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-confirm {
    background: #0891b2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.4);
}

.btn-cancel {
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 84px;
        left: -100%;
        width: 100%;
        background: #ffffff;
        padding: 22px;
        transition: left 0.3s;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .banner h1 {
        font-size: 2.6rem;
    }

    .banner p {
        font-size: 1.2rem;
    }

    .main-section {
        padding: 55px 35px;
        margin: 35px 25px;
    }

    .main-section h2 {
        font-size: 2.4rem;
    }

    .game-frame {
        height: 500px;
    }

    .modal-content {
        padding: 50px 30px;
        margin: 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .logo {
        font-size: 1.8rem;
    }

    .header-content {
        padding: 0 25px;
    }
}
