: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.cur") 15 15, auto !important;
}

a,
button,
input,
[role="button"],
.social-link,
.volume-btn {
    cursor: url("cross.cur") 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%);
    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);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.presence-info p:hover {
    color: var(--text-primary);
}

.presence-info p::after {
    content: 'Kopyalandı!';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.presence-info p.copied::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 2.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.social-img {
    width: 2.2rem;
    height: 2.2rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-link i,
.social-img {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.social-link:hover i,
.social-link:hover .social-img {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

@media (max-width: 600px) {
    .social-link {
        font-size: 2.6rem;
    }

    .social-img {
        width: 2.6rem;
        height: 2.6rem;
    }
}

.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;
}

.location-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-top: 10px;
}

.location-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;
}

#admin-panel {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.admin-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 300px;
}

.admin-content h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

.admin-content input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: #fff;
    margin-bottom: 15px;
    outline: none;
    text-align: center;
}

.admin-content button {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s;
}

.admin-content button:active {
    transform: scale(0.95);
}

.hidden {
    display: none !important;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .main-card {
        width: 90%;
        gap: 25px;
        padding: 15px;
    }

    .profile-header {
        justify-content: center;
        gap: 15px;
    }

    .avatar-wrapper {
        width: 70px;
        height: 70px;
    }

    .header-gif {
        display: none;
    }

    .username {
        font-size: 1.6rem;
    }

    .footer-row {
        flex-direction: column;
        gap: 25px;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
        gap: 30px;
    }

    .social-link {
        font-size: 2rem;
    }

    .views-box {
        display: none;
    }

    .location-box {
        margin-top: 5px;
    }
}