/* 
    OBSCURA RECORDS | LUXURY SPACE MUSIC LABEL
    DESIGN SYSTEM & STYLES
*/

:root {
    --bg-color: #050510;
    --accent-blue: #00f0ff;
    --accent-purple: #b700ff;
    --accent-magenta: #ff00ff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --glow-blue: 0 0 20px rgba(0, 240, 255, 0.6);
    --glow-purple: 0 0 25px rgba(183, 0, 255, 0.5);
    --bg-pulse-intensity: 0.15;
}


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

body,
html {
    width: 100%;
    background: #000;
    /* Global Black Base */
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    user-select: none; /* PREVENT NON-CLICKABLE TEXT SELECTION */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Allow selection for interactive/input elements */
input, textarea, [contenteditable="true"] {
    user-select: text;
    -webkit-user-select: text;
}

/* --- SCROLL LOCK FOR INTRO --- */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
}

/* --- CUSTOM GALACTIC SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, var(--sb-opacity, 0));
    border: 1px solid rgba(0, 240, 255, var(--sb-opacity, 0));
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.4) #000;
}

/* Background & Overlay */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Deep Black Background */
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; /* PURE BLACK VOID - NO GLOW */
    z-index: -1;
    pointer-events: none;
    opacity: 0.8; /* Keep some darkness depth */
}

.noise-overlay {
    display: none;
}

.scanlines {
    display: none;
}

/* Custom Cursor */
.cursor-outer {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%); /* MONOCHROME WHITE GLOW */
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0; /* START HIDDEN TO PREVENT FLASH */
    transition: opacity 0.8s ease;
}

.data-particle {
    box-shadow: 0 0 10px var(--accent-blue);
    border-radius: 50%;
}



/* Enarma-style Black Splash Screen */
#entrance-screen {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    z-index: 100000;
}

.splash-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 250px;
}

.splash-logo {
    max-width: 160px;
    opacity: 0;
    transform: scale(0.95);
    filter: none;
    position: relative;
    overflow: hidden;
}

.splash-logo::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: scanLine 2.5s linear infinite;
    pointer-events: none;
}

@keyframes scanLine {
    0% { top: -100%; }
    100% { top: 200%; }
}

@keyframes splashPulse {
    0%, 100% { transform: scale(0.98); opacity: 0.7; }
    50% { transform: scale(1.01); opacity: 1; filter: none; }
}

@keyframes logoVibrate {
    0% { transform: translate(0,0) skew(0deg); }
    10% { transform: translate(-1px, 0) skew(-0.5deg) scale(1.001); }
    20% { transform: translate(1px, 0) skew(0.5deg) scale(0.999); }
    30% { transform: translate(-1.5px, 0) skew(-0.3deg); }
    40% { transform: translate(1.5px, 0) skew(0.3deg); }
    100% { transform: translate(0,0) skew(0deg); }
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    z-index: 100;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.logo-link:hover .logo {
    color: #fff;
    filter: drop-shadow(0 0 10px var(--accent-blue));
    letter-spacing: 0.3rem;
}

.logo span {
    color: var(--accent-blue);
    font-weight: 300;
}

.logo-link {
    text-decoration: none;
    cursor: pointer;
}

.nav-links a,
.nav-links .nav-item {
    text-decoration: none;
    color: var(--text-primary);
    margin: 0 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links .nav-item:hover {
    color: var(--accent-blue);
    text-shadow: var(--glow-blue);
}

.social-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px); width: fit-content; margin-left: auto; margin-right: auto;
}

.menu-trigger i {
    font-size: 0.6rem;
    color: var(--accent-blue);
}

.menu-trigger:hover {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 20px var(--accent-blue);
}

.menu-trigger:hover i {
    color: #000;
}

/* Dynamic Social Sidebar */
.social-sidebar {
    position: fixed;
    top: 0;
    right: -380px;
    width: 380px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    border-left: 1px solid var(--accent-blue);
    z-index: 10001;
    /* Higher than modals */
    display: flex;
    flex-direction: column;
    padding: 3.5rem 2.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.social-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.sidebar-header h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.6rem;
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin: 0;
}

