/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #050510;
    --bg-darker: #020205;
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --text-main: #ffffff;
    --text-dim: #a0a0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Scanline Overlay for "Alive" feel */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 1001;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin: 0 auto 4rem auto;
    /* Centering without absolute pos */
    display: block;
    width: fit-content;
    position: relative;
    text-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
    z-index: 2;
    /* Alive Pulse */
    animation: textPulse 4s ease-in-out infinite;
}

@keyframes textPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
    }

    50% {
        text-shadow: 0 0 25px rgba(188, 19, 254, 0.8), 0 0 5px var(--neon-blue);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    /* Shorter line */
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Connection Line System */
.container {
    position: relative;
    /* Context for connection line */
}

/* Add a central connection line to specific sections */
.about,
.music,
.tour,
.contact {
    position: relative;
}

.about::before,
.music::before,
.tour::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
    transform: translateX(-50%);
    z-index: 0;
}

/* Animations */
@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px var(--neon-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-blue), 0 0 10px var(--neon-purple);
    }

    100% {
        box-shadow: 0 0 5px var(--neon-blue);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(188, 19, 254, 0.1) 0%, rgba(5, 5, 16, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg-image);
    /* To be set inline or via JS */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

/* Immersive 3D Text */
.hero-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-transform: uppercase;

    /* 3D Transform */
    transform: perspective(500px) rotateX(10deg);
    transform-style: preserve-3d;

    /* Deep 3D Shadow Layers */
    text-shadow:
        1px 1px 0px #bc13fe,
        2px 2px 0px #bc13fe,
        3px 3px 0px #bc13fe,
        4px 4px 0px #bc13fe,
        5px 5px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 243, 255, 0.5),
        0 0 40px rgba(0, 243, 255, 0.3);

    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {

    0%,
    100% {
        transform: perspective(500px) rotateX(10deg) translateY(0);
        text-shadow:
            1px 1px 0px #bc13fe,
            2px 2px 0px #bc13fe,
            3px 3px 0px #bc13fe,
            4px 4px 0px #bc13fe,
            5px 5px 10px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(0, 243, 255, 0.5);
    }

    50% {
        transform: perspective(500px) rotateX(10deg) translateY(-20px);
        text-shadow:
            1px 1px 0px #bc13fe,
            2px 2px 0px #bc13fe,
            3px 3px 0px #bc13fe,
            4px 4px 0px #bc13fe,
            5px 5px 0px #bc13fe,
            6px 6px 0px #bc13fe,
            7px 7px 0px #bc13fe,
            8px 8px 0px #bc13fe,
            15px 15px 20px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(0, 243, 255, 0.8);
    }
}

.hero-pretitle {
    font-size: 1.5rem;
    color: var(--neon-blue);
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-blue);
}

.hero-subtitle {
    font-size: 2rem;
    background: linear-gradient(90deg, #fff, var(--text-dim));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 5px rgba(188, 19, 254, 0.5));
}

/* Play Button Overlay Fix */
.track-art {
    position: relative;
    /* Ensure relative positioning for child absolute */
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px black;
    pointer-events: none;
    /* Let clicks pass through to container or handle clearly */
}

.track-art:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.2);
    color: var(--neon-blue);
    opacity: 1;
    text-shadow: 0 0 20px var(--neon-blue);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-blue);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-blue);
}

