* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    cursor: none !important; /* Hide default cursor */
}

body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- LIQUID BACKGROUND & NOISE --- */

.noise-overlay {
    display: none;
}

.blobs-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    filter: blur(40px);
    opacity: 0.22;
    transform: translateZ(0); /* Force hardware acceleration */
    will-change: transform;
}

.blob {
    position: absolute;
    background: #ffffff;
    will-change: transform, border-radius;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: 5vh;
    left: 20vw;
    transform-origin: 60% 80%;
    animation: blobAnim1 20s linear infinite;
}

.blob-2 {
    width: 650px;
    height: 650px;
    top: 30vh;
    left: 45vw;
    transform-origin: -10% 50%;
    animation: blobAnim2 24s linear infinite;
}

.blob-3 {
    width: 500px;
    height: 500px;
    top: 15vh;
    left: 30vw;
    transform-origin: 100% -10%;
    animation: blobAnim3 18s linear infinite;
}

.blob-4 {
    width: 550px;
    height: 550px;
    top: -5vh;
    right: 5vw;
    transform-origin: -50% 120%;
    animation: blobAnim4 25s linear infinite;
}

.blob-5 {
    width: 400px;
    height: 400px;
    bottom: -5vh;
    left: 5vw;
    transform-origin: 150% -80%;
    animation: blobAnim5 21s linear infinite;
}

@keyframes blobAnim1 {
    0% { transform: rotate(0deg) scale(1); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { transform: rotate(180deg) scale(1.1); border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes blobAnim2 {
    0% { transform: rotate(0deg) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { transform: rotate(180deg) scale(1.15); border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes blobAnim3 {
    0% { transform: rotate(0deg) scale(1); border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; }
    50% { transform: rotate(180deg) scale(0.9); border-radius: 40% 60% 60% 40% / 50% 50% 40% 60%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; }
}

@keyframes blobAnim4 {
    0% { transform: rotate(0deg) scale(1); border-radius: 60% 50% 50% 40% / 40% 60% 50% 60%; }
    50% { transform: rotate(180deg) scale(1.05); border-radius: 50% 40% 60% 50% / 60% 50% 40% 50%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 60% 50% 50% 40% / 40% 60% 50% 60%; }
}

@keyframes blobAnim5 {
    0% { transform: rotate(0deg) scale(1); border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%; }
    50% { transform: rotate(180deg) scale(0.95); border-radius: 70% 30% 40% 60% / 40% 50% 50% 60%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%; }
}



/* --- CUSTOM CURSOR --- */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 15px 4px rgba(255, 255, 255, 1);
    will-change: transform;
}

/* --- ENTRANCE SCREEN --- */

#entrance-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.8s ease-out;
}

#entrance-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.enter-text {
    font-size: 2.2rem;
    color: rgba(255,255,255, 0.7);
    font-weight: 600;
    letter-spacing: 2px;
}

.enter-text::after {
    content: '|';
    animation: blinkCursor 1s step-end infinite;
}

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

/* --- BIOLINK LAYOUT --- */

.profile-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
    transition: all 1s ease;
    opacity: 1;
}

.profile-container.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

#parallax-wrapper {
    will-change: transform;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.liquid-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 30px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform, backdrop-filter;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.4), 0 10px 20px rgba(0,0,0,0.5);
}

.username {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255,255,255, 0.96);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}

.bio {
    display: inline-block;
    font-size: 1.05rem;
    color: rgba(255,255,255, 0.42);
    margin-bottom: 30px;
    min-height: 2em;
    font-weight: 400;
    white-space: pre-wrap;
}

/* --- BIOLINK BUTTONS --- */

.links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255, 0.8);
    text-decoration: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: none;
}

.social-btn:hover {
    transform: scale(1.1) translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 10px 25px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-btn i, .social-btn svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-btn:hover i, .social-btn:hover svg {
    transform: scale(1.25) rotate(-8deg);
}

/* --- STATS & PLAYER --- */

.stats-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.view-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.95rem;
    font-weight: 600;
}

.liquid-player {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0,0,0,0.4);
}

.player-btn {
    background: none;
    border: none;
    color: rgba(255,255,255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.progress-container {
    flex-grow: 1;
    height: 24px; /* Massive 24px invisible hitbox */
    display: flex;
    align-items: center;
    position: relative;
    cursor: none;
}

.progress-container::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px; /* Original visual background track */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.progress-bar {
    height: 4px; /* Original visual progress track */
    width: 0%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: width 0.1s linear;
    position: relative;
    z-index: 1;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
}

.volume-slider {
    width: 50px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    cursor: none;
}

.hidden {
    display: none !important;
}

/* --- DASHBOARD STYLES (Kept for compatibility) --- */

.glass-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0,0,0,0.5);
    z-index: 10;
}

.dashboard-card {
    width: 500px;
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: none;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
}
