@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.7;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 38px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    gap: 16px;
}

.logo-shape {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #feca57 0%, #ff6348 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: rotate(5deg);
}

.site-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.menu-icon {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

main {
    padding: 70px 38px;
}

.intro {
    text-align: center;
    padding: 95px 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.intro h1 {
    font-size: 68px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.intro p {
    font-size: 24px;
    margin-bottom: 48px;
    color: #ffffff;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin: 80px auto;
    max-width: 1400px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    padding: 45px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

.highlight-card .graphic {
    font-size: 58px;
    margin-bottom: 24px;
    display: block;
}

.highlight-card h3 {
    font-size: 27px;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.highlight-card p {
    font-size: 17px;
    color: #ffffff;
    line-height: 1.8;
    opacity: 0.95;
}

.play-area {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 52px;
    border-radius: 28px;
    margin: 80px auto;
    max-width: 1400px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.play-area h2 {
    text-align: center;
    font-size: 44px;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.game-view {
    width: 100%;
    height: 730px;
    border: none;
    border-radius: 18px;
    background: #000000;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
}

.text-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    padding: 60px;
    border-radius: 25px;
    margin: 50px auto;
    max-width: 1400px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.text-box h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.text-box h3 {
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.text-box p {
    font-size: 18px;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.85;
    opacity: 0.95;
}

.text-box ul {
    margin: 24px 0;
    padding-left: 35px;
}

.text-box li {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.8;
    opacity: 0.95;
}

footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 60px 38px;
    margin-top: 95px;
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.resource-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.resource-links a:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-content p {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

.age-check {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-check.hidden {
    display: none;
}

.check-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: 4px solid #ffffff;
    padding: 70px 60px;
    border-radius: 25px;
    text-align: center;
    max-width: 560px;
    box-shadow: 0 0 60px rgba(240, 147, 251, 0.7);
}

.check-box h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.check-box p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #ffffff;
    line-height: 1.7;
}

.action-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.check-btn {
    padding: 18px 52px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.check-btn.proceed {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
}

.check-btn.proceed:hover {
    background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5);
}

.check-btn.exit {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
    color: white;
}

.check-btn.exit:hover {
    background: linear-gradient(135deg, #c92a2a 0%, #ff6b6b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav {
        position: fixed;
        top: 94px;
        left: -100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        transition: left 0.3s ease;
        padding: 40px;
        border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 18px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        background: transparent;
    }

    .intro h1 {
        font-size: 44px;
    }

    .intro p {
        font-size: 20px;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .game-view {
        height: 540px;
    }

    .text-box {
        padding: 40px 24px;
    }

    .check-box {
        margin: 20px;
        padding: 50px 38px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .check-btn {
        width: 100%;
    }
}
