@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&family=Quicksand:wght@500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

:root {
    --primary: #00bcd4;
    --text: #e3f2fd;
    --bg: #141e30;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Light Mode Colors */
    --bg-light: rgba(255, 255, 255, 0.15);
    --text-light: #e3f2fd;
    --card-shadow-light: 0 10px 30px rgba(0,0,0,0.2);
    
    /* Dark Mode Colors */
    --bg-dark: rgba(20, 30, 48, 0.9);
    --text-dark: #e3f2fd;
    --card-shadow-dark: 0 10px 30px rgba(0,0,0,0.4);

    --winter-primary: #00bcd4;
    --winter-text: #0097a7;
    --winter-light: #b2ebf2;
    --winter-dark: #006064;
}

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

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
    min-height: 100vh;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.card {
    width: 340px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    animation: cardAppear 0.8s forwards;
    position: relative;
    z-index: 10;
    padding-top: 30px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

.banner {
    height: 140px;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.banner-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo gif lấp đầy banner */
    opacity: 0.8; /* Điều chỉnh độ trong suốt */
}

/* Thêm overlay để tạo hiệu ứng blend */
.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0,168,255,0.3),
        rgba(76,209,55,0.3),
        rgba(156,136,255,0.3)
    );
    z-index: 1;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(circle, 
            rgba(255,255,255,0.2) 0%, 
            rgba(255,255,255,0.1) 20%, 
            transparent 60%
        ),
        linear-gradient(45deg, #2ecc7155, #3498db55);
    animation: parallaxMove 15s ease-in-out infinite alternate;
}

@keyframes parallaxMove {
    0% {
        transform: translate(-30px, -30px) rotate(-5deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(5deg);
    }
}

#audioVisualizer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    background: white;
    overflow: hidden;
}

.profile-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.3) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.profile-img:hover::before {
    animation: shine 0.75s;
}

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

.profile-img:hover img {
    transform: scale(1.15);
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.card-body {
    padding: 20px;
    text-align: center;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00bcd4;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color:#00bcd4;
    margin: 12px 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
    letter-spacing: 0.3px;
}
/* Style cho text hướng dẫn */
.music-hint {
    position: absolute;
    top: -25px;
    left: -200%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #10be4a;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
    animation: glowText 2s ease-in-out infinite;
    white-space: nowrap;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    pointer-events: none;
}

@keyframes glowText {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
        text-shadow: 0 0 15px rgba(0, 188, 212, 0.8);
    }
}
.verified-badge {
    width: 18px;
    height: 18px;
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 188, 212, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: badgePulse 2s ease-in-out infinite;
}

.verified-badge i {
    color: white;
    font-size: 10px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.role {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    width: fit-content;
    margin: 0 auto 10px;
    padding-right: 4px;
    opacity: 0;
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, elementFadeIn 0.5s ease forwards;
    transform: translateY(20px);
}

.role::before {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    color: var(--text);
    border-right: 2px solid var(--primary);
    overflow: hidden;
    animation: typing 3s steps(30) infinite,
               cursor .4s step-end infinite alternate;
    white-space: nowrap;
}

@keyframes typing {
    0% { width: 0 }
    30%, 80% { width: 100% }
    100% { width: 0 }
}

@keyframes cursor {
    50% { border-color: transparent }
}

.social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
    opacity: 0;
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, elementFadeIn 0.5s ease forwards;
    transform: translateY(20px);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px) rotate(8deg);
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 12px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

.social-link:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.connect-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    opacity: 0;
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, elementFadeIn 0.5s ease forwards;
    transform: translateY(20px);
    margin-top: 10px;
}

.connect-btn:hover {
    background: linear-gradient(45deg, #0097a7, #00bcd4);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
    letter-spacing: 1px;
}

@media (max-width: 400px) {
    .card {
        width: 300px;
    }
    
    .stats {
        padding: 0 10px;
    }
    
    .title {
        font-size: 3rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LOADING SCREEN — Aurora Space Concept
   ═══════════════════════════════════════════════════════════════ */
.loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #0c101d 0%, #05060b 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.6s;
}

/* Ambient space background bubbles */
.loader::before,
.loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    animation: loaderAmbient 12s ease-in-out infinite alternate;
}

.loader::before {
    width: 350px;
    height: 350px;
    background: #00bcd4;
    top: -50px;
    left: -50px;
}

.loader::after {
    width: 400px;
    height: 400px;
    background: #ec4899;
    bottom: -80px;
    right: -80px;
    animation-delay: -6s;
}

@keyframes loaderAmbient {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.15); }
}

.loader-content {
    width: min(340px, 85%);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Central spinning neon ring indicator */

/* Glowing text title */
.loader-title {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 10px;
    text-indent: 10px; /* Offset spacing centering */
    background: linear-gradient(90deg, #00bcd4, #6366f1, #ec4899, #f59e0b, #00bcd4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loaderTitleGradient 4s linear infinite;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.15);
}

@keyframes loaderTitleGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Glassmorphism progress box */
.progress-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Thin sleek progress bar container */
.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: visible; /* Let glow dot expand */
    position: relative;
    border: none;
    box-shadow: none;
}

/* Glowing progress element */
.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00bcd4, #6366f1, #ec4899);
    border-radius: 10px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(0, 188, 212, 0.4);
    position: relative;
}

/* Leading glow dot */
.progress::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    box-shadow:
        0 0 8px #fff,
        0 0 16px #00bcd4,
        0 0 24px #6366f1;
    z-index: 2;
    animation: pulse 1s infinite alternate;
}

/* Percent text styling */
.progress-text {
    color: #e0f7fa;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.3);
}

/* Loading Screen */
/* Style cho loading screen */

.loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(-45deg, #141e30, #243b55, #2c5364, #203a43);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader.fade-out {
    opacity: 0;
}

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

.loader-title {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-shadow: 0 0 10px rgba(255,255,255,0.5),
                 0 0 20px rgba(255,255,255,0.3),
                 0 0 30px rgba(255,255,255,0.2);
    animation: glowText 1.5s ease-in-out infinite alternate;
}

@keyframes glowText {
    from {
        filter: brightness(1);
        transform: scale(1);
    }
    to {
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}


.progress-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
}

.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    border-radius: 5px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    position: relative;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 1s infinite;
}

.progress-text {
    color: #e3f2fd;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .loader-content {
        width: 85%;
    }
    
    .loader-title {
        font-size: 1.8rem;
        letter-spacing: 6px;
    }
}

