/* ============================================
   JACOB STEELMAN — Custom Styles
   Cinematic / Trailer / Film / Game Music
   Metal Pathos · Dark Epic Producer
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #8b000030 #050505;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b000050, #dc143c30);
    border-radius: 3px;
}

body {
    background: #050505;
    overflow-x: clip;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Clip all sections */
section, nav, footer {
    max-width: 100vw;
    overflow-x: clip;
}

/* --- Selection --- */
::selection {
    background: rgba(220, 20, 60, 0.35);
    color: #fff;
}

/* --- Film Grain Overlay --- */
#film-grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: grain 0.5s steps(8) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -20%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 10%); }
    80% { transform: translate(3%, 20%); }
    90% { transform: translate(-10%, 10%); }
}

/* --- Navigation Glass --- */
.nav-glass {
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-scrolled .nav-glass {
    background: rgba(5, 5, 5, 0.92);
    border-bottom: 1px solid rgba(139, 0, 0, 0.15);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.8), 0 0 60px rgba(139, 0, 0, 0.04);
}

/* --- Logo Mark --- */
.logo-mark {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff4500 100%);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    transition: all 0.3s;
}

.logo-mark:hover,
.group:hover .logo-mark {
    box-shadow: 0 0 25px rgba(220, 20, 60, 0.5), 0 0 50px rgba(139, 0, 0, 0.3);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #050505;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: opacity 1s, visibility 1s;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-sword {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #8b0000, #dc143c, #ff4500, #dc143c, #8b0000, transparent);
    border-radius: 2px;
    animation: sword-glow 2s ease-in-out infinite;
    position: relative;
}

.loader-sword::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.3), transparent);
    filter: blur(8px);
    animation: sword-glow 2s ease-in-out infinite;
}

@keyframes sword-glow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.loader-text {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.6em;
    color: rgba(220, 20, 60, 0.4);
    text-transform: uppercase;
    animation: text-breathe 3s ease-in-out infinite;
}

@keyframes text-breathe {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 0, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 100%, rgba(220, 20, 60, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(255, 69, 0, 0.04) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, #050505, transparent);
    z-index: 3;
    pointer-events: none;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    filter: saturate(0.3) brightness(0.5);
}

#embers-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* --- Hero Title --- */
.hero-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 0.95;
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d4 20%, #dc143c 60%, #8b0000 100%);
    background-size: 100% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-gradient 8s ease infinite;
    filter: drop-shadow(0 0 40px rgba(139, 0, 0, 0.25));
    position: relative;
}

@keyframes hero-gradient {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
}

.hero-subtitle-line {
    height: 2px;
    width: 120px;
    background: linear-gradient(90deg, transparent, #dc143c, transparent);
    margin: 0 auto;
    position: relative;
}

.hero-subtitle-line::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.4), transparent);
    filter: blur(6px);
}

/* --- Crimson Glow Text --- */
.glow-text {
    text-shadow: 
        0 0 10px rgba(220, 20, 60, 0.6),
        0 0 40px rgba(139, 0, 0, 0.4),
        0 0 80px rgba(139, 0, 0, 0.2);
}

.glow-text-ember {
    text-shadow: 
        0 0 10px rgba(255, 69, 0, 0.5),
        0 0 40px rgba(255, 69, 0, 0.3),
        0 0 80px rgba(255, 69, 0, 0.15);
}

/* --- Genre Tags --- */
.genre-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border: 1px solid rgba(220, 20, 60, 0.15);
    color: rgba(220, 20, 60, 0.6);
    background: rgba(139, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.genre-tag:hover {
    border-color: rgba(220, 20, 60, 0.35);
    color: rgba(220, 20, 60, 0.9);
    background: rgba(139, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.1);
}

/* --- CTA Button --- */
.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 44px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #dc143c;
    background: transparent;
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(220, 20, 60, 0.08));
    opacity: 0;
    transition: opacity 0.4s;
}

.cta-btn:hover::before {
    opacity: 1;
}

.cta-btn:hover {
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 
        0 0 25px rgba(139, 0, 0, 0.25),
        0 0 60px rgba(139, 0, 0, 0.1),
        inset 0 0 20px rgba(139, 0, 0, 0.08);
    transform: translateY(-2px);
    color: #fff;
}

.cta-btn .btn-ember {
    width: 6px;
    height: 6px;
    background: #dc143c;
    border-radius: 50%;
    animation: ember-pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px #dc143c;
}

@keyframes ember-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #dc143c; }
    50% { opacity: 0.4; transform: scale(0.6); box-shadow: 0 0 4px #8b0000; }
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(220, 20, 60, 0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator .mouse .wheel {
    width: 2px;
    height: 7px;
    background: #dc143c;
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(220, 20, 60, 0.45);
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dc143c60);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

/* ============================================
   GLASS CARD (Dark variant)
   ============================================ */
.glass-card {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(139, 0, 0, 0.2);
    background: rgba(20, 20, 20, 0.7);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(139, 0, 0, 0.04);
}

/* ============================================
   TRACK CARD — Epic Cinematic Style
   ============================================ */
.track-card {
    position: relative;
    cursor: pointer;
}

.track-card .track-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
}

.track-card .track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s;
    filter: saturate(0.85) brightness(0.9);
}

.track-card:hover .track-cover img {
    transform: scale(1.12);
    filter: saturate(1.1) brightness(0.6);
}

.track-card .track-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(5, 5, 5, 0.1) 0%, 
        rgba(5, 5, 5, 0.3) 50%,
        rgba(5, 5, 5, 0.92) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.track-card:hover .track-overlay {
    opacity: 1;
}

/* Track number watermark */
.track-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    -webkit-text-stroke: 1px rgba(220, 20, 60, 0.08);
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -10px;
    right: 15px;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* Play button */
.play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid rgba(220, 20, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s;
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 2;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(220, 20, 60, 0.1);
    animation: play-ring 3s ease-in-out infinite;
}

@keyframes play-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0; }
}

.play-btn:hover {
    background: rgba(220, 20, 60, 0.25);
    border-color: #dc143c;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.35);
    transform: scale(1.1);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: #dc143c;
    margin-left: 3px;
    transition: fill 0.3s;
}

.play-btn:hover svg {
    fill: #fff;
}

.play-btn.playing svg {
    margin-left: 0;
}

/* --- Waveform Canvas (per track) --- */
.waveform-canvas {
    width: 100%;
    height: 50px;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.track-card:hover .waveform-canvas,
.track-card.active .waveform-canvas {
    opacity: 1;
}

/* ============================================
   NOW PLAYING BAR
   ============================================ */
.now-playing-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid rgba(139, 0, 0, 0.3);
    padding: 10px 16px;
    display: none;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.7);
}

.now-playing-bar.active {
    display: block;
}

.now-playing-bar .np-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.now-playing-bar .np-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #dc143c, #ff4500);
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.5);
}

.np-info {
    flex: 1;
    min-width: 0;
}

.np-info .np-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-info .np-artist {
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.35);
}

.np-play-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(220, 20, 60, 0.5);
    background: rgba(139, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.np-play-toggle:hover {
    background: rgba(220, 20, 60, 0.25);
    border-color: #dc143c;
    box-shadow: 0 0 25px rgba(220, 20, 60, 0.4);
}

.np-play-toggle svg {
    fill: #dc143c;
}

.player-time {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, #8b0000, #dc143c, #ff4500, #8b0000);
    background-size: 300% 300%;
    animation: about-border 6s ease infinite;
    z-index: -1;
    opacity: 0.5;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, #8b0000, #dc143c, #ff4500, #8b0000);
    background-size: 300% 300%;
    animation: about-border 6s ease infinite;
    z-index: -2;
    filter: blur(25px);
    opacity: 0.3;
}

@keyframes about-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-image-wrapper img {
    border-radius: 16px;
    display: block;
}

/* --- Stats --- */
.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    background: linear-gradient(135deg, #dc143c, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: rgba(220, 20, 60, 0.25);
    background: rgba(20, 20, 20, 0.6);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.06);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }

/* ============================================
   GRADIENT ORBS (Dark atmosphere)
   ============================================ */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    animation: orb-float 25s ease-in-out infinite;
    pointer-events: none;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: #8b0000;
    top: 15%;
    left: -10%;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: #dc143c;
    top: 60%;
    right: -8%;
    animation-delay: -10s;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: #ff4500;
    bottom: 5%;
    left: 40%;
    animation-delay: -18s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(50px, 40px) scale(1.05); }
}

/* ============================================
   DIVIDERS
   ============================================ */
.ember-divider {
    position: relative;
    height: 180px;
    overflow: hidden;
    pointer-events: none;
}

.ember-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b000050, #dc143c40, #8b000050, transparent);
}

.ember-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 150px;
    background: radial-gradient(ellipse, rgba(139, 0, 0, 0.04) 0%, transparent 70%);
}

.animated-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8b0000 20%, #dc143c 50%, #ff4500 80%, transparent 100%);
    background-size: 200% 100%;
    animation: line-flow 4s linear infinite;
}

@keyframes line-flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   EQUALIZER BARS
   ============================================ */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 35px;
}

.eq-bar {
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff4500, #dc143c, #8b0000);
    animation: eq-dance var(--eq-speed) ease-in-out infinite alternate;
    box-shadow: 0 0 4px rgba(220, 20, 60, 0.4);
}

@keyframes eq-dance {
    0% { height: var(--eq-min); }
    100% { height: var(--eq-max); }
}

/* ============================================
   HERO WAVEFORM
   ============================================ */
.hero-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 60px;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.3));
}

.hero-waveform .bar {
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #dc143c, #8b000040);
    animation: wave-bar-dance var(--speed) ease-in-out infinite alternate;
}

@keyframes wave-bar-dance {
    0% { height: var(--min-h); opacity: 0.3; }
    100% { height: var(--max-h); opacity: 1; }
}

/* ============================================
   SOCIAL ICON HOVER
   ============================================ */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ============================================
   TRACK SHOWCASE SECTION (full width cards)
   ============================================ */
.showcase-track {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 280px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-track::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.7) 100%);
    z-index: 1;
    transition: all 0.5s;
}

.showcase-track:hover::before {
    background: linear-gradient(135deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.2) 50%, rgba(5,5,5,0.5) 100%);
}

.showcase-track:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 80px rgba(139,0,0,0.08);
}

.showcase-track .bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-track:hover .bg-img {
    transform: scale(1.08);
}

.showcase-track .content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Now playing bar - always visible when active, all screen sizes */
.now-playing-bar.active ~ footer,
body:has(.now-playing-bar.active) footer {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .hero-title {
        letter-spacing: 0.06em;
    }
    
    .equalizer {
        height: 25px;
    }
    
    .eq-bar {
        width: 2px;
    }
    
    .hero-waveform {
        height: 40px;
    }
    
    .track-number {
        font-size: 4rem;
    }

    /* Gradient orbs - hide on mobile to avoid overflow */
    .gradient-orb {
        display: none;
    }

    /* Now playing bar mobile */
    .now-playing-bar {
        padding: 8px 10px;
    }

    .np-inner {
        gap: 8px;
    }

    #np-cover {
        width: 32px !important;
        height: 32px !important;
    }

    .np-info .np-title {
        font-size: 10px;
        max-width: 100px;
    }

    .np-play-toggle {
        width: 40px;
        height: 40px;
    }

    .np-play-toggle svg {
        width: 16px;
        height: 16px;
    }

    /* Hide time on small screens */
    .player-time {
        display: none;
    }

    /* Mobile menu */
    #mobile-menu {
        z-index: 60 !important;
    }

    /* Track cards mobile */
    .track-card .flex.gap-5 {
        gap: 12px;
    }

    /* Section padding adjustments */
    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* CTA buttons */
    .cta-btn {
        padding: 14px 28px;
        font-size: 0.7rem;
    }

    /* Stat cards */
    .stat-number {
        font-size: 2rem;
    }

    .stat-card {
        padding: 16px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }

    .genre-tag {
        font-size: 0.55rem;
        padding: 5px 12px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    #np-title {
        max-width: 80px;
    }
}

/* Body padding when player is active */
body.player-active {
    padding-bottom: 72px;
}

