/* Preload critical fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

/* Performance: Reduce layout shifts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Layout */
    --header-height: 120px;
    --container-max: 1400px;
    --page-pad-x: 40px;
    --page-pad-y: 80px;

    /* Core palette */
    --vapor-blue: #00d9ff;
    --vapor-cyan: #00ffff;
    --vapor-pink: #ff006e;
    --vapor-purple: #8338ec;
    --vapor-magenta: #ff006e;
    --vapor-light-blue: #5dade2;

    /* Backgrounds */
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --grid-color: rgba(0, 217, 255, 0.15);
    --vapor-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);

    /* Glass + glow system */
    --glass-bg: rgba(10, 10, 26, 0.55);
    --glass-bg-strong: rgba(10, 10, 26, 0.85);
    --glass-border: rgba(0, 217, 255, 0.35);
    --glow-blue: 0 0 18px rgba(0, 217, 255, 0.55), 0 0 40px rgba(0, 217, 255, 0.25);
    --glow-pink: 0 0 18px rgba(255, 0, 110, 0.50), 0 0 40px rgba(131, 56, 236, 0.25);

    /* CRT/scanline/noise overlay intensity */
    --crt-scanline-opacity: 0.08;
    --crt-vignette-opacity: 0.28;
    --noise-opacity: 0.06;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(131, 56, 236, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    color: var(--vapor-blue);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Theme wrapper so we can safely evolve visuals */
body.theme-neon {
    color: var(--vapor-blue);
}

/* CRT overlays (CSS-only; pointer-events disabled) */
body.theme-neon::before,
body.theme-neon::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2; /* above content (z=1), below header (z=1000) */
}

/* Scanlines + subtle shimmer + vignette */
body.theme-neon::before {
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, var(--crt-scanline-opacity)) 0px,
            rgba(255, 255, 255, 0) 2px,
            rgba(0, 0, 0, 0) 4px
        ),
        radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.08) 0%, rgba(0, 0, 0, var(--crt-vignette-opacity)) 70%);
    mix-blend-mode: overlay;
    opacity: 1;
}

/* Film grain/noise (no external assets) */
body.theme-neon::after {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 0, 110, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 217, 255, 0.08) 0%, transparent 45%),
        repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, var(--noise-opacity)) 0 1px, rgba(0, 0, 0, 0) 2px 4px);
    opacity: 0.55;
    mix-blend-mode: soft-light;
    filter: contrast(120%) saturate(120%);
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 79px, var(--grid-color) 81px, var(--grid-color) 82px, transparent 84px),
        linear-gradient(transparent 79px, var(--grid-color) 81px, var(--grid-color) 82px, transparent 84px);
    background-size: 100px 100px;
    opacity: 0.4;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.vaporwave-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(131, 56, 236, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: vaporwavePulse 8s ease-in-out infinite;
}

@keyframes vaporwavePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.92), rgba(5, 5, 16, 0.70));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--vapor-blue);
    box-shadow: var(--glow-blue), 0 0 45px rgba(131, 56, 236, 0.20);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.85), rgba(0, 217, 255, 0.85), transparent);
    opacity: 0.65;
    pointer-events: none;
}

/* Compact floating chrome for full-screen iframe game wrappers */
.is-game-wrapper .header {
    position: fixed;
    top: 18px;
    left: 18px;
    width: auto;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 217, 255, 0.55);
    box-shadow: var(--glow-blue);
    /* Don’t block the game UI underneath */
    pointer-events: none;
    opacity: 0.22;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.is-game-wrapper .header:hover,
.is-game-wrapper .header:focus-within {
    opacity: 1;
    transform: translateY(0);
}

.is-game-wrapper .header::after {
    display: none;
}

.is-game-wrapper .glitch {
    font-size: 1.25rem;
    letter-spacing: 3px;
    animation: none;
}

.is-game-wrapper .nav {
    gap: 12px;
}

.is-game-wrapper .nav-link {
    font-size: 1rem;
    padding: 4px 8px;
    pointer-events: auto; /* clickable even when header is click-through */
}

.glitch-wrapper {
    position: relative;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--vapor-blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--vapor-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--vapor-purple), 2px 2px var(--vapor-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(54px, 9999px, 66px, 0); }
    40% { clip: rect(28px, 9999px, 84px, 0); }
    60% { clip: rect(45px, 9999px, 88px, 0); }
    80% { clip: rect(38px, 9999px, 98px, 0); }
    100% { clip: rect(62px, 9999px, 54px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(41px, 9999px, 74px, 0); }
    40% { clip: rect(66px, 9999px, 99px, 0); }
    60% { clip: rect(93px, 9999px, 98px, 0); }
    80% { clip: rect(84px, 9999px, 94px, 0); }
    100% { clip: rect(98px, 9999px, 99px, 0); }
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--vapor-blue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '>';
    margin-right: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--vapor-pink);
    text-shadow: 0 0 10px var(--vapor-pink), 0 0 20px var(--vapor-purple);
    transform: translateX(5px);
}