/* Main Content */
.content {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content.show {
    opacity: 1;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hidden Class */
.hidden {
    visibility: hidden;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    .card {
        width: 90%;
        max-width: 340px;
        margin: 20px auto;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
}

/* Thêm style cho verified badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #00bcd4;
    border-radius: 50%;
    margin-left: 5px;
    position: relative;
    top: 3px;
    transform: translateY(0);
    box-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.verified-badge i {
    color: white;
    font-size: 10px;
}

/* Thêm hiệu ứng lấp lánh cho badge */
.verified-badge {
    animation: shine 2s infinite;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}

@keyframes shine {
    0% {
        box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
    }
    50% {
        box-shadow: 0 0 12px rgba(33, 150, 243, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
    }
}

.audio-player {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

body.is-ready .audio-player {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.music-toggle {
    min-width: 120px;
    height: 42px;
    padding: 4px 12px 4px 4px;
    border-radius: 21px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* Animated gradient ring */
.music-toggle::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 22px;
    background: linear-gradient(60deg, #00bcd4, #6366f1, #ec4899, #ff7a00, #00bcd4);
    background-size: 300% 300%;
    animation: scToggleGlow 6s ease infinite;
    z-index: 0;
    opacity: 0.6;
    filter: blur(1.5px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.music-toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 21px;
    background: linear-gradient(145deg, rgba(10, 18, 32, 0.92), rgba(15, 23, 42, 0.88));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.music-toggle i {
    color: white;
    font-size: 12px;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-toggle__icon {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #00bcd4, #6366f1);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.music-toggle__meta {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.music-toggle .music-hint {
    position: static !important;
    transform: none !important;
    animation: none !important;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0f7fa;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.2);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ─── Hover ─── */
.music-toggle:hover {
    transform: translateY(-2px) scale(1.03);
}

.music-toggle:hover::before {
    opacity: 0.85;
    filter: blur(3px);
}

.music-toggle:hover .music-toggle__icon {
    transform: rotate(-12deg) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 188, 212, 0.5);
}

/* ─── Playing State ─── */
.music-toggle.playing::before {
    background: linear-gradient(60deg, #00bcd4, #ec4899, #ff7a00, #00bcd4);
    opacity: 0.9;
    filter: blur(4px);
}

.music-toggle.playing .music-toggle__icon {
    background: linear-gradient(135deg, #00bcd4, #ec4899);
    box-shadow: 0 6px 16px rgba(0, 188, 212, 0.6);
    animation: scToggleIconSpin 8s linear infinite;
}

@keyframes scToggleIconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-toggle.playing i {
    animation: scToggleMusicPulse 1.4s ease-in-out infinite alternate;
}

@keyframes scToggleMusicPulse {
    0% { transform: scale(0.9) rotate(-10deg); }
    100% { transform: scale(1.1) rotate(10deg); }
}

/* ─── Panel Open State ─── */
.music-toggle.panel-open::before {
    background: linear-gradient(60deg, #ff7a00, #ff5500, #e64a19, #ff7a00);
    opacity: 0.85;
}

.music-toggle.panel-open .music-toggle__icon {
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    box-shadow: 0 6px 14px rgba(255, 85, 0, 0.5);
}

.music-toggle.panel-open .music-hint {
    color: #ffd6a6;
    text-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}

/* Animations */
@keyframes pulseMusic {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(76, 209, 55, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .audio-player {
        bottom: 14px;
        right: 14px;
    }
    
    .music-toggle {
        min-width: 108px;
        height: 36px;
        padding: 3px 10px 3px 3px;
        gap: 6px;
    }

    .music-toggle::before {
        border-radius: 19px;
    }

    .music-toggle::after {
        border-radius: 18px;
    }

    .music-toggle__icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
    }

    .music-toggle i {
        font-size: 11px;
    }

    .music-toggle .music-hint {
        font-size: 0.74rem;
    }
}

/* Thêm style cho click effect */
.click-circle {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 105, 180, 0.7);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    animation: clickEffect 0.5s ease-out forwards;
}

@keyframes clickEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
        display: none;
    }
}

/* Thêm cursor pointer cho các element có th click */
a, button, .social-link, .music-toggle {
    cursor: pointer;
}

/* Tùy chọn: Thêm hiệu ứng hover cho các element có thể click */
a:hover, button:not(.music-toggle):hover, .social-link:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Style cho hoa đào */
.sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sakura {
    position: absolute;
    background: #ffd7e6;
    border-radius: 50%;
    opacity: 0.5;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translate(0, -10px) rotate(0deg);
    }
    100% {
        transform: translate(100px, 100vh) rotate(360deg);
    }
}

/* Audio waves animation */
.audio-waves {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.audio-waves span {
    width: 4px;
    height: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
    transform-origin: bottom;
}

/* Delay cho từng thanh */
.audio-waves span:nth-child(2) { animation-delay: 0.1s; }
.audio-waves span:nth-child(3) { animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { animation-delay: 0.3s; }
.audio-waves span:nth-child(5) { animation-delay: 0.4s; }
.audio-waves span:nth-child(6) { animation-delay: 0.5s; }
.audio-waves span:nth-child(7) { animation-delay: 0.6s; }
.audio-waves span:nth-child(8) { animation-delay: 0.7s; }

@keyframes wave {
    0%, 100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1.5);
    }
}

/* Thm class để control animation */
.audio-waves.paused span {
    animation-play-state: paused;
}

.music-bars {
    display: inline-flex;
    gap: 2px;
    height: 15px;
    margin-left: 10px;
}

.music-bars .bar {
    width: 2px;
    background: var(--primary);
    border-radius: 1px;
    animation: musicBar 1s ease-in-out infinite;
}

.music-bars .bar:nth-child(1) { animation-delay: 0.0s; height: 8px; }
.music-bars .bar:nth-child(2) { animation-delay: 0.2s; height: 15px; }
.music-bars .bar:nth-child(3) { animation-delay: 0.4s; height: 10px; }
.music-bars .bar:nth-child(4) { animation-delay: 0.6s; height: 12px; }

@keyframes musicBar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

/* Thêm class để control animation */
.music-bars.paused .bar {
    animation-play-state: paused;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Ping Indicator Style */
.ping-indicator {
    font-size: 0.8em;
    margin-left: 5px;
    background: rgba(46, 204, 113, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    color: #2ecc71;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ping-indicator i {
    font-size: 0.8em;
}

.ping-value {
    min-width: 35px;
}

/* Location Style */
.location {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 15px;
    background: rgba(127, 140, 141, 0.1);
    border-radius: 20px;
    width: fit-content;
    margin: 15px auto;
    opacity: 1;
    transform: none;
    animation: none;
}

.location i {
    color: #e74c3c;  /* Màu đỏ cho icon location */
    font-size: 1rem;
}

.location:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Tech Stack Style */
.tech-stack {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 12px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    opacity: 0;
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, elementFadeIn 0.5s ease forwards;
    transform: translateY(20px);
}

.tech-stack i {
    font-size: 1.5rem;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
}

/* Màu cho từng icon */
.tech-stack .fa-html5 { color: #e34f26; }
.tech-stack .fa-css3-alt { color: #1572b6; }
.tech-stack .fa-js { color: #f7df1e; }
.tech-stack .fa-react { color: #61dafb; }
.tech-stack .fa-php { color: #777bb4; }

/* Hover effect */
.tech-stack i:hover {
    transform: translateY(-5px);
}

/* Tooltip */
.tech-stack i::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 12px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

.tech-stack i:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.bio {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 15px 0;
    line-height: 1.5;
    padding: 0 20px;
}

.bio p {
    margin: 5px 0;
    transition: all 0.3s ease;
}

.bio p:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

/* Animation cho từng phần tử */
.profile-img,
.name,
.role,
.location,
.tech-stack,
.social,
.connect-btn {
    opacity: 0;
    animation: elementFadeIn 0.5s ease forwards;
}

/* Delay cho từng phn tử */
.profile-img { animation-delay: 0.3s; }
.name { animation-delay: 0.5s; }
.role { animation-delay: 0.7s; }
.location { animation-delay: 0.9s; }
.tech-stack { animation-delay: 1.1s; }
.social { animation-delay: 1.3s; }
.connect-btn { animation-delay: 1.5s; }

@keyframes elementFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation cho card và các phần tử */
.card {
    animation: cardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1;
    transform: none;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries cho Mobile */
@media screen and (max-width: 768px) {
    .card {
        width: 90%;
        max-width: 340px;
        margin: 20px auto;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
}

.sakura {
    position: absolute;
    background: #ffd7e6;
    border-radius: 50%;
    opacity: 0.5;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translate(0, -10px) rotate(0deg);
    }
    100% {
        transform: translate(100px, 100vh) rotate(360deg);
    }
}

/* Animation mới sử dụng transform */
@keyframes sakuraFall {
    0% {
        transform: translate3d(0, -10px, 0) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: translate3d(var(--end-x), var(--fall-height), 0) rotate(var(--rotate));
        opacity: 0;
    }
}

.click-circle {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 105, 180, 0.7);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    animation: clickEffect 0.5s ease-out forwards;
}

@keyframes clickEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
        display: none;
    }
}

/* Gộp các animation có chức năng giống nhau */
@keyframes fadeEffect {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Xóa các animation trùng:
- fadeIn
- elementFadeIn 
- cardAppear
*/

/* Thêm style mới cho tuyết */
.snowflake {
    position: fixed;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: snowfall linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9),
                0 0 20px rgba(255, 255, 255, 0.6),
                0 0 30px rgba(255, 255, 255, 0.4);
    z-index: 5;
}

/* Animation cho tuyết rơi */
@keyframes snowfall {
    0% {
        transform: translate3d(var(--start-x), -10px, 0) rotate(0deg);
        opacity: 0.8;
    }
    
    50% {
        opacity: 0.9;
    }
    
    100% {
        transform: translate3d(var(--end-x), var(--fall-height), 0) rotate(360deg);
        opacity: 0;
    }
}

/* Thêm hiệu ứng lấp lánh cho tuyết */
.snowflake::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,0) 100%
    );
    border-radius: 50%;
    animation: twinkle 1s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Thêm hiệu ứng băng giá cho click effect */
.click-circle {
    background-color: rgba(0, 188, 212, 0.7);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

/* Style cho loading screen */
.loader-old-dup {
    position: fixed;
    inset: 0;
    background: linear-gradient(-45deg, #141e30, #243b55, #2c5364, #203a43);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-old-dup.fade-out {
    opacity: 0;
}

.loader-content-old-dup {
    width: 300px;
    text-align: center;
    position: relative;
}

/* Thêm hiệu ứng tuyết rơi cho loading */
.loader-old-dup::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    animation: pulseSnow 2s ease-in-out infinite;
}

.progress-bar-old-dup {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
}

.progress-old-dup {
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #00bcd4, #0097a7);
    border-radius: 5px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    position: relative;
}

.progress-old-dup::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 1s infinite;
}

.progress-text-old-dup {
    color: #e3f2fd;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

/* Animation cho loading */
@keyframes pulseSnow {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 188, 212, 0.8);
    }
}

.loading-snow {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: loadingSnowfall linear infinite;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes loadingSnowfall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Animation cho badge */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 188, 212, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 188, 212, 0.7);
    }
}

/* Thêm các ngôi sao */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
    opacity: 0;
}

/* Animation cho các ngôi sao */
@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
    animation: shooting var(--duration) linear infinite;
    transform: rotate(var(--rotation));
    opacity: 0;
}

@keyframes shooting {
    0% {
        transform: translateX(-100%) rotate(var(--rotation));
        opacity: 1;
    }
    100% {
        transform: translateX(200%) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Nebula effect */
.nebula {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(63, 94, 251, 0.2) 0%,
        rgba(252, 70, 107, 0.1) 100%
    );
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

/* Điều chỉnh card để phù hợp với theme vũ trụ */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Style cho các loại sao khác nhau */
.star-small {
    width: 1px;
    height: 1px;
    background: #fff;
    box-shadow: 0 0 3px #fff;
}

.star-medium {
    width: 2px;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 5px #fff;
}

.star-large {
    width: 3px;
    height: 3px;
    background: #fff;
    box-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #fff;
}

.star-extra {
    width: 4px;
    height: 4px;
    background: #fff;
    box-shadow: 
        0 0 8px #fff,
        0 0 12px #fff,
        0 0 16px #00bcd4;
    animation: extraTwinkle 4s infinite;
}

@keyframes extraTwinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Thêm layer sao mờ để tạo độ sâu */
.star-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.layer-1 { z-index: 1; }
.layer-2 { z-index: 2; }
.layer-3 { z-index: 3; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.content {
    align-items: center;
    padding: 20px;
}

.showcase-layout {
    width: min(360px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(320px, 360px);
    justify-content: center;
    gap: 0;
    align-items: start;
    position: relative;
    z-index: 10;
}

.profile-card {
    width: 100%;
    max-width: 360px;
    padding-top: 0;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(7, 14, 27, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-header {
    padding: 18px 18px 0;
}

.profile-cover {
    min-height: 156px;
    border-radius: 22px 22px 30px 30px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 36%),
        linear-gradient(135deg, rgba(0, 188, 212, 0.95), rgba(12, 44, 84, 0.88) 58%, rgba(255, 122, 0, 0.82));
}

.profile-cover::before {
    content: '';
    position: absolute;
    inset: auto -30px -30px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(8px);
}

.profile-cover::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0.6;
}

.profile-cover-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 14, 27, 0.26);
    color: #fff;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    backdrop-filter: blur(10px);
}

.profile-cover-badge--soft {
    background: rgba(255, 255, 255, 0.16);
}

.profile-card .profile-img {
    width: 118px;
    height: 118px;
    margin: -54px auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.95);
    background: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
}

.profile-card .card-body {
    padding: 0 28px 28px;
}

.profile-intro {
    margin-bottom: 14px;
}

.profile-eyebrow {
    margin-bottom: 8px;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(227, 242, 253, 0.66);
}

.profile-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-card .status {
    margin-bottom: 0;
}

.profile-card .music-bars {
    margin-left: 0;
}

.profile-card .role {
    margin: 0 auto 12px;
}

.profile-card .bio {
    margin: 0 0 16px;
    padding: 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 14px;
}

.profile-stat {
    padding: 14px;
    border-radius: 18px;
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.profile-stat strong {
    display: block;
    color: #f4fbff;
    font-size: 0.96rem;
    line-height: 1.4;
}

.profile-stat-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(227, 242, 253, 0.58);
}

.profile-pill {
    width: 100%;
    justify-content: center;
    margin: 0 auto 14px;
    color: #d9effa;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-card .location.profile-pill i {
    color: #ff7f94;
}

.profile-card .tech-stack {
    margin: 0 0 16px;
    padding: 12px;
    gap: 10px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #eef7ff;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-card .social {
    margin-bottom: 16px;
}

.profile-card .social-link {
    color: #ecf7ff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-actions {
    display: flex;
}

.profile-card .connect-btn {
    margin-top: 0;
}

.soundcloud-card {
    position: fixed;
    right: 20px;
    bottom: 86px;
    width: min(470px, calc(100vw - 20px));
    max-height: min(660px, calc(100vh - 122px));
    padding: 16px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(7, 14, 27, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.soundcloud-card.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}



.soundcloud-card > * {
    position: relative;
    z-index: 1;
}

.soundcloud-card__header {
    margin-bottom: 8px;
}

.soundcloud-card h2,
.soundcloud-player-copy h3 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

.soundcloud-player-kicker {
    margin-bottom: 4px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(227, 242, 253, 0.6);
}

.soundcloud-heading {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
}

.soundcloud-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 8px;
}

.soundcloud-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 16px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.soundcloud-input-wrap i {
    color: #ff7a00;
    font-size: 0.88rem;
}

.soundcloud-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 0.92rem;
}

.soundcloud-input-wrap input::placeholder {
    color: rgba(227, 242, 253, 0.42);
}

.soundcloud-submit,
.soundcloud-nav {
    border: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.soundcloud-submit {
    min-width: 102px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 14px 26px rgba(255, 85, 0, 0.22);
}

.soundcloud-submit:hover,
.soundcloud-nav:not(:disabled):hover {
    transform: translateY(-2px);
}

.soundcloud-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.soundcloud-status {
    display: none;
    color: rgba(227, 242, 253, 0.72);
    font-size: 0.8rem;
    line-height: 1.4;
}

.soundcloud-status[data-state="loading"] {
    color: #ffd6a6;
}

.soundcloud-status[data-state="error"] {
    display: block;
    flex: 1 1 100%;
    margin: 0;
    color: #ff9a9a;
}

.soundcloud-status[data-state="success"] {
    color: #9ce8ff;
}

.soundcloud-pagebox {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(227, 242, 253, 0.8);
    font-size: 0.88rem;
}

.soundcloud-nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.soundcloud-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.soundcloud-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 176px;
    max-height: none;
    flex: 1 1 auto;
    overflow: auto;
    padding-right: 3px;
    overscroll-behavior: contain;
}

.soundcloud-results::-webkit-scrollbar {
    width: 8px;
}

.soundcloud-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.soundcloud-empty {
    min-height: 176px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 122, 0, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: rgba(227, 242, 253, 0.74);
}

.soundcloud-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: inline-grid;
    place-items: center;
    margin: 0 auto 16px;
    background: rgba(255, 122, 0, 0.16);
    color: #ff7a00;
    font-size: 2rem;
}

.soundcloud-empty h3 {
    margin-bottom: 8px;
    color: #fff;
}

.soundcloud-result {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    text-align: left;
    color: inherit;
}

.soundcloud-result__index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, 0.14);
    color: #fff;
    font-weight: 700;
    font-size: 0.84rem;
}

.soundcloud-result__art {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.3), rgba(0, 188, 212, 0.24));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
}

.soundcloud-result__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soundcloud-result__content {
    min-width: 0;
}

.soundcloud-result__content strong,
.soundcloud-result__content span {
    display: block;
}

.soundcloud-result__content strong {
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.28;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soundcloud-result__content > span {
    color: rgba(227, 242, 253, 0.72);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soundcloud-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.soundcloud-result__meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(227, 242, 253, 0.84);
    font-size: 0.68rem;
}

.soundcloud-result__action {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    box-shadow: 0 12px 22px rgba(255, 85, 0, 0.22);
}

.soundcloud-result.is-active {
    border-color: rgba(255, 122, 0, 0.48);
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(0, 188, 212, 0.08));
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.soundcloud-result.is-skeleton {
    pointer-events: none;
}

.soundcloud-result.is-skeleton .soundcloud-result__index,
.soundcloud-result.is-skeleton .soundcloud-result__art,
.soundcloud-result.is-skeleton .soundcloud-result__content strong,
.soundcloud-result.is-skeleton .soundcloud-result__content > span,
.soundcloud-result.is-skeleton .soundcloud-result__meta span,
.soundcloud-result.is-skeleton .soundcloud-result__action {
    color: transparent;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    background-size: 200% 100%;
    animation: soundcloudShimmer 1.2s linear infinite;
}

@keyframes soundcloudShimmer {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}

.soundcloud-player-shell {
    position: relative;
    margin-top: 10px;
    padding: 10px 12px 9px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    overflow: hidden;
}

.soundcloud-player-meta {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 58px;
    margin-bottom: 6px;
}

.soundcloud-player-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding-right: 4px;
}

.soundcloud-player-art {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.26), rgba(0, 188, 212, 0.24));
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

