@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-dark: #4a148c;
    --purple-main: #667eea;
    --purple-light: #764ba2;
    --cyan: #00d4ff;
    --bg-dark: #0f0c29;
    --bg-card: #1a1545;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    color: #fff;
    min-height: 100vh;
}

header {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--purple-main);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.header-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-main), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-symbol {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    font-weight: 900;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--cyan);
}

nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--cyan);
    border-radius: 3px;
    transition: all 0.3s;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-section p {
    font-size: 1.3rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: #d0d0d0;
    line-height: 1.7;
}

.notice-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 87, 34, 0.2));
    border: 2px solid #ff9800;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.notice-box h2 {
    font-family: 'Orbitron', sans-serif;
    color: #ffa726;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.notice-items {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.notice-items li {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid #ff9800;
    font-weight: 600;
    font-size: 1.05rem;
}

.game-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid rgba(102, 126, 234, 0.4);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.game-wrapper h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.content-block {
    background: var(--bg-card);
    padding: 3.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    line-height: 1.9;
}

.content-block h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.content-block h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--purple-main);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-block p {
    color: #e0e0e0;
    margin-bottom: 1.2rem;
}

.content-block ul {
    margin: 1rem 0 1rem 2rem;
    color: #e0e0e0;
}

.content-block li {
    margin-bottom: 0.7rem;
}

footer {
    background: rgba(15, 12, 41, 0.9);
    padding: 2.5rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--purple-main);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--purple-main);
    text-shadow: 0 0 10px var(--purple-main);
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 41, 0.98);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--bg-card), var(--purple-dark));
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--purple-main);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.age-modal-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.age-btns {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--purple-main), var(--cyan));
    color: white;
}

.age-btn.yes:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.age-btn.no {
    background: #424242;
    color: white;
}

.age-btn.no:hover {
    background: #616161;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background: rgba(15, 12, 41, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.8rem;
        transition: left 0.3s;
        border-bottom: 2px solid var(--purple-main);
    }

    nav ul.active {
        left: 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .content-block {
        padding: 2rem 1.5rem;
    }
}
