@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nebula-primary: #7b2cbf;
    --nebula-secondary: #3c096c;
    --nebula-accent: #e0aaff;
    --nebula-dark: #10002b;
    --nebula-light: #c77dff;
    --nebula-glow: #ff6d00;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--nebula-dark) 0%, var(--nebula-secondary) 50%, var(--nebula-dark) 100%);
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, #fff, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent);
    background-size: 350px 200px;
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(16, 0, 43, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nebula-primary);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--nebula-accent), var(--nebula-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo::before {
    content: '✦ ';
    -webkit-text-fill-color: var(--nebula-glow);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--nebula-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nebula-glow);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--nebula-glow);
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--nebula-accent);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

main {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.cosmic-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.cosmic-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--nebula-primary) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, var(--nebula-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(123, 44, 191, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cosmic-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--nebula-primary), var(--nebula-glow));
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(123, 44, 191, 0.4);
    border: none;
    cursor: pointer;
}

.cosmic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 109, 0, 0.5);
}

.notice-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(123, 44, 191, 0.3);
    border: 1px solid var(--nebula-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.game-section {
    padding: 4rem 2rem;
    background: rgba(60, 9, 108, 0.4);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--nebula-accent);
}

.game-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(16, 0, 43, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid var(--nebula-primary);
    box-shadow: 0 20px 60px rgba(123, 44, 191, 0.3);
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

.info-section {
    padding: 5rem 2rem;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: linear-gradient(145deg, rgba(123, 44, 191, 0.2), rgba(60, 9, 108, 0.4));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--nebula-primary);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--nebula-accent);
}

.about-section {
    padding: 5rem 2rem;
    background: rgba(16, 0, 43, 0.6);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--nebula-accent);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer {
    background: var(--nebula-dark);
    padding: 3rem 2rem;
    border-top: 1px solid var(--nebula-primary);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nebula-accent);
    margin-bottom: 1.5rem;
}

.responsible-gaming {
    margin-bottom: 2rem;
}

.responsible-gaming h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--nebula-light);
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: var(--nebula-accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.responsible-links a:hover {
    color: var(--nebula-glow);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(123, 44, 191, 0.3);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 0, 43, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(145deg, var(--nebula-secondary), var(--nebula-dark));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--nebula-primary);
    box-shadow: 0 30px 80px rgba(123, 44, 191, 0.5);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--nebula-accent);
}

.age-modal-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--nebula-primary), var(--nebula-glow));
    color: #fff;
}

.age-btn.no {
    background: transparent;
    border: 2px solid var(--nebula-light);
    color: var(--nebula-light);
}

.age-btn:hover {
    transform: scale(1.05);
}

.content-page {
    padding: 6rem 2rem 4rem;
    min-height: calc(100vh - 200px);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(60, 9, 108, 0.3);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--nebula-primary);
}

.content-container h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--nebula-accent);
}

.content-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--nebula-light);
}

.content-container p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.content-container ul {
    margin: 1rem 0 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.content-container li {
    margin-bottom: 0.5rem;
}

.play-note {
    background: rgba(123, 44, 191, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--nebula-glow);
}

@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(16, 0, 43, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .notice-badges {
        flex-direction: column;
        align-items: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .content-container {
        padding: 2rem 1.5rem;
    }

    .content-container h1 {
        font-size: 1.8rem;
    }
}
