:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-color: #0d8abc;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --crt-scanline: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Effects */
/* Background Video */
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dimming overlay */
    z-index: -1;
    pointer-events: none;
}

/* CRT Scanline removed for performance */

/* Enter Screen */
#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 1s ease;
}

.enter-content p {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: glow-pulse 2s infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        opacity: 0.6;
    }

    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px var(--accent-color);
        opacity: 1;
    }
}

/* Profile Card */
#app {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

#app.visible {
    opacity: 1;
    transform: scale(1);
}

.profile-card {
    position: relative;
    width: 400px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.banner {
    height: 120px;
    background: url('assets/banner.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border-color);
}

.avatar-container {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* border: 3px solid #000; Removed as requested */
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}



.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #00ff22;
    border: 3px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff22;
}

.profile-info {
    margin-top: 35px;
    /* Reduced from 60px to move name up */
    padding: 2rem;
    text-align: center;
}

.username-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensures vertical centering */
    gap: 10px;
    /* Slightly increased gap */
    margin-bottom: 0.5rem;
}

.username {
    font-size: 3rem;
    /* Reduced size */
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding-bottom: 5px;
    color: #fff;

    /* Strong Glow Effect */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px var(--accent-color);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px var(--accent-color);
    }

    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px var(--accent-color), 0 0 60px var(--accent-color);
    }
}

.verified-badge {
    color: var(--accent-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.uid-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-container {
    height: 24px;
    margin-top: 0.5rem;
    /* Added to move typewriter down */
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    font-family: monospace;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    /* Added gap */
    margin-bottom: 2rem;
}

.social-btn {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1) translateY(-3px);
    text-shadow: 0 0 15px var(--accent-color);
}

.views-counter {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* Responsiveness */
@media (max-width: 450px) {
    .profile-card {
        width: 90%;
    }
}

/* Notification Toast */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 2000;
    pointer-events: none;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}