:root {
    --clx-primary: rgb(40, 150, 255);
    --clx-secondary: rgb(255, 40, 60);
    --clx-glow-blue: rgba(40, 150, 255, 0.5);
    --clx-glow-red: rgba(255, 40, 60, 0.5);
    --clx-bg: #0a0a0c;
    --clx-surface: rgba(255, 255, 255, 0.04);
    --clx-border: rgba(255, 255, 255, 0.1);
    --clx-text: #ffffff;
    --clx-muted: rgba(255, 255, 255, 0.6);
    --clx-trans: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #0a0a0c;
    color: var(--clx-text);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.3), rgba(10, 10, 12, 0.5));
    z-index: -1;
    pointer-events: none;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.social-container {
    position: fixed;
    bottom: 5.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    z-index: 10;
    pointer-events: none;
    flex-wrap: wrap;
    padding: 0 1.5rem;
}

.social-badge {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.social-badge:nth-child(odd):hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 40, 60, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 40, 60, 0.15);
}

.social-badge:nth-child(even):hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(40, 150, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(40, 150, 255, 0.15);
}

.social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.social-username {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: white;
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 15, 0.95);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-badge:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip.success {
    background: rgba(10, 10, 15, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.main-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-header > * {
    pointer-events: auto;
}

.header-logo-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.header-animlogo {
    width: clamp(3rem, 7vw, 5rem);
    height: clamp(3rem, 7vw, 5rem);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 40, 60, 0.2), 0 0 15px rgba(40, 150, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.header-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-title {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    font-weight: 300;
    letter-spacing: 0.6rem;
    color: var(--clx-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.site-subtitle {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: white;
    text-shadow: 0 0 10px var(--clx-glow-blue), 0 0 30px var(--clx-glow-red);
    margin-bottom: 0;
}

.music-player-hud {
    background: rgba(20, 25, 30, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 320px;
    animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.song-cover {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    object-fit: fill;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--clx-trans);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.song-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
}

.song-details {
    display: flex;
    flex-direction: column;
}


.song-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    letter-spacing: 0.2px;
}

.song-artist {
    font-size: 0.7rem;
    color: var(--clx-muted);
    font-weight: 500;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.time-current, .time-total {
    font-size: 0.65rem;
    color: var(--clx-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.progress-bar-wrapper {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    min-width: 80px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.1s linear;
}

.player-volume-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--clx-muted);
    pointer-events: none;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    transition: var(--clx-trans);
}

.footer-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-item i {
    font-size: 0.95rem;
    color: var(--clx-muted);
}

.footer-item.views span {
    font-family: inherit;
    font-weight: 500;
    color: var(--clx-muted);
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(20, 20, 25, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--clx-trans);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-badge:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip.success {
    background: rgba(20, 20, 25, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .social-badge {
        bottom: auto;
        padding: 0.6rem 1.2rem;
        gap: 0.6rem;
    }
    
    .social-container {
        bottom: 5rem;
        gap: 0.75rem;
    }
    
    .footer {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .social-badge {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .social-username {
        font-size: 0.85rem;
    }
    
    .social-container {
        bottom: 4.5rem;
        gap: 0.5rem;
    }
    
    .footer {
        bottom: 0.75rem;
    }
}