.soundcloud-player-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soundcloud-player-art-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.35rem;
}

.soundcloud-player-copy h3 {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.12;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: unset;
    max-width: 100%;
}

.soundcloud-player-artist {
    margin: 0;
    max-width: 100%;
    color: rgba(227, 242, 253, 0.72);
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soundcloud-open-track {
    display: inline-flex;
    align-items: center;
    margin-top: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffb36c;
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.soundcloud-open-track:hover {
    background: rgba(255, 122, 0, 0.14);
    transform: translateY(-1px);
}

.soundcloud-player-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.soundcloud-player-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 94px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.soundcloud-control {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f4fbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.25s ease;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.soundcloud-control--primary {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 26px rgba(255, 85, 0, 0.26);
}

.soundcloud-control i {
    font-size: 0.76rem;
}

.soundcloud-control:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
}

.soundcloud-control:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.soundcloud-player-progress {
    display: grid;
    gap: 4px;
}

.soundcloud-progress-track {
    --progress: 0%;
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    position: relative;
    outline: none;
    accent-color: #ff6a00;
}

.soundcloud-progress-track:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.soundcloud-progress-track::-webkit-slider-runnable-track {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #ff7a00 0%, #ff5500 var(--progress), rgba(255, 255, 255, 0.12) var(--progress), rgba(255, 255, 255, 0.12) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 10px rgba(255, 122, 0, 0.08);
}

.soundcloud-progress-track::-moz-range-track {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.soundcloud-progress-track::-moz-range-progress {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a00, #ff5500);
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.14);
}

.soundcloud-progress-track::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    margin-top: -3px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    box-shadow: 0 6px 16px rgba(255, 85, 0, 0.3);
}

.soundcloud-progress-track::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    box-shadow: 0 6px 16px rgba(255, 85, 0, 0.3);
}