.close-sidebar {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.close-sidebar:hover {
    color: var(--accent-magenta);
    transform: rotate(180deg) scale(1.2);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.25rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.4s ease;
}

.sidebar-links a i {
    font-size: 1.6rem;
    color: var(--accent-blue);
    width: 25px;
    text-align: center;
}

.sidebar-links a:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateX(-15px);
    box-shadow: 10px 0 20px rgba(0, 240, 255, 0.1);
}

.sidebar-links a:hover i {
    color: #fff;
    text-shadow: 0 0 15px var(--accent-blue);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-footer-logo {
    font-size: 1.3rem !important;
    margin-bottom: 0.8rem;
    display: block;
}

.sidebar-footer p {
    font-size: 0.6rem;
    letter-spacing: 0.4rem;
    color: var(--text-secondary);
    opacity: 0.6;
    text-transform: uppercase;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- SIDEBAR NAVIGATION (MOBILE LINKS) --- */
.sidebar-nav {
    display: none; /* Hide on Desktop */
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    padding: 1.1rem 1.4rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.sidebar-nav-item i {
    font-size: 1.1rem;
    color: var(--accent-blue);
    width: 25px;
    text-align: center;
}

.sidebar-nav-item:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateX(10px);
    box-shadow: -10px 0 20px rgba(0, 240, 255, 0.1);
}

.sidebar-nav-item.accent-btn {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.sidebar-nav-item.accent-btn:hover {
    background: var(--accent-blue);
    color: #000;
}

.sidebar-nav-item.accent-btn:hover i {
    color: #000;
}

/* Sidebar Social Links (Mobile Grid vs Desktop List) */
.sidebar-links-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sidebar-links-grid a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.25rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.4s ease;
}

.sidebar-links-grid a i {
    font-size: 1.6rem;
    color: var(--accent-blue);
    width: 25px;
    text-align: center;
}

.sidebar-links-grid a:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-blue);
    transform: translateX(-15px);
    box-shadow: 10px 0 20px rgba(0, 240, 255, 0.1);
}

.sidebar-label {
    display: inline; /* Visible on Desktop */
}

/* MOBILE RESPONSIVE SIDEBAR OPTIMIZATION */
@media (max-width: 900px) {
    .sidebar-nav {
        display: flex; /* Show Nav on Mobile */
    }

    .sidebar-header.compact {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }

    .sidebar-links-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .sidebar-links-grid a {
        flex-direction: column;
        justify-content: center;
        aspect-ratio: 1;
        gap: 0;
        padding: 0;
        transform: none !important;
        box-shadow: none !important;
    }

    .sidebar-links-grid a i {
        font-size: 1.4rem;
    }

    .sidebar-label {
        display: none !important; /* Hide labels only on mobile grid */
    }

    .sidebar-links-grid a:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--accent-blue);
        color: var(--accent-blue);
        transform: translateY(-3px) !important;
    }
}

@media (max-width: 480px) {
    .social-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Cinematic Portal Loader */
.portal-loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.loader-bar-container {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 1rem;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-blue);
    box-shadow: none; /* REMOVED GLOW PER USER REQUEST */
}

.loader-status {
    font-size: 0.55rem;
    letter-spacing: 0.3rem;
    color: var(--accent-blue);
    opacity: 0.7;
    text-transform: uppercase;
}

/* Starfield Particles (Performance Optimized) */
#particle-bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.demo-trigger-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    letter-spacing: 0.1rem;
}

.demo-trigger-link:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
}

.demo-trigger-link i {
    font-size: 0.7rem;
    color: var(--accent-blue);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 15vh 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero */
.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.accent {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.15rem;
    transition: box-shadow 0.4s, transform 0.4s;
    cursor: pointer;
}

.cta-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.6);
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(45deg, var(--accent-magenta), var(--accent-blue));
}

/* Sections */
.text-center {
    text-align: center !important;
}

.releases-archive {
    padding: 10vh 0;
    max-width: 95%;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.archive-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    margin-bottom: 2rem;
    min-height: 80px;
}

.header-content {
    text-align: center;
    flex: 1;
}

.slider-controls {
    position: absolute;
    right: 4rem;
    display: flex;
    gap: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    text-align: center;
}

.slider-wrapper {
    position: relative;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50%;
    z-index: 10;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-nav-btn:hover {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    transform: scale(1.1);
}


.releases-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 2rem 4rem 2rem;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scroll-behavior: smooth;
}

