/* ==========================================================================
   RMusic Theme Stylesheet - Neon Red & Dark Mode
   ========================================================================== */

/* Variables & System Tokens */
:root {
    --bg-darkest: #050505;
    --bg-darker: #0b0b0b;
    --bg-card: rgba(15, 15, 15, 0.7);
    --border-color: rgba(255, 26, 58, 0.15);
    --border-hover: rgba(255, 26, 58, 0.6);
    
    /* Strict Neon Red */
    --neon-red: #FF1A3A;
    --neon-red-glow: rgba(255, 26, 58, 0.6);
    --neon-red-dim: rgba(255, 26, 58, 0.1);
    
    /* Text colors */
    --text-white: #FFFFFF;
    --text-gray: #A3A3A3;
    --text-muted: #666666;
    
    /* Transition speed */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Responsive node dimensions */
    --node-size: 130px;
    --node-center-size: 165px;
    --node-bottom-width: 200px;
    --node-bottom-height: 130px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darkest);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-darkest);
    overflow-x: hidden;
    overflow-x: clip;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-red);
}

/* Typography & Headings */
h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: var(--text-white);
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-gray);
}

.text-neon {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
}

/* Common Layout Elements */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-neon {
    background: var(--neon-red);
    color: var(--text-white);
    border: 1px solid var(--neon-red);
    box-shadow: 0 4px 15px rgba(255, 26, 58, 0.3);
}

.btn-neon:hover {
    background: transparent;
    color: var(--text-white);
    box-shadow: 0 0 20px var(--neon-red-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-darkest);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 26, 58, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.rmusic-logo {
    height: 42px;
    object-fit: contain;
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-darkest);
    overflow: hidden;
    padding-top: 100px;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
}