.soundcloud-progress-track:focus-visible::-webkit-slider-thumb {
    box-shadow:
        0 0 0 4px rgba(255, 122, 0, 0.2),
        0 6px 16px rgba(255, 85, 0, 0.3);
}

.soundcloud-progress-track:focus-visible::-moz-range-thumb {
    box-shadow:
        0 0 0 4px rgba(255, 122, 0, 0.2),
        0 6px 16px rgba(255, 85, 0, 0.3);
}

.soundcloud-progress-track:hover:not(:disabled)::-webkit-slider-thumb,
.soundcloud-progress-track:active:not(:disabled)::-webkit-slider-thumb {
    transform: scale(1.05);
}

.soundcloud-progress-track:hover:not(:disabled)::-moz-range-thumb,
.soundcloud-progress-track:active:not(:disabled)::-moz-range-thumb {
    transform: scale(1.05);
}

.soundcloud-progress-times {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(227, 242, 253, 0.72);
    font-size: 0.64rem;
    letter-spacing: 0.04em;
}

.soundcloud-player-shell iframe {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: 0;
}

.tech-stack i::before {
    position: static;
    padding: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    opacity: 1;
    visibility: visible;
    transform: none;
    white-space: normal;
}

.tech-stack .fa-html5::before { content: "\f13b"; }
.tech-stack .fa-css3-alt::before { content: "\f38b"; }
.tech-stack .fa-js::before { content: "\f3b8"; }
.tech-stack .fa-react::before { content: "\f41b"; }
.tech-stack .fa-php::before { content: "\f457"; }

