@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a1929;
    --secondary: #00d4ff;
    --accent: #4dd0e1;
    --silver: #c0c0c0;
    --text: #ffffff;
    --bg: linear-gradient(180deg, #0a1929 0%, #132f4c 50%, #1e4976 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
}

header {
    background: linear-gradient(90deg, rgba(10, 25, 41, 0.98) 0%, rgba(19, 47, 76, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
}

.site-name {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #4dd0e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #4dd0e1);
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    position: relative;
}

nav ul li a:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary);
}

main {
    max-width: 100%;
    padding: 2.5rem 3rem;
}

.hero-section {
    text-align: center;
    padding: 5rem 3rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(77, 208, 225, 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 50%, #4dd0e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.notice-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(77, 208, 225, 0.08) 100%);
    border: 2px solid var(--secondary);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 950px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.notice-box h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 600;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    padding: 1rem 1.5rem;
    margin: 0.8rem 0;
    background: rgba(0, 212, 255, 0.05);
    border-left: 5px solid var(--secondary);
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 400;
}

.game-container {
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.6) 0%, rgba(19, 47, 76, 0.6) 100%);
    border: 2px solid var(--accent);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 1500px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.25);
}

.game-container h2 {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 600;
}

.game-frame {
    width: 100%;
    min-height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.content-section {
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.4) 0%, rgba(19, 47, 76, 0.4) 100%);
    border-radius: 25px;
    padding: 3.5rem;
    margin: 2.5rem auto;
    max-width: 1100px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.content-section h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 3.5rem;
    font-weight: 700;
}

.content-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    font-size: 2.2rem;
    font-weight: 600;
}

.content-section h3 {
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.3rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.content-section ul, .content-section ol {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.9rem;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
}

footer {
    background: linear-gradient(90deg, rgba(10, 25, 41, 0.98) 0%, rgba(19, 47, 76, 0.98) 100%);
    padding: 3.5rem 3rem;
    margin-top: 5rem;
    border-top: 2px solid var(--secondary);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 1.9rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.08rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
}

.footer-links a:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary);
}

.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification.active {
    display: flex;
}

.age-modal {
    background: linear-gradient(135deg, #0a1929 0%, #132f4c 100%);
    border: 3px solid var(--secondary);
    border-radius: 25px;
    padding: 3.5rem;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.5);
}

.age-modal h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    margin-bottom: 1.8rem;
    font-size: 2.8rem;
    font-weight: 700;
}

.age-modal p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.age-buttons {
    display: flex;
    gap: 1.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-button {
    padding: 1.1rem 2.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-button.yes {
    background: linear-gradient(135deg, #00d4ff 0%, #4dd0e1 100%);
    color: #0a1929;
}

.age-button.yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.age-button.no {
    background: rgba(192, 192, 192, 0.2);
    color: var(--text);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.age-button.no:hover {
    background: rgba(192, 192, 192, 0.3);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 25, 41, 0.98);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    }

    nav ul.active {
        max-height: 500px;
        border-bottom: 2px solid var(--secondary);
    }

    nav ul li {
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 1.5rem 3rem;
        border-radius: 0;
    }

    .header-content {
        padding: 0 1.5rem;
    }

    .site-name {
        font-size: 1.6rem;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 2.5rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .age-modal {
        margin: 1.5rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
        gap: 1.2rem;
    }
}