.releases-slider::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.release-card-large {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.release-card-large:first-child {
    margin-left: auto;
}

.release-card-large:last-child {
    margin-right: auto;
}

.release-card-large:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.release-card-large.active-track {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.release-cover-large {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
}

.release-cover-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.release-card-large:hover .release-cover-large img {
    transform: scale(1.1);
}

.release-type-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: var(--font-heading);
    letter-spacing: 0.15rem;
    z-index: 2;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.release-card-large:hover .player-overlay,
.release-card-large.active-track .player-overlay {
    opacity: 1;
}

.preview-time {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    letter-spacing: 0.05rem;
    pointer-events: none;
    opacity: 0.9;
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
}

.release-card-large.active-track .play-btn {
    box-shadow: 0 0 40px var(--accent-blue);
}

.release-info-large {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.release-info-large .track-id {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent-blue);
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.release-info-large h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05rem;
    line-height: 1.2;
}

.producers-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.producers-text span {
    color: #fff;
    font-weight: 500;
}

.release-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.platform-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.platform-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.platform-link.spotify:hover {
    color: #1DB954;
    border-color: #1DB954;
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

.platform-link.apple:hover {
    color: #fa243c;
    border-color: #fa243c;
    box-shadow: 0 5px 15px rgba(250, 36, 60, 0.3);
}

.platform-link.youtube:hover {
    color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .releases-slider {
        padding: 1rem 5% 3rem 5%;
        gap: 1.5rem;
    }

    .release-card-large {
        flex: 0 0 280px;
    }

    .release-cover-large {
        height: 280px;
    }
}

/* Artist Grid */
.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    letter-spacing: 0.3rem;
}

.artists {
    margin-bottom: 4vh;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem;
    /* Increased gap for better distance */
    width: 100%;
}

.artist-item {
    padding: 3rem 2.5rem;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: transform 0.4s, border-color 0.4s;
    cursor: default;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.artist-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.artist-img {
    width: 118px;
    /* Balanced size for Discord frames */
    height: 118px;
    border-radius: 50%;
    background: #111;
    border: 2px solid var(--accent-blue);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.avatar-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    z-index: 2;
    pointer-events: none;
}

.artist-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}


/* Stats Section */
.stats-section {
    min-height: 40vh;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-box {
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-magenta);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

.stat-box p {
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    color: var(--text-secondary);
}

/* Featured Release Enhancement */
.release-desc {
    margin: 1.5rem 0;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 500px;
}

.technical-specs {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    letter-spacing: 0.1rem;
}

.meta-tag {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 0.65rem;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
}

/* Artist Status & Discord Sync */
.status-indicator {
    font-weight: 700;
    letter-spacing: 0.1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.status-indicator.online {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-indicator.idle {
    color: #fff000;
    text-shadow: 0 0 10px rgba(255, 240, 0, 0.5);
}

.status-indicator.dnd {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.status-indicator.offline {
    color: #888888;
    text-shadow: none;
    opacity: 0.7;
}

.artist-loc {
    display: block;
    margin-top: 1rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

/* Contact Section (Social Links) */
.contact-section {
    margin-bottom: 6vh;
}

.contact-container {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1rem;
}

.contact-container p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.social-card {
    flex: 0 0 160px;
    width: 160px;
    padding: 1.8rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.social-card i {
    font-size: 2.2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.social-card span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12rem;
    font-weight: 700;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-card:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.social-card:hover i {
    transform: scale(1.1);
    color: #fff;
    text-shadow: 0 0 15px var(--accent-blue);
}

.social-card:hover span {
    opacity: 1;
}

/* Demo Submission Portal */
.demo-section {
    padding: 12vh 5%;
    display: flex;
    justify-content: center;
}

.demo-card {
    max-width: 900px;
    width: 100%;
    padding: 6rem 4rem;
    text-align: center;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.demo-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.demo-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 4rem;
    opacity: 0.8;
}

.cta-btn.secondary {
    display: inline-block;
    padding: 1.5rem 4rem;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: 0.4rem;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.cta-btn.secondary:hover {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 60px var(--accent-blue);
    transform: translateY(-5px);
}

/* CINEMATIC DEMO SUBMISSION SECTION */
.demo-portal {
    padding: 8rem 10%;
    text-align: center;
}

.demo-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.05), transparent 70%);
}

.demo-header .section-title {
    font-size: 3rem;
    margin-bottom: 2rem !important;
    letter-spacing: 1rem;
}

.demo-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.demo-channels {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.channel-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
    text-align: left;
    min-width: 320px;
}

.channel-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.channel-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-info {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.1rem;
    margin-bottom: 0.3rem;
}

.channel-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .demo-channels {
        flex-direction: column;
        align-items: center;
    }

    .channel-link {
        width: 100%;
        min-width: unset;
    }
}

/* PREMIUM MODAL SYSTEM (RESTORED UI) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
}

.modal-content.glass {
    position: relative;
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.5;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover {
    opacity: 1;
    color: var(--accent-blue);
    transform: rotate(90deg);
}

.modal .section-title {
    margin: 0 0 1.5rem 0 !important;
    padding: 1rem 0 0 0 !important;
    font-size: 1.8rem;
    text-align: left;
    letter-spacing: 0.5rem;
}

.faq-grid,
.legal-content {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item.glass,
.legal-block {
    padding: 1.2rem 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faq-question,
.legal-block h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    color: var(--accent-blue);
}

.faq-answer,
.legal-block p {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.legal-block p {
    max-height: none;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    opacity: 0.8;
    margin-top: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Footer Restore */
footer {
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--accent-blue) !important;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .release-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    .glitch-logo {
        font-size: 3.5rem;
    }

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

    .sync-input {
        flex-direction: column;
    }

    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Show Sidebar Navigation on Mobile */
    .sidebar-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }

    .artist-item {
        padding: 1.5rem;
    }
}

/* Particle Background Canvas - FLOAT OVER EVERYTHING */
#particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* Top level so it falls over content */
    pointer-events: none;
    opacity: 0.8;
}

/* Aurora Glow Vibe */
.space-bg::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.15), transparent 60%);
    z-index: -1;
    animation: auroraDance 15s ease-in-out infinite alternate;
}

