:root {
    --bg-color: #000000;
    --card-bg: rgba(10, 10, 10, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --presence-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.5);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url("cross.png") 15 15, auto !important;
}

a, button, input, [role="button"], .social-link, .volume-btn {
    cursor: url("cross.png") 15 15, auto !important;
}

/* Video Background */
.video-container {
    position: fixed;
    inset: 0;
    z-index: -2;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(15px);
    z-index: -1;
}

/* Entry Screen */
.overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 1s ease;
}

.enter-text {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: lowercase;
    opacity: 0.4;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(0.95); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* Main Content */
.content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

.main-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 550px;
    padding: 20px;
    transition: filter 0.4s ease, transform 0.1s ease-out;
}

/* Header Section */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
}

#avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(0.5);
    border: 1px solid var(--card-border);
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #23a55a;
    border-radius: 50%;
    border: 3px solid #000;
}

.name-container {
    display: flex;
    align-items: center;
}

.username {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cursor {
    font-size: 2.2rem;
    font-weight: 300;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.header-gif {
    height: 80px;
    margin-left: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.emoji-img {
    height: 1.8rem;
    vertical-align: middle;
    margin: 0 2px;
}

/* Presence Box */
.presence-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.presence-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5865F2;
    font-size: 1.2rem;
}

.presence-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.presence-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Lower Section */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-link {
    color: var(--text-primary);
    font-size: 1.6rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.social-link:hover {
    opacity: 1;
}

.views-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.6;
}

.views-box i {
    font-size: 0.8rem;
}

/* Volume Control */
.volume-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 5000;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 8px;
    border-radius: 30px;
    cursor: pointer;
    opacity: 0;
    transition: 0.5s;
    width: 40px;
    overflow: hidden;
}

.content.visible ~ .volume-btn {
    opacity: 0.5;
}

.volume-btn:hover {
    opacity: 1;
    width: 140px;
}

.v-slider {
    width: 0;
    opacity: 0;
    transition: 0.3s;
    margin-left: 10px;
    appearance: none;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.volume-btn:hover .v-slider {
    width: 70px;
    opacity: 1;
}

.v-slider::-webkit-slider-thumb {
    appearance: none;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

/* Views (Hidden but kept for logic) */
.views {
    position: fixed;
    bottom: 20px;
    left: 20px;
    opacity: 0.2;
    font-size: 0.7rem;
}

.hidden { display: none !important; }