.cta-button:hover::before {
    left: 0;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.about-visual {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    position: relative;
}

.about-visual::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: var(--bg-dark);
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

/* Music Section */
.music {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.track-grid {
    display: grid;
    /* Tighter tiles for cleaner look */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.track-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    /* Reduced padding from 1.5rem for cleaner look */
    border-radius: 12px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.track-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

/* Alive Border Animation */
@keyframes borderBreath {
    0% {
        border-color: var(--glass-border);
        box-shadow: none;
    }

    50% {
        border-color: rgba(188, 19, 254, 0.3);
        box-shadow: 0 0 10px rgba(188, 19, 254, 0.1);
    }

    100% {
        border-color: var(--glass-border);
        box-shadow: none;
    }
}

.track-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: borderBreath 4s infinite;
    /* Subtle breathing */
    animation-delay: calc(var(--i, 0) * 0.5s);
    /* Staggered if variable set */
}

.track-art {
    width: 100%;
    aspect-ratio: 1/1;
    background: #222;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.track-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(90deg, var(--neon-purple), #9d00e0);
    border: none;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
}

/* Tour Section */
.tour {
    padding: 8rem 0;
}

.tour-list {
    max-width: 800px;
    margin: 0 auto;
}

.tour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.tour-item:hover {
    background: var(--glass);
    padding-left: 3rem;
    border-left: 2px solid var(--neon-blue);
}

.tour-date {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.tour-venue {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

.tour-loc {
    color: var(--text-dim);
}

.tour-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--text-dim);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-btn:hover {
    border-color: var(--neon-blue);
    background: var(--neon-blue);
    color: var(--bg-dark);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(black, #050510);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-icon {
    font-size: 2rem;
    color: var(--text-dim);
}

.social-icon:hover {
    color: var(--neon-purple);
    transform: scale(1.2);
}

.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for now */
    .tour-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .tour-item:hover {
        padding-left: 2rem;
        border-left: none;
        background: var(--glass);
    }
}

/* 3D Integration Styles */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.hero {
    /* Make hero background slightly more transparent to see particles */
    background: radial-gradient(circle at center, rgba(188, 19, 254, 0.05) 0%, rgba(5, 5, 16, 0.7) 70%) !important;
}

.about-visual {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-blue);
}

.about-visual::after {
    display: none;
    /* Remove old blocking overlay */
}

/* Fix for 3D Visibility */
.about-visual {
    height: 500px !important;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%) !important;
    overflow: visible !important;
}

.about-visual canvas {
    width: 100% !important;
    height: 100% !important;
    outline: none;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-blue);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: pulse 1s infinite alternate;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #111;
    border: 1px solid var(--text-dim);
    position: relative;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    transition: width 0.1s ease;
}

/* Featured Track Glow - New Style */
.featured-track {
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    transform: scale(1.02);
}

.featured-track:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

/* Audio Player */
#audio-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    /* Smaller by default */
    width: 90%;
    max-width: 600px;
    background: rgba(5, 5, 16, 0.8);
    /* More transparent base */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    /* Dimmer border */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    z-index: 900;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
    /* Semi-transparent default */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

#audio-player:hover {
    transform: translateX(-50%) scale(1);
    /* Full size */
    opacity: 1;
    /* Full visibility */
    background: rgba(5, 5, 16, 0.95);
    border-color: var(--neon-blue);
    box-shadow: 0 5px 30px rgba(0, 243, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Hide player initially via JS or opacity if needed, sticking to persistent for now */

.player-track-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--neon-blue);
}

.player-track-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

.player-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ctrl-btn:hover {
    color: var(--neon-purple);
}

.play-pause {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.play-pause:hover {
    background: var(--neon-blue);
    color: black;
}

.player-visualizer {
    display: flex;
    gap: 2px;
    height: 20px;
    align-items: flex-end;
}

.bar {
    width: 3px;
    background: var(--neon-purple);
    height: 5px;
    animation: equalizer 0.5s infinite alternate;
}

.bar:nth-child(2) {
    animation-delay: 0.1s;
}

.bar:nth-child(3) {
    animation-delay: 0.3s;
}

.bar:nth-child(4) {
    animation-delay: 0.2s;
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.video-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    /* Removed invalid 'group' property */
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-thumb:hover img {
    opacity: 1;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 10px black;
    opacity: 0.9;
    pointer-events: none;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    /* Standard property */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Data Widgets / Alive Elements */
.data-stream-left {
    position: fixed;
    top: 20%;
    left: 20px;
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--neon-blue), transparent);
    z-index: 0;
    opacity: 0.3;
}

.data-stream-right {
    position: fixed;
    top: 20%;
    right: 20px;
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--neon-purple), transparent);
    z-index: 0;
    opacity: 0.3;
}

.data-stream-left::after,
.data-stream-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 20px;
    background: white;
    box-shadow: 0 0 10px white;
    animation: scanMove 5s linear infinite;
}

.data-stream-right::after {
    animation-delay: 2.5s;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

@keyframes scanMove {
    0% {
        top: -10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}