@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Share+Tech+Mono&display=swap');

:root {
    --bg-deep:      #060b18;
    --bg-cockpit:   #08101f;
    --bg-panel:     #0b1628;
    --bg-screen:    #071020;
    --bg-screen2:   #0a1525;
    --bg-red-panel: #0e0916;

    --cyan:         #0ff5c8;
    --cyan-dim:     rgba(15,245,200,0.6);
    --cyan-border:  rgba(15,245,200,0.22);
    --cyan-glow:    0 0 8px rgba(15,245,200,0.65), 0 0 24px rgba(15,245,200,0.2);
    --cyan-bg:      rgba(15,245,200,0.07);

    --blue-light:   #4db8ff;
    --blue-glow:    0 0 12px rgba(77,184,255,0.5);

    --violet:       #9b6bff;
    --violet-glow:  0 0 8px rgba(155,107,255,0.6), 0 0 20px rgba(155,107,255,0.2);

    --red-alert:    #ff4466;

    --txt-hi:       #cce8ff;
    --txt-mid:      #5a8aaa;
    --txt-lo:       #253a4a;

    --metal-border: rgba(100,160,200,0.15);
}

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

body {
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    background: var(--bg-deep);
    color: var(--txt-hi);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── KOSMOS W TLE ─────────────────────────── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 100% 60% at 50% 0%,   rgba(10,30,80,0.85)  0%, transparent 65%),
        radial-gradient(ellipse 70%  50% at 0%  80%,   rgba(5,10,40,0.7)    0%, transparent 60%),
        radial-gradient(ellipse 60%  40% at 100% 70%,  rgba(8,5,30,0.6)     0%, transparent 60%),
        radial-gradient(ellipse 40%  30% at 50%  100%, rgba(15,180,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image:
        radial-gradient(1px 1px at 7%   9%,  rgba(180,220,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 19%  4%,  rgba(180,220,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 34%  14%, rgba(180,220,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 51%  6%,  rgba(180,220,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 67%  11%, rgba(180,220,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 82%  3%,  rgba(180,220,255,0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 93%  16%, rgba(180,220,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 12%  28%, rgba(180,220,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 44%  22%, rgba(180,220,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 76%  30%, rgba(180,220,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 28% 18%, rgba(15,245,200,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 8%,  rgba(77,184,255,0.35) 0%, transparent 100%);
    pointer-events: none;
}

/* ── NAWIGACJA ────────────────────────────── */
nav {
    position: sticky; top: 0; z-index: 100;
    height: 62px;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(5,9,20,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15,245,200,0.14);
    box-shadow: 0 1px 0 rgba(15,245,200,0.06), 0 4px 30px rgba(0,0,0,0.6);
}

/* Dekoracyjna linia na dole nava */
nav::after {
    content: '';
    position: absolute; bottom: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan) 35%, var(--cyan) 65%, transparent);
    opacity: 0.35;
    filter: blur(0.5px);
}

.nav-brand {
    display: flex; flex-direction: row; align-items: center; gap: 0.6rem;
    text-decoration: none;
}
.nav-brand > div {
    display: flex; flex-direction: column; line-height: 1.2;
}
.nav-logo {
    width: 36px; height: 36px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.nav-brand .label {
    font-size: 0.58rem;
    color: #a8c8d8;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-family: 'Share Tech Mono', monospace;
}
.nav-brand .title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--cyan);
    text-shadow: var(--cyan-glow);
    letter-spacing: 0.06em;
}

.nav-links {
    display: flex; align-items: center; gap: 0.5rem;
}

.nav-btn {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.38rem 0.9rem;
    border-radius: 6px;
    border: 1px solid var(--metal-border);
    background: rgba(255,255,255,0.03);
    color: var(--txt-mid);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.04em;
}
.nav-btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(180,220,255,0.25); color: var(--txt-hi); }
.nav-btn.active {
    background: var(--cyan-bg);
    border-color: var(--cyan-border);
    color: var(--cyan);
    text-shadow: var(--cyan-glow);
}
.nav-btn.login-btn {
    background: rgba(88,101,242,0.1);
    border-color: rgba(88,101,242,0.35);
    color: #818cf8;
}
.nav-btn.login-btn:hover { background: rgba(88,101,242,0.2); box-shadow: 0 0 12px rgba(88,101,242,0.25); }
.nav-btn.logout-btn {
    background: rgba(255,68,102,0.07);
    border-color: rgba(255,68,102,0.28);
    color: var(--red-alert);
}
.nav-btn.logout-btn:hover { background: rgba(255,68,102,0.15); }

.nav-user { display: flex; align-items: center; gap: 0.6rem; }
.nav-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--cyan-border);
    box-shadow: var(--cyan-glow);
}
.nav-username {
    font-size: 0.8rem; color: var(--txt-hi);
    font-family: 'Share Tech Mono', monospace;
}
.admin-badge {
    font-size: 0.58rem;
    background: var(--cyan-bg);
    border: 1px solid var(--cyan-border);
    color: var(--cyan);
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: var(--cyan-glow);
}

/* ── PASEK LIVE ───────────────────────────── */
.live-bar, .offline-bar {
    position: relative; z-index: 98;
    display: flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    padding: 0.55rem 1.5rem;
    font-size: 0.78rem;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.04em;
    transition: opacity 0.3s;
}
.live-bar--hidden, .offline-bar--hidden { display: none; }

/* LIVE */
.live-bar {
    background: linear-gradient(90deg, rgba(0,200,80,0.08) 0%, rgba(0,200,80,0.13) 50%, rgba(0,200,80,0.08) 100%);
    border-bottom: 1px solid rgba(0,220,90,0.2);
    box-shadow: 0 2px 20px rgba(0,200,80,0.08);
}
.live-bar-link {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; color: inherit;
}
.live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #00e056;
    box-shadow: 0 0 6px rgba(0,224,86,0.9), 0 0 14px rgba(0,224,86,0.5);
    animation: pulse-live 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 6px rgba(0,224,86,0.9), 0 0 14px rgba(0,224,86,0.5); }
    50%       { box-shadow: 0 0 10px rgba(0,224,86,1),   0 0 24px rgba(0,224,86,0.7); }
}
.live-label {
    color: #00e056;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
}
.live-title {
    color: var(--txt-hi);
    max-width: 320px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-viewers { color: var(--txt-mid); font-size: 0.72rem; }
.live-cta {
    color: #00e056;
    font-size: 0.72rem;
    margin-left: 0.3rem;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.live-bar-link:hover .live-cta { opacity: 1; }
.live-divider { color: var(--txt-lo); }

/* OFFLINE */
.offline-bar {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.offline-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #ff4466;
    box-shadow: 0 0 6px rgba(255,68,102,0.6);
    flex-shrink: 0;
}
.offline-label { color: #e0e0e0; font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 700; }
.offline-sub { color: #a0c8e0; font-size: 0.72rem; }
.offline-sub a { color: #53fc18; text-decoration: none; }
.offline-sub a:hover { text-decoration: underline; }
.offline-last-title { color: var(--txt-hi); font-size: 0.7rem; }
.offline-last-date  { color: var(--txt-lo); font-size: 0.68rem; }
.offline-kick-link  { color: var(--cyan); text-decoration: none; font-size: 0.72rem; }
.offline-kick-link:hover { text-decoration: underline; }

/* ── MAIN ─────────────────────────────────── */
main {
    max-width: 1200px; margin: 0 auto;
    padding: 2.5rem 1.5rem;
    position: relative; z-index: 1;
    min-height: calc(100vh - 200px);
}

/* ── SECTION HEADER ROW ───────────────────── */
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.section-header-row .section-title { margin-bottom: 0; }

.btn-donate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: rgba(83,252,24,0.1);
    border: 1px solid rgba(83,252,24,0.4);
    color: #53fc18;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
    margin-bottom: 0.3rem;
}
.btn-donate:hover {
    background: rgba(83,252,24,0.2);
    box-shadow: 0 0 16px rgba(83,252,24,0.3);
}

/* ── PRZYCISK DONATE FIXED ────────────────── */
.btn-donate-fixed {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg) translateX(-50%);
    transform-origin: left center;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    background: rgba(83,252,24,0.12);
    border: 1px solid rgba(83,252,24,0.4);
    border-bottom: none;
    color: #53fc18;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 90;
    border-radius: 0 0 8px 8px;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-donate-fixed:hover {
    background: rgba(83,252,24,0.22);
    box-shadow: 0 0 20px rgba(83,252,24,0.3);
}

/* ── SECTION HEADER ───────────────────────── */
.section-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--cyan-dim);
    margin-bottom: 0.4rem;
    font-family: 'Share Tech Mono', monospace;
    display: flex; align-items: center; gap: 0.6rem;
}
.section-label::before {
    content: '';
    display: inline-block; width: 18px; height: 1px;
    background: var(--cyan);
    box-shadow: var(--cyan-glow);
}

.section-title {
    font-size: 2rem; font-weight: 800;
    color: var(--txt-hi);
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}
.section-title span { color: var(--cyan); text-shadow: var(--cyan-glow); }

/* ── PRICING BLOCK — ekran jak w cockpicie ── */
.pricing-block {
    position: relative;
    background: linear-gradient(175deg, #0c1830 0%, #08101e 50%, #070d1a 100%);
    border: 1px solid rgba(15,245,200,0.18);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(15,245,200,0.04),
        0 0 60px rgba(0,10,40,0.8),
        0 0 120px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(15,245,200,0.15),
        inset 0 0 80px rgba(10,30,80,0.3);
}

/* Górna poświata ekranu */
.pricing-block::before {
    content: '';
    position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan) 40%, var(--cyan) 60%, transparent);
    opacity: 0.55; filter: blur(0.5px); z-index: 2;
}

/* Scan-linie jak na monitorze CRT */
.pricing-block::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px, transparent 2px,
        rgba(10,245,200,0.018) 2px, rgba(10,245,200,0.018) 3px
    );
    pointer-events: none;
}

.pricing-block-inner {
    position: relative; z-index: 2;
    padding: 1.75rem 2rem;
}

/* ── CURRENCY SWITCHER ────────────────────── */
.pricing-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.currency-switcher {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 3px;
}
.currency-btn {
    padding: 0.38rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--txt-mid);
    font-size: 0.75rem; font-weight: 700;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.1em; text-transform: uppercase;
    transition: all 0.18s;
}
.currency-btn.active {
    background: var(--cyan-bg);
    border-color: var(--cyan-border);
    color: var(--cyan);
    box-shadow: var(--cyan-glow);
}
.currency-btn:hover:not(.active) {
    color: var(--txt-hi);
    background: rgba(255,255,255,0.06);
}

/* ── PRICING GRID ─────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 1.75rem;
}
.pricing-column { display: flex; flex-direction: column; gap: 0.5rem; }

.column-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.65rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(15,245,200,0.1);
    position: relative;
}
/* świecący akcent na dole headera kolumny */
.column-header::after {
    content: '';
    position: absolute; bottom: -1px; left: 0; width: 32px; height: 1px;
    background: var(--cyan);
    filter: blur(1px);
    box-shadow: var(--cyan-glow);
}
.column-title {
    font-size: 0.82rem; font-weight: 700;
    color: var(--cyan);
    text-shadow: var(--cyan-glow);
    letter-spacing: 0.12em; text-transform: uppercase;
    font-family: 'Share Tech Mono', monospace;
}
.cat-actions { display: flex; gap: 0.3rem; }
.cat-actions button {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem; font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: all 0.15s; background: transparent;
}
.column-badge {
    font-size: 0.58rem; font-weight: 700;
    padding: 0.16rem 0.55rem; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.14em;
    font-family: 'Share Tech Mono', monospace;
}

/* ── KARTA POZYCJI ────────────────────────── */
.pricing-item {
    background: var(--bg-screen);
    border: 1px solid rgba(15,245,200,0.09);
    border-left: 2px solid rgba(15,245,200,0.22);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem;
    transition: background 0.18s, border-left-color 0.18s, box-shadow 0.18s;
    position: relative; overflow: hidden;
}
/* narożna poświata */
.pricing-item::after {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 50px; height: 50px;
    background: radial-gradient(circle at top right, rgba(15,245,200,0.05), transparent 70%);
    pointer-events: none;
}
.pricing-item:hover {
    background: var(--bg-screen2);
    border-left-color: var(--cyan);
    box-shadow: -3px 0 14px rgba(15,245,200,0.15), inset 0 0 30px rgba(15,245,200,0.02);
}

.pricing-item.torture {
    background: var(--bg-red-panel);
    border: 1px solid rgba(155,107,255,0.1);
    border-left: 2px solid rgba(155,107,255,0.28);
}
.pricing-item.torture::after {
    background: radial-gradient(circle at top right, rgba(155,107,255,0.06), transparent 70%);
}
.pricing-item.torture:hover {
    background: #110c1c;
    border-left-color: var(--violet);
    box-shadow: -3px 0 14px rgba(155,107,255,0.18), inset 0 0 30px rgba(155,107,255,0.02);
}

/* ── DRAG HANDLE ──────────────────────────── */
.drag-handle {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin: -2rem 0.5rem -2rem -1rem;
    padding: 2rem 0.5rem 2rem 1rem;
    color: var(--txt-lo);
    cursor: grab;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.15s, color 0.15s;
    touch-action: none;
}
.pricing-item:hover .drag-handle { opacity: 0.8; }
.drag-handle:hover { color: var(--cyan); opacity: 1; }
.drag-handle:active { cursor: grabbing; }

.sortable-ghost {
    opacity: 0.35;
    background: rgba(15,245,200,0.05) !important;
    border-left-color: var(--cyan) !important;
}
.sortable-drag { opacity: 0.9; }

.item-left { flex: 1; min-width: 0; }
.item-name {
    font-size: 0.94rem; font-weight: 600;
    color: var(--txt-hi);
    margin-bottom: 0.2rem;
}
.item-duration {
    font-size: 0.7rem;
    color: var(--cyan-dim);
    margin-bottom: 0.3rem;
    font-family: 'Share Tech Mono', monospace;
}
.pricing-item.torture .item-duration { color: rgba(155,107,255,0.7); }
.item-desc {
    font-size: 0.78rem; color: var(--txt-mid); line-height: 1.5;
}

.item-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem;
    flex-shrink: 0;
}
.item-price {
    font-size: 0.98rem; font-weight: 700;
    color: var(--cyan);
    text-shadow: var(--cyan-glow);
    white-space: nowrap; letter-spacing: 0.04em;
    font-family: 'Share Tech Mono', monospace;
}
.pricing-item.torture .item-price {
    color: var(--violet);
    text-shadow: var(--violet-glow);
}
.checkbox-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--txt-mid);
    font-size: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.06em;
    cursor: pointer;
    user-select: none;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    transition: all 0.15s;
}
.checkbox-label:hover {
    border-color: rgba(15,245,200,0.3);
    color: var(--txt-hi);
}
.checkbox-label input[type="checkbox"] {
    display: none;
}
.checkbox-box {
    width: 14px; height: 14px;
    border: 1px solid rgba(15,245,200,0.3);
    border-radius: 3px;
    background: transparent;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
}
.checkbox-label input[type="checkbox"]:checked ~ .checkbox-box {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: var(--cyan-glow);
}
.checkbox-label input[type="checkbox"]:checked ~ .checkbox-box::after {
    content: '';
    position: absolute;
    left: 3px; top: 1px;
    width: 5px; height: 8px;
    border: 2px solid #000;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
.checkbox-label:has(input:checked) {
    border-color: rgba(15,245,200,0.35);
    color: var(--cyan);
    background: rgba(15,245,200,0.05);
}

.price-sep {
    color: var(--txt-lo);
    margin: 0 0.2rem;
    font-weight: 400;
}

.item-actions { display: flex; gap: 0.3rem; }
.item-actions button {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem; font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: all 0.15s; background: transparent;
}
.btn-edit  { border-color: rgba(15,245,200,0.3) !important; color: var(--cyan); }
.btn-edit:hover  { background: rgba(15,245,200,0.1) !important; box-shadow: var(--cyan-glow); }
.btn-delete { border-color: rgba(255,68,102,0.3) !important; color: var(--red-alert); }
.btn-delete:hover { background: rgba(255,68,102,0.1) !important; }

/* ── PRZYCISKI DODAWANIA ──────────────────── */
.btn-add-item {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.5rem; width: 100%;
    border: 1px dashed rgba(15,245,200,0.18); border-radius: 8px;
    background: transparent; color: var(--txt-lo);
    font-size: 0.72rem; cursor: pointer; transition: all 0.15s;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.btn-add-item:hover { border-color: var(--cyan-border); color: var(--cyan); background: var(--cyan-bg); }

.btn-add-category {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.2rem; margin-top: 0.75rem;
    border: 1px dashed rgba(15,245,200,0.18); border-radius: 8px;
    background: transparent; color: var(--txt-lo);
    font-size: 0.75rem; cursor: pointer; transition: all 0.15s;
    font-family: 'Share Tech Mono', monospace;
}
.btn-add-category:hover { border-color: var(--cyan-border); color: var(--cyan); }

/* ── MODAL ────────────────────────────────── */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(2,6,16,0.88);
    backdrop-filter: blur(10px);
    z-index: 200;
    align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
    background: linear-gradient(160deg, #0c1830, #08101e);
    border: 1px solid rgba(15,245,200,0.2);
    border-radius: 12px;
    padding: 2rem; width: 100%; max-width: 480px; margin: 1rem;
    box-shadow: 0 0 80px rgba(0,0,0,0.9), 0 0 40px rgba(15,245,200,0.05);
    position: relative; overflow: hidden;
}
.modal::before {
    content: '';
    position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.45;
}
.modal-title {
    font-size: 0.92rem; font-weight: 700;
    color: var(--cyan); text-shadow: var(--cyan-glow);
    margin-bottom: 1.4rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    font-family: 'Share Tech Mono', monospace;
}

.form-group { margin-bottom: 0.9rem; }
.form-label {
    display: block; font-size: 0.66rem; color: var(--txt-mid);
    margin-bottom: 0.36rem;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.12em; text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 0.55rem 0.85rem;
    background: rgba(15,245,200,0.03);
    border: 1px solid rgba(15,245,200,0.14);
    border-radius: 6px;
    color: var(--txt-hi); font-size: 0.88rem;
    font-family: 'Exo 2', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: rgba(15,245,200,0.5);
    box-shadow: 0 0 0 2px rgba(15,245,200,0.07);
}
.form-textarea { resize: vertical; min-height: 74px; }
.form-select option { background: #0c1830; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.4rem; }
.btn-primary {
    padding: 0.48rem 1.2rem;
    background: var(--cyan-bg); border: 1px solid rgba(15,245,200,0.45);
    color: var(--cyan); border-radius: 6px;
    font-size: 0.75rem; font-weight: 700;
    font-family: 'Share Tech Mono', monospace; letter-spacing: 0.08em;
    cursor: pointer; transition: all 0.15s; text-transform: uppercase;
}
.btn-primary:hover { background: rgba(15,245,200,0.14); box-shadow: var(--cyan-glow); }
.btn-secondary {
    padding: 0.48rem 1.2rem;
    background: transparent; border: 1px solid rgba(255,255,255,0.08);
    color: var(--txt-lo); border-radius: 6px;
    font-size: 0.75rem;
    font-family: 'Share Tech Mono', monospace; letter-spacing: 0.05em;
    cursor: pointer; transition: all 0.15s; text-transform: uppercase;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.18); color: var(--txt-mid); }

/* ── ALERTY ───────────────────────────────── */
.alert {
    padding: 0.7rem 1rem; margin-bottom: 1.5rem;
    font-size: 0.76rem; border-radius: 6px;
    font-family: 'Share Tech Mono', monospace; letter-spacing: 0.04em;
}
.alert-error  { background: rgba(255,68,102,0.08); border-left: 2px solid var(--red-alert); color: var(--red-alert); }
.alert-success { background: rgba(15,245,200,0.07); border-left: 2px solid var(--cyan); color: var(--cyan); }

/* ── STRONA LOGOWANIA ─────────────────────── */
.login-page {
    display: flex; align-items: center; justify-content: center;
    min-height: calc(100vh - 62px);
}
.login-card {
    background: linear-gradient(160deg, #0c1830, #08101e);
    border: 1px solid rgba(15,245,200,0.2);
    border-radius: 14px;
    padding: 2.5rem; text-align: center;
    max-width: 360px; width: 100%;
    box-shadow: 0 0 80px rgba(0,0,0,0.8), 0 0 30px rgba(15,245,200,0.05);
    position: relative; overflow: hidden;
}
.login-card::before {
    content: '';
    position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.45;
}
.discord-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.login-card h2 {
    font-size: 1.1rem; font-weight: 700;
    color: var(--cyan); text-shadow: var(--cyan-glow);
    margin-bottom: 0.5rem;
}
.login-card p { color: var(--txt-mid); font-size: 0.82rem; margin-bottom: 1.5rem; line-height: 1.6; }
.btn-discord {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    width: 100%; padding: 0.7rem;
    background: rgba(88,101,242,0.14);
    color: #a5b4fc;
    border: 1px solid rgba(88,101,242,0.45);
    border-radius: 8px;
    font-size: 0.82rem; font-weight: 700;
    font-family: 'Share Tech Mono', monospace; letter-spacing: 0.08em;
    cursor: pointer; text-decoration: none; text-transform: uppercase;
    transition: all 0.15s;
}
.btn-discord:hover { background: rgba(88,101,242,0.25); box-shadow: 0 0 20px rgba(88,101,242,0.3); }

/* ── FOOTER ───────────────────────────────── */
footer {
    position: relative; z-index: 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(15,245,200,0.08);
    background: rgba(4,8,18,0.6);
    padding: 1.5rem 2rem;
    text-align: center;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-copy {
    font-size: 0.78rem;
    color: var(--txt-mid);
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.05em;
}
.footer-desc {
    font-size: 0.74rem;
    color: var(--txt-hi);
    opacity: 0.35;
    line-height: 1.6;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 700px) {
    .pricing-grid { grid-template-columns: 1fr; }
    nav { padding: 0 1rem; }
    main { padding: 1.5rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .pricing-block-inner { padding: 1.25rem; }
    .nav-links { gap: 0.25rem; }
    .nav-btn { padding: 0.32rem 0.6rem; font-size: 0.72rem; }
}