.tech-stack i::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    white-space: nowrap;
}

.tech-stack i:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.click-star {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0.2);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(0, 188, 212, 0.85) 48%, rgba(255, 122, 0, 0.2) 70%, transparent 72%);
    clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%);
    animation: clickStarBurst 0.9s ease-out forwards;
}

@keyframes clickStarBurst {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y))) scale(1.5) rotate(240deg);
    }
}

@media screen and (max-width: 980px) {
    .showcase-layout {
        width: min(360px, 100%);
        grid-template-columns: minmax(320px, 360px);
    }

    .profile-card {
        max-width: 360px;
    }

    .soundcloud-card {
        width: min(438px, calc(100vw - 18px));
        max-height: min(640px, calc(100vh - 118px));
    }
}

@media screen and (max-width: 640px) {
    .content {
        padding: 20px 14px 92px;
    }

    .profile-card .card-body,
    .soundcloud-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .soundcloud-card {
        right: 8px;
        bottom: 74px;
        width: min(100vw - 16px, 412px);
        max-height: calc(100vh - 96px);
        border-radius: 22px;
    }

    .soundcloud-search-form {
        grid-template-columns: 1fr;
    }

    .soundcloud-submit {
        min-height: 48px;
    }

    .soundcloud-result {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .soundcloud-result__art {
        display: none;
    }

    .soundcloud-results {
        min-height: 210px;
    }

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

    .soundcloud-player-meta {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 8px;
        align-items: start;
    }

    .soundcloud-player-art {
        width: 50px;
        height: 50px;
    }

    .soundcloud-player-copy h3 {
        font-size: 0.92rem;
    }

    .soundcloud-player-artist {
        font-size: 0.8rem;
    }

    .soundcloud-player-controls {
        gap: 5px;
        min-width: 96px;
        padding: 4px;
    }

    .soundcloud-control {
        width: 34px;
        height: 34px;
    }

    .soundcloud-control--primary {
        width: 38px;
        height: 38px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NEO PROFILE CARD — Premium Glassmorphism Aurora Design
   ═══════════════════════════════════════════════════════════════ */

/* Override showcase-layout for wider neo-card */
.showcase-layout {
    width: min(410px, 100%);
    grid-template-columns: 1fr;
}

/* ─── Card Wrapper ─── */
.neo-card {
    position: relative;
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    border-radius: 24px;
    z-index: 10;
    animation: neoCardEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes neoCardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ─── Animated Gradient Border Glow ─── */
.neo-card__glow {
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    background: linear-gradient(60deg, #00bcd4, #6366f1, #ec4899, #f59e0b, #10b981, #00bcd4);
    background-size: 300% 300%;
    animation: neoGlowMove 6s ease infinite;
    z-index: -1;
    opacity: 0.85;
    filter: blur(3px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.neo-card:hover .neo-card__glow {
    opacity: 1;
    filter: blur(5px);
}

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

/* ─── Card Inner ─── */
.neo-card__inner {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 18, 36, 0.94), rgba(15, 23, 42, 0.98));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.neo-card:hover .neo-card__inner {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.neo-card__banner {
    position: relative;
    height: 125px;
    background: linear-gradient(135deg, #0c1929, #162236);
    overflow: hidden;
}

.neo-card__banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.neo-card:hover .neo-card__banner-img {
    transform: scale(1.08);
}

.neo-card__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%);
    z-index: 1;
}

/* Floating orbs */
.neo-card__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.7;
}

.neo-card__orb--cyan {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.6), transparent 70%);
    top: -50px;
    left: -30px;
    animation: neoOrbDrift 8s ease-in-out infinite;
}

.neo-card__orb--purple {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%);
    top: -10px;
    right: -20px;
    animation: neoOrbDrift 10s ease-in-out infinite reverse;
}

.neo-card__orb--pink {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent 70%);
    bottom: -30px;
    left: 50%;
    animation: neoOrbDrift 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes neoOrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -10px) scale(1.1); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* Subtle grid pattern */
.neo-card__banner-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}

/* ─── Card Body ─── */
.neo-card__body {
    position: relative;
    padding: 0 24px 22px;
    text-align: center;
}

/* ─── Avatar ─── */
.neo-card__avatar {
    position: relative;
    width: 90px;
    height: 90px;
    margin: -45px auto 12px;
    z-index: 3;
}

.neo-card__avatar-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #00bcd4, #6366f1, #ec4899, #00bcd4);
    background-size: 300% 300%;
    animation: neoGlowMove 3s ease infinite;
    box-shadow:
        0 0 25px rgba(0, 188, 212, 0.25),
        0 0 50px rgba(99, 102, 241, 0.12);
}

.neo-card__avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f172a;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.neo-card__avatar:hover .neo-card__avatar-img {
    transform: scale(1.08);
}

/* Online indicator */
.neo-card__online-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid #0f172a;
    z-index: 4;
}

.neo-card__online-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.5);
    animation: neoOnlinePing 2s ease-in-out infinite;
}

@keyframes neoOnlinePing {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 0; }
}

/* ─── Name (Animated Gradient Text) ─── */
.neo-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00bcd4, #6366f1, #ec4899, #f59e0b, #10b981, #00bcd4);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neoFadeUp 0.6s ease forwards, neoNameGradient 6s ease infinite;
    animation-delay: 0.2s, 0s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
    opacity: 0;
}

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

/* Verified Badge — Facebook Meta Style */
.neo-card__verified {
    width: 22px;
    height: 22px;
    background: #1877F2;
    clip-path: polygon(
        50% 0%, 63% 10%, 78% 5%, 82% 20%, 98% 27%,
        92% 42%, 100% 55%, 88% 65%, 90% 82%,
        75% 80%, 65% 95%, 50% 88%, 35% 95%,
        25% 80%, 10% 82%, 12% 65%, 0% 55%,
        8% 42%, 2% 27%, 18% 20%, 22% 5%, 37% 10%
    );
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    filter: drop-shadow(0 2px 6px rgba(24, 119, 242, 0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.neo-card__verified:hover {
    filter: drop-shadow(0 2px 10px rgba(24, 119, 242, 0.7));
    transform: scale(1.15);
}

.neo-card__verified i {
    color: white;
    font-size: 9px;
    -webkit-text-fill-color: white;
    position: relative;
    z-index: 1;
}

/* ─── Status Row ─── */
.neo-card__status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
    animation-delay: 0.35s;
}

.neo-card__status-row .status {
    margin-bottom: 0;
}

/* ─── Role (Typing Animation) ─── */
.neo-card__role {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.88rem;
    color: transparent;
    font-weight: 500;
    margin: 0 auto 10px;
    position: relative;
    width: fit-content;
    padding-right: 4px;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
    animation-delay: 0.45s;
}

.neo-card__role::before {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    color: #94a3b8;
    border-right: 2px solid #00bcd4;
    overflow: hidden;
    animation: neoTyping 3s steps(30) infinite, neoCursor 0.4s step-end infinite alternate;
    white-space: nowrap;
}

@keyframes neoTyping {
    0% { width: 0; }
    30%, 80% { width: 100%; }
    100% { width: 0; }
}

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

/* ─── Bio ─── */
.neo-card__bio {
    color: rgba(226, 232, 240, 0.95);
    font-size: 0.84rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.55;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
    animation-delay: 0.55s;
}

.neo-card__bio-icon {
    color: rgba(0, 188, 212, 0.35);
    font-size: 0.65rem;
    margin-right: 4px;
    vertical-align: middle;
}

/* ─── Location & Weather Widgets ─── */
.neo-card__location, .neo-card__weather {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.74rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
}

.neo-card__location {
    gap: 8px;
    padding: 4px 14px;
    margin-bottom: 6px;
    animation-delay: 0.65s;
}

.neo-card__weather {
    gap: 16px; /* wider gap between items inside the weather pill */
    padding: 4px 20px; /* wider padding to increase overall pill width */
    margin-bottom: 10px;
    animation-delay: 0.68s;
    letter-spacing: 0.03em; /* spaced out letters */
}

.neo-card__location:hover, .neo-card__weather:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.loc-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.loc-item i.fa-location-dot {
    color: #f87171;
}

.loc-item i.fa-clock, .loc-item i.fa-moon {
    color: #38bdf8;
}

.loc-item i {
    font-size: 0.8rem;
}

/* weather icon custom colors */
.loc-item i.fa-sun, .loc-item i.fa-cloud-sun, .loc-item i.fa-cloud-moon, .loc-item i.fa-cloud, .loc-item i.fa-cloud-showers-heavy, .loc-item i.fa-cloud-bolt {
    color: #fbbf24;
}

.loc-sep {
    color: rgba(0, 188, 212, 0.35);
    font-weight: bold;
    user-select: none;
}



/* ─── Divider ─── */
.neo-card__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.25), rgba(99, 102, 241, 0.25), transparent);
    margin-bottom: 12px;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
    animation-delay: 0.7s;
}

/* ─── Tech Stack (Pill Badges) ─── */
.neo-card__tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

.neo-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #c8d6e5;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: default;
}

.neo-pill i {
    color: var(--pill-color);
    font-size: 0.8rem;
}

.neo-pill:hover {
    border-color: var(--pill-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #f1f5f9;
}

/* ─── Social Links ─── */
.neo-card__social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    opacity: 0;
    animation: neoFadeUp 0.6s ease forwards;
    animation-delay: 0.9s;
}

.neo-social {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Social Tooltips */
.neo-social::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 10;
}

.neo-social:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.neo-social:hover {
    transform: translateY(-4px) scale(1.05);
    color: white;
}

/* Brand Colors on Hover */
.neo-social--github:hover {
    background: linear-gradient(135deg, #24292e, #444d56);
    border-color: #6e7681;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.neo-social--tiktok:hover {
    background: linear-gradient(135deg, #fe2c55, #25f4ee);
    border-color: #fe2c55;
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
}

.neo-social--facebook:hover {
    background: linear-gradient(135deg, #1877f2, #3b5998);
    border-color: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

/* ─── CTA Button ─── */
.neo-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00bcd4, #0097a7, #6366f1);
    background-size: 200% 200%;
    animation: neoFadeUp 0.6s ease forwards, neoCtaShift 4s ease infinite;
    animation-delay: 1s, 0s;
    opacity: 0;
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.25);
}

.neo-card__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.neo-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 188, 212, 0.35);
}

.neo-card__cta:hover::before {
    left: 100%;
}

.neo-card__cta i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.neo-card__cta:hover i {
    transform: translateX(3px) rotate(-15deg);
}

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

/* ─── Shared: Fade Up Animation ─── */
@keyframes neoFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─── */
@media screen and (max-width: 440px) {
    .showcase-layout {
        width: 100%;
    }

    .neo-card__body {
        padding: 0 16px 20px;
    }

    .neo-card__name {
        font-size: 1.25rem;
    }

    .neo-card__banner {
        height: 110px;
    }

    .neo-card__avatar {
        width: 80px;
        height: 80px;
        margin-top: -40px;
    }

    .neo-card__avatar-ring {
        width: 80px;
        height: 80px;
    }

    .neo-pill {
        padding: 4px 8px;
        font-size: 0.68rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   INTERACTIVE EFFECTS — Cursor · Tilt · Particles · Scrollbar
   ═══════════════════════════════════════════════════════════════ */

/* ─── Custom Cursor ─── */
@media (pointer: fine) {
    *, *::before, *::after {
        cursor: none !important;
    }
}

.c-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: #00bcd4;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width .25s, height .25s, background .25s, opacity .4s;
    box-shadow: 0 0 12px rgba(0, 188, 212, 0.6), 0 0 4px rgba(0, 188, 212, 0.9);
    mix-blend-mode: difference;
}

.c-dot.hover {
    width: 4px; height: 4px;
    background: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
}

.c-ring {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width .3s cubic-bezier(.16,1,.3,1), height .3s cubic-bezier(.16,1,.3,1),
                border-color .3s, opacity .4s, background .3s;
}

.c-ring.hover {
    width: 52px; height: 52px;
    border-color: rgba(0, 188, 212, 0.45);
    background: rgba(0, 188, 212, 0.06);
}

.c-ring.click {
    width: 28px; height: 28px;
    border-color: rgba(0, 188, 212, 0.8);
    background: rgba(0, 188, 212, 0.1);
}

/* Hide cursor on touch */
@media (pointer: coarse) {
    .c-dot, .c-ring { display: none !important; }
}

/* ─── 3D Card Tilt ─── */
.neo-card.tilt-on {
    perspective: 800px;
}

.neo-card.tilt-on .neo-card__inner {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Override default hover when tilt JS active */
.neo-card.tilt-on:hover .neo-card__inner {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(0, 188, 212, 0.08);
}

.neo-card__spot,
.neo-card__glare {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    z-index: 5;
    transition: background .12s ease;
}

.neo-card__glare {
    z-index: 6;
    mix-blend-mode: soft-light;
}

/* ─── Particle Canvas ─── */
.fx-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* ─── Premium Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00bcd4, #6366f1);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00e5ff, #818cf8);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #00bcd4 rgba(15, 23, 42, 0.6);
}

/* ─── Enhanced Name Hover Glow ─── */
.neo-card__name:hover {
    filter: drop-shadow(0 0 12px rgba(0, 188, 212, 0.4));
    transition: filter 0.3s ease;
}

/* ─── Enhanced Avatar Ring on Card Hover ─── */
.neo-card:hover .neo-card__avatar-ring {
    box-shadow:
        0 0 30px rgba(0, 188, 212, 0.35),
        0 0 60px rgba(99, 102, 241, 0.15),
        0 0 90px rgba(236, 72, 153, 0.1);
}

/* ─── Card Glow Intensify on Tilt ─── */
.neo-card.tilt-on:hover .neo-card__glow {
    opacity: 1;
    filter: blur(6px);
}

/* ─── Smoother Banner Orbs on Card Hover ─── */
.neo-card:hover .neo-card__orb--cyan  { opacity: 0.9; }
.neo-card:hover .neo-card__orb--purple { opacity: 0.8; }
.neo-card:hover .neo-card__orb--pink   { opacity: 0.7; }

/* ─── CTA Glow on Card Hover ─── */
.neo-card:hover .neo-card__cta {
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.35), 0 0 15px rgba(99, 102, 241, 0.15);
}

/* ─── Status Dot Pulse Enhancement ─── */
.neo-card__online-dot {
    animation: neoOnlineBreathe 3s ease-in-out infinite;
}

@keyframes neoOnlineBreathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 8px 2px rgba(34, 197, 94, 0.3); }
}

/* ─── Selection Color ─── */
::selection {
    background: rgba(0, 188, 212, 0.3);
    color: #e0f7fa;
}

::-moz-selection {
    background: rgba(0, 188, 212, 0.3);
    color: #e0f7fa;
}

/* ═══════════════════════════════════════════════════════════════
   SOUNDCLOUD PANEL — Premium Upgrade
   ═══════════════════════════════════════════════════════════════ */

/* ─── Animated Gradient Border ─── */
.soundcloud-card {
    border: none;
    background: none;
    padding: 0;
}

.soundcloud-card::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 28px;
    background: linear-gradient(60deg, #ff7a00, #ff5500, #00bcd4, #6366f1, #ec4899, #ff7a00);
    background-size: 300% 300%;
    animation: scBorderGlow 8s ease infinite;
    z-index: -1;
    opacity: 0.45;
    filter: blur(3px);
    transition: opacity 0.4s;
}

.soundcloud-card:hover::before,
.soundcloud-card.is-open::before {
    opacity: 0.65;
}

.soundcloud-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(15, 20, 35, 0.96), rgba(10, 14, 28, 0.98));
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

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

.soundcloud-card > * {
    position: relative;
    z-index: 1;
    padding-left: 16px;
    padding-right: 16px;
}

.soundcloud-card > *:first-child {
    padding-top: 16px;
}

.soundcloud-card > *:last-child {
    padding-bottom: 16px;
}

/* ─── Upgraded Header ─── */
.sc-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(255, 85, 0, 0.3);
    animation: scIconPulse 3s ease-in-out infinite;
}

@keyframes scIconPulse {
    0%, 100% { box-shadow: 0 8px 18px rgba(255, 85, 0, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(255, 85, 0, 0.5), 0 0 12px rgba(255, 122, 0, 0.2); }
}

.soundcloud-heading {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #ff7a00 60%, #ff5500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── EQ Bars in Header ─── */
.sc-header-eq {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 20px;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(255, 122, 0, 0.08);
}

.sc-eq-bar {
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(0deg, #ff7a00, #ff5500);
    animation: scEqBounce 1.2s ease-in-out infinite;
}

.sc-eq-bar:nth-child(1) { height: 6px;  animation-delay: 0s; }
.sc-eq-bar:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.sc-eq-bar:nth-child(3) { height: 8px;  animation-delay: 0.3s; }
.sc-eq-bar:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.sc-eq-bar:nth-child(5) { height: 10px; animation-delay: 0.6s; }

@keyframes scEqBounce {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

/* ─── Mood Filter Chips ─── */
.sc-mood-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sc-mood-filters::-webkit-scrollbar { display: none; }

.sc-mood {
    flex-shrink: 0;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(227, 242, 253, 0.8);
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.sc-mood:hover {
    background: rgba(255, 122, 0, 0.12);
    border-color: rgba(255, 122, 0, 0.3);
    color: #ffb36c;
    transform: translateY(-2px);
}

.sc-mood.active {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.2), rgba(255, 85, 0, 0.15));
    border-color: rgba(255, 122, 0, 0.5);
    color: #ff7a00;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.2);
}

/* ─── Enhanced Search Input ─── */
.soundcloud-input-wrap {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s ease;
}

.soundcloud-input-wrap:focus-within {
    border-color: rgba(255, 122, 0, 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.08);
}

/* ─── Enhanced Submit Button ─── */
.soundcloud-submit {
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7a00, #ff5500, #e64a19);
    background-size: 200% 200%;
    animation: scBtnShift 4s ease infinite;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.soundcloud-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.soundcloud-submit:hover::before {
    left: 100%;
}

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

/* ─── Enhanced Track Cards ─── */
.soundcloud-result {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: scResultFadeIn 0.4s ease both;
}

.soundcloud-result:nth-child(1) { animation-delay: 0.05s; }
.soundcloud-result:nth-child(2) { animation-delay: 0.1s; }
.soundcloud-result:nth-child(3) { animation-delay: 0.15s; }
.soundcloud-result:nth-child(4) { animation-delay: 0.2s; }
.soundcloud-result:nth-child(5) { animation-delay: 0.25s; }
.soundcloud-result:nth-child(6) { animation-delay: 0.3s; }
.soundcloud-result:nth-child(7) { animation-delay: 0.35s; }
.soundcloud-result:nth-child(8) { animation-delay: 0.4s; }

@keyframes scResultFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.soundcloud-result:hover {
    background: rgba(255, 122, 0, 0.06);
    border-color: rgba(255, 122, 0, 0.2);
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.soundcloud-result.is-active {
    border-color: rgba(255, 122, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(0, 188, 212, 0.06));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 122, 0, 0.08);
}

/* Active track pulsing border */
.soundcloud-result.is-active::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, #ff7a00, #00bcd4);
    opacity: 0.2;
    z-index: -1;
    animation: scActivePulse 2s ease-in-out infinite;
}

@keyframes scActivePulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

/* ─── Enhanced Play Button on Tracks ─── */
.soundcloud-result__action {
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.soundcloud-result__action::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
}

.soundcloud-result:hover .soundcloud-result__action::after {
    opacity: 1;
}

.soundcloud-result:hover .soundcloud-result__action {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(255, 85, 0, 0.35);
}

/* ─── Enhanced Player Shell ─── */
.soundcloud-player-shell {
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.06), rgba(0, 188, 212, 0.04));
    border: 1px solid rgba(255, 122, 0, 0.12);
    overflow: hidden;
    position: relative;
}

/* Blur background glow behind player */
.soundcloud-player-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 122, 0, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.soundcloud-player-shell > * {
    position: relative;
    z-index: 1;
}

/* ─── Vinyl Spin Album Art ─── */
.soundcloud-player-art {
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

/* Vinyl grooves ring */
.soundcloud-player-art::after {
    content: '';
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.03),
        0 0 0 8px rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 2;
}

.soundcloud-player-art.is-spinning {
    animation: scVinylSpin 3s linear infinite;
    box-shadow:
        0 0 20px rgba(255, 122, 0, 0.2),
        0 0 40px rgba(255, 85, 0, 0.1);
}

@keyframes scVinylSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── Enhanced Progress Bar ─── */
.soundcloud-progress-track::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            #ff7a00 0%,
            #ff5500 calc(var(--progress) * 0.5),
            #00bcd4 var(--progress),
            rgba(255, 255, 255, 0.08) var(--progress),
            rgba(255, 255, 255, 0.08) 100%
        );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 12px rgba(255, 122, 0, 0.1);
}

