* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c2bd9;
    --secondary: #00d4ff;
    --dark: #0a0a14;
    --light: #f0f0f5;
    --accent: #ff00ff;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0a0a14 0%, #1a0a2e 100%);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(108, 43, 217, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
}

nav a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s;
    border-radius: 3px;
}

main {
    margin-top: 80px;
    padding: 0;
}

.hero-section {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(108, 43, 217, 0.4);
}

.notice-box {
    background: linear-gradient(135deg, rgba(108, 43, 217, 0.2), rgba(0, 212, 255, 0.2));
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.notice-box h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.notice-box li:before {
    content: '⚡ ';
    color: var(--accent);
    font-size: 1.3rem;
}

.content-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 43, 217, 0.5);
    border-color: var(--secondary);
}

.feature-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.game-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border: 3px solid var(--primary);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(108, 43, 217, 0.4);
}

footer {
    background: rgba(10, 10, 20, 0.95);
    border-top: 2px solid var(--primary);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #1a0a2e, #0a0a14);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid var(--primary);
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(108, 43, 217, 0.6);
}

.age-modal-content h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
}

.age-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
}

.age-btn.no {
    background: transparent;
}

.terms-content {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.terms-content h1 {
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.terms-content h2 {
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.terms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.terms-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 20, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }

    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 500px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
