@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700&display=swap');

:root {
    --bg-color: #000000;
    --card-bg: rgba(24, 24, 27, 0.6);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-dark: #71717a;
    --accent-color: #3b82f6;
    --status-online: #23a559;
    --status-idle: #f0b232;
    --status-dnd: #f23f43;
    --status-offline: #80848e;
}

.brand {
    font-family: 'Unbounded', cursive;
    font-weight: 600;
}



body::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

#rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

#background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
}

.loader-icon {
    font-size: 2rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.app-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.top-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.brand {
    font-weight: 600;
}

.nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.views {
    color: var(--text-dark);
    font-size: 0.8rem;
    font-family: 'Unbounded', cursive;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.shortcut {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

.profile-card {
    width: 100%;
    max-width: 700px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.banner {
    height: 180px;
    background: none;
    position: relative;
    overflow: hidden;
}


.profile-content {
    padding: 0 24px 24px;
    position: relative;
}

.avatar-container {
    position: relative;
    margin-top: -40px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 4px;
    background: transparent;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #000000;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    background-color: var(--status-offline);
}

.status-indicator.online {
    background-color: var(--status-online);
}

.status-indicator.idle {
    background-color: var(--status-idle);
}

.status-indicator.dnd {
    background-color: var(--status-dnd);
}

.custom-status-tooltip {
    background: rgba(40, 40, 40, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    margin-bottom: 20px;
}

.user-header {
    margin-top: 15px;
}

.username {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.phone-icon {
    font-size: 1.5rem;
}

.badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.badge-icons {
    display: flex;
    gap: 5px;
}

.badge-icon {
    width: 22px;
    height: 22px;
}

.badge-wrapper {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease;
}

.badge-wrapper.move-left {
    transform: translateX(-12px);
}

.badge-wrapper.move-right {
    transform: translateX(12px);
}

.section {
    margin-top: 30px;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
}

.about-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.about-link:hover {
    color: var(--text-main);
}

.about-link2 {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    text-align: center;
    display: block;
    margin: 0 auto;
    width: 100%;
}

.connections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.connection-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
}

.connection-card:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.connection-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.graph-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.05);
}

.graph-box.level-1 {
    background-color: #0e4429;
}

.graph-box.level-2 {
    background-color: #006d32;
}

.graph-box.level-3 {
    background-color: #26a641;
}

.graph-box.level-4 {
    background-color: #39d353;
}

.music-player {
    width: 100%;
    max-width: 400px;
    background: #121212;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    margin-bottom: 50px;
}

.album-art {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.track-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.track-artist {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 40%;
    background: var(--text-main);
    border-radius: 2px;
}

.spotify-icon {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.music-player:hover .spotify-icon {
    color: #1ed760;
}

@media (max-width: 600px) {
    .connections-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
