:root {
    --text-main: #ffffff;
    --text-dim: #888;
    --glass: rgba(0, 0, 0, 0.65);
    --accent-blue: #1d9bf0;
}

body {
    margin: 0; padding: 0; height: 100vh; width: 100vw;
    display: flex; justify-content: center; align-items: center;
    background: #000; font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main); overflow: hidden;
}

/* --- EKRAN WEJŚCIA --- */
#enter-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9998;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#enter-screen h1 { 
    font-size: 3rem; font-weight: 800; letter-spacing: 4px; 
    margin-bottom: 10px; text-shadow: 0 0 30px rgba(255,255,255,0.3); 
}

#enter-screen p { 
    font-size: 0.8rem; color: #444; letter-spacing: 5px; 
    text-transform: uppercase; animation: pulse 2s infinite; 
}

@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* --- TŁO WIDEO --- */
#video-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2; filter: brightness(0.35) contrast(1.1);
}

.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 140%);
    z-index: -1;
}

/* --- GŁÓWNA KARTA --- */
.main-container {
    width: 380px;
    background: var(--glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 60px 35px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transition: filter 1s ease, transform 1s ease, opacity 1s ease;
}

.blur-effect { filter: blur(30px); transform: scale(0.85); opacity: 0; }

/* --- AVATAR I CZAPKA (POPRAWIONE) --- */
.avatar-section { 
    position: relative; 
    width: 120px; 
    height: 120px; 
    margin: 0 auto 30px; 
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Stylizacja Twojej czapki */
.avatar-decoration {
    position: absolute; 
    top: -15%;   /* Podnieś/Obniż tutaj */
    left: -10%;  /* Przesuń lewo/prawo tutaj */
    width: 120%; /* Rozmiar czapki względem avatara */
    height: auto;
    z-index: 10; 
    pointer-events: none;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.profile-image { 
    width: 100%; height: 100%; border-radius: 50%; 
    object-fit: cover; border: 2px solid rgba(255,255,255,0.05); 
    z-index: 1;
}

.status-indicator {
    position: absolute; bottom: 8px; right: 8px;
    width: 26px; height: 26px; background: #000;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 11;
}

/* --- NAGŁÓWEK I BADGE --- */
.name-wrapper {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 5px;
}

.elegant-name { font-size: 1.9rem; font-weight: 800; margin: 0; letter-spacing: -0.5px; }

.verify-badge {
    width: 24px; height: 24px;
    fill: var(--accent-blue);
    filter: drop-shadow(0 0 10px rgba(29, 155, 240, 0.5));
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% { transform: scale(0) rotate(-20deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.server-tag { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 25px 0; font-weight: 400; }

/* --- OPIS I TECH STACK --- */
.description-box { 
    font-size: 0.9rem; color: #ccc; line-height: 1.6; 
    margin-bottom: 35px; font-weight: 300; 
}

.tech-stack { display: flex; justify-content: center; gap: 28px; margin-bottom: 35px; }

.tech-stack i {
    font-size: 1.8rem; color: #555;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-stack i:hover {
    color: #fff; transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* --- STATYSTYKI I SOCIAL --- */
.stats-row { 
    font-size: 0.85rem; color: #555; margin-bottom: 40px; 
    display: flex; justify-content: center; align-items: center; gap: 10px; 
}

.social-footer { display: flex; justify-content: center; gap: 35px; }
.social-footer a { color: #444; font-size: 1.6rem; transition: 0.4s ease; }
.social-footer a:hover { 
    color: #fff; transform: scale(1.2); 
    filter: drop-shadow(0 0 12px #fff); 
}

/* --- CUSTOM CURSOR --- */
* { cursor: none !important; }

.cursor-dot, .cursor-outline {
    pointer-events: none; 
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
}

.cursor-dot {
    width: 6px; height: 6px; background-color: #fff;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-outline {
    width: 35px; height: 35px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: width 0.4s ease, height 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

body.cursor-active .cursor-outline {
    width: 55px; height: 55px;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

body.cursor-active .cursor-dot { opacity: 0.5; }

/* --- EFEKT GLITCH --- */
.elegant-name {
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,.75),
                -0.025em -0.05em 0 rgba(0,255,0,.75),
                0.025em 0.05em 0 rgba(0,0,255,.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.05em -0.025em 0 rgba(0,255,0,.75), -0.025em 0.05em 0 rgba(0,0,255,.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.05em -0.025em 0 rgba(0,255,0,.75), -0.025em 0.05em 0 rgba(0,0,255,.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75), 0.025em 0.025em 0 rgba(0,255,0,.75), -0.05em -0.05em 0 rgba(0,0,255,.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75), 0.025em 0.025em 0 rgba(0,255,0,.75), -0.05em -0.05em 0 rgba(0,0,255,.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75), 0.05em 0 0 rgba(0,255,0,.75), 0 -0.05em 0 rgba(0,0,255,.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75), 0.05em 0 0 rgba(0,255,0,.75), 0 -0.05em 0 rgba(0,0,255,.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255,0,0,.75), -0.025em -0.025em 0 rgba(0,255,0,.75), -0.025em -0.05em 0 rgba(0,0,255,.75); }
}

/* --- KARTY AKTYWNOŚCI --- */
#activities-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.activity-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition: 0.3s;
}

.activity-card:hover { background: rgba(255, 255, 255, 0.08); }

.activity-icon { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.activity-icon img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }

.spotify-logo {
    position: absolute; bottom: -5px; right: -5px;
    color: #1DB954; font-size: 1.2rem; background: #000; border-radius: 50%;
}

.activity-info { overflow: hidden; min-width: 0; } /* min-width 0 naprawia ucinanie tekstu */
.activity-label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-dim); margin: 0; letter-spacing: 1px; }
.activity-name { font-size: 0.9rem; font-weight: 700; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.activity-detail { font-size: 0.8rem; color: #bbb; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }