@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --space-blue: #0a1929;
    --cosmic-purple: #7c3aed;
    --star-white: #e0f2fe;
    --nebula-pink: #ec4899;
    --deep-space: #020617;
    --meteor-orange: #fb923c;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--deep-space);
    color: var(--star-white);
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.4;
    z-index: -1;
}

.top-bar {
    background: linear-gradient(180deg, rgba(10, 25, 41, 0.95) 0%, rgba(2, 6, 23, 0.9) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.2);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cosmic-purple);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.primary-nav a {
    color: var(--star-white);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.primary-nav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, var(--cosmic-purple), var(--nebula-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.primary-nav a:hover::before {
    transform: scaleX(1);
}

.primary-nav a:hover {
    color: var(--cosmic-purple);
}

.nav-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-burger span {
    width: 25px;
    height: 2px;
    background: var(--cosmic-purple);
    transition: all 0.3s ease;
}

.intro-section {
    max-width: 1500px;
    margin: 5rem auto 3rem;
    padding: 0 3rem;
    text-align: center;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--nebula-pink) 50%, var(--meteor-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cosmic-purple);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--nebula-pink);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.intro-text {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.page-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

.game-wrapper {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(2, 6, 23, 0.8) 100%);
    border: 2px solid rgba(124, 58, 237, 0.4);
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 1300px;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.3);
}

.game-wrapper iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 8px;
    background: black;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-tile {
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.6) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.info-tile:hover {
    transform: translateY(-10px);
    border-color: var(--cosmic-purple);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
}

.info-tile h3 {
    margin-bottom: 1rem;
}

.warning-panel {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 2px solid var(--nebula-pink);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-panel ul {
    list-style: none;
    padding: 0;
}

.warning-panel li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
}

.warning-panel li::before {
    content: '⭐';
    position: absolute;
    left: 0;
}

.site-footer {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.9) 0%, rgba(10, 25, 41, 0.95) 100%);
    padding: 3rem 3rem;
    margin-top: 5rem;
    border-top: 2px solid rgba(124, 58, 237, 0.4);
}

.footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.support-links a {
    color: var(--star-white);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.support-links a:hover {
    color: var(--cosmic-purple);
}

.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-gate.visible {
    display: flex;
}

.gate-panel {
    background: linear-gradient(135deg, var(--space-blue) 0%, rgba(124, 58, 237, 0.3) 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--cosmic-purple);
    box-shadow: 0 0 80px rgba(124, 58, 237, 0.6);
}

.gate-panel h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.gate-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.gate-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gate-btn.accept {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--nebula-pink));
    color: white;
}

.gate-btn.accept:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.6);
}

.gate-btn.reject {
    background: #334155;
    color: white;
}

.gate-btn.reject:hover {
    background: #475569;
}

.text-section {
    background: rgba(10, 25, 41, 0.4);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--cosmic-purple);
}

.text-section p {
    margin-bottom: 1rem;
}

.text-section ul, .text-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.text-section li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }
    
    .primary-nav ul {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: rgba(10, 25, 41, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid rgba(124, 58, 237, 0.5);
    }
    
    .primary-nav ul.open {
        left: 0;
    }
    
    .primary-nav li {
        margin: 1.2rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .tiles-grid {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper iframe {
        height: 500px;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .page-content {
        padding: 2rem 1.5rem;
    }
    
    .intro-section {
        padding: 0 1.5rem;
        margin: 3rem auto 2rem;
    }
    
    .gate-panel {
        margin: 1rem;
        padding: 2rem;
    }
    
    .gate-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .support-links {
        flex-direction: column;
        gap: 1rem;
    }
}