@keyframes auroraDance {
    0% {
        transform: scale(1) translate(-10%, -10%);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.5) translate(10%, 10%);
        opacity: 0.7;
    }
}

/* --- CYBER DEMO FORM STYLES --- */
.demo-grid-wide {
    max-width: 900px !important;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--accent-blue);
    letter-spacing: 0.1rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: #fff;
    font-family: var(--font-main);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.form-group textarea {
    min-height: 80px;
    resize: none;
}

.cta-primary-small {
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1rem;
}

.form-status {
    display: none;
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-align: center;
    border-radius: 5px;
}

/* Upcoming Releases Grid */
.upcoming-archive {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Specific styling for 'Coming Soon' variants */
.upcoming-card {
    position: relative;
    /* Fixed: Prevents badge from flying out */
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.02);
}

.upcoming-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-magenta);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.upcoming-card .release-cover-large {
    height: 300px;
    /* Force consistent heights */
}

/* Universal badge for upcoming tags */
.upcoming-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-magenta);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    z-index: 5;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

/* Discord CTA in Form */
.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: #5865F2;
    /* Official Discord Blurple */
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.discord-btn i {
    font-size: 1.1rem;
}

/* --- UNIVERSAL RESOLUTION & MOBILE OPTIMIZATION --- */

/* Hide Custom Cursor on Mobile & Touch Devices */
@media (hover: none) and (pointer: coarse),
(max-width: 1024px) {

    .cursor-outer,
    .cursor-glow {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* FIXING OVERLAPS & BALANCING LAYOUT */
@media (max-width: 1200px) {
    .archive-container {
        grid-template-columns: repeat(3, 110px);
        /* 3 Columns for Tablet */
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .archive-container {
        grid-template-columns: repeat(2, 110px);
        /* 2 Columns for Small Tablet */
    }

    .profile-hero h1 {
        font-size: 3.5rem;
    }

    .nav-arrow {
        width: 40px;
        height: 100px;
        opacity: 0.8;
    }
}

@media (max-width: 600px) {

    /* Main Layout Adjustments */
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 0.5rem;
    }

    .hero p {
        font-size: 0.75rem;
        letter-spacing: 0.2rem;
        width: 90%;
    }

    #profile-detail {
        padding: 4rem 1.5rem;
    }

    .archive-container {
        grid-template-columns: repeat(2, 110px);
        /* Keep 2 for Mobile */
        padding-bottom: 5rem;
    }

    .modal-content {
        width: 95%;
        padding: 2.5rem 1.5rem;
    }

    /* FIXING ARROW OVERLAPS */
    .nav-arrow {
        position: fixed;
        /* Lock to screen edges */
        bottom: 2rem;
        top: auto;
        transform: none;
        width: 60px;
        height: 60px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        /* Circle look for mobile */
        z-index: 999;
    }

    .nav-left {
        left: 1.5rem;
    }

    .nav-right {
        right: 1.5rem;
    }

    .nav-arrow i {
        font-size: 1.2rem;
    }

    /* Compact UI for Mobile */
    .cta-container {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-primary {
        width: 100%;
        text-align: center;
    }

    .form-actions {
        grid-template-columns: 1fr !important;
    }

    /* FIXING ARCHIVE HEADER OVERLAPS */
    .archive-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        min-height: auto;
    }

    .header-content {
        width: 100%;
        text-align: center;
    }

    .slider-controls {
        position: static;
        /* Remove absolute positioning on mobile */
        justify-content: center;
        width: 100%;
    }
}

/* --- ARTIST DETAIL MODAL STYLES --- */
.artist-modal-content {
    max-width: 600px;
    padding: 3.5rem;
}

.artist-modal-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-modal-img-wrapper {
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
}

.artist-modal-title .section-title {
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.artist-modal-links .platform-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.artist-modal-links .platform-link:hover {
    background: var(--accent-blue);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.4);
}

@media (max-width: 600px) {
    .artist-modal-content {
        padding: 2rem 1.5rem;
    }

    .artist-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .artist-modal-title {
        text-align: center !important;
    }
}
/* Hide Google reCAPTCHA Badge for Cinematic Design */
.grecaptcha-badge { visibility: hidden !important; }

/* Subtle Security Stamp Styling */
.security-stamp { font-size: 0.55rem; color: var(--text-secondary); opacity: 0.3; letter-spacing: 0.15rem; margin-top: 1rem; text-transform: uppercase; font-family: var(--font-heading); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.security-stamp a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
.security-stamp a:hover { opacity: 1; color: var(--accent-blue); border-color: var(--accent-blue); }

/* Final Polishing for Security Stamp */
.security-stamp { margin-top: 1.5rem; opacity: 0.2; font-size: 0.5rem; }

/* Tech Status Nodes (Footer) */
.footer-tech-stack { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.2rem; margin-bottom: 2rem; }
.tech-node { font-size: 0.5rem; font-family: var(--font-tech); color: var(--text-secondary); opacity: 0.4; letter-spacing: 0.15rem; text-transform: uppercase; display: flex; align-items: center; gap: 0.4rem; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; background: rgba(255,255,255,0.02); }
.tech-pulse { color: var(--accent-blue); animation: tech-pulse 1.5s infinite; }
@keyframes tech-pulse { 0% { opacity: 0.2; } 50% { opacity: 1; filter: drop-shadow(0 0 5px var(--accent-blue)); } 100% { opacity: 0.2; } }
@media (max-width: 600px) { .footer-tech-stack { flex-wrap: wrap; gap: 0.8rem; } .tech-node { font-size: 0.45rem; } }

/* Visitor Connection Node (Footer) */
.visitor-node { font-size: 0.45rem; font-family: monospace; color: var(--accent-blue); opacity: 0.15; letter-spacing: 0.1rem; text-transform: uppercase; margin-top: 1rem; margin-bottom: 25px; text-align: center; }

/* --- KERNEL SECURITY UTILITY & DATA FLOW --- */
.data-flow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Above background, below content */
    pointer-events: none;
    opacity: 0.12;
}

.kernel-monitor {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    font-family: var(--font-tech);
}

.kernel-node {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1rem;
}

.kernel-node i {
    color: var(--accent-blue);
    font-size: 0.65rem;
    opacity: 0.8;
}

.kernel-label {
    text-transform: uppercase;
    font-weight: 700;
}

.kernel-status {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    font-weight: 800;
}

.kernel-status.scanning {
    animation: kernel-blink 0.8s infinite alternate;
}

.footer-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 1.5rem auto;
}

@keyframes kernel-blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .kernel-monitor {
        gap: 1rem 1.5rem;
    }
}
/* --- END KERNEL SECURITY --- */
