/* ============================================================
   CZARNA STREFA — Strona WWW (style)
   Motyw: czerń + czerwień, spójny z loading screenem serwera.
   ============================================================ */

:root {
    --bg:        #070707;
    --bg-soft:   #0d0d0d;
    --panel:     #111111;
    --panel-2:   #161616;
    --border:    rgba(255, 255, 255, 0.08);
    --text:      #eaeaea;
    --muted:     #9a9a9a;
    --red:       #C40000;
    --red-hot:   #ff1a1a;
    --red-soft:  rgba(196, 0, 0, 0.35);
    --red-glow:  rgba(196, 0, 0, 0.55);
    --discord:   #5865F2;
    --radius:    14px;
    --font-head: "Oswald", sans-serif;
    --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
em { font-style: normal; color: var(--red-hot); }

.hidden { display: none !important; }

/* tło z opadającą lawą (rysowane w js/fx.js) */
#fx-lava {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ==================== NAWIGACJA ==================== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px clamp(16px, 4vw, 48px);
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    height: 42px;
    width: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--red-soft));
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 4px;
    margin: 0 auto;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--muted);
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 8px var(--red-glow);
    border-radius: 2px;
}

.topbar-right { flex-shrink: 0; display: flex; align-items: center; }

/* chip zalogowanego użytkownika */
.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel);
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.user-chip:hover { border-color: var(--red-soft); }

.user-chip img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--red-soft);
}

/* burger — mobile */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ==================== PRZYCISKI ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(135deg, var(--red), #8f0000);
    color: #fff;
    box-shadow: 0 4px 20px var(--red-soft);
}
.btn-primary:hover { box-shadow: 0 6px 28px var(--red-glow); }

.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover { border-color: var(--red-soft); }

.btn-discord {
    background: var(--discord);
    color: #fff;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover { box-shadow: 0 6px 24px rgba(88, 101, 242, 0.5); }

.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }

/* ==================== UKŁAD STRON ==================== */

.page { padding: clamp(40px, 7vh, 80px) clamp(16px, 4vw, 48px); }

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 820px; }

.page-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.page-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
    border-radius: 3px;
}

.page-sub {
    text-align: center;
    color: var(--muted);
    margin: 14px 0 44px;
}

/* ==================== HERO ==================== */

.page-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: clamp(48px, 9vh, 100px);
}

.hero-glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 60%;
    background: radial-gradient(ellipse at 50% 0%, var(--red-soft), transparent 65%);
    pointer-events: none;
}

.hero { position: relative; max-width: 1100px; margin: 0 auto; }

.hero-logo {
    height: clamp(110px, 18vw, 170px);
    filter: drop-shadow(0 0 30px var(--red-glow));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 6px;
    margin-top: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 30px var(--red-soft);
}

.hero-slogan {
    font-family: var(--font-head);
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red-hot);
    margin-top: 6px;
}

.hero-desc {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel);
    font-size: 0.9rem;
    color: var(--muted);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #555;
}

.server-status.online .status-dot {
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
    animation: pulse 2s ease-in-out infinite;
}

.server-status.offline .status-dot { background: var(--red); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: clamp(44px, 8vh, 80px);
    text-align: left;
}

.hero-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s, border-color 0.2s;
}

.hero-card:hover { transform: translateY(-4px); border-color: var(--red-soft); }

.hero-card h3 {
    font-family: var(--font-head);
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--red-hot);
}

.hero-card p { color: var(--muted); font-size: 0.93rem; }

/* ==================== CHANGELOG ==================== */

.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--red), transparent);
}

.cl-entry { position: relative; padding-bottom: 36px; }
.cl-entry:last-child { padding-bottom: 0; }

.cl-entry::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
}

.cl-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cl-version {
    font-family: var(--font-head);
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.cl-date { color: var(--muted); font-size: 0.88rem; }

.cl-tag {
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 999px;
}

.cl-changes {
    margin-top: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    list-style: none;
}

.cl-changes li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--muted);
}

.cl-changes li::before {
    content: "»";
    position: absolute;
    left: 4px;
    color: var(--red-hot);
    font-weight: 700;
}

.cl-section-title {
    font-family: var(--font-head);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red-hot);
    margin-top: 18px;
    font-size: 1.02rem;
}

.cl-section-title + .cl-changes { margin-top: 8px; }

/* ==================== SKLEP ==================== */

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.shop-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.shop-card:hover { transform: translateY(-5px); border-color: var(--red-soft); }

.shop-card.featured {
    border-color: var(--red);
    box-shadow: 0 0 34px var(--red-soft);
    background: linear-gradient(180deg, rgba(196, 0, 0, 0.08), var(--panel) 40%);
}

.shop-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 999px;
    box-shadow: 0 0 14px var(--red-glow);
}

.shop-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

.shop-price {
    text-align: center;
    margin: 14px 0 22px;
}

.shop-price strong {
    font-family: var(--font-head);
    font-size: 2.4rem;
    color: var(--red-hot);
}

.shop-price span { color: var(--muted); font-size: 0.9rem; }

.shop-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.shop-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--muted);
    font-size: 0.93rem;
    border-bottom: 1px solid var(--border);
}

.shop-features li:last-child { border-bottom: none; }

.shop-features li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    color: var(--red-hot);
    font-weight: 700;
}

.shop-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 34px;
}

/* --- pakiet HYPER: złota, szeroka karta LIFETIME --- */

.shop-card.hyper {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    padding: 30px 36px;
    border-color: #f0a020;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(240, 160, 32, 0.16), transparent 60%),
        linear-gradient(135deg, rgba(120, 60, 0, 0.35), var(--panel) 65%);
    box-shadow: 0 0 34px rgba(240, 160, 32, 0.25);
}

.shop-card.hyper:hover { border-color: #ffc14d; }

.hyper-left { flex-shrink: 0; }

.hyper-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hyper-badge {
    background: linear-gradient(135deg, #ffc14d, #f0a020);
    color: #221200;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(240, 160, 32, 0.55);
}

.shop-card.hyper .shop-name {
    text-align: left;
    color: #ffc14d;
    text-shadow: 0 0 16px rgba(240, 160, 32, 0.4);
}

.shop-card.hyper .shop-price {
    margin: 6px 0 0;
    text-align: left;
    white-space: nowrap;
}

.shop-card.hyper .shop-price strong { color: #ffc14d; }

.shop-card.hyper .shop-features {
    flex: 1;
    margin-bottom: 0;
}

.shop-card.hyper .shop-features li { border-bottom: none; padding: 6px 0 6px 28px; }
.shop-card.hyper .shop-features li::before { content: "✦"; color: #ffc14d; }

@media (max-width: 800px) {
    .shop-card.hyper {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 26px;
    }
    .shop-card.hyper .shop-name,
    .shop-card.hyper .shop-price { text-align: center; }
    .hyper-name-row { justify-content: center; }
}

/* ==================== REGULAMIN ==================== */

.rules-section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 30px;
    margin-bottom: 20px;
}

.rules-section h3 {
    font-family: var(--font-head);
    letter-spacing: 1px;
    color: var(--red-hot);
    margin-bottom: 14px;
}

.rules-section ol {
    list-style: none;
    counter-reset: rule;
}

.rules-section ol li {
    counter-increment: rule;
    padding: 8px 0 8px 40px;
    position: relative;
    color: var(--muted);
    font-size: 0.95rem;
}

.rules-section ol li::before {
    content: counter(rule) ".";
    position: absolute;
    left: 6px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--red);
}

/* ==================== ADMINISTRACJA ==================== */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.staff-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.staff-card:hover { transform: translateY(-4px); border-color: var(--red-soft); }

.staff-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    margin: 0 auto 14px;
    border: 3px solid var(--red-soft);
    object-fit: cover;
    display: block;
}

.staff-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red), #6d0000);
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.staff-name { font-weight: 700; font-size: 1.05rem; }

.staff-role {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 14px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red-hot);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-discord {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.staff-discord svg { width: 15px; height: 15px; opacity: 0.7; }

/* ==================== KONTO ==================== */

.account-login {
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 30px;
}

.account-logo {
    height: 90px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 18px var(--red-soft));
}

.account-login p {
    max-width: 460px;
    margin: 0 auto 26px;
    color: var(--muted);
}

.account-error {
    margin-top: 20px !important;
    color: var(--red-hot) !important;
    font-size: 0.9rem;
}

.account-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--red-soft);
}

.account-header h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.account-tag { color: var(--muted); font-size: 0.88rem; }

.account-header .btn { margin-left: auto; }

.account-unlinked {
    background: var(--panel-2);
    border: 1px dashed var(--red-soft);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.account-unlinked h3 { color: var(--red-hot); margin-bottom: 8px; font-family: var(--font-head); letter-spacing: 1px; }
.account-unlinked p { color: var(--muted); font-size: 0.92rem; max-width: 520px; margin: 0 auto; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
}

.stat-tile {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-wide { grid-column: span 2; }

.stat-value {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--red-hot);
    text-shadow: 0 0 12px var(--red-soft);
}

.stat-label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.chars-title {
    font-family: var(--font-head);
    letter-spacing: 1px;
    margin: 30px 0 14px;
}

.chars-table-wrap { overflow-x: auto; }

.chars-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.chars-table th {
    text-align: left;
    padding: 10px 14px;
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--border);
}

.chars-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.chars-table tr:last-child td { border-bottom: none; }
.chars-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* ==================== LAUNCHER ==================== */

.launcher-hero {
    display: grid;
    grid-template-columns: minmax(300px, 5fr) 7fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(196, 0, 0, 0.12), transparent 55%),
        linear-gradient(135deg, rgba(196, 0, 0, 0.08), var(--panel) 60%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 44px);
    overflow: hidden;
}

.launcher-shot-wrap { position: relative; }

.launcher-shot-wrap::before {
    content: "";
    position: absolute;
    inset: 12% -4%;
    background: radial-gradient(ellipse, var(--red-soft), transparent 70%);
    filter: blur(28px);
}

.launcher-shot {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px var(--red-soft);
}

.launcher-info h3 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.launcher-info > p {
    color: var(--muted);
    margin-top: 10px;
    max-width: 640px;
}

.launcher-info .launcher-meta {
    margin-top: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--red-hot);
}

.launcher-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.launcher-steps-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 44px 0 20px;
}

.launcher-steps {
    list-style: none;
    counter-reset: step;
    max-width: 820px;
    margin: 0 auto;
}

.launcher-steps li {
    counter-increment: step;
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px 20px 78px;
    margin-bottom: 14px;
}

.launcher-steps li::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #8f0000);
    box-shadow: 0 0 14px var(--red-soft);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.launcher-steps h4 {
    font-family: var(--font-head);
    letter-spacing: 1px;
    font-size: 1.05rem;
}

.launcher-steps p {
    color: var(--muted);
    font-size: 0.93rem;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .launcher-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 22px;
    }
    .launcher-info > p { margin-left: auto; margin-right: auto; }
    .launcher-actions { justify-content: center; }
    .launcher-shot-wrap { order: -1; }
}

/* ==================== STOPKA ==================== */

.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 34px clamp(16px, 4vw, 48px) 22px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-logo { height: 34px; }

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--red-hot); }

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
}

.footer-socials a:hover {
    color: var(--red-hot);
    border-color: var(--red-soft);
    transform: translateY(-2px);
}

.footer-socials svg { width: 18px; height: 18px; }

.footer-copy {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 24px;
}

/* ==================== RESPONSYWNOŚĆ ==================== */

@media (max-width: 900px) {
    .nav-burger { display: flex; }

    .nav {
        position: fixed;
        top: 71px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(7, 7, 7, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px 18px;
        margin: 0;
        transform: translateY(-130%);
        transition: transform 0.25s ease;
        z-index: 99;
    }

    .nav.open { transform: translateY(0); }

    .nav-link { padding: 12px 14px; }
    .nav-link.active::after { display: none; }
    .nav-link.active { background: var(--red-soft); }

    .topbar-right { margin-left: auto; }
    #btn-login { padding: 9px 14px; font-size: 0.85rem; }
    #btn-login .ico { width: 17px; height: 17px; }

    .account-header { flex-wrap: wrap; }
    .stat-wide { grid-column: span 1; }
}

@media (max-width: 520px) {
    .brand-name { display: none; }
    #btn-login span { display: none; }
    .user-chip span { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
}
