@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6b2d9e;
    --secondary-color: #d4af37;
    --dark-bg: #1a0a2e;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d1654 100%);
    color: var(--text-light);
    min-height: 100vh;
}

header {
    background: rgba(26, 10, 46, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-color);
    backdrop-filter: blur(10px);
}

.container {
    max-width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hero {
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.notice-box {
    background: rgba(107, 45, 158, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 900px;
    backdrop-filter: blur(5px);
}

.notice-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.notice-box ul {
    list-style: none;
    text-align: left;
    font-size: 1.1rem;
    line-height: 2;
}

.notice-box li::before {
    content: '⚠️ ';
    margin-right: 0.5rem;
}

.game-container {
    margin: 4rem auto;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 50px rgba(107, 45, 158, 0.3);
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.content-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(107, 45, 158, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
}

footer {
    background: rgba(26, 10, 46, 0.95);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
    border-top: 2px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-gray);
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
}

.age-popup h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.age-popup p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.btn-yes {
    background: linear-gradient(135deg, var(--secondary-color), #f4d03f);
    color: var(--dark-bg);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.btn-no {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 10, 46, 0.98);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--secondary-color);
    }

    nav ul.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .game-container iframe {
        height: 500px;
    }
}