.soundcloud-progress-track::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -4px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00, #00bcd4);
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soundcloud-progress-track:hover:not(:disabled)::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 16px rgba(255, 122, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.3);
}

.soundcloud-progress-track::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a00, #00bcd4);
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.15);
}

.soundcloud-progress-track::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00, #00bcd4);
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.4);
}

/* ─── Enhanced Controls ─── */
.soundcloud-control {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.soundcloud-control:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.soundcloud-control--primary {
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    box-shadow: 0 10px 22px rgba(255, 85, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.soundcloud-control--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.soundcloud-control--primary:hover:not(:disabled) {
    box-shadow: 0 12px 28px rgba(255, 85, 0, 0.4), 0 0 12px rgba(255, 122, 0, 0.2);
}

/* ─── Now Playing Enhanced ─── */
.soundcloud-player-kicker {
    background: linear-gradient(90deg, #ff7a00, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* ─── Enhanced Scrollbar for Results ─── */
.soundcloud-results::-webkit-scrollbar {
    width: 5px;
}

.soundcloud-results::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff7a00, #ff5500);
    border-radius: 999px;
}

.soundcloud-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}

/* ─── Enhanced Empty State ─── */
.soundcloud-empty {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 122, 0, 0.06), rgba(0, 188, 212, 0.04));
    border: 1px dashed rgba(255, 122, 0, 0.15);
}

.soundcloud-empty__icon {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.12), rgba(255, 85, 0, 0.08));
    animation: scIconFloat 3s ease-in-out infinite;
}

@keyframes scIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ─── Pagination Enhanced ─── */
.soundcloud-pagebox {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.soundcloud-nav {
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.soundcloud-nav:not(:disabled):hover {
    background: rgba(255, 122, 0, 0.2);
    color: #ff7a00;
}

/* ─── Open Track Link Enhanced ─── */
.soundcloud-open-track {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.soundcloud-open-track:hover {
    background: rgba(255, 122, 0, 0.16);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 85, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   WELCOME NOTIFICATION — Slide-in Toast Card
   ═══════════════════════════════════════════════════════════════ */
.welcome-notify {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: min(380px, calc(100vw - 40px));
    z-index: 99999;
    border-radius: 20px;
    overflow: visible;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50px) translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s;
    pointer-events: none;
}

.welcome-notify.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
    pointer-events: auto;
}

/* Glassmorphism body */
.welcome-notify__body {
    position: relative;
    z-index: 1;
    padding: 16px 42px 16px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 18, 32, 0.95), rgba(15, 23, 42, 0.92));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(0, 188, 212, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Animated outer gradient border */
.welcome-notify::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 19.5px;
    background: linear-gradient(60deg, #00bcd4, #6366f1, #ec4899, #ff7a00, #00bcd4);
    background-size: 300% 300%;
    animation: scToggleGlow 6s ease infinite;
    z-index: 0;
    opacity: 0.5;
    filter: blur(1.5px);
}

.welcome-notify__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(0, 188, 212, 0.25);
    color: #00bcd4;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.1);
    animation: welcomeIconPulse 2s infinite alternate;
}

@keyframes welcomeIconPulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 188, 212, 0.1); }
    100% { transform: scale(1.06); box-shadow: 0 0 18px rgba(0, 188, 212, 0.25); }
}

.welcome-notify__content {
    flex: 1;
}

.welcome-notify__content h4 {
    margin: 0 0 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.94rem;
    color: #fff;
    letter-spacing: 0.3px;
}

.welcome-notify__content p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(227, 242, 253, 0.8);
}

.welcome-notify__content p strong {
    color: #00bcd4;
    font-weight: 600;
}

/* Sleek close button */
.welcome-notify__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome-notify__close i {
    font-size: 11px;
}

.welcome-notify__close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    transform: scale(1.1);
}

/* Responsive adjustment */
@media screen and (max-width: 640px) {
    .welcome-notify {
        left: 10px;
        bottom: 80px; /* offset upwards so it does not block float toggle on mobile */
        width: calc(100vw - 20px);
    }
}

/* ═══════════════════════════════════════════════════════════════
   SHARE MODAL WITH DYNAMIC QR CODE — Clean White Style
   ═══════════════════════════════════════════════════════════════ */
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.share-modal.show {
    opacity: 1;
    visibility: visible;
}

/* Dark blurred backdrop overlay */
.share-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 0;
}

/* White mockup-style container */
.share-modal__body {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100vw - 32px));
    padding: 32px 36px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 40px rgba(0, 0, 0, 0.05);
    transform: scale(0.94) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-modal.show .share-modal__body {
    transform: scale(1) translateY(0);
}

/* Close button - sleek light gray */
.share-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.share-modal__close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.05);
}

/* Dual Column Container */
.share-modal__container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: center;
}

/* Left Column: Link Copy Details */
.share-modal__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0; /* Critical: allows text truncation within flex column */
}

.share-modal__left h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

/* Link Box styling - light gray background, dark text */
.share-modal__link-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.share-modal__link-wrap i {
    color: #64748b;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.share-modal__link-wrap span {
    color: #475569;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: all;
    font-family: 'Inter', sans-serif;
}

/* Copy Button matching mock - Charcoal color */
.share-modal__copy-btn {
    align-self: flex-start;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    background: #2b354e;
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(43, 53, 78, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
}

.share-modal__copy-btn:hover {
    transform: translateY(-1.5px);
    background: #1e293b;
    box-shadow: 0 6px 14px rgba(43, 53, 78, 0.25);
}

.share-modal__copy-btn:active {
    transform: translateY(0);
}

.share-modal__copy-btn.success {
    background: #10be4a;
    box-shadow: 0 4px 10px rgba(16, 190, 74, 0.2);
}

/* Right Column: QR Code */
.share-modal__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Quét Mã header in green matching mockup */
.share-modal__qr-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    color: #10be4a;
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.share-modal__qr-header i {
    font-size: 0.85rem;
}

/* Clean white QR border to make scanning easy */
.share-modal__qr-frame {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    place-items: center;
    width: 125px;
    height: 125px;
    box-sizing: border-box;
}

.share-modal__qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Columns */
@media screen and (max-width: 520px) {
    .share-modal__body {
        padding: 32px 20px 24px;
        border-radius: 14px;
    }
    
    .share-modal__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .share-modal__left {
        text-align: center;
        align-items: center;
    }
    
    .share-modal__copy-btn {
        align-self: center;
        width: 100%;
        justify-content: center;
    }
}