.nav-link.active {
    color: var(--vapor-pink);
    text-shadow: 0 0 10px var(--vapor-pink), 0 0 22px rgba(131, 56, 236, 0.55);
    border-bottom: 1px solid rgba(255, 0, 110, 0.7);
}

main {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Shared page spacing (replaces inline margin-top hacks) */
.page {
    margin-top: var(--header-height);
    padding: 0;
}

.page--home {
    padding: 0;
}

.page--padded {
    padding: var(--page-pad-y) var(--page-pad-x);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 28px rgba(0, 217, 255, 0.18), inset 0 0 30px rgba(131, 56, 236, 0.08);
}

.panel--strong {
    background: var(--glass-bg-strong);
}

.panel--pad {
    padding: 28px;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.75;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 6vw 6vh 6vw;
}

.hero-art {
    position: relative;
    width: clamp(220px, 28vw, 420px);
    max-height: 78vh;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(0, 217, 255, 0.35))
        drop-shadow(0 0 36px rgba(131, 56, 236, 0.25))
        saturate(1.08)
        contrast(1.02);
    transform: translateX(clamp(0px, 18vw, 240px)) rotate(-2deg);
    opacity: 0.70;
}

.hero-content {
    text-align: center;
    animation: fadeIn 1s ease-in;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-art {
        width: clamp(200px, 72vw, 340px);
        max-height: 60vh;
        opacity: 0.40;
        transform: translateX(0px) rotate(-1deg);
    }
}

.terminal-text {
    font-family: 'Courier New', monospace;
    color: var(--vapor-cyan);
    font-size: 1.2rem;
    margin: 10px 0;
    opacity: 0;
    animation: typewriter 2s forwards;
}

.terminal-text:nth-child(2) {
    animation-delay: 1s;
}

@keyframes typewriter {
    to {
        opacity: 1;
    }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--vapor-blue) 0%, var(--vapor-purple) 50%, var(--vapor-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin: 30px 0;
    text-shadow: 
        0 0 10px rgba(0, 217, 255, 0.5),
        0 0 20px rgba(131, 56, 236, 0.5),
        0 0 30px rgba(255, 0, 110, 0.3);
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.6));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--vapor-pink);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--vapor-pink);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.games-section,
.about-section,
.contact-section,
.music-section,
.social-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* About page: bring content closer to top */
.about-section {
    padding-top: 28px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.neon-text {
    color: var(--vapor-blue);
    text-shadow: 
        0 0 5px var(--vapor-blue),
        0 0 10px var(--vapor-blue),
        0 0 15px var(--vapor-purple),
        0 0 20px var(--vapor-purple);
    animation: neonFlicker 3s infinite;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: rgba(0, 217, 255, 0.05);
    border: 2px solid var(--vapor-blue);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(5px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 217, 255, 0.2), rgba(131, 56, 236, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.game-card:hover::before {
    animation: shine 1s;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--vapor-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(131, 56, 236, 0.4),
        0 0 60px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.1);
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vapor-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--vapor-blue);
}

.game-description {
    color: rgba(0, 217, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.game-link {
    color: var(--vapor-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 5px var(--vapor-purple);
}

.game-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.game-card:hover .game-link::after {
    transform: translateX(5px);
}

/* Lyrics page actions */
.lyrics-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.lyrics-actions .game-link::after {
    content: '';
}

.about-hero {
    text-align: left;
    max-width: var(--container-max);
    margin: 0 auto 44px auto;
    padding: 28px var(--page-pad-x);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.about-layout {
    display: flex;
    align-items: flex-start;
    gap: 36px;
}

.about-portrait {
    flex: 0 0 360px;
    max-width: 360px;
    margin: 0;
}

.about-portrait img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.about-layout .panel.panel--strong {
    flex: 1 1 auto;
    min-width: 0;
}

.about-layout .about-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.about-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: var(--vapor-blue);
    text-shadow: 
        0 0 20px var(--vapor-blue),
        0 0 40px var(--vapor-blue);
    margin-bottom: 20px;
    letter-spacing: 8px;
    line-height: 1.1;
}

.about-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    color: var(--vapor-pink);
    text-transform: lowercase;
    letter-spacing: 8px;
    font-weight: 300;
    text-shadow: 0 0 10px var(--vapor-pink);
}

.about-content,
.contact-content,
.music-content {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-text {
    font-size: 1.35rem;
    color: rgba(0, 217, 255, 0.95);
    margin: 0 0 70px 0;
    line-height: 2.2;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: left !important;
    text-indent: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    display: block;
}

.poetic-block {
    text-align: center;
    margin: 100px 0;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.poetic-block::before {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vapor-pink), transparent);
    margin: 0 auto 60px auto;
}

.poetic-block::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vapor-pink), transparent);
    margin: 60px auto 0 auto;
}

