@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a0a2e;
    --secondary: #16213e;
    --accent: #9d4edd;
    --accent-light: #c77dff;
    --text: #e0e0e0;
    --text-dim: #9e9e9e;
    --shadow-color: rgba(157, 78, 221, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px var(--shadow-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-light);
    text-decoration: none;
    text-shadow: 0 0 20px var(--shadow-color);
    letter-spacing: 2px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-light);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-light);
}

nav a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--shadow-color) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent-light);
    text-shadow: 0 0 40px var(--shadow-color);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-dim);
}

/* Notice Boxes */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.notice-box {
    background: linear-gradient(145deg, rgba(157, 78, 221, 0.1), rgba(22, 33, 62, 0.5));
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.notice-box h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-light);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.notice-box p {
    color: var(--text-dim);
}

/* Game Section */
.game-section {
    margin: 60px 0;
}

.game-section h2 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--accent-light);
}

.game-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: rgba(26, 10, 46, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(157, 78, 221, 0.2);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-light);
    margin-bottom: 15px;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.content-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 30px;
    text-align: center;
}

.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-light);
    margin: 35px 0 15px;
}

.content-section p {
    margin-bottom: 20px;
    color: var(--text-dim);
    font-size: 1.1rem;
}

.content-section ul {
    margin: 20px 0 20px 30px;
    color: var(--text-dim);
}

.content-section li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: rgba(26, 10, 46, 0.95);
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(157, 78, 221, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.responsible-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.responsible-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.responsible-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-modal {
    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: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 60px var(--shadow-color);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-light);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.age-modal-content p {
    margin-bottom: 30px;
    color: var(--text-dim);
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-btn {
    padding: 15px 50px;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: var(--accent);
    color: white;
}

.age-btn.yes:hover {
    background: var(--accent-light);
    box-shadow: 0 5px 30px var(--shadow-color);
}

.age-btn.no {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-light);
}

.age-btn.no:hover {
    background: rgba(157, 78, 221, 0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26, 10, 46, 0.98);
        transition: right 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    nav a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .game-container iframe {
        height: 450px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 30px;
    }

    .age-buttons {
        flex-direction: column;
    }
}
