/* ================================================================
   CYCKI.NEOCITIES.ORG — style-base.css
   Wersja: 1.0
   Użycie: <link rel="stylesheet" href="/style-base.css">
   ================================================================ */

@font-face {
    font-family: 'IBM_VGA';
    src: url('/Web437_IBM_VGA_9x16.woff') format('woff');
    font-display: swap;
}

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

/* ---- ZMIENNE ---- */
:root {
    --c-bg:       #000000;
    --c-text:     #eecbad;
    --c-muted:    #bbb;
    --c-dim:      #555;
    --c-border:   #1a1a1a;
    --c-border2:  #2a2a2a;
    --c-green:    #00ff65;
    --c-red:      #ff4444;
    --font-main:  'IBM_VGA', 'VT323', 'Courier New', monospace;
    --font-head:  'Press Start 2P', monospace;
}

/* ---- BODY ---- */
body {
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--c-text);
    /* TLO: kosmos.gif — identyczne dla JS i noscript */
    background-color: #000;
    background-image: url('/kosmos.gif');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Delikatna mglawica bez animacji — nie rozprasza */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 40%, rgba(10,5,30,0.5) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(5,10,35,0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 85%, rgba(20,8,20,0.35) 0%, transparent 45%);
}

/* Caly content lezy nad mgławica */
body > * { position: relative; z-index: 1; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar       { width: 12px; background: #000; }
::-webkit-scrollbar-thumb { background: #fff; border: 2px solid #000; }
::-webkit-scrollbar-track { background: #000; }
scrollbar-color: #fff #000;

/* ---- ZAZNACZENIE ---- */
/* Zaznaczenie — prawdziwy negatyw przez mix-blend-mode */
::selection {
    background: #fff;
    color: #000;
    mix-blend-mode: difference;
}

/* ================================================================
   NAV
   ================================================================ */
.nav-container {
    width: 100%;
    background-image: url('https://florian.zasmsa.pl/szum.gif');
    background-repeat: repeat;
    background-size: 200px;
    border-bottom: 3px solid var(--c-text);
    box-shadow: 0 3px 0 0 #000, 0 4px 0 0 var(--c-text);
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    justify-content: center;
}
.nav-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
    pointer-events: none;
}
ul.main-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.menu-item { position: relative; }
.menu-item > a {
    display: block;
    color: var(--c-text);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 15px;
    padding: 10px 16px;
    white-space: nowrap;
    border-right: 1px solid #2a2a2a;
}
.menu-item > a:hover,
.menu-item:hover > a {
    background: var(--c-text);
    color: #000;
    outline: 2px solid #fff;
    outline-offset: -2px;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #888;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    border: 2px solid var(--c-text);
    box-shadow: 2px 2px 0 var(--c-text), 4px 4px 0 #000;
    min-width: 230px;
    z-index: 999;
}
.menu-item:hover .dropdown { display: block; }
.dropdown a {
    display: block;
    padding: 7px 14px;
    border-bottom: 1px solid #1a1a1a;
    font-size: 14px;
    color: var(--c-text);
    text-decoration: none;
    font-family: var(--font-main);
    white-space: nowrap;
}
.dropdown a:hover { background: var(--c-text); color: #000; }
.dropdown-sep { border-bottom: 1px solid #2a2a2a !important; height: 0; padding: 0 !important; }

/* ================================================================
   LAYOUT
   ================================================================ */
.content-wrapper {
    max-width: 860px;
    margin: 40px auto 60px;
    background: rgba(0,0,0,0.84);
    border: 2px solid var(--c-border);
    padding: 32px 36px;
    line-height: 1.9;
}
.content-wrapper h1 {
    font-family: var(--font-head);
    font-size: 11px;
    color: var(--c-text);
    letter-spacing: 3px;
    border-bottom: 1px solid var(--c-border2);
    padding-bottom: 10px;
    margin-bottom: 24px;
    line-height: 1.9;
}
.content-wrapper h2 {
    font-family: var(--font-head);
    font-size: 9px;
    color: var(--c-text);
    letter-spacing: 2px;
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 5px;
    margin: 28px 0 12px;
}
.content-wrapper h3 {
    font-family: var(--font-head);
    font-size: 8px;
    color: var(--c-dim);
    letter-spacing: 2px;
    margin: 20px 0 8px;
}
.content-wrapper p  { color: var(--c-muted); font-size: 15px; margin-bottom: 10px; }
.content-wrapper a  { color: var(--c-text); }
.content-wrapper strong { color: var(--c-text); }
.content-wrapper pre {
    background: #050505;
    border-left: 3px solid var(--c-text);
    padding: 12px 16px;
    font-size: 13px;
    color: #888;
    overflow-x: auto;
    margin: 14px 0;
}
.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 14px 0;
}
.content-wrapper th {
    background: #0a0a0a;
    color: var(--c-text);
    padding: 8px 12px;
    text-align: left;
    border: 1px solid var(--c-border2);
    font-family: var(--font-head);
    font-size: 8px;
}
.content-wrapper td {
    padding: 7px 12px;
    border: 1px solid var(--c-border);
    color: #aaa;
    vertical-align: top;
}
.content-wrapper tr:hover td { background: #050505; }
.content-wrapper code {
    background: #0a0a0a;
    padding: 2px 6px;
    color: var(--c-text);
    font-family: var(--font-main);
    font-size: 14px;
}
.content-wrapper blockquote {
    border-left: 3px solid var(--c-text);
    padding-left: 16px;
    margin: 16px 0;
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* ================================================================
   KOMPONENTY
   ================================================================ */

/* Przyciski */
.btn {
    display: inline-block;
    background: var(--c-text);
    color: #000;
    border: none;
    padding: 8px 18px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { background: #fff; color: #000; }
.btn-ghost {
    background: transparent;
    color: var(--c-dim);
    border: 1px solid var(--c-border2);
}
.btn-ghost:hover { color: #aaa; background: transparent; }
.btn-red {
    background: #4a0000;
    color: #ff6666;
    border: 1px solid #3a0000;
}
.btn-red:hover { background: #600000; }

/* Blink */
.blink { animation: blinker 1s linear infinite; color: var(--c-red); }
@keyframes blinker { 50% { opacity: 0; } }

/* Footer */
.footer-info {
    margin-top: 28px;
    font-size: 9px;
    color: #222;
    text-align: center;
    font-family: var(--font-head);
    letter-spacing: 2px;
    line-height: 2.2;
}

/* Info boxy */
.box-info {
    background: rgba(0,255,100,0.04);
    border: 1px solid #0a2a0a;
    padding: 14px 16px;
    margin: 16px 0;
    font-size: 14px;
    color: #4a8a5a;
}
.box-warn {
    background: rgba(255,68,68,0.06);
    border: 1px solid #3a1a1a;
    padding: 14px 16px;
    margin: 16px 0;
    font-size: 14px;
    color: #cc6666;
}
.box-note {
    background: rgba(238,203,173,0.04);
    border: 1px solid #2a2a1a;
    padding: 14px 16px;
    margin: 16px 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Changelog */
.changelog-entry { border-left: 2px solid var(--c-border); padding-left: 14px; margin-bottom: 18px; }
.changelog-entry .date { color: var(--c-text); font-size: 13px; margin-bottom: 4px; }
.changelog-entry ul { color: var(--c-dim); font-size: 13px; padding-left: 14px; }
.changelog-entry ul li { margin-bottom: 2px; }
.changelog-entry ul li.todo::before { content: '[ ] '; color: #2a2a2a; }
.changelog-entry ul li.done { color: #3a7a4a; }
.changelog-entry ul li.done::before { content: '[x] '; }

/* Donate */
.donate-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--c-border);
}
.donate-text { font-size: 14px; color: #666; flex: 1; line-height: 1.9; }
.donate-text strong { color: var(--c-text); word-break: break-all; }
.donate-img { width: 76px; height: auto; margin-left: 18px; opacity: 0.6; }

/* ================================================================
   NOSCRIPT FALLBACK NAV
   ================================================================ */
.noscript-nav {
    background: #000;
    border-bottom: 3px solid var(--c-text);
    padding: 10px;
    text-align: center;
    font-family: var(--font-main);
    font-size: 13px;
}
.noscript-nav a { color: var(--c-text); margin: 0 8px; text-decoration: none; }
.noscript-nav a:hover { text-decoration: underline; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .content-wrapper { padding: 18px 14px; margin: 16px 6px 40px; }
    .donate-section  { flex-direction: column; }
    .donate-img      { margin: 14px 0 0; }
}