/* Zmienne - Nowy styl z referencji (Ciemny Fiolet + Neon) */
:root {
    --bg-dark: #120e1f; /* Tło całej apki (głęboki fiolet) */
    --surface-dark: #1e1930; /* Tło kart i menu */
    --surface-light: #2c2541; /* Jaśniejsze elementy */
    --text-main: #ffffff;
    --text-muted: #958ba8; /* Zgaszony fioletowo-szary */
    --accent-neon: #a05bf0; /* Wibrujący fiolet z referencji */
    --accent-glow: rgba(160, 91, 240, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
}

/* Górny pasek */
.top-bar {
    padding: 20px 24px 15px 24px; /* Zmniejszony górny margines z 40px na 20px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.brand-icon {
    display: flex;
    align-items: center;
    flex: 1; /* Pozwala logo zająć odpowiednią przestrzeń z lewej */
}

.brand-icon img {
    width: 100%;
    max-width: 220px; /* Pozwalamy mu być szerokim na max 220px */
    height: auto;     /* Wysokość dopasuje się automatycznie do proporcji 933x295 */
    object-fit: contain;
    object-position: left center; /* Pilnuje, żeby logo trzymało się lewej krawędzi */
}

.top-bar h1 {
    font-size: 1.4rem;
    font-weight: 700;
}

.greeting {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* Punkty użytkownika */
.user-points {
    background: var(--surface-light);
    padding: 10px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

.points-icon {
    color: var(--accent-neon);
    font-size: 1.2rem;
}

/* Środkowa część */
.content {
    flex-grow: 1;
    padding: 10px 24px 120px 24px; /* Zapas miejsca na dole, żeby menu nie zasłaniało treści */
    overflow-y: auto;
}

/* Główna karta z gradientem/obrazkiem */
.action-card {
    background: linear-gradient(135deg, var(--surface-dark), #171228);
    border-radius: 28px;
    padding: 30px;
    margin-top: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.action-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-neon);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
}

.action-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Przycisk */
.btn-primary {
    background: var(--accent-neon);
    color: var(--text-main);
    border: none;
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--accent-glow);
    transition: transform 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.96);
}

/* Sekcje i nagłówki */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 40px 0 20px 0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.see-all {
    font-size: 0.85rem;
    color: var(--accent-neon);
    font-weight: 600;
    cursor: pointer;
}

.glass-panel {
    background: var(--surface-dark);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.empty-state i {
    font-size: 3rem;
    color: var(--surface-light);
    margin-bottom: 15px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* PŁYWAJĄCE DOLNE MENU (Floating Pill) */
.bottom-nav {
    position: fixed;
    bottom: 30px; /* Odklejone od dołu */
    left: 50%;
    transform: translateX(-50%); /* Centrowanie */
    width: calc(100% - 48px); /* Szerokość dopasowana do marginesów ekranu */
    max-width: 400px;
    background-color: rgba(30, 25, 48, 0.85); /* Półprzezroczyste tło */
    backdrop-filter: blur(20px); /* Nowoczesne rozmycie pod menu */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px; /* Mocne zaokrąglenie w pigułkę */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Delikatna ramka na krawędzi (glassmorphism) */
    z-index: 100;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 25%;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 1.6rem; /* Duże, czytelne ikony */
    transition: transform 0.3s ease;
}

/* Aktywna zakładka */
.nav-item.active {
    color: var(--accent-neon);
}

.nav-item.active i {
    transform: translateY(-2px);
}

/* Kropeczka pod aktywną ikoną (jak w nowoczesnych apkach) */
.active-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-neon);
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    box-shadow: 0 0 8px var(--accent-neon);
}

/* --- STYLE DLA EKRANU DODAWANIA WPISU --- */

.back-btn {
    color: var(--text-main);
    font-size: 1.5rem;
    text-decoration: none;
    background: var(--surface-light);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.back-btn:active {
    background: var(--accent-neon);
}

/* Przełącznik typu */
.type-toggle {
    display: flex;
    background: var(--surface-dark);
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--accent-neon);
    color: var(--text-main);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Pola formularza */
.form-panel {
    padding: 25px 20px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group label i {
    color: var(--accent-neon);
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 14px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-neon);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Upload pliku a'la nowoczesny przycisk */
.file-upload {
    position: relative;
    background: var(--surface-light);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload i {
    font-size: 2rem;
    color: var(--accent-neon);
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.submit-btn {
    margin-top: 10px;
}

/* Ukrywanie sekcji */
.hidden {
    display: none;
}

/* --- STYLE DLA EKRANU RANKINGU --- */

/* --- STYL PODIUM --- */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 30px;
    height: 260px; /* Zapas miejsca na avatary i koronę */
}

.podium-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    position: relative;
}

.podium-avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.podium-avatar {
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-light);
}

.podium-crown {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #FFD700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    z-index: 20;
}

.podium-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-neon);
    text-align: center;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.podium-points {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.podium-points i {
    color: var(--accent-neon);
    font-size: 0.85rem;
}

.podium-base {
    width: 100%;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 900;
    border-bottom: none !important;
}

/* 1. MIEJSCE (ŚRODEK) */
.podium-1 { order: 2; z-index: 10; margin-bottom: 0; }
.podium-1 .podium-avatar {
    width: 85px; height: 85px;
    border: 3px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.podium-1 .podium-base {
    height: 130px;
    background: linear-gradient(to top, rgba(255, 215, 0, 0.15), rgba(30, 25, 48, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 2. MIEJSCE (LEWA) */
.podium-2 { order: 1; z-index: 9; margin-bottom: 0; }
.podium-2 .podium-avatar {
    width: 70px; height: 70px;
    border: 3px solid #C0C0C0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}
.podium-2 .podium-base {
    height: 95px;
    background: linear-gradient(to top, rgba(192, 192, 192, 0.1), rgba(30, 25, 48, 0.8));
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: #C0C0C0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

/* 3. MIEJSCE (PRAWA) */
.podium-3 { order: 3; z-index: 8; margin-bottom: 0; }
.podium-3 .podium-avatar {
    width: 65px; height: 65px;
    border: 3px solid #CD7F32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.3);
}
.podium-3 .podium-base {
    height: 75px;
    background: linear-gradient(to top, rgba(205, 127, 50, 0.1), rgba(30, 25, 48, 0.8));
    border: 1px solid rgba(205, 127, 50, 0.3);
    color: #CD7F32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

/* Przełącznik zakładek */
.tabs-container {
    display: flex;
    background: var(--surface-dark);
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--surface-light);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Lista rankingowa */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: flex;
    align-items: center;
    background: var(--surface-dark);
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.2s;
}

.ranking-item:active {
    transform: scale(0.98);
}

.rank-position {
    width: 30px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-muted);
    text-align: center;
    
}

/* Kolory dla top 3 */
.rank-1 { color: #FFD700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); font-size: 1.4rem; }
.rank-2 { color: #C0C0C0; text-shadow: 0 0 10px rgba(192, 192, 192, 0.5); font-size: 1.3rem; }
.rank-3 { color: #CD7F32; text-shadow: 0 0 10px rgba(205, 127, 50, 0.5); font-size: 1.25rem; }

.rank-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.rank-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-light);
    object-fit: cover;
}

.rank-avatar, .podium-avatar, #profile-avatar-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.placeholder-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.rank-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.rank-points {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent-neon);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- STYLE DLA EKRANU PROFILU --- */

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    margin-top: 10px;
}

.avatar-container {
    position: relative;
    margin-bottom: 15px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--surface-light);
    border: 3px solid var(--accent-neon);
    padding: 3px;
    object-fit: cover;
}

.rank-badge {
    position: absolute;
    bottom: 0;
    right: -5px;
    background: var(--accent-neon);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 2px solid var(--surface-dark);
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 700;
}

.profile-title {
    color: var(--accent-neon);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Siatka statystyk (Małpki, Butelki, Punkty) */
.stats-grid {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--surface-light);
    padding: 15px 5px;
    border-radius: 16px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pasek postępu (Kolekcja) */
.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-neon), #c77dff);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Tagi smaków */
.flavor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.flavor-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.flavor-tag.active {
    background: rgba(160, 91, 240, 0.15);
    color: var(--accent-neon);
    border: 1px solid rgba(160, 91, 240, 0.3);
}

/* --- KOLEKCJA SOPLICY (WERSJA MAX COMPACT) --- */
.flavor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px 5px;
    margin-top: 10px;
}

.flavor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Zmniejszamy odstęp między butelką a napisem z 8px na 2px */
    gap: 2px;
    transition: transform 0.3s ease;
}

.flavor-img-wrapper {
    /* Zmniejszamy wymiary kontenera butelki z 60x80 na 35x55 */
    width: 35px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.flavor-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

/* Stan: Zablokowany (Czarno-biały) - zachowujemy Twoją logikę */
.flavor-item.locked img {
    filter: grayscale(100%);
    opacity: 0.25; /* Jeszcze bardziej przyciemnione, żeby kolorowe bardziej "biły" po oczach */
}

/* Stan: Odblokowany (Kolor) - zachowujemy Twoją logikę */
.flavor-item.unlocked img {
    filter: grayscale(0%);
    opacity: 1;
}

.flavor-name-label {
    /* Zmniejszamy czcionkę z 0.65rem na 0.55rem */
    font-size: 0.55rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.1;
    word-break: break-word; /* Żeby długie nazwy się łamały */
}

.flavor-item.unlocked .flavor-name-label {
    color: var(--accent-neon);
    font-weight: 700;
}

/* Siatka Odznak */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--surface-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.badge-item.active .badge-icon {
    background: rgba(160, 91, 240, 0.1);
    color: var(--accent-neon);
    border-color: rgba(160, 91, 240, 0.4);
    box-shadow: 0 0 15px var(--accent-glow);
}

.badge-item.locked .badge-icon {
    color: rgba(255, 255, 255, 0.1);
    background: transparent;
}

.badge-name {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.badge-item.active .badge-name {
    color: var(--text-main);
}

/* Historia wpisów (wykorzystujemy podobny styl co w rankingu) */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    background: var(--surface-dark);
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    gap: 15px;
}

.history-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.type-malpka { background: rgba(16, 185, 129, 0.15); color: #10b981; } /* Zielony dla małpki */
.type-butelka { background: rgba(245, 158, 11, 0.15); color: #f59e0b; } /* Złoty dla butelki */

.history-details {
    flex-grow: 1;
}

.history-details h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--text-main);
}

.history-details p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.history-points {
    font-weight: 800;
    color: var(--accent-neon);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- STYLE DLA EKRANÓW LOGOWANIA I REJESTRACJI --- */

/* Klasa nadawana na body, by wyśrodkować panel na pełnym ekranie */
.auth-page {
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: radial-gradient(circle at center, var(--surface-dark) 0%, var(--bg-dark) 100%);
}

/* Kontener trzymający logo i panel z formularzem */
.auth-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px; /* Lekkie uniesienie względem idealnego środka wygląda lepiej na telefonach */
}

/* Wyśrodkowane logo na stronach logowania/rejestracji */
.brand-logo-center {
    text-align: center;
}

.brand-logo-center img {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(160, 91, 240, 0.3)); /* Lekka fioletowa poświata pod logo */
}

/* Zmodyfikowany panel specjalnie dla formularzy autoryzacji */
.auth-panel {
    padding: 40px 24px;
    text-align: left; /* Wymuszamy, by labelki inputów były do lewej */
}

.auth-panel h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

/* Link na dole panelu do przełączania logowanie/rejestracja */
.auth-switch {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--accent-neon);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    transition: text-shadow 0.2s;
}

.auth-switch a:hover, .auth-switch a:active {
    text-shadow: 0 0 10px var(--accent-glow);
}

/* --- STYLE DLA ZWIJANYCH PÓL I PRZYCISKU ZAPISU --- */

.optional-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent-neon);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0 5px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    transition: 0.3s;
}

.optional-toggle:active {
    opacity: 0.7;
}

.fixed-submit-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 24px 30px 24px;
    background: linear-gradient(to top, var(--bg-dark) 60%, transparent);
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Żeby gradient nie blokował klikania pod spodem */
}

.fixed-submit-bar .btn-primary {
    max-width: 400px;
    width: 100%;
    pointer-events: auto; /* Sam przycisk jest klikalny */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--accent-glow);
}

/* --- NOWOCZESNE POWIADOMIENIA (TOASTY) --- */
.custom-toast {
    position: fixed;
    top: -100px; /* Ukryte nad ekranem */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 25, 48, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    width: max-content;
    max-width: 90vw;
    /* Płynna animacja wjazdu ze sprężynowaniem */
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-toast.show {
    top: 30px; /* Zjeżdża w dół na ekran */
}

/* Kolory ikonek zależnie od typu wiadomości */
.custom-toast.success i { color: #10b981; font-size: 1.4rem; }
.custom-toast.error i { color: #ef4444; font-size: 1.4rem; }
.custom-toast.info i { color: var(--accent-neon); font-size: 1.4rem; }

/* --- KARTY WPISÓW (KOMPAKTOWA LISTA) --- */
.feed-row {
    display: flex;
    align-items: center;
    gap: 0.82rem;
    padding: 0.78rem 0.92rem;
    margin-bottom: 0.6rem;
    border-radius: 1.35rem;
    animation: fadeIn 0.28s ease-out;
}

.feed-left-col {
    flex: 0 0 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.38rem;
}

.feed-avatar {
    width: 100%;
    height: auto;
    font-size: 1.5rem;
    line-height: 1;
}

.feed-photo-btn {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0.6rem;
    background: transparent;
    border: 0.08rem solid rgba(255,255,255,0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.18s ease;
    padding: 0;
}

.feed-photo-btn:hover {
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.03);
}

.feed-photo-btn:active {
    transform: scale(0.92);
}

.feed-main-col {
    flex: 1 1 80%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    align-items: flex-start;
}

.feed-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-author-line,
.feed-shared-line {
    font-size: 0.78rem;
    line-height: 1.14;
    color: var(--text-muted);
    text-align: left;
    width: 100%;
}

.feed-author-line strong {
    color: #fb997a;
    font-weight: 800;
}

.feed-shared-line strong {
    color: var(--text-main);
    font-weight: 700;
}

.feed-location-pill {
    margin-top: 0.06rem;
    height: 1.78rem;
    border-radius: 999px;
    background: #342356;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.62rem;
    max-width: 100%;
    min-width: 0;
}

.feed-location-pill i {
    color: #fd577c;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.feed-location-pill span {
    color: #ffffff;
    font-size: 0.74rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PRAWA KOLUMNA (DESKTOP/TABLET) */
.feed-side-col {
    flex: 0 0 12%;
    margin-left: auto;
    align-self: stretch;
    border-left: 0.08rem solid var(--accent-neon);
    padding-left: 0.32rem;
    padding-right: 0.12rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0.28rem;
}

.feed-points {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    color: var(--text-main);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    width: 100%;
    text-align: right;
}

/* ikonka punktów po PRAWEJ od liczby */
.feed-points i {
    color: var(--accent-neon);
    font-size: 0.72rem;
    order: 2;
}

.feed-date-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
    gap: 0.2rem;
    width: 100%;
}

.feed-day {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: lowercase;
}

.feed-date {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* MOBILE */
@media (max-width: 520px) {
    .feed-row {
        gap: 0.55rem;
        padding: 0.6rem 0.72rem;
        padding-right: 0.82rem;
    }

    .feed-left-col {
        flex: 0 0 9%;
        gap: 0.3rem;
    }

    .feed-avatar {
        font-size: 1.35rem;
    }

    .feed-photo-btn {
        width: 0.95rem;
        height: 0.95rem;
        font-size: 0.7rem;
    }

    .feed-main-col {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.18rem;
        align-items: flex-start;
    }

    .feed-title {
        font-size: 0.78rem;
        line-height: 1.08;
    }

    .feed-author-line,
    .feed-shared-line {
        font-size: 0.72rem;
        line-height: 1.12;
        text-align: left;
        width: 100%;
    }

    .feed-location-pill {
        height: 1.45rem;
        gap: 0.28rem;
        padding: 0 0.48rem;
        margin-top: 0.06rem;
    }

    .feed-location-pill i {
        font-size: 0.62rem;
    }

    .feed-location-pill span {
        font-size: 0.68rem;
        color: #ffffff;
    }

    /* PRAWA KOLUMNA: NA SZEROKOŚĆ ZAWARTOŚCI (shrink-to-content) */
    .feed-side-col {
        flex: 0 0 auto;
        width: max-content;
        min-width: 0;
        margin-left: auto;

        padding-left: 0.28rem;
        padding-right: 0.1rem;
        gap: 0.24rem;

        border-left: 0.08rem solid var(--accent-neon);
        align-items: flex-end;
    }

    .feed-points {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.14rem;
        color: var(--text-main);
        font-size: 0.64rem;
        font-weight: 700;
        white-space: nowrap;
        width: 100%;
        text-align: right;
    }

    .feed-points i {
        color: var(--accent-neon);
        font-size: 0.58rem;
        order: 2;
    }

    .feed-date-box {
        width: 100%;
        align-items: flex-end;
        gap: 0.14rem;
    }

    .feed-day {
        font-size: 0.62rem;
    }

    .feed-date {
        font-size: 0.58rem;
    }
}

/* --- MODAL DO ZDJĘĆ --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- STATUS DNIA (dashboard) --- */
.status-card .status-content {
    text-align: left;
    position: relative;
}

.status-top {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* dzień tygodnia: brzoskwinia, większy, wyśrodkowany */
.status-day {
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.05;
    text-align: center;
    color: #fb997a;
}

/* okazja: pod dniem */
.status-occasion {
    font-size: 0.92rem;
    line-height: 1.15;
    color: var(--text-muted);
    text-align: left;
}

.status-block {
    margin-top: 0.95rem;
}

/* "Stan imprezy:" mniejsze */
.status-label {
    font-size: 0.9rem;
    line-height: 1.1;
    color: var(--text-muted);
}

/* hr */
.status-hr {
    border: 0;
    height: 0.12rem;
    background: rgba(255,255,255,0.10);
    margin: 0.55rem 0 0.65rem 0;
    border-radius: 999px;
}

/* główny status: większy i pogrubiony */
.status-value {
    font-size: 1.1rem;
    line-height: 1.18;
    font-weight: 900;
    color: var(--text-main);
}

/* debug w ramce jak lokalizacja (pill) */
.status-debug-pill {
    margin-top: 0.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #342356;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.7rem;
    max-width: 100%;
    min-width: 0;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-actions {
    margin-top: 1.05rem;
}

.status-btn {
    padding: 1.05rem 1.1rem;
    font-size: 1.02rem;
}

/* BAJLANDO: glow + konfetti */
.status-card.bajlando::before {
    opacity: 0.28;
    filter: blur(4.8rem);
}

.status-card.bajlando {
    box-shadow: 0 1.1rem 2.6rem rgba(160, 91, 240, 0.25);
}

.confetti-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti-layer.hidden {
    display: none;
}

.confetti-piece {
    position: absolute;
    top: -10%;
    width: 0.5rem;
    height: 0.9rem;
    border-radius: 0.25rem;
    opacity: 0.95;
    animation: confetti-fall 1.8s linear infinite;
}

@keyframes confetti-fall {
    0% { transform: translateY(-20%) rotate(0deg); }
    100% { transform: translateY(140%) rotate(360deg); }
}

/* MOBILE */
@media (max-width: 520px) {
    .status-day { font-size: 1.12rem; }
    .status-occasion { font-size: 0.84rem; }
    .status-label { font-size: 0.84rem; }
    .status-value { font-size: 1.02rem; line-height: 1.16; }
    .status-debug-pill { font-size: 0.82rem; height: 1.7rem; padding: 0 0.6rem; }
    .status-btn { padding: 0.98rem 1.05rem; font-size: 0.98rem; }
}

/* --- STATUS: OKAZJA + PRZYCISK (dashboard) --- */
.status-occasion-row {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
}

.status-occasion {
    font-size: 0.92rem;
    line-height: 1.2;
    color: var(--text-muted);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.status-occasion-btn {
    width: 100%;
    border-radius: 999px;
    background: #342356;
    color: #ffffff;
    border: 0.12rem solid rgba(255,255,255,0.08);
    padding: 0.6rem 0.8rem;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
    white-space: nowrap;
}

.status-occasion-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.16);
}

.status-occasion-btn:active {
    transform: scale(0.98);
}

/* --- MODAL: DODAJ OKAZJĘ (spójny z appką, bez konfliktu ze zdjęciami) --- */
.btn-secondary {
    background: var(--surface-light);
    color: var(--text-main);
    border: none;
    padding: 18px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 16px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.btn-secondary:active {
    transform: scale(0.96);
}

.occasion-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}

.occasion-modal-overlay.hidden {
    display: none;
}

.occasion-modal-panel {
    width: min(34rem, 100%);
    border-radius: 28px;
    background: linear-gradient(135deg, var(--surface-dark), #171228);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    position: relative;
}

.occasion-modal-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-neon);
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
}

.occasion-modal-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.occasion-modal-title {
    font-weight: 800;
    color: var(--text-main);
    font-size: 1.1rem;
}

.occasion-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--surface-light);
    color: var(--text-main);
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 0.2s;
}

.occasion-modal-close:active {
    background: var(--accent-neon);
}

.occasion-modal-body {
    position: relative;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.occasion-modal-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.occasion-modal-input {
    width: 100%;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 14px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.occasion-modal-input:focus {
    border-color: var(--accent-neon);
    box-shadow: 0 0 10px var(--accent-glow);
}

.occasion-modal-actions {
    position: relative;
    z-index: 1;
    padding: 0 20px 20px 20px;
    display: flex;
    gap: 12px;
}

.occasion-modal-actions .btn-primary,
.occasion-modal-actions .btn-secondary {
    width: 100%;
}

/* Mobile */
@media (max-width: 520px) {
    .occasion-modal-title { font-size: 1.02rem; }
    .occasion-modal-input { padding: 14px; font-size: 0.98rem; }
    .occasion-modal-actions { flex-direction: column; }
    .btn-secondary { font-size: 1rem; padding: 16px 18px; border-radius: 16px; }
}

/* --- BAJLANDO NA MAKSA: epileptyczny tryb --- */
@keyframes bajlandoGlow {
    0%   { filter: hue-rotate(0deg) brightness(1.0) saturate(1.2); }
    25%  { filter: hue-rotate(60deg) brightness(1.2) saturate(1.6); }
    50%  { filter: hue-rotate(140deg) brightness(1.35) saturate(2.0); }
    75%  { filter: hue-rotate(220deg) brightness(1.15) saturate(1.8); }
    100% { filter: hue-rotate(360deg) brightness(1.0) saturate(1.2); }
}

@keyframes bajlandoPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.status-card.bajlando {
    animation: bajlandoGlow 0.6s linear infinite, bajlandoPulse 0.9s ease-in-out infinite;
    box-shadow: 0 0 2.2rem rgba(160, 91, 240, 0.35);
}

.status-card.bajlando::before {
    opacity: 0.55;
    filter: blur(5rem);
}

/* ==========================================
   --- GABLOTA OSIĄGNIĘĆ (ODZNAKI) ---
   ========================================== */
.badges-category-title {
    font-size: 0.75rem;
    color: var(--accent-neon);
    margin: 20px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}

.badges-category-title:first-child {
    margin-top: 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 odznak w rzędzie */
    gap: 15px 5px;
    margin-bottom: 25px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    position: relative;
    cursor: help; /* Kursor sugerujący, że można kliknąć/najechać */
}

.badge-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

/* --- STAN: ZABLOKOWANA --- */
.badge-item.locked .badge-icon-wrapper {
    filter: grayscale(100%);
    opacity: 0.3;
}

.badge-lock-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--surface-dark);
    border-radius: 50%;
    padding: 3px;
    font-size: 0.7rem;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- STAN: ODBLOKOWANA --- */
.badge-item.unlocked .badge-icon-wrapper {
    background: rgba(251, 153, 122, 0.15); 
    border-color: var(--accent-neon);
    box-shadow: 0 0 12px rgba(251, 153, 122, 0.4);
    transform: scale(1.05);
}

.badge-item.unlocked .badge-lock-icon {
    display: none; /* Ukrywamy kłódkę */
}

.badge-name {
    font-size: 0.5rem;
    color: var(--text-muted);
    line-height: 1.1;
    word-break: break-word;
}

.badge-item.unlocked .badge-name {
    color: var(--text-main);
    font-weight: 700;
}

/* ==========================================
   --- BANNER LIVE PARTY ---
   ========================================== */
.live-party-banner {
    background: linear-gradient(45deg, rgba(251, 153, 122, 0.1), rgba(160, 91, 240, 0.1));
    border: 1px solid var(--accent-neon);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 5px rgba(251, 153, 122, 0.2); }
    50% { box-shadow: 0 0 15px rgba(251, 153, 122, 0.5); }
    100% { box-shadow: 0 0 5px rgba(251, 153, 122, 0.2); }
}

.live-indicator {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background-color: #ef4444; /* Czerwony */
    border-radius: 50%;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 8px #ef4444;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-party-text {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.4;
}

.live-party-text strong {
    color: var(--accent-neon);
}

/* --- SYSTEM POZIOMÓW - WERSJA POPRAWIONA (SLIM & ROUND) --- */
.avatar-frame {
    position: relative;
    padding: 2px; /* Mniejszy odstęp, żeby ramka nie była toporna */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1; /* To gwarantuje idealne kółko niezależnie od zdjęcia */
    width: fit-content;
    margin: 0 0;
}

/* Wymuszamy kółka dla samych zdjęć i zapobiegamy ich spłaszczaniu */
.avatar-frame img, .rank-avatar, .podium-avatar, #profile-avatar-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Kolory Ramek - Odchudzone (border 1.5px - 2.5px zamiast 3px) */
.lvl-1 { border: 1.5px solid #94a3b8; }
.lvl-2 { border: 1.5px solid #10b981; }
.lvl-3 { border: 2px solid #3b82f6; box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
.lvl-4 { border: 2px solid #f59e0b; box-shadow: 0 0 5px rgba(245, 158, 11, 0.3); }
.lvl-5 { border: 2px solid #8b5cf6; box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }
.lvl-6 { border: 2px solid #ec4899; box-shadow: 0 0 8px rgba(236, 72, 153, 0.4); }
.lvl-7 { border: 2px solid #06b6d4; box-shadow: 0 0 8px rgba(6, 182, 212, 0.4); }
.lvl-8 { border: 2.5px solid #fb997a; box-shadow: 0 0 12px rgba(251, 153, 122, 0.6); }
.lvl-9 { border: 2.5px solid #ef4444; animation: pulse-red 2s infinite; }
.lvl-10 { border: 2.5px solid #fcd34d; box-shadow: 0 0 15px #fcd34d; animation: rainbow-glow 3s infinite linear; }

@keyframes pulse-red {
    0% { box-shadow: 0 0 3px #ef4444; }
    50% { box-shadow: 0 0 12px #ef4444; }
    100% { box-shadow: 0 0 3px #ef4444; }
}

@keyframes rainbow-glow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Tytuł rangi pod nickiem */
.profile-rank-badge {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--accent-neon);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FIX DLA LISTY RANKINGOWEJ - Likwidacja gigantycznych odstępów */
.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px; /* Stały, mały odstęp między elementami */
    padding: 10px 15px;
}

.rank-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1; /* Nick trzyma się blisko awatara */
}

.rank-points {
    margin-left: auto; /* Punkty i kapsel wędrują na samą prawą stronę */
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- WYKRES FORMY TYGODNIOWEJ --- */
.weekly-chart-container {
    margin-top: 25px;
    padding: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    gap: 8px;
    padding-top: 10px;
}

.chart-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.chart-bar-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(to top, var(--accent-purple), var(--accent-neon));
    border-radius: 2px;
    transition: height 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.chart-day-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: bold;
    text-transform: uppercase;
}

.chart-value-label {
    font-size: 0.65rem;
    color: var(--accent-neon);
    font-weight: bold;
}

