@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #000814;
    color: #fdfcdc;
    min-height: 100vh;
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(0, 119, 182, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(255, 209, 102, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.page-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    background: linear-gradient(180deg, rgba(0, 119, 182, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 209, 102, 0.3);
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.2);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 35px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fdfcdc;
    gap: 18px;
}

.logo-emblem {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0077b6 0%, #ffd166 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(255, 209, 102, 0.4);
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd166;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffd166;
    font-size: 30px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 38px;
}

nav a {
    color: #fdfcdc;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 6px;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.3), rgba(255, 209, 102, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    z-index: -1;
}

nav a:hover::before {
    opacity: 1;
}

nav a:hover {
    color: #ffd166;
    transform: translateY(-2px);
}

main {
    padding: 65px 35px;
    position: relative;
    z-index: 1;
}

.welcome-section {
    text-align: center;
    padding: 90px 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.welcome-section h1 {
    font-size: 62px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #ffd166;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255, 209, 102, 0.5);
}

.welcome-section p {
    font-size: 23px;
    margin-bottom: 45px;
    color: #fdfcdc;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
    margin: 75px auto;
    max-width: 1400px;
}

.feature-item {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 42px;
    border-radius: 16px;
    border: 1px solid rgba(0, 119, 182, 0.4);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 209, 102, 0.6);
    box-shadow: 0 8px 35px rgba(255, 209, 102, 0.3);
}

.feature-item .emoji {
    font-size: 52px;
    margin-bottom: 22px;
    display: block;
}

.feature-item h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: #ffd166;
    font-weight: 600;
}

.feature-item p {
    font-size: 17px;
    color: #fdfcdc;
    line-height: 1.7;
    opacity: 0.95;
}

.gaming-section {
    background: linear-gradient(135deg, rgba(0, 8, 20, 0.9) 0%, rgba(0, 119, 182, 0.2) 100%);
    padding: 55px;
    border-radius: 18px;
    margin: 75px auto;
    max-width: 1400px;
    border: 1px solid rgba(255, 209, 102, 0.3);
    box-shadow: 0 0 40px rgba(0, 119, 182, 0.25);
}

.gaming-section h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 38px;
    color: #ffd166;
    font-weight: 700;
}

.game-iframe {
    width: 100%;
    height: 720px;
    border: none;
    border-radius: 14px;
    background: #000000;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.6);
}

.info-section {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.12) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 58px;
    border-radius: 18px;
    margin: 48px auto;
    max-width: 1400px;
    border: 1px solid rgba(0, 119, 182, 0.3);
}

.info-section h2 {
    font-size: 40px;
    margin-bottom: 28px;
    color: #ffd166;
    font-weight: 700;
}

.info-section h3 {
    font-size: 29px;
    margin-top: 38px;
    margin-bottom: 18px;
    color: #ffd166;
    font-weight: 600;
}

.info-section p {
    font-size: 18px;
    margin-bottom: 23px;
    color: #fdfcdc;
    line-height: 1.85;
    opacity: 0.95;
}

.info-section ul {
    margin: 23px 0;
    padding-left: 32px;
}

.info-section li {
    font-size: 18px;
    margin-bottom: 14px;
    color: #fdfcdc;
    line-height: 1.75;
    opacity: 0.95;
}

footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 119, 182, 0.25) 100%);
    padding: 58px 35px;
    margin-top: 90px;
    border-top: 1px solid rgba(255, 209, 102, 0.3);
    box-shadow: 0 -4px 25px rgba(0, 119, 182, 0.15);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h3 {
    font-size: 26px;
    margin-bottom: 28px;
    color: #ffd166;
    font-weight: 700;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.support-links a {
    color: #fdfcdc;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.3), rgba(255, 209, 102, 0.2));
    border-radius: 8px;
    border: 1px solid rgba(255, 209, 102, 0.3);
}

.support-links a:hover {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.5), rgba(255, 209, 102, 0.4));
    border-color: rgba(255, 209, 102, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 209, 102, 0.3);
}

.footer-container p {
    margin-top: 28px;
    color: #94a3b8;
    font-size: 16px;
    opacity: 0.9;
}

.age-gate {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 8, 20, 0.98);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-gate.hidden {
    display: none;
}

.age-card {
    background: linear-gradient(135deg, #001d3d 0%, #003566 100%);
    border: 2px solid #ffd166;
    padding: 68px 58px;
    border-radius: 18px;
    text-align: center;
    max-width: 540px;
    box-shadow: 0 0 50px rgba(255, 209, 102, 0.5);
}

.age-card h2 {
    font-size: 36px;
    margin-bottom: 28px;
    color: #ffd166;
    font-weight: 700;
}

.age-card p {
    font-size: 19px;
    margin-bottom: 38px;
    color: #fdfcdc;
    line-height: 1.7;
}

.age-controls {
    display: flex;
    gap: 22px;
    justify-content: center;
}

.age-btn {
    padding: 17px 48px;
    font-size: 19px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.age-btn.confirm {
    background: linear-gradient(135deg, #38b000 0%, #008000 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(56, 176, 0, 0.4);
}

.age-btn.confirm:hover {
    background: linear-gradient(135deg, #008000 0%, #006400 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(56, 176, 0, 0.6);
}

.age-btn.reject {
    background: linear-gradient(135deg, #d00000 0%, #9d0208 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(208, 0, 0, 0.4);
}

.age-btn.reject:hover {
    background: linear-gradient(135deg, #9d0208 0%, #6a040f 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(208, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 100%;
        background: rgba(0, 8, 20, 0.98);
        transition: left 0.3s ease;
        padding: 38px;
        border-bottom: 1px solid rgba(255, 209, 102, 0.3);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 16px 22px;
        border-bottom: 1px solid rgba(0, 119, 182, 0.3);
    }

    nav a::before {
        display: none;
    }

    .welcome-section h1 {
        font-size: 40px;
    }

    .welcome-section p {
        font-size: 19px;
    }

    .feature-boxes {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 530px;
    }

    .info-section {
        padding: 38px 22px;
    }

    .age-card {
        margin: 20px;
        padding: 48px 38px;
    }

    .age-controls {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}
