:root {
    --background-color: #1a1a1a;
    --text-primary: #fff;
    --text-secondary: #ddd;
    --text-muted: #bbb;
    --text-loader: #999;
    --text-shadow-dark: rgba(0, 0, 0, 0.3);
    --text-shadow-light: rgba(0, 0, 0, 0.2);
    --card-bg: rgba(255, 255, 255, 0.05);
    --overlay-bg: rgba(0, 0, 0, 0.6);
    --shadow-normal: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
    --status-online: #43b581;
    --status-idle: #faa61a;
    --status-dnd: #f04747;
    --status-offline: #747f8d;
    --glow-online: rgba(67, 181, 129, 0.6);
    --glow-idle: rgba(250, 166, 26, 0.6);
    --glow-dnd: rgba(240, 71, 71, 0.6);
    --glow-offline: rgba(116, 127, 141, 0.6);
    --glow-icon-hover: rgba(255, 255, 255, 0.5);
    --highlight-hover: #00ffcc;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Fira Code', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--background-color);
    color: var(--text-primary);
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: inherit;
    height: inherit;
    -o-filter: blur(15px);
    filter: blur(15px);
    object-fit: cover;
    transform: scale(1.04);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: -1;
}

.box-contain {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.box-brrr {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px;
    width: 380px;
    text-align: center;
    box-shadow: var(--shadow-normal);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-brrr:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.box-brrr::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
    filter: blur(10px);
    opacity: 0.8;
}

.pfp-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
}

.pfp {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pfp-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    object-fit: contain;
    display: none;
    pointer-events: none;
}

.pfp.online {
    border: 4px solid var(--status-online);
    box-shadow: 0 0 15px var(--glow-online);
}

.pfp.idle {
    border: 4px solid var(--status-idle);
    box-shadow: 0 0 15px var(--glow-idle);
}

.pfp.dnd {
    border: 4px solid var(--status-dnd);
    box-shadow: 0 0 15px var(--glow-dnd);
}

.pfp.offline, .pfp.unknown {
    border: 4px solid var(--status-offline);
    box-shadow: 0 0 15px var(--glow-offline);
}

.pfp:hover {
    transform: scale(1.05);
}

h3.display-name {
    margin: 10px 0 5px 0;
    font-size: 32px;
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--text-shadow-dark);
    font-weight: 700;
}

.username {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--text-muted);
    text-shadow: 0 1px 2px var(--text-shadow-light);
    opacity: 0.7;
}

.spotify-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    width: 100%;
    justify-content: center;
}

.spotify-cover {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    display: none;
}

.spotify-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.spotify-song, .spotify-artist {
    font-size: 14px;
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--text-shadow-light);
    display: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.social-links a img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px var(--glow-icon-hover);
    border-radius: 50%;
}

.loader {
    color: var(--text-loader);
    font-size: 14px;
    margin-bottom: 10px;
}

.text {
    position: absolute;
    bottom: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    z-index: 1;
}

.text a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text a:hover {
    color: var(--highlight-hover);
}