/**
 * VENTUS ENGINE FIXED CSS v11.5
 * Naprawiono: Grid System, Profile Header, Flexbox Alignments
 */

:root {
    --bg-dark: #050608;
    --bg-panel: #0b0b0d;
    
    /* GŁÓWNY KOLOR ZMIENIONY NA #a47926 */
    --accent: #a47926; 
    
    /* Ciemniejsza wersja dla hoverów (przyciemniony #a47926) */
    --accent-dark: #7a5a1c; 
    
    /* Poświata (glow) w kolorze głównego akcentu */
    --accent-glow: rgba(164, 121, 38, 0.4); 
    
    --text-main: #ffffff;
    --text-dim: #9aa5b1;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.03);
    --glass: rgba(11, 11, 13, 0.85);
    --nav-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.v-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* TŁA I EFEKTY */
.v-bg-fixed { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% -20%, rgba(164, 121, 38, 0.08), transparent 70%); z-index: 0; pointer-events: none; }
.v-particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* NAGŁÓWEK (HEADER) */
.v-header {
    position: relative;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.v-top-bar {
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 11px;
    font-weight: 700;
}

.v-flex-bar { display: flex; justify-content: space-between; align-items: center; }

.v-server-status { display: flex; gap: 25px; }
.v-status-item { display: flex; align-items: center; gap: 10px; color: var(--text-dim); }
.v-status-item img { height: 16px; width: auto; object-fit: contain; }
.v-status-item span strong { color: var(--accent); }

/* PANEL UŻYTKOWNIKA */
.v-user-panel { display: flex; align-items: center; gap: 15px; }

/* Gość */
.v-guest-btns { display: flex; gap: 10px; }
.v-btn-login { background: transparent; border: 1px solid var(--border); color: #fff; padding: 8px 20px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.v-btn-register { background: var(--accent); border: none; color: #fff; padding: 8px 20px; border-radius: 4px; font-weight: 700; cursor: pointer; }

/* Zalogowany */
.v-logged-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 5px 10px 5px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    transition: 0.3s;
}
.v-logged-wrap:hover { border-color: var(--accent); background: rgba(255,255,255,0.06); }

.v-user-text { text-align: right; line-height: 1.2; }
.v-user-name { display: block; font-size: 13px; font-weight: 800; color: #fff; }
.v-user-group { display: block; font-size: 9px; color: var(--text-dim); text-transform: uppercase; }

.v-user-avatar { position: relative; width: 34px; height: 34px; }
.v-user-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.v-status-dot { position: absolute; bottom: 0; right: 0; width: 8px; height: 8px; background: #00ff88; border: 1px solid #000; border-radius: 50%; }

.v-logout-btn { color: #ff4d4d; opacity: 0.6; font-size: 14px; padding: 0 5px; }
.v-logout-btn:hover { opacity: 1; }

/* MENU GŁÓWNE */
.v-nav {
    background: var(--glass);
    backdrop-filter: blur(20px);
    height: var(--nav-height);
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
}

.v-logo { display: flex; align-items: center; gap: 15px; font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 800; color: #fff; margin-right: 40px; }
.v-logo img { height: 45px; width: auto; }
.v-logo span { color: var(--accent); }

.v-menu { display: flex; gap: 5px; height: 100%; }
.v-menu li { height: 100%; }
.v-menu a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    font-weight: 700;
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid transparent;
}
.v-menu a:hover, .v-menu a.active { color: #fff; border-bottom-color: var(--accent); background: linear-gradient(to top, rgba(164, 121, 38, 0.1), transparent); }
.premium-highlight { color: #ffd700 !important; }

/* HERO (STARA KONFIGURACJA NADPISANA NIŻEJ, ALE ZOSTAWIAM DLA KOMPATYBILNOŚCI) */
.v-wrapper { margin-top: 40px; flex: 1; }
/* .v-hero style is overridden at the bottom */
.v-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: 48px; font-weight: 900; margin-bottom: 15px; line-height: 1; }
.v-hero h1 span { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
.v-hero p { color: var(--text-dim); font-size: 16px; max-width: 700px; margin: 0 auto 30px; }
.v-hero-btn { display: inline-block; padding: 12px 35px; background: var(--accent); color: #fff; font-weight: 800; border-radius: 6px; box-shadow: 0 5px 20px var(--accent-glow); transition: 0.3s; }
.v-hero-btn:hover { transform: translateY(-3px); }

/* GRID UKŁADU GŁÓWNEGO */
.v-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; padding-bottom: 60px; }

/* MODUŁY I PANELE */
.v-module { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.v-mod-head {
    padding: 15px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}
.v-live-badge { background: rgba(0, 255, 136, 0.1); color: #00ff88; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(0, 255, 136, 0.2); font-size: 10px; }

/* CHATBOX */
.v-chat-content { height: 400px; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 8px; }
.v-chat-msg { background: rgba(255,255,255,0.02); padding: 8px 12px; border-radius: 6px; font-size: 13px; color: var(--text-dim); border-left: 2px solid var(--border); }
.v-chat-msg strong { color: #fff; margin-right: 5px; }
.v-chat-input { padding: 15px; background: rgba(0,0,0,0.2); border-top: 1px solid var(--border); display: flex; gap: 10px; }
.v-chat-input input { flex: 1; background: #050505; border: 1px solid var(--border); padding: 10px; border-radius: 4px; color: #fff; }
.v-chat-input button { width: 40px; background: var(--accent); border: none; color: #fff; border-radius: 4px; cursor: pointer; }

/* KATEGORIE (NAPRAWIONE) */
.v-cat-item {
    display: grid;
    grid-template-columns: 60px 1fr 100px 150px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    transition: 0.2s;
    background: var(--bg-panel);
}
.v-cat-item:hover { background: rgba(255,255,255,0.03); transform: translateX(5px); border-left: 3px solid var(--accent); }

.v-cat-icon { 
    width: 45px; height: 45px; 
    background: rgba(164, 121, 38, 0.1); 
    border-radius: 10px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 20px; color: var(--accent); 
    border: 1px solid rgba(164, 121, 38, 0.2);
}

.v-cat-info h3 { font-size: 16px; margin-bottom: 4px; }
.v-cat-info h3 a { color: #fff; font-weight: 800; }
.v-cat-info p { font-size: 12px; color: var(--text-dim); }

.v-cat-stat { text-align: center; border-left: 1px solid var(--border-light); border-right: 1px solid var(--border-light); }
.v-cat-stat strong { display: block; font-size: 18px; color: #fff; font-family: 'Rajdhani'; }
.v-cat-stat span { font-size: 9px; color: var(--text-dim); font-weight: 700; }

.v-cat-last { padding-left: 20px; font-size: 11px; color: var(--text-dim); display: flex; flex-direction: column; justify-content: center; }
.v-cat-last span { color: var(--accent); font-weight: 700; margin-bottom: 2px; }

.v-sidebar { display: flex; flex-direction: column; gap: 20px; }
.v-widget { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.v-wid-title { font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 15px; text-transform: uppercase; border-bottom: 2px solid var(--border); padding-bottom: 10px; display: block; }
.v-stat-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; color: var(--text-dim); border-bottom: 1px solid var(--border-light); padding-bottom: 5px; }
.v-stat-row b { color: #fff; }

.v-footer { background: #000; border-top: 1px solid var(--border); padding: 40px 0; margin-top: auto; text-align: center; color: var(--text-dim); font-size: 12px; }

.v-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; }
.v-modal-box { background: #121215; padding: 40px; width: 400px; border-radius: 10px; border: 1px solid var(--border); position: relative; text-align: center; }
.v-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #fff; cursor: pointer; font-size: 20px; }
.v-input { width: 100%; background: #000; border: 1px solid var(--border); padding: 12px; margin-bottom: 15px; color: #fff; border-radius: 6px; }
.v-btn-full { width: 100%; background: var(--accent); border: none; padding: 12px; color: #fff; font-weight: 800; border-radius: 6px; cursor: pointer; }

.v-profile-header { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 15px; overflow: hidden; margin-bottom: 30px; }
.v-p-cover { height: 250px; background-size: cover; background-position: center; position: relative; background-color: #111; }
.v-p-data { padding: 0 40px 30px 40px; margin-top: -60px; position: relative; display: flex; align-items: flex-end; gap: 30px; }
.v-p-av-img { width: 140px; height: 140px; border-radius: 20px; border: 5px solid var(--bg-panel); background: #000; object-fit: cover; }
.v-p-info h1 { font-size: 36px; font-family: 'Rajdhani'; font-weight: 900; line-height: 1; margin-bottom: 5px; color: #fff; }
.v-p-badge { padding: 4px 12px; background: rgba(164, 121, 38, 0.1); border: 1px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 10px; border-radius: 4px; text-transform: uppercase; }
.v-p-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }

.v-text-page { background: rgba(11, 11, 13, 0.9); border: 1px solid var(--border); border-radius: 15px; padding: 50px; margin-top: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.v-text-page h1 { font-family: 'Rajdhani'; font-size: 36px; color: #fff; margin-bottom: 30px; border-bottom: 2px solid var(--accent); padding-bottom: 15px; }
.v-text-content { color: var(--text-dim); line-height: 1.8; font-size: 15px; }
.v-text-content h3 { color: #fff; margin-top: 30px; margin-bottom: 10px; font-family: 'Rajdhani'; font-size: 22px; }

.v-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; margin-top: 30px; }
.v-team-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 30px; border-radius: 15px; text-align: center; transition: 0.3s; }
.v-team-card:hover { border-color: var(--accent); transform: translateY(-5px); background: rgba(255,255,255,0.05); }
.v-team-av { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); margin-bottom: 15px; }
.v-team-nick { display: block; font-size: 20px; font-weight: 800; color: #fff; font-family: 'Rajdhani'; }
.v-team-role { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-top: 5px; font-weight: 700; }

.v-table-wrap { overflow-x: auto; background: rgba(11, 11, 13, 0.9); border-radius: 15px; border: 1px solid var(--border); padding: 20px; margin-top: 30px; }
.v-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.v-table th { text-align: left; padding: 15px; color: var(--accent); font-size: 11px; letter-spacing: 1px; border-bottom: 2px solid var(--border); }
.v-table td { padding: 15px; border-bottom: 1px solid var(--border-light); color: var(--text-dim); font-size: 13px; }
.v-table tr:last-child td { border-bottom: none; }
.v-table tr:hover td { background: rgba(255,255,255,0.02); color: #fff; }
.v-status-active { color: #ff4d4d; border: 1px solid #ff4d4d; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; }

/* PREMIUM GRID */
.v-premium-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.v-plan-card { background: rgba(11, 11, 13, 0.9); border: 1px solid var(--border); padding: 40px; border-radius: 20px; text-align: center; position: relative; transition: 0.3s; }
.v-plan-card:hover { border-color: var(--accent); transform: scale(1.02); }
.v-plan-title { font-family: 'Rajdhani'; font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.v-plan-price { font-size: 28px; color: var(--accent); font-weight: 800; display: block; margin-bottom: 30px; }
.v-plan-list { list-style: none; text-align: left; margin-bottom: 30px; color: var(--text-dim); font-size: 13px; }
.v-plan-list li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.v-plan-btn { display: block; padding: 12px; background: var(--accent); color: #fff; font-weight: 800; border-radius: 6px; }
.v-plan-best { border-color: #ffd700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.1); }
.v-plan-best .v-plan-title, .v-plan-best .v-plan-price { color: #ffd700; }

/* --- WIDOK DZIAŁU (VIEW_FORUM) --- */
.v-forum-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.v-forum-title h1 { font-family: 'Rajdhani'; font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 5px; }
.v-forum-desc { color: var(--text-dim); font-size: 14px; }

.v-btn-new-topic { background: var(--accent); color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: 800; font-size: 13px; text-transform: uppercase; box-shadow: 0 5px 20px var(--accent-glow); transition: 0.3s; }
.v-btn-new-topic:hover { transform: translateY(-3px); background: var(--accent-dark); }

.v-topic-list { display: flex; flex-direction: column; gap: 15px; }
.v-topic-row { 
    display: grid; 
    grid-template-columns: 60px 1fr 150px 200px; 
    align-items: center; 
    background: rgba(37, 37, 42, 0.8); 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    padding: 20px; 
    transition: 0.2s; 
}
.v-topic-row:hover { background: rgba(37,37,42,0.95); border-color: var(--accent); transform: translateX(5px); }

.v-topic-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-dim); }
.v-topic-row:hover .v-topic-icon { background: var(--accent); color: #fff; }

.v-topic-main h3 { font-size: 16px; margin-bottom: 5px; }
.v-topic-main h3 a { color: #fff; font-weight: 700; transition: 0.2s; }
.v-topic-main h3 a:hover { color: var(--accent); }
.v-topic-meta { font-size: 12px; color: var(--text-dim); }
.v-topic-meta b { font-weight: 700; }

.v-topic-stats { text-align: center; color: var(--text-dim); font-size: 11px; font-weight: 700; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.v-topic-stats span { display: block; font-size: 18px; color: #fff; font-family: 'Rajdhani'; }

.v-topic-last { padding-left: 20px; display: flex; align-items: center; gap: 10px; }
.v-last-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.v-last-info { display: flex; flex-direction: column; line-height: 1.2; font-size: 11px; }
.v-last-info a { color: #fff; font-weight: 700; }
.v-last-info span { color: var(--text-dim); }

.v-topic-pinned { border-left: 3px solid #ffd700; background: rgba(255, 215, 0, 0.05); }
.v-topic-pinned .v-topic-icon { color: #ffd700; }

.v-widget iframe {
    opacity: 0.9;
    transition: opacity 0.3s ease;
    display: block;
}

.v-widget iframe:hover {
    opacity: 1;
}

/* --- PROFESSIONAL FOOTER --- */
.v-footer {
    background: #0b0d10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.v-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v-footer-col h4 {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.v-footer-desc {
    color: #888;
    line-height: 1.6;
    font-size: 13px;
    margin-top: 15px;
    max-width: 300px;
}

.v-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v-footer-links li {
    margin-bottom: 12px;
}

.v-footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v-footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.v-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.v-social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.v-social-btn:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

.v-footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #555;
}

.v-footer-logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    letter-spacing: -1px;
}
.v-footer-logo-text span { color: var(--accent); }

/* Responsywność dla telefonów */
@media (max-width: 900px) {
    .v-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .v-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.v-hero {
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at top right, rgba(164, 121, 38, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(164, 121, 38, 0.05), transparent 40%),
        linear-gradient(180deg, #0e0e10 0%, #050505 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.v-hero-top-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.v-h-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.v-h-stat:hover {
    background: rgba(164, 121, 38, 0.1);
    border-color: var(--accent);
    color: #fff;
}

.v-h-stat i { color: var(--accent); }

/* Kafelki szybkiego dostępu (Dół Hero) */
.v-hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 równe kolumny */
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.v-feat-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}

.v-feat-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(164, 121, 38, 0.05);
}

.v-feat-icon {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.v-feat-box h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.v-feat-box p {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Responsywność dla kafelków */
@media (max-width: 900px) {
    .v-hero-features {
        grid-template-columns: 1fr 1fr; /* 2 kolumny na tablecie */
    }
}
@media (max-width: 600px) {
    .v-hero-features {
        grid-template-columns: 1fr; /* 1 kolumna na telefonie */
    }
}
/* --- ZWIJANIE KATEGORII (COLLAPSE) --- */
.v-forum-category-header {
    cursor: pointer;          /* Pokazuje rączkę po najechaniu */
    user-select: none;        /* Zapobiega zaznaczaniu tekstu przy szybkim klikaniu */
    transition: background 0.2s;
}

.v-forum-category-header:hover {
    filter: brightness(1.2);  /* Lekkie rozjaśnienie po najechaniu */
}

.v-forum-category-header i {
    transition: transform 0.3s ease; /* Płynny obrót strzałki */
}

/* Klasa, którą doda JavaScript, gdy sekcja jest zwinięta */
.v-section-hidden .v-cat-container {
    display: none;            /* Ukrywa listę działów */
}

.v-section-hidden .v-forum-category-header i {
    transform: rotate(-90deg); /* Obraca strzałkę w bok */
    color: var(--text-dim);    /* Opcjonalnie: przyciemnia strzałkę gdy zwinięte */
}
/* --- WIDGET URODZINOWY --- */
.v-birthday-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-birthday-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    transition: 0.3s;
}

.v-birthday-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.v-birthday-row:hover {
    transform: translateX(5px);
}

.v-bday-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.v-bday-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.v-bday-info {
    flex: 1; /* Rozpycha się na środek */
    line-height: 1.2;
}

.v-bday-age {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-family: 'Rajdhani', sans-serif;
}
/* --- ZAAWANSOWANY PROFIL --- */

.v-edit-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.v-edit-btn:hover { background: var(--accent); border-color: var(--accent); }

.v-p-socials {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.v-p-socials a {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    color: var(--text-dim);
    transition: 0.3s;
}
.v-p-socials a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Układ kolumn */
.v-p-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.v-p-sidebar { display: flex; flex-direction: column; gap: 20px; }
.v-p-content { display: flex; flex-direction: column; gap: 20px; }

.v-p-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

/* Zakładki (Tabs) */
.v-p-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.v-tab-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.v-tab-btn:hover { color: #fff; }
.v-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.v-tab-btn i { margin-right: 5px; }

.v-tab-content { display: none; animation: fadeIn 0.3s; }
.v-tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsywność */
@media (max-width: 900px) {
    .v-p-grid { grid-template-columns: 1fr; }
    .v-p-data { flex-direction: column; align-items: center; text-align: center; margin-top: -50px; }
    .v-p-info { align-items: center; }
    .v-p-socials { justify-content: center; }
}
/* --- PASEK STATYSTYK W PROFILU --- */
.v-profile-stats-bar {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    margin-top: 20px;
}

.v-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    border-right: 1px solid var(--border-light);
}

.v-stat-item:last-child {
    border-right: none;
}

.v-stat-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.v-stat-value {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}
/* --- WIDGET OSTRZEŻEŃ --- */
.v-warn-widget {
    background: #16181b !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

.v-warn-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.v-warn-circle {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-warn-circle span {
    position: absolute;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.v-warn-circle svg {
    transform: rotate(-90deg);
}

.v-warn-summary {
    display: flex;
    flex-direction: column;
}

.v-warn-total {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.v-warn-sub {
    font-size: 11px;
    color: var(--text-dim);
}

.v-warn-list {
    display: flex;
    flex-direction: column;
}

.v-warn-entry {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.v-warn-point-badge {
    min-width: 28px;
    height: 28px;
    background: #a33e3e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
}

.v-warn-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.v-warn-reason {
    font-size: 13px;
    color: #eee;
    font-weight: 600;
}

.v-warn-reason i {
    color: #00ff88;
    font-size: 11px;
    margin-right: 5px;
}

.v-warn-meta {
    font-size: 11px;
    color: var(--text-dim);
}

.v-warn-btn-all {
    display: block;
    width: 100%;
    background: #a47926;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.v-warn-btn-all:hover {
    background: #a47926;
    transform: translateY(-2px);
}
/* Styl dla komunikatu o braku kar */
.v-no-warns {
    text-align: center;
    padding: 25px 10px;
    background: rgba(0, 255, 136, 0.03);
    border-radius: 8px;
    border: 1px dashed rgba(0, 255, 136, 0.1);
    margin: 10px 0;
}

.v-no-warns i {
    font-size: 28px;
    color: #00ff88;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3));
}

.v-no-warns p {
    font-size: 12px;
    color: #00ff88;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Poprawka koloru przycisku "Zobacz wszystko" */
.v-warn-btn-all {
    display: block;
    width: 100%;
    background: #a47926;
    color: #fff;
    text-align: center;
    padding: 11px;
    border-radius: 25px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.v-warn-btn-all:hover {
    background: #a47926;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 169, 46, 0.2);
}

/* --- WIDGET OSTRZEŻEŃ - KOMUNIKAT BRAKU KAR --- */

.v-no-warns {
    text-align: center;
    padding: 30px 15px;
    background: rgba(0, 255, 136, 0.03);
    border-radius: 12px;
    border: 1px dashed rgba(0, 255, 136, 0.15);
    margin: 10px 0;
    transition: 0.3s;
}

.v-no-warns:hover {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
}

.v-no-warns i {
    font-size: 32px;
    color: #00ff88;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4));
}

.v-no-warns p {
    font-size: 13px;
    color: #00ff88;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* --- POPRAWKA PRZYCISKU ZOBACZ WSZYSTKO --- */

.v-warn-btn-all {
    display: block;
    width: 100%;
    background: #c58d2a;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.v-warn-btn-all:hover {
    background: #e1a92e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 169, 46, 0.3);
}

/* --- ELEMENTY LISTY WARNÓW (DLA PORZĄDKU) --- */

.v-warn-entry {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.v-warn-entry:last-of-type {
    border-bottom: none;
}

.v-warn-point-badge {
    min-width: 30px;
    height: 30px;
    background: #a33e3e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 0 10px rgba(163, 62, 62, 0.3);
}

.v-warn-reason {
    font-size: 13px;
    color: #eee;
    font-weight: 600;
    display: block;
}

.v-warn-meta {
    font-size: 11px;
    color: var(--text-dim);
    display: block;
    margin-top: 2px;
}
/* --- ROZBUDOWANY CHATBOX --- */

.v-chat-toolbar {
    background: rgba(0,0,0,0.3);
    padding: 8px 15px;
    display: flex;
    gap: 5px;
    border-top: 1px solid var(--border);
}

.v-chat-toolbar button {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-chat-toolbar button:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.v-mention {
    background: rgba(164, 121, 38, 0.15);
    color: var(--accent);
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* Poprawka inputa, żeby przylegał do toolbara */
.v-chat-input {
    border-top: none !important;
    padding-top: 10px !important;
}
/* --- ADMIN PANEL BUTTON --- */
.v-admin-btn {
    width: 35px;
    height: 35px;
    background: var(--accent);
    color: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    margin-right: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    
    /* TO JEST KLUCZOWE NAPRAWIENIE KLIKANIA: */
    position: relative; 
    z-index: 9999;
    cursor: pointer;
}

.v-admin-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 169, 46, 0.3);
}

/* --- WIDGET KTO JEST ONLINE (DÓŁ FORUM) --- */
.v-online-section {
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.v-on-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v-on-title span {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 5px;
}

.v-on-list {
    font-size: 12px;
    line-height: 1.8;
    color: #888;
}

.v-on-user {
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    margin-right: 3px;
}
.v-on-user:hover { opacity: 0.8; }
.v-on-user i { font-size: 9px; margin-right: 2px; opacity: 0.7; }

/* Legenda Grup */
.v-on-legend {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
}

.v-group-item { text-shadow: 0 0 10px rgba(0,0,0,0.5); }