.poetic-line {
    color: var(--vapor-pink);
    font-style: italic;
    font-size: 1.5rem;
    margin: 30px 0;
    line-height: 2.2;
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
    letter-spacing: 1px;
    font-weight: 300;
}

.poetic-line.highlight-line {
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: 40px;
    color: var(--vapor-purple);
    text-shadow: 0 0 15px var(--vapor-purple);
}

.highlight-block {
    text-align: center;
    margin: 100px 0;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.highlight-block::before {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--vapor-purple), transparent);
    margin: 0 auto 50px auto;
}

.highlight-block::after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--vapor-purple), transparent);
    margin: 50px auto 0 auto;
}

.highlight-quote {
    color: var(--vapor-purple);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 15px var(--vapor-purple);
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.4;
}

.highlight-quote-sub {
    color: var(--vapor-blue);
    font-size: 1.4rem;
    margin: 40px 0 0 0;
    line-height: 2;
    text-shadow: 0 0 10px var(--vapor-blue);
    font-weight: 300;
}

.music-genres {
    text-align: center;
    margin: 100px 0;
    padding: 0;
    background: transparent;
    border: none;
}

.music-genres::before {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(131, 56, 236, 0.5), transparent);
    margin: 0 auto 50px auto;
}

.music-genres::after {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(131, 56, 236, 0.5), transparent);
    margin: 50px auto 0 auto;
}

.josh-tribute {
    margin: 100px 0;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.josh-tribute::before {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--vapor-purple);
    margin-bottom: 40px;
}

.josh-tribute .about-text {
    margin-bottom: 0;
}

.josh-tribute.final {
    margin-top: 120px;
    padding-top: 0;
    text-align: center;
    background: transparent;
}

.josh-tribute.final::before {
    content: '';
    display: block;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--vapor-purple), transparent);
    margin: 0 auto 50px auto;
}

.josh-title {
    color: var(--vapor-purple);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 0 15px var(--vapor-purple);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    line-height: 1.3;
}

.josh-title.final-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.josh-line {
    color: var(--vapor-purple);
    font-size: 1.3rem;
    margin: 20px 0;
    opacity: 0.9;
    line-height: 2;
    text-shadow: 0 0 10px rgba(131, 56, 236, 0.4);
    font-weight: 300;
}

.btc-address {
    margin: 100px 0 60px 0;
    padding: 0;
    background: transparent;
    border: none;
    text-align: center;
}

.btc-address::before {
    content: '';
    display: block;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vapor-blue), transparent);
    margin: 0 auto 40px auto;
}

.btc-text {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--vapor-blue);
    word-break: break-all;
    margin: 0;
    text-shadow: 0 0 10px var(--vapor-blue);
    line-height: 2;
    font-weight: 400;
}

.copyright-text {
    text-align: center;
    font-size: 1rem;
    color: rgba(0, 217, 255, 0.5);
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    line-height: 2;
    font-weight: 300;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 22px 20px;
    }

    .about-layout {
        flex-direction: column;
        gap: 22px;
    }

    .about-portrait {
        flex-basis: auto;
        max-width: 360px;
    }

    .about-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        padding: 0 20px;
    }
    
    .about-text {
        font-size: 1.2rem;
        line-height: 2;
        margin-bottom: 60px;
    }
    
    .poetic-line {
        font-size: 1.3rem;
    }
    
    .highlight-quote {
        font-size: 1.8rem;
    }
}

.music-subtitle {
    font-size: 1.1rem;
    color: var(--vapor-pink);
    margin: 15px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--vapor-pink);
}

.music-description {
    font-size: 1rem;
    color: rgba(0, 217, 255, 0.7);
    margin: 20px 0 40px 0;
    font-style: italic;
}

.music-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--vapor-blue);
    margin: 40px 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--vapor-blue);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.music-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: rgba(0, 217, 255, 0.05);
    border: 2px solid var(--vapor-blue);
    border-radius: 10px;
    text-decoration: none;
    color: var(--vapor-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.music-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 217, 255, 0.2), rgba(131, 56, 236, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.music-link:hover::before {
    animation: shine 1s;
}

.music-link:hover {
    transform: translateY(-5px);
    border-color: var(--vapor-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(131, 56, 236, 0.4),
        0 0 60px rgba(0, 217, 255, 0.3);
    background: rgba(255, 0, 110, 0.1);
}

.music-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 0 10px var(--vapor-blue));
}

.music-platform {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--vapor-blue);
    text-shadow: 0 0 5px var(--vapor-blue);
}

.music-link:hover .music-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px var(--vapor-pink));
}

