:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-primary: #ff003c;
    /* Neon Red */
    --accent-secondary: #990024;
    /* Darker Industrial Red */
    --grid-color: rgba(255, 0, 60, 0.15);
    /* Red Grid */
    --hud-color: rgba(255, 255, 255, 0.5);
    --font-main: 'Rajdhani', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --spacing-unit: 1rem;
    --container-width: 800px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Video & Overlay */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* increased darkness for readability */
    z-index: -5;
    pointer-events: none;
}

/* Background Tunnel Effect (Fallback or Mobile) */
.background-tunnel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -15;
    /* Behind video */
    perspective: 1000px;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
}

.grid-line {
    position: absolute;
    background: var(--grid-color);
    box-shadow: 0 0 10px var(--grid-color);
}

.grid-line.horizontal {
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        linear-gradient(transparent 0%, var(--grid-color) 2%, transparent 3%),
        linear-gradient(90deg, transparent 0%, var(--grid-color) 2%, transparent 3%);
    background-size: 100px 100px;
    transform: rotateX(60deg);
    animation: tunnel-move 10s linear infinite;
    opacity: 0.3;
}

@keyframes tunnel-move {
    0% {
        transform: rotateX(60deg) translateY(0);
    }

    100% {
        transform: rotateX(60deg) translateY(100px);
    }
}

/* Scan Line Overlay */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
    opacity: 0.1;
    animation: scan 8s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes scan {
    0% {
        top: -10%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 2rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Header */
#header-section {
    text-align: center;
    margin-top: 2rem;
    position: relative;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    padding: 5px;
}

.profile-image,
.profile-video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    /* Removed heavy filter for clearer logo video */
    /* Clean minimal border - No glow/shadow per request */
    border: none;
    box-shadow: none;
}

/* Scan ring removed via refinement */

.artist-name {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    /* Cleaned up shadow: Single glow */
    text-shadow: 0 0 20px var(--accent-secondary);
    position: relative;
    display: inline-block;
    white-space: nowrap;
    /* Fixes shadow wrapping issue */
}

.artist-name::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 0;
    color: var(--accent-secondary);
    z-index: -1;
    opacity: 0.5;
    filter: blur(2px);
}

.tagline {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--hud-color);
    text-transform: uppercase;
    /* Clean, subtle glow only */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Socials */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    padding: 10px;
    border: 1px solid transparent;
}

.social-link:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-primary);
    transform: translateY(-3px);
    border: 1px solid rgba(255, 0, 60, 0.3);
    background: rgba(255, 0, 60, 0.05);
}

/* Content Blocks */
.content-block {
    position: relative;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-left: 4px solid var(--accent-secondary);
    padding-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-indicator {
    color: var(--accent-primary);
    font-size: 0.8em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Video Containers */
.video-container {
    position: relative;
    width: 100%;
    /* 16:9 Aspect Ratio */
    padding-bottom: 56.25%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* Wrapper rounding fix - Enforce hard clip */
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    /* Removed transform: translateZ(0) to prevent playback layering issues */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* HUD Corners */
.hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.hero:hover .hud-corner {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Audio Section */
.tracks-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audio-card {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transform: translateZ(0);
    /* Force GPU clip */
}

.audio-hud-bar {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), transparent);
    position: absolute;
    top: 0;
    left: 0;
}

/* Footer */
#footer-section {
    text-align: center;
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

.footer-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-color);
    text-shadow: 0 0 8px var(--accent-primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    /* Re-enabled background video on mobile per user request */
    /* #bg-video { display: none !important; } */

    /* Ensure fallback is visible */
    .background-tunnel {
        opacity: 1;
        z-index: -20;
    }

    .container {
        padding: 1rem;
        gap: 2rem;
    }

    .artist-name {
        font-size: 2.5rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .artist-name {
        font-size: 2rem;
    }

    .profile-image-container {
        width: 100px;
        height: 100px;
    }
}

/* Responsive Grid for Feeds */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Ensure grid items don't overflow */
.grid-container>div {
    width: 100%;
}