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

:root {
    --cosmic-purple: #1a0a2e;
    --nebula-pink: #ff2d75;
    --star-white: #f0f0ff;
    --deep-space: #0d0518;
    --accent-cyan: #00f5ff;
    --glow-purple: #9b30ff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--cosmic-purple);
    color: var(--star-white);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(155, 48, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 45, 117, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom, var(--deep-space), var(--cosmic-purple));
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 5, 24, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(155, 48, 255, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--nebula-pink), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--star-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nebula-pink);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--nebula-pink);
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--accent-cyan);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='1' fill='white' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    animation: twinkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--star-white), var(--accent-cyan), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(0, 245, 255, 0.5);
}

.hero p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(240, 240, 255, 0.85);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--nebula-pink), var(--glow-purple));
    color: var(--star-white);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 45, 117, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 45, 117, 0.6);
}

/* Notice Boxes */
.notices {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.notice-box {
    background: rgba(155, 48, 255, 0.15);
    border: 1px solid rgba(155, 48, 255, 0.4);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.notice-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.notice-box p {
    font-size: 0.95rem;
    margin: 0;
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    background: rgba(13, 5, 24, 0.8);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-cyan);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(26, 10, 46, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(155, 48, 255, 0.4);
    box-shadow: 0 0 60px rgba(155, 48, 255, 0.2);
}

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

/* Features Section */
.features {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 10, 46, 0.9), rgba(13, 5, 24, 0.9));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(155, 48, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(155, 48, 255, 0.2);
}

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

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--nebula-pink);
}

.feature-card p {
    line-height: 1.7;
    color: rgba(240, 240, 255, 0.8);
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(13, 5, 24, 0.9));
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(240, 240, 255, 0.85);
}

/* Footer */
.site-footer {
    background: var(--deep-space);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(155, 48, 255, 0.3);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--nebula-pink);
}

.footer-text {
    color: rgba(240, 240, 255, 0.6);
    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);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

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

.age-modal-content {
    background: linear-gradient(145deg, var(--cosmic-purple), var(--deep-space));
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--glow-purple);
    box-shadow: 0 0 80px rgba(155, 48, 255, 0.4);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--nebula-pink);
}

.age-modal-content p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-btn-yes {
    background: linear-gradient(135deg, var(--nebula-pink), var(--glow-purple));
    color: var(--star-white);
}

.age-btn-yes:hover {
    box-shadow: 0 0 30px rgba(255, 45, 117, 0.6);
    transform: scale(1.05);
}

.age-btn-no {
    background: transparent;
    color: var(--star-white);
    border: 2px solid rgba(240, 240, 255, 0.3);
}

.age-btn-no:hover {
    border-color: var(--nebula-pink);
}

/* Page Content */
.page-content {
    padding: 120px 2rem 4rem;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.page-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-cyan);
}

.page-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--nebula-pink);
}

.page-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(240, 240, 255, 0.85);
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: rgba(240, 240, 255, 0.85);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(13, 5, 24, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-nav.active {
        transform: translateX(0);
    }

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

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

    .notices {
        flex-direction: column;
        align-items: center;
    }

    .notice-box {
        width: 100%;
        max-width: 350px;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .page-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

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

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

    .age-modal-content {
        padding: 2rem;
    }

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