/* ============================================
   1. RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
    --bg-primary: #0c0b0a;
    --bg-secondary: #161413;
    --card-bg: rgba(22, 20, 19, 0.8);
    --accent-gold: #d4af37;
    --accent-gold-light: #f0d060;
    --text-primary: #f5f2ed;
    --text-secondary: #a39b90;
    --text-muted: #6b6560;
    --border-subtle: rgba(212, 175, 55, 0.12);
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: rgba(212, 175, 55, 0.08);
    --radius: 18px;
    --transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   2. SCROLLBAR CUSTOM
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold-light); }

/* ============================================
   3. LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 2s ease-in-out infinite;
    background-size: 200% 200%;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: var(--border-subtle);
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}

.loading-bar-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 10px;
    animation: loadingProgress 1.8s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   4. AMBIENT GLOW
   ============================================ */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ambientPulse 4s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.ambient-glow::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(60px);
    animation: ambientPulse 5s ease-in-out infinite reverse;
}

/* ============================================
   5. FLOATING PARTICLES
   ============================================ */
.floating-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 15s linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ============================================
   6. TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(18, 17, 16, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    padding: 12px 24px;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.85rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    white-space: nowrap;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   7. MUSIC PLAYER
   ============================================ */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 300px;
    background: rgba(18, 17, 16, 0.92);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 20px 20px 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--shadow-gold);
    z-index: 999;
    transition: all var(--transition);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.music-player:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 60px var(--shadow-gold);
    transform: translateY(-5px) scale(1.02);
}

/* --- MINIMIZED --- */
.music-player.minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulseMinimized 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.music-player.minimized:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.4);
}

@keyframes pulseMinimized {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 50px rgba(212, 175, 55, 0.5); }
}

.music-player.minimized .player-toggle,
.music-player.minimized .player-info,
.music-player.minimized .progress-container,
.music-player.minimized .controls,
.music-player.minimized .volume-control { display: none; }

.music-player.minimized .player-top {
    margin: 0;
    gap: 0;
    width: 100%;
    height: 100%;
}

.music-player.minimized .player-cover-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
}

.music-player.minimized .player-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    font-size: 1.4rem;
}

.music-player.minimized .cover-ring { display: none; }

/* --- Toggle Button --- */
.player-toggle {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.player-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    transform: rotate(180deg);
}

/* --- Player Top --- */
.player-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.player-cover-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.player-cover {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f1c1a, #2a2623);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-gold);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.player-cover.playing { animation: spinCover 10s linear infinite; }

@keyframes spinCover {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cover-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 175, 55, 0.2);
    z-index: 1;
    animation: spinRing 15s linear infinite;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.song-artist {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* --- Progress --- */
.progress-container { margin-bottom: 12px; }

.progress-bar {
    width: 100%;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

.progress-bar:hover { height: 5px; }

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 2px solid #0c0b0a;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: all 0.2s ease;
}

.progress-bar::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.progress-bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 2px solid #0c0b0a;
    cursor: pointer;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Controls --- */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.ctrl-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0);
    transition: all 0.3s ease;
    z-index: -1;
}

.ctrl-btn:hover::after {
    background: rgba(212, 175, 55, 0.08);
    transform: scale(1.2);
}

.ctrl-btn:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.ctrl-btn.play-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    color: var(--accent-gold);
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border-gold);
}

.ctrl-btn.play-btn:hover {
    background: var(--accent-gold);
    color: #0c0b0a;
    border-color: var(--accent-gold);
    transform: scale(1.15);
}

.ctrl-btn.play-btn:active { transform: scale(0.95); }

/* Tooltip */
.ctrl-btn .tooltip,
.vol-btn .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(18, 17, 16, 0.95);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--border-subtle);
}

.ctrl-btn:hover .tooltip,
.vol-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* --- Volume --- */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.vol-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.vol-btn:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.08);
    transform: scale(1.1);
}

.vol-slider {
    flex: 1;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

.vol-slider:hover { height: 5px; }

.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 2px solid #0c0b0a;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.2s ease;
}

