@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c3ce0;
    --secondary-color: #1a0a2e;
    --accent-color: #ff00ff;
    --text-color: #e0d6ff;
    --dark-bg: #0d0518;
    --card-bg: rgba(108, 60, 224, 0.15);
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--accent-color);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: var(--primary-color);
    color: white;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, transparent 0%, var(--card-bg) 50%, transparent 100%);
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px var(--accent-color);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Notice Cards */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.notice-card {
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 60, 224, 0.3);
}

.notice-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Game Section */
.game-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid var(--primary-color);
}

.game-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.game-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.info-box {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
}

.info-box h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Content Pages */
.content-page {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
}

.content-page h1 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.content-page h2 {
    color: var(--accent-color);
    margin: 2rem 0 1rem;
}

.content-page p {
    margin-bottom: 1rem;
}

.content-page ul {
    margin: 1rem 0 1rem 2rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.responsible-links a {
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
}

.responsible-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-copy {
    color: #888;
    font-size: 0.9rem;
}

/* Age Verification Popup */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-popup {
    background: var(--secondary-color);
    border: 3px solid var(--accent-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 0 50px var(--accent-color);
}

.age-popup h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.age-popup p {
    margin-bottom: 2rem;
}

.age-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-popup-buttons button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: var(--primary-color);
    color: white;
}

.btn-yes:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.btn-no {
    background: #333;
    color: #888;
}

.btn-no:hover {
    background: #444;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary-color);
        transition: right 0.3s ease;
        padding-top: 80px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .responsible-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .main-content {
        padding: 1rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .content-page {
        padding: 1.5rem;
    }

    .age-popup {
        padding: 2rem;
    }

    .age-popup-buttons {
        flex-direction: column;
    }
}