.music-link:hover .music-platform {
    color: var(--vapor-pink);
    text-shadow: 0 0 10px var(--vapor-pink);
}

.social-links {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 217, 255, 0.3);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(0, 217, 255, 0.05);
    border: 2px solid var(--vapor-blue);
    border-radius: 10px;
    text-decoration: none;
    color: var(--vapor-blue);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.social-link:hover {
    background: rgba(255, 0, 110, 0.1);
    border-color: var(--vapor-pink);
    color: var(--vapor-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(131, 56, 236, 0.3);
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.5rem;
    font-weight: 900;
}

.cyber-text {
    font-size: 1.3rem;
    color: var(--vapor-blue);
    margin: 20px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--vapor-blue);
}

.contact-link {
    display: inline-block;
    color: var(--vapor-pink);
    font-size: 1.5rem;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid var(--vapor-pink);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px var(--vapor-pink);
}

.contact-link:hover {
    background: rgba(255, 0, 110, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5), 0 0 40px rgba(131, 56, 236, 0.3);
    transform: scale(1.05);
}

/* Music Section */
.music-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.music-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.music-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 40px;
    border: 2px solid var(--vapor-blue);
    border-radius: 10px;
    text-decoration: none;
    color: var(--vapor-blue);
    transition: all 0.3s ease;
    min-width: 180px;
    background: rgba(0, 217, 255, 0.05);
    backdrop-filter: blur(5px);
}

.music-link:hover {
    transform: translateY(-5px);
    border-color: var(--vapor-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(131, 56, 236, 0.3);
    background: rgba(255, 0, 110, 0.1);
}

.music-link.spotify:hover {
    border-color: #1DB954;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.5);
}

.music-link.apple:hover {
    border-color: #FA243C;
    box-shadow: 0 0 20px rgba(250, 36, 60, 0.5);
}

.music-link.soundcloud:hover {
    border-color: #FF5500;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.5);
}

.music-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--vapor-blue));
}

.music-link span:last-child {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Social Section */
.social-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 35px;
    border: 2px solid var(--vapor-purple);
    border-radius: 10px;
    text-decoration: none;
    color: var(--vapor-purple);
    transition: all 0.3s ease;
    background: rgba(131, 56, 236, 0.05);
    backdrop-filter: blur(5px);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--vapor-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(131, 56, 236, 0.3);
    background: rgba(255, 0, 110, 0.1);
    color: var(--vapor-pink);
}

.social-link.twitter:hover {
    border-color: #000000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.social-link.email:hover {
    border-color: var(--vapor-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.social-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px var(--vapor-purple));
}

.footer {
    text-align: center;
    padding: 40px;
    border-top: 2px solid var(--vapor-blue);
    margin-top: 80px;
    background: rgba(5, 5, 16, 0.8);
    box-shadow: 0 -5px 20px rgba(0, 217, 255, 0.2);
}

.footer-text {
    color: rgba(0, 217, 255, 0.6);
    margin: 10px 0;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer-social {
    margin: 25px 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    row-gap: 12px;
}

.twitter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid var(--vapor-blue);
    border-radius: 8px;
    text-decoration: none;
    color: var(--vapor-blue);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.twitter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.twitter-button:hover::before {
    left: 100%;
}

.twitter-button:hover {
    transform: translateY(-3px);
    border-color: var(--vapor-pink);
    background: rgba(255, 0, 110, 0.15);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(131, 56, 236, 0.3);
    color: var(--vapor-pink);
}

.twitter-icon {
    font-size: 1.3rem;
    font-weight: 900;
    filter: drop-shadow(0 0 5px currentColor);
}

.twitter-button:hover .twitter-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--vapor-pink));
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ASCII Anime Eyes Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.3) 0%, transparent 70%),
        radial-gradient(circle at 30% 30%, rgba(131, 56, 236, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 110, 0.2) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ascii-eyes {
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    color: var(--vapor-blue);
    text-align: center;
    line-height: 1.2;
    text-shadow: 
        0 0 15px var(--vapor-blue),
        0 0 30px var(--vapor-purple),
        0 0 45px var(--vapor-pink),
        0 0 60px var(--vapor-blue);
    animation: eyesPulse 1.5s ease-in-out infinite;
    white-space: pre;
    user-select: none;
    transition: all 0.15s ease;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes eyesPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ascii-eyes {
        font-size: 2rem;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    .nav {
        gap: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .games-section,
    .about-section,
    .contact-section,
    .music-section,
    .social-section {
        padding: 40px 20px;
    }
    
    .music-links,
    .social-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .music-link,
    .social-link {
        width: 100%;
        justify-content: center;
    }

    .page--padded {
        padding: 50px 20px;
    }
}

/* Reduce motion / CPU when requested */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    body.theme-neon::before,
    body.theme-neon::after,
    .matrix-bg,
    .vaporwave-overlay {
        animation: none !important;
    }
}
