@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --spectro-dark: #050a15;
    --spectro-navy: #0d1b2a;
    --spectro-cyan: #00d4ff;
    --spectro-teal: #00b4d8;
    --spectro-mint: #90e0ef;
    --spectro-white: #caf0f8;
    --text-main: #ffffff;
    --text-dim: #a8c5d6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--spectro-dark);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Animated Background */
.spectro-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, var(--spectro-dark) 0%, var(--spectro-navy) 50%, var(--spectro-dark) 100%);
    z-index: -2;
}

.spectro-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 70% 30%, rgba(0, 180, 216, 0.06) 0%, transparent 40%);
    animation: spectroFloat 20s linear infinite;
    z-index: -1;
}

@keyframes spectroFloat {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(5, 10, 21, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo svg {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--spectro-cyan);
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    background: none;
    border: 2px solid var(--spectro-cyan);
    border-radius: 4px;
    padding: 6px;
    cursor: pointer;
}

.hamburger svg {
    width: 24px;
    height: 24px;
    fill: var(--spectro-cyan);
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.primary-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.primary-nav a:hover {
    color: var(--spectro-cyan);
    border-bottom-color: var(--spectro-cyan);
}

/* Main Content */
main {
    padding-top: 70px;
}

/* Hero Split Layout */
.hero-split {
    min-height: calc(100vh - 70px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2rem;
    gap: 3rem;
}

.hero-text {
    padding-left: 4%;
}

.hero-text h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-text h1 span {
    color: var(--spectro-cyan);
    display: block;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 480px;
}

.btn-glow {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--spectro-cyan);
    color: var(--spectro-cyan);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--spectro-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-glow:hover {
    color: var(--spectro-dark);
}

.btn-glow:hover::before {
    left: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-frame::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
}

.inner-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    color: var(--spectro-cyan);
    text-align: center;
}

/* Alert Strips */
.alert-strips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: var(--spectro-navy);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.alert-strip {
    flex: 1;
    min-width: 280px;
    padding: 2rem;
    text-align: center;
    border-right: 1px solid rgba(0, 212, 255, 0.1);
}

.alert-strip:last-child {
    border-right: none;
}

.alert-strip .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.alert-strip h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--spectro-mint);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.alert-strip p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Game Arena */
.game-arena {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.arena-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--spectro-mint);
    letter-spacing: 2px;
}

.game-frame {
    background: var(--spectro-navy);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 1rem;
    position: relative;
}

.game-frame::before,
.game-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--spectro-cyan);
}

.game-frame::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.game-frame::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.game-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features Grid */
.features-section {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-tile {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.8), rgba(5, 10, 21, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--spectro-cyan);
    transition: height 0.3s ease;
}

.feature-tile:hover::before {
    height: 100%;
}

.feature-tile:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.feature-tile h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: var(--spectro-cyan);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.feature-tile p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Page Content */
.page-wrapper {
    padding: 5rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-wrapper h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--spectro-cyan);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 1rem;
}

.page-wrapper h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    color: var(--spectro-mint);
    margin: 2.5rem 0 1rem;
    letter-spacing: 1px;
}

.page-wrapper p {
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}

.page-wrapper ul {
    color: var(--text-dim);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-wrapper li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background: var(--spectro-navy);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner > p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.help-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.help-links a {
    color: var(--spectro-teal);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.help-links a:hover {
    color: var(--spectro-cyan);
}

.footer-note {
    color: var(--text-dim);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 21, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: var(--spectro-navy);
    border: 2px solid var(--spectro-cyan);
    padding: 3rem;
    max-width: 450px;
    margin: 1rem;
    text-align: center;
}

.age-box h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    color: var(--spectro-cyan);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.age-box p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-actions button {
    padding: 0.8rem 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.age-actions .confirm {
    background: var(--spectro-cyan);
    border: none;
    color: var(--spectro-dark);
}

.age-actions .confirm:hover {
    background: var(--spectro-mint);
}

.age-actions .deny {
    background: transparent;
    border: 2px solid var(--spectro-cyan);
    color: var(--spectro-cyan);
}

.age-actions .deny:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        padding: 0;
        order: 2;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: 1;
    }

    .visual-frame {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: rgba(5, 10, 21, 0.98);
        padding: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }

    .primary-nav.open {
        transform: translateY(0);
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .alert-strips {
        flex-direction: column;
    }

    .alert-strip {
        border-right: none;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

    .game-frame iframe {
        height: 400px;
    }

    .site-header {
        padding: 0.8rem 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}
