/* Astrenyx - Neon Cyberpunk Theme */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Exo+2:wght@300;400;600;700&display=swap');

:root {
    --neon-pink: #ff00ff;
    --cyber-blue: #00ffff;
    --dark-chrome: #0a0a12;
    --steel-gray: #1a1a2e;
    --electric-green: #39ff14;
    --soft-white: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-chrome);
    color: var(--soft-white);
    min-height: 100vh;
    background-image: 
        linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Cyber Header */
.cyber-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.95);
    border-bottom: 2px solid var(--cyber-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

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

.neon-logo {
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    text-decoration: none;
    background: linear-gradient(90deg, var(--neon-pink), var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

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

.cyber-nav a {
    color: var(--soft-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s;
}

.cyber-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
    transition: width 0.3s;
}

.cyber-nav a:hover {
    color: var(--cyber-blue);
}

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

.cyber-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
}

.cyber-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--cyber-blue);
    margin: 6px 0;
    box-shadow: 0 0 10px var(--cyber-blue);
    transition: all 0.3s;
}

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

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

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

/* Digital Hero */
.digital-hero {
    min-height: 100vh;
    padding: 120px 2rem 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.digital-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-center {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-center h1 {
    font-family: 'Audiowide', cursive;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--cyber-blue), var(--neon-pink), var(--electric-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
}

.hero-center .desc {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: var(--soft-white);
    opacity: 0.9;
    line-height: 1.8;
}

.neon-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    text-decoration: none;
    font-family: 'Audiowide', cursive;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.neon-btn:hover {
    background: var(--neon-pink);
    color: var(--dark-chrome);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.6);
}

/* Info Blocks */
.info-blocks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.info-block {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--cyber-blue);
    padding: 1.5rem 2rem;
    width: 280px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.info-block h4 {
    color: var(--electric-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-block p {
    font-size: 0.9rem;
    font-weight: 300;
}

/* Game Zone */
.game-zone {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(26, 26, 46, 0.5), transparent);
}

.zone-title {
    font-family: 'Audiowide', cursive;
    font-size: 2.2rem;
    color: var(--cyber-blue);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.game-terminal {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(10, 10, 18, 0.9);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.2);
}

.game-terminal iframe {
    width: 100%;
    height: 640px;
    border: none;
}

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

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

.matrix-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.9), rgba(10, 10, 18, 0.9));
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--cyber-blue));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.matrix-card:hover {
    border-color: var(--cyber-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.matrix-card:hover::before {
    transform: scaleX(1);
}

.card-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.matrix-card h3 {
    font-family: 'Audiowide', cursive;
    color: var(--neon-pink);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.matrix-card p {
    font-weight: 300;
    line-height: 1.7;
}

/* About Matrix */
.about-matrix {
    padding: 5rem 2rem;
    background: rgba(255, 0, 255, 0.03);
}

.matrix-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-matrix h2 {
    font-family: 'Audiowide', cursive;
    color: var(--cyber-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-matrix p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Footer */
.cyber-footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 2.5rem 2rem;
    border-top: 2px solid var(--cyber-blue);
}

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

.help-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.help-row a {
    color: var(--electric-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.help-row a:hover {
    color: var(--cyber-blue);
}

.footer-text {
    color: var(--soft-white);
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.age-terminal {
    background: linear-gradient(145deg, var(--steel-gray), var(--dark-chrome));
    border: 2px solid var(--neon-pink);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 60px rgba(255, 0, 255, 0.3);
}

.age-terminal h2 {
    font-family: 'Audiowide', cursive;
    color: var(--cyber-blue);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.age-terminal p {
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.7;
}

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

.btn-access {
    padding: 1rem 2.5rem;
    background: var(--neon-pink);
    color: var(--dark-chrome);
    border: none;
    font-family: 'Audiowide', cursive;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

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

.btn-deny {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--soft-white);
    border: 1px solid var(--soft-white);
    font-family: 'Audiowide', cursive;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-deny:hover {
    border-color: var(--cyber-blue);
    color: var(--cyber-blue);
}

/* Inner Pages */
.page-inner {
    padding: 120px 2rem 60px;
    min-height: 100vh;
}

.page-box {
    max-width: 920px;
    margin: 0 auto;
}

.page-inner h1 {
    font-family: 'Audiowide', cursive;
    color: var(--cyber-blue);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.page-inner h2 {
    font-family: 'Audiowide', cursive;
    color: var(--neon-pink);
    font-size: 1.3rem;
    margin: 2.5rem 0 1rem;
}

.page-inner p {
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.page-inner ul {
    margin: 0 0 1.5rem 1.5rem;
}

.page-inner li {
    margin-bottom: 0.6rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .cyber-toggle {
        display: block;
    }

    .cyber-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 18, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
        border-bottom: 2px solid var(--cyber-blue);
    }

    .cyber-nav.visible {
        transform: translateX(0);
    }

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

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

    .game-terminal iframe {
        height: 480px;
    }
}

@media (max-width: 480px) {
    .neon-logo {
        font-size: 1.5rem;
    }

    .hero-center h1 {
        font-size: 1.8rem;
    }

    .game-terminal iframe {
        height: 380px;
    }

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