.hero-tagline {
    font-family: 'Syne', sans-serif;
    color: var(--neon-red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 6.5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-gray);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Section 2: El Portafolio
   ========================================================================== */
.portfolio-section {
    padding: 120px 40px;
    background-color: var(--bg-darkest);
    border-top: 1px solid rgba(255, 26, 58, 0.05);
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16; /* Vertical Story Aspect Ratio */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 45px rgba(255, 26, 58, 0.25);
    transform: translateY(-8px);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 40%, rgba(5,5,5,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    z-index: 2;
}

.artist-info {
    width: 100%;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.portfolio-card:hover .artist-info {
    transform: translateY(0);
}

.artist-tag {
    font-family: 'Syne', sans-serif;
    color: var(--neon-red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.8rem;
    border: 1px solid var(--neon-red);
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255, 26, 58, 0.05);
}

.artist-name {
    font-size: clamp(1.1rem, 1.35vw, 1.25rem); /* Fluid size to fit 4-column layout perfectly */
    letter-spacing: -0.02em; /* Tighten up Syne display characters */
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.artist-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.5;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .artist-desc {
    opacity: 1;
}


/* ==========================================================================
   Section 2.5: Featured Showcase (Escobar Entertainment)
   ========================================================================== */
.featured-showcase-section {
    padding: 100px 40px;
    background-color: #050505;
    border-top: 1px solid rgba(255, 26, 58, 0.05);
    position: relative;
    z-index: 2;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 968px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .featured-showcase-section {
        padding: 60px 20px;
        overflow: hidden;
        width: 100%;
    }
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    .showcase-title {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .featured-showcase-section {
        padding: 40px 16px;
    }
    .showcase-title {
        font-size: 1.5rem !important;
    }
    .showcase-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .mockup-header {
        padding: 8px 12px;
    }
    .mockup-header .url-bar {
        font-size: 0.6rem;
        margin-left: 8px;
        padding: 3px 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mockup-header .dot {
        width: 6px;
        height: 6px;
    }
}

.showcase-visual {
    width: 100%;
}

.mockup-frame {
    width: 100%;
    background: #111;
    border: 1px solid rgba(255, 26, 58, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 26, 58, 0.05);
    transition: var(--transition-smooth);
}

.mockup-frame:hover {
    border-color: var(--neon-red);
    box-shadow: 0 25px 60px rgba(255, 26, 58, 0.15);
}

.mockup-header {
    background: #181818;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mockup-header .dot.red { background: #ff5f56; }
.mockup-header .dot.yellow { background: #ffbd2e; }
.mockup-header .dot.green { background: #27c93f; }

.mockup-header .url-bar {
    margin-left: 20px;
    flex-grow: 1;
    background: #080808;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75rem;
    padding: 4px 10px;
    color: var(--text-gray);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.mockup-content {
    aspect-ratio: 16 / 10;
    width: 100%;
    background: radial-gradient(circle at center, #180004 0%, #080808 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.escobar-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mockup-frame:hover .escobar-screenshot {
    transform: scale(1.05) translateY(-12%);
}

.showcase-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 968px) {
    .showcase-text {
        align-items: center;
    }
}

.showcase-tag {
    font-family: 'Syne', sans-serif;
    color: var(--neon-red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border: 1px solid var(--neon-red);
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255, 26, 58, 0.05);
}

.showcase-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.showcase-desc {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   Section 3: El Eje Operativo (Scrollytelling Dispersion Animation)
   ========================================================================== */
.eje-section {
    background-color: #030303;
    border-top: 1px solid rgba(255, 26, 58, 0.05);
}

.eje-scroll-wrapper {
    position: relative;
    height: 200vh; /* Shorter scroll height for snappier and faster animation */
    width: 100%;
}

.eje-sticky-content {
    position: sticky;
    top: 0;
    height: 90vh; /* Reduced to eliminate empty scroll gaps */
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align canvas container to the bottom */
    align-items: center;
    overflow: hidden;
    padding: 40px 40px 30px 40px;
    background: #030303;
}

.eje-sticky-content .eje-header {
    text-align: center;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
}

/* Animated canvas scaling */
.eje-canvas-container {
    position: relative;
    width: 700px;
    height: 600px;
    margin: 20px auto 0 auto; /* Reduced margin to pull up layout */
    display: block;
    transform-origin: top center;
}

/* SVG Connection paths background */
.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.conn-path {
    fill: none;
    stroke: rgba(255, 26, 58, 0.06);
    stroke-width: 2px;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.01s linear, stroke 0.3s;
}

/* Setup paths for line-drawing animation */
.conn-path.active {
    stroke: var(--neon-red);
    stroke-width: 3.5px;
    filter: url(#neon-glow);
}

/* Absolute Positions for Nodes aligned with SVG paths (1000 x 600 viewbox) */
.node {
    position: absolute;
    z-index: 5;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.6;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: var(--text-white);
    width: var(--node-size);
    height: var(--node-size);
}

/* Active nodes triggered by scroll stages */
.node.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
    border: 2px solid var(--neon-red);
    background: rgba(255, 26, 58, 0.08);
    box-shadow: 0 0 30px rgba(255, 26, 58, 0.5), inset 0 0 15px rgba(255, 26, 58, 0.25);
}

.node-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
    color: var(--text-gray);
    text-align: center;
}

.node.active .node-label {
    color: var(--text-white);
}

.node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.node.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px var(--neon-red));
}

.node.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px var(--neon-red-glow);
}

/* Specific Node Layouts */

/* 1. Origin (Center) at (500, 240) -> 50% left, 40% top */
.node-center {
    left: 50%;
    top: 40%;
    width: var(--node-center-size);
    height: var(--node-center-size);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    border-width: 2px;
}

.node-content-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.origin-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transition: var(--transition-smooth);
}

.node-center.active .origin-video {
    opacity: 0.85;
}

.node-center .node-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 0.75rem;
    background: rgba(5,5,5,0.7);
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    color: var(--text-white);
    border: 1px solid rgba(255, 26, 58, 0.3);
}

/* 2. Left Nodes (Meta) */
/* Instagram: (100, 140) -> 14.2857% left, 23.3% top */
#node-instagram {
    left: 14.2857%;
    top: 23.3%;
}

/* Facebook: (100, 340) -> 14.2857% left, 56.7% top */
#node-facebook {
    left: 14.2857%;
    top: 56.7%;
}

/* 3. Right Nodes */
/* TikTok: (600, 140) -> 85.7143% left, 23.3% top */
#node-tiktok {
    left: 85.7143%;
    top: 23.3%;
}

/* YT Shorts: (600, 340) -> 85.7143% left, 56.7% top */
#node-shorts {
    left: 85.7143%;
    top: 56.7%;
}

/* 4. Bottom Nodes (Destinations) */
/* Spotify: (250, 480) -> 35.7143% left, 80% top */
#node-spotify {
    left: 35.7143%;
    top: 80%;
    width: var(--node-bottom-width);
    height: var(--node-bottom-height);
    border-width: 2px;
}

/* Monetization: (450, 480) -> 64.2857% left, 80% top */
#node-monetization {
    left: 64.2857%;
    top: 80%;
    width: var(--node-bottom-width);
    height: var(--node-bottom-height);
    border-width: 2px;
}

/* Metrics and Results inside Nodes */
.metrics-counter {
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--neon-red);
    margin-top: 5px;
    font-weight: bold;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
}

.node.active .metrics-counter {
    opacity: 1;
    transform: translateY(0);
}

.node-result {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    text-align: center;
}

.node.active .node-result {
    opacity: 1;
    transform: scale(1);
    animation: pulseGlow 2s infinite ease-in-out;
}

/* Floating Like Hearts Container */
.likes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.floating-heart {
    position: absolute;
    color: var(--neon-red);
    font-size: 24px;
    fill: currentColor;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 5px var(--neon-red-glow));
    animation: driftHeart 2s forwards ease-out;
}

/* Conversion particles traveling along paths */
.travel-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--neon-red);
    border-radius: 50%;
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 2px var(--neon-red-glow));
    }
    50% {
        filter: drop-shadow(0 0 8px var(--neon-red));
        transform: scale(1.05);
    }
}

@keyframes driftHeart {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-80px) scale(1.3) rotate(15deg);
        opacity: 0;
    }
}

/* ==========================================================================
   Section 4: Cierre y Social Proof
   ========================================================================== */
.social-proof-section {
    padding: 120px 40px;
    background-color: var(--bg-darkest);
    border-top: 1px solid rgba(255, 26, 58, 0.05);
    position: relative;
    z-index: 2;
}

.artists-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Custom 5-column layout with flex centering for Social Proof */
.social-proof-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.social-proof-grid .artist-proof-card {
    flex: 1 1 calc(20% - 24px); /* 5 columns on desktop */
    min-width: 200px;
    max-width: 220px;
}

.artist-proof-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.artist-proof-card {
    position: relative;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 15px;
    text-align: center;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.artist-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 26, 58, 0.03) 0%, transparent 70%);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.artist-proof-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 26, 58, 0.08);
}

.artist-proof-card:hover .artist-card-bg {
    background: radial-gradient(circle at center, rgba(255, 26, 58, 0.08) 0%, transparent 60%);
    opacity: 1;
}

.artist-card-content {
    position: relative;
    z-index: 2;
}

.artist-proof-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-family: 'Syne', sans-serif;
    word-break: keep-all;
    overflow-wrap: break-word;
}

#proof-norambuena .artist-proof-name {
    font-weight: 800;
}

#proof-golden .artist-proof-name {
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.04em;
}

#proof-ishi .artist-proof-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
}

#proof-chars .artist-proof-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

#proof-escobar .artist-proof-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.artist-proof-role {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.artist-proof-neon-line {
    width: 50px;
    height: 2px;
    background-color: var(--neon-red);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--neon-red);
    transition: width 0.4s ease;
}

.artist-proof-card:hover .artist-proof-neon-line {
    width: 120px;
}

/* Clickable overlay links for social proof cards */
.artist-card-presskit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.artist-card-content {
    position: relative;
    z-index: 2;
    pointer-events: none; /* Let clicks pass through to the overlay link */
}

.artist-spotify-link {
    pointer-events: auto; /* Re-enable clicks on the Spotify link */
    position: relative;
    z-index: 3;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.artist-spotify-link:hover {
    color: var(--neon-red);
    text-shadow: 0 0 8px var(--neon-red-glow);
}


/* ==========================================================================
   Section 5: Call to Action & Footer
   ========================================================================== */
.cta-section {
    padding: 140px 40px;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 26, 58, 0.05);
    position: relative;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 5rem;
}

.footer-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 26, 58, 0.06);
    padding-top: 40px;
}

.footer-tag {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.rmarketing-firma {
    height: 48px;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.rmarketing-firma:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* ==========================================================================
   Section 3.5: Nuestros Pilares Operativos
   ========================================================================== */
.eje-pillars-section {
    padding: 40px 40px 100px 40px; /* Reduced top padding to tighten vertical spacing */
    background-color: var(--bg-darkest);
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 26, 58, 0.05);
}

.pillars-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pillar-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 35px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
    opacity: 0;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 26, 58, 0.08);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-num {
    font-family: 'Syne', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--neon-red);
    opacity: 0.85;
    display: block;
    margin-bottom: 12px;
    text-shadow: 0 0 15px var(--neon-red-glow);
}

.pillar-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.pillar-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 300;
}

.pillar-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.7;
    font-style: italic;
    border-top: 1px solid rgba(255, 26, 58, 0.12);
    padding-top: 10px;
    line-height: 1.4;
}

/* ==========================================================================
   Brand-Specific Neon Glow Colors & Pulse Animations
   ========================================================================== */
.node {
    /* Set transition for smooth color changes */
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                opacity 0.5s ease, 
                box-shadow 0.6s, 
                border-color 0.6s,
                background 0.6s !important;
}

/* 1. Instagram Neon Pink/Magenta */
#node-instagram.active {
    border-color: #E1306C;
    background: rgba(225, 48, 108, 0.06);
    box-shadow: 0 0 35px rgba(225, 48, 108, 0.45), inset 0 0 15px rgba(225, 48, 108, 0.25);
}
#node-instagram.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px #E1306C);
}
#node-instagram.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(225, 48, 108, 0.6);
}

/* 2. Facebook Neon Blue */
#node-facebook.active {
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.06);
    box-shadow: 0 0 35px rgba(24, 119, 242, 0.45), inset 0 0 15px rgba(24, 119, 242, 0.25);
}
#node-facebook.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px #1877F2);
}
#node-facebook.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(24, 119, 242, 0.6);
}

/* 3. TikTok Cyan */
#node-tiktok.active {
    border-color: #00F2FE;
    background: rgba(0, 242, 254, 0.06);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.45), inset 0 0 15px rgba(0, 242, 254, 0.25);
}
#node-tiktok.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px #00F2FE);
}
#node-tiktok.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(0, 242, 254, 0.6);
}

/* 4. YT Shorts Neon Red */
#node-shorts.active {
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.06);
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.45), inset 0 0 15px rgba(255, 0, 0, 0.25);
}
#node-shorts.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px #FF0000);
}
#node-shorts.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
}

/* 5. Spotify Neon Green */
#node-spotify.active {
    border-color: #1DB954;
    background: rgba(29, 185, 84, 0.06);
    box-shadow: 0 0 35px rgba(29, 185, 84, 0.45), inset 0 0 15px rgba(29, 185, 84, 0.25);
}
#node-spotify.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px #1DB954);
}
#node-spotify.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(29, 185, 84, 0.6);
}

/* 6. Monetization Neon Green/Dollar */
#node-monetization.active {
    border-color: #39FF14;
    background: rgba(57, 255, 20, 0.06);
    box-shadow: 0 0 35px rgba(57, 255, 20, 0.45), inset 0 0 15px rgba(57, 255, 20, 0.25);
}
#node-monetization.active .node-icon {
    color: var(--text-white);
    filter: drop-shadow(0 0 10px #39FF14);
}
#node-monetization.active .node-label {
    color: var(--text-white);
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.6);
}

/* Inactive nodes pulse-glow style definitions */
.node.pulse-glow {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.04);
}
#node-instagram.pulse-glow {
    border-color: #E1306C;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.4);
}
#node-instagram.pulse-glow .node-icon {
    color: #E1306C;
}
#node-facebook.pulse-glow {
    border-color: #1877F2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
}
#node-facebook.pulse-glow .node-icon {
    color: #1877F2;
}
#node-tiktok.pulse-glow {
    border-color: #00F2FE;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}
#node-tiktok.pulse-glow .node-icon {
    color: #00F2FE;
}
#node-shorts.pulse-glow {
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}
#node-shorts.pulse-glow .node-icon {
    color: #FF0000;
}
#node-spotify.pulse-glow {
    border-color: #1DB954;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
}
#node-spotify.pulse-glow .node-icon {
    color: #1DB954;
}
#node-monetization.pulse-glow {
    border-color: #39FF14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}
#node-monetization.pulse-glow .node-icon {
    color: #39FF14;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 20px;
    }
    
    .social-proof-grid {
        max-width: 900px;
        gap: 20px;
    }
    
    .social-proof-grid .artist-proof-card {
        flex: 1 1 calc(33.333% - 14px); /* 3 columns on tablet */
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    /* Make scroll animation depth snappier on mobile */
    .eje-scroll-wrapper {
        height: 200vh;
    }

    .eje-sticky-content {
        height: 100vh; /* Full screen height to prevent black gaps under viewport */
        width: 100%;
        max-width: 100%;
        justify-content: center; /* Center the scaled Eje Operativo vertically */
        padding: 20px;
    }
    
    .eje-sticky-content .eje-header {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .eje-canvas-container {
        margin-left: calc(50% - 350px);
        margin-top: 0;
        height: 1100px; /* Mobile vertical coordinate space height (increased for spacing) */
    }

    /* Mobile vertical flow positions for Eje Operativo (700x1100 base) */
    .node-center {
        left: 50% !important;
        top: 100px !important;
        width: 140px !important;
        height: 140px !important;
    }
    #node-instagram {
        left: 180px !important;
        top: 320px !important;
        width: 110px !important;
        height: 110px !important;
    }
    #node-facebook {
        left: 520px !important;
        top: 320px !important;
        width: 110px !important;
        height: 110px !important;
    }
    #node-tiktok {
        left: 180px !important;
        top: 550px !important;
        width: 110px !important;
        height: 110px !important;
    }
    #node-shorts {
        left: 520px !important;
        top: 550px !important;
        width: 110px !important;
        height: 110px !important;
    }
    #node-spotify {
        left: 50% !important;
        top: 790px !important;
        width: 150px !important;
        height: 90px !important;
    }
    #node-monetization {
        left: 50% !important;
        top: 990px !important;
        width: 150px !important;
        height: 90px !important;
    }

    .hero-container {
        padding: 0 20px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .node-label {
        font-size: 0.85rem !important; /* Smaller so it fits inside 110px nodes */
    }
    
    .metrics-counter {
        font-size: 0.75rem !important;
    }
    
    .node-result {
        font-size: 0.75rem !important;
    }

    .video-overlay {
        padding: 24px;
    }

    .artist-name {
        font-size: 1.6rem; /* Smaller font size on mobile to prevent clipping */
        margin-bottom: 0.5rem;
    }

    .artist-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .portfolio-container, .artists-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .social-proof-grid {
        max-width: 320px;
        gap: 20px;
    }
    
    .social-proof-grid .artist-proof-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .artist-proof-name {
        font-size: 1.4rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pillar-card {
        padding: 30px 20px;
    }

    .pillar-title {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 7.5vw, 1.95rem);
    }

    .connection-svg {
        display: none !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-container {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-section, .eje-pillars-section, .social-proof-section, .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ==========================================================================
   Floating Audio Control
   ========================================================================== */
.audio-control-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.audio-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    position: relative;
    padding: 0;
    outline: none;
}

.audio-btn:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red-glow);
    transform: scale(1.08);
}

.audio-icon-wrapper {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-icon {
    width: 100%;
    height: 100%;
}

.audio-tooltip {
    position: absolute;
    left: 60px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform: translateX(-10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    color: var(--text-gray);
}

.audio-btn:hover .audio-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Sound waves animation when active */
.audio-btn.playing .wave {
    animation: pulseWave 1.2s infinite ease-in-out;
    transform-origin: center;
}

.audio-btn.playing .wave-2 {
    animation-delay: 0.3s;
}

@keyframes pulseWave {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        stroke: var(--neon-red);
    }
}

/* Mute state visual styles */
.audio-btn.muted .wave {
    opacity: 0.2;
}

.audio-btn.muted .mute-line {
    display: block !important;
}

/* Mobile Responsive styles for Audio Control */
@media (max-width: 768px) {
    .audio-control-container {
        bottom: 20px;
        left: 20px;
    }
    
    .audio-btn {
        width: 44px;
        height: 44px;
    }
    
    .audio-tooltip {
        display: none;
    }
}

/* ==========================================================================
   Preloader Welcome Screen & Audio Prompt
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darkest);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    overflow: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 450px;
    width: 90%;
    padding: 20px;
}

.preloader-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 100%;
    height: auto;
    z-index: 2;
    animation: logoPulseRing 2s infinite ease-in-out;
}

.logo-pulse-ring {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid var(--neon-red);
    opacity: 0;
    animation: pulseRingOut 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
    z-index: 1;
}

@keyframes logoPulseRing {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 26, 58, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 26, 58, 0.8));
    }
}

@keyframes pulseRingOut {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.loader-bar-container {
    width: 240px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
    transition: width 0.1s linear;
}

.loader-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Audio Welcome Prompt */
.audio-prompt-container {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    flex-direction: column;
    align-items: center;
    max-width: 380px;
    margin-top: 10px;
}

.prompt-title {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-white) 30%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prompt-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 28px;
    font-weight: 300;
}

.prompt-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.btn-prompt {
    font-size: 0.85rem;
    padding: 10px 22px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    flex: 1;
    white-space: nowrap;
}

.prompt-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Exit State classes */
.preloader-overlay.fade-out {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

/* Hide preloader display completely after transition */
.preloader-overlay.hidden {
    display: none;
}

/* Responsive fixes */
@media (max-width: 480px) {
    .preloader-logo-container {
        width: 140px;
        height: 140px;
        margin-bottom: 30px;
    }
    
    .logo-pulse-ring {
        width: 170px;
        height: 170px;
    }

    .prompt-actions {
        flex-direction: column;
        gap: 12px;
        width: 85%;
    }
    
    .btn-prompt {
        width: 100%;
        padding: 12px 20px;
    }
    
    .prompt-title {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   Section 5.1: RMusic Contact Form
   ========================================================================== */
.music-form-wrapper {
    margin: 40px auto 60px auto;
    max-width: 700px;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(255, 26, 58, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 26, 58, 0.05);
    position: relative;
    z-index: 10;
}

.music-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.music-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .music-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.music-contact-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.music-contact-form label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.music-contact-form input,
.music-contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.music-contact-form input:focus,
.music-contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 26, 58, 0.15);
}

.music-contact-form textarea {
    resize: none;
}

.music-contact-form .btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}

/* Footer Legal Links Styling */
.legal-links-footer {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Syne', sans-serif;
}

.legal-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--neon-red);
}

.legal-sep {
    color: rgba(255, 255, 255, 0.15);
}