.vol-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.vol-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 2px solid #0c0b0a;
    cursor: pointer;
}

.vol-percent {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--accent-gold);
    min-width: 30px;
    text-align: right;
    letter-spacing: 0.3px;
}

/* --- Expand/Collapse Animations --- */
@keyframes expandPlayer {
    from { width: 60px; height: 60px; border-radius: 50%; padding: 0; opacity: 0.5; transform: scale(0.8); }
    to { width: 300px; height: auto; border-radius: 20px; padding: 20px 20px 16px; opacity: 1; transform: scale(1); }
}

@keyframes collapsePlayer {
    from { width: 300px; height: auto; border-radius: 20px; padding: 20px 20px 16px; opacity: 1; transform: scale(1); }
    to { width: 60px; height: 60px; border-radius: 50%; padding: 0; opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   8. LAYOUT UTAMA
   ============================================ */
.container {
    width: 100%;
    max-width: 1100px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 20px 20px 100px 20px;
    margin: 0 auto;
}

/* --- LOGO --- */
.logo-section {
    margin-bottom: 30px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 28px;
    background: rgba(22, 20, 19, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 200%;
}

@keyframes borderGlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.logo-wrapper:hover {
    border-color: var(--border-gold);
    box-shadow: 0 0 50px var(--shadow-gold);
    transform: scale(1.02);
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    animation: rotateLogo 20s linear infinite;
}

@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.logo-mixo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes shimmerText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: -3px;
    animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* --- MAIN WRAPPER --- */
.main-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
}

/* --- LEFT: LINKS --- */
.links-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* ============================================
   9. LINK CARDS
   ============================================ */
.link-card {
    position: relative;
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.link-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    position: relative;
    z-index: 2;
}

/* --- WATER FILL --- */
.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card.active .water-fill { opacity: 1; }

.water-wave {
    position: absolute;
    bottom: -5px;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.03) 10%,
        rgba(212, 175, 55, 0.06) 20%,
        rgba(212, 175, 55, 0.03) 30%,
        transparent 40%
    );
    border-radius: 45% 40% 50% 35% / 50% 45% 55% 40%;
    animation: waveMove 8s ease-in-out infinite;
    transform-origin: center;
}

.water-wave.wave2 {
    animation-delay: -2s;
    opacity: 0.6;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.02) 15%,
        rgba(212, 175, 55, 0.05) 25%,
        rgba(212, 175, 55, 0.02) 35%,
        transparent 50%
    );
    border-radius: 55% 45% 40% 50% / 40% 50% 45% 55%;
    animation-duration: 10s;
}

@keyframes waveMove {
    0% { transform: translateX(-10%) translateY(0%) rotate(0deg) scale(1); }
    25% { transform: translateX(5%) translateY(-5%) rotate(5deg) scale(1.05); }
    50% { transform: translateX(-5%) translateY(3%) rotate(-3deg) scale(0.95); }
    75% { transform: translateX(10%) translateY(-2%) rotate(4deg) scale(1.03); }
    100% { transform: translateX(-10%) translateY(0%) rotate(0deg) scale(1); }
}

.water-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(
        180deg,
        rgba(212, 175, 55, 0.15) 0%,
        rgba(212, 175, 55, 0.05) 50%,
        rgba(212, 175, 55, 0.02) 100%
    );
    transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1;
}

.link-card.active .water-progress { height: 100%; }

/* --- Card Styles --- */
.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.link-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.03) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.link-card:hover::before,
.link-card:hover::after { opacity: 1; }

.link-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--border-gold);
    background: rgba(30, 28, 26, 0.95);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--shadow-gold);
}

.link-card.active {
    border-color: var(--accent-gold);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.15);
}

.link-card.featured {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(28, 26, 24, 0.95) 0%, rgba(45, 38, 25, 0.6) 100%);
}

.link-card.featured .icon-wrapper {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--border-gold);
}

/* --- Icon --- */
.icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 15px;
    background: rgba(212, 175, 55, 0.06);
    color: var(--accent-gold);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.link-card:hover .icon-wrapper {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--border-gold);
    box-shadow: 0 0 30px var(--shadow-gold);
    transform: rotate(-5deg) scale(1.05);
}

.link-card.active .icon-wrapper {
    animation: iconPulse 0.8s ease;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); box-shadow: 0 0 50px rgba(212, 175, 55, 0.4); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* --- Text --- */
.text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.link-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.4s ease;
}

.link-card:hover .link-title { color: var(--accent-gold); }

.link-card.active .link-title {
    animation: textGlow 0.8s ease;
}

@keyframes textGlow {
    0%, 100% { color: var(--text-primary); }
    50% { color: var(--accent-gold); text-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
}

.hot-tag {
    font-size: 0.55rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    color: var(--accent-gold);
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
    animation: pulseTag 2s ease-in-out infinite;
}

@keyframes pulseTag {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.link-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    transition: color 0.4s ease;
}

.link-card.active .link-desc { color: var(--text-secondary); }

/* --- Arrow --- */
.arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    transition: all var(--transition);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.link-card:hover .arrow-circle {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-gold);
    color: var(--accent-gold);
    transform: translateX(6px) rotate(-45deg) scale(1.1);
    box-shadow: 0 0 30px var(--shadow-gold);
}

.link-card.active .arrow-circle {
    animation: arrowShoot 0.8s ease;
}

@keyframes arrowShoot {
    0% { transform: translateX(0) scale(1); }
    30% { transform: translateX(10px) scale(1.2); }
    60% { transform: translateX(-5px) scale(0.9); }
    100% { transform: translateX(0) scale(1); }
}

/* --- Ripple --- */
.ripple-container {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    transform: scale(0);
    animation: rippleEffect 0.8s ease-out forwards;
}

@keyframes rippleEffect {
    from { transform: scale(0); opacity: 1; }
    to { transform: scale(4); opacity: 0; }
}

/* ============================================
   10. PROFILE
   ============================================ */
.profile-wrapper {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px 24px 20px;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    position: sticky;
    top: 20px;
    align-self: flex-start;
    gap: 20px;
}

.profile-wrapper:hover {
    border-color: var(--border-gold);
    box-shadow: 0 0 50px var(--shadow-gold);
    transform: translateY(-4px);
}

.profile-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Avatar --- */
.avatar-box {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 2.5px solid var(--border-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    transition: all 0.5s ease;
}

.avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.avatar-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
}

.profile-ring {
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 175, 55, 0.3);
    z-index: 1;
    animation: spinRing 20s linear infinite;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.profile-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 16px;
}

/* --- Social Links --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    transform: scale(0);
    transition: transform 0.4s ease;
}

.social-item:hover::before { transform: scale(1); }

.social-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-gold);
    color: var(--accent-gold);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

/* ============================================
   11. SOCIABUZZ OVERLAY
   ============================================ */
.sociabuzz-overlay {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.sociabuzz-overlay iframe {
    display: block;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: transparent;
    transition: all 0.4s ease;
}

.sociabuzz-overlay iframe:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}

/* ============================================
   12. ANIMATE ON SCROLL
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.links-wrapper .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.links-wrapper .animate-on-scroll:nth-child(2) { transition-delay: 0.10s; }
.links-wrapper .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.links-wrapper .animate-on-scroll:nth-child(4) { transition-delay: 0.20s; }
.links-wrapper .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.links-wrapper .animate-on-scroll:nth-child(6) { transition-delay: 0.30s; }
.links-wrapper .animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }

/* ============================================
   13. FOOTER
   ============================================ */
.footer {
    margin-top: 40px;
    padding-bottom: 10px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 50%, transparent 100%);
    margin-bottom: 16px;
    animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.footer-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

/* ============================================
   14. RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .main-wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }

    .profile-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        position: relative;
        top: 0;
        padding: 24px 20px;
    }

    .links-wrapper {
        width: 100%;
        max-width: 600px;
    }

    .music-player {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        max-width: 320px;
        padding: 16px;
        border-radius: 16px;
    }

    .music-player:hover {
        transform: translateX(50%) translateY(-5px);
    }

    .music-player.minimized {
        right: 50%;
        transform: translateX(50%);
    }

    .music-player.minimized:hover {
        transform: translateX(50%) scale(1.1);
    }

    @keyframes expandPlayer {
        from { width: 60px; height: 60px; border-radius: 50%; padding: 0; }
        to { width: 90%; max-width: 320px; height: auto; border-radius: 16px; padding: 16px; }
    }

    @keyframes collapsePlayer {
        from { width: 90%; max-width: 320px; height: auto; border-radius: 16px; padding: 16px; }
        to { width: 60px; height: 60px; border-radius: 50%; padding: 0; }
    }
}

/* Mobile L */
@media (max-width: 768px) {
    .player-cover-wrapper { width: 50px; height: 50px; }
    .player-cover { width: 50px; height: 50px; font-size: 1.1rem; }
    .cover-ring { inset: -3px; }
    .song-title { font-size: 0.85rem; }
    .ctrl-btn.play-btn { width: 38px; height: 38px; font-size: 0.95rem; }

    .logo-wrapper { padding: 10px 20px; gap: 12px; }
    .logo-icon { width: 38px; height: 38px; }
    .logo-mixo { font-size: 1.4rem; }
    .logo-sub { font-size: 0.5rem; letter-spacing: 3px; }

    .container { padding: 10px 10px 80px 10px; }
    .profile-wrapper { padding: 20px 16px; max-width: 100%; border-radius: 20px; }
    .avatar-box { width: 110px; height: 110px; }
    .avatar-img { width: 96px; height: 96px; }
    .avatar-glow { width: 110px; height: 110px; }
    .profile-name { font-size: 1.6rem; }
    .sociabuzz-overlay iframe { height: 45px; }
}

/* Mobile M */
@media (max-width: 500px) {
    .music-player { padding: 14px; max-width: 280px; border-radius: 14px; }
    .player-cover-wrapper { width: 42px; height: 42px; }
    .player-cover { width: 42px; height: 42px; font-size: 0.9rem; border-width: 1.5px; }
    .song-title { font-size: 0.75rem; }
    .song-artist { font-size: 0.55rem; }
    .ctrl-btn { width: 28px; height: 28px; font-size: 0.7rem; }
    .ctrl-btn.play-btn { width: 34px; height: 34px; font-size: 0.85rem; }
    .vol-btn { width: 22px; height: 22px; font-size: 0.6rem; }
    .vol-percent { font-size: 0.45rem; min-width: 26px; }

    .logo-wrapper { padding: 8px 14px; gap: 10px; border-radius: 14px; }
    .logo-icon { width: 30px; height: 30px; }
    .logo-mixo { font-size: 1.1rem; }
    .logo-sub { font-size: 0.4rem; letter-spacing: 2px; }

    .profile-wrapper { padding: 16px 12px; border-radius: 16px; }
    .avatar-box { width: 80px; height: 80px; }
    .avatar-img { width: 68px; height: 68px; }
    .avatar-glow { width: 80px; height: 80px; }
    .profile-ring { top: -4px; left: -4px; right: -4px; bottom: -4px; }
    .profile-name { font-size: 1.2rem; }
    .profile-bio { font-size: 0.7rem; }
    .social-item { width: 32px; height: 32px; font-size: 0.7rem; }

    .link-card { border-radius: 14px; }
    .link-content { padding: 12px 14px; }
    .icon-wrapper { width: 38px; height: 38px; font-size: 0.9rem; margin-right: 12px; border-radius: 10px; }
    .link-title { font-size: 0.8rem; }
    .link-desc { font-size: 0.65rem; }
    .arrow-circle { width: 26px; height: 26px; font-size: 0.6rem; }

    .container { padding-bottom: 70px; padding: 5px 5px 70px 5px; }
    .footer-text { font-size: 0.55rem; }
    .sociabuzz-overlay iframe { height: 36px; }
}