/* retro_style.css - Modern Warm Retro Edition */
:root {
    --bg-color: #1e1a17;      /* Ciemny, głęboki brąz */
    --card-bg: #2d2621;       /* Czekoladowy brąz kart */
    --accent-wood: #c69363;   /* Miedziano-dębowy akcent */
    --text-main: #e2d7cc;     /* Ciepły kremowy */
    --text-muted: #a39385;    /* Przygaszony taupe */
    --border-color: #4a3f37;  /* Brąz obramowania */
    --header-bg: #14110f;     /* Najciemniejszy brąz tła nagłówka */
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif; /* Czytelna czcionka bezszeryfowa */
    font-size: 0.95rem;
    line-height: 1.5;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 50%, transparent 50%);
    background-size: 100% 4px;
}

/* Nagłówek i Nawigacja */
header {
    background: var(--header-bg);
    border-bottom: 3px solid var(--accent-wood);
    padding: 25px 0;
}

header h1 {
    margin: 0 0 15px 0;
    color: var(--accent-wood);
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    text-shadow: 2px 2px 0px #000;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

nav a {
    color: var(--text-muted);
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s;
    text-transform: uppercase;
}

nav a:hover, nav a.active {
    color: var(--accent-wood);
}

/* Kontenery i Karty */
.container {
    max-width: 950px;
    margin: 25px auto;
    padding: 0 15px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
    padding: 25px;
    border-radius: 2px;
}

h2 {
    font-family: 'Press Start 2P', cursive;
    color: var(--accent-wood);
    font-size: 1rem;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent-wood);
    padding-left: 12px;
}

/* Lista Elementów (Konsole, Komputery itp.) */
.console-item {
    margin-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.console-item:last-child { 
    border-bottom: none; 
}

.console-img {
    width: 100px; /* Kwadrat 100x100 */
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
    transition: 0.3s;
    flex-shrink: 0;
}

.console-img:hover {
    border-color: var(--accent-wood);
    transform: scale(1.05);
}

.console-text {
    flex-grow: 1;
}

.console-text h3 {
    margin: 0 0 8px 0;
    color: var(--accent-wood);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.console-text p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.95rem;
    white-space: pre-line;
}

/* Formularze (Panel Admina) */
form {
    display: flex; 
    flex-direction: column; 
    gap: 15px;
}

input[type="text"], input[type="password"], textarea, select {
    background: #1a1512; 
    color: var(--text-main); 
    border: 1px solid var(--border-color); 
    padding: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

button[type="submit"], button {
    background: var(--accent-wood); 
    color: #1a1512; 
    border: none; 
    padding: 12px; 
    font-family: 'Press Start 2P', cursive; 
    font-size: 0.7rem;
    cursor: pointer;
    text-transform: uppercase;
}

button:hover {
    filter: brightness(1.2);
}

/* Efekty */
.blink { 
    animation: blinker 1s linear infinite; 
}

@keyframes blinker { 
    50% { opacity: 0; } 
}

/* Responsywność */
@media (max-width: 600px) {
    header h1 { font-size: 1.1rem; }
    .console-item { flex-direction: column; align-items: center; text-align: center; }
    .console-img { width: 150px; height: 150px; } /* Większe na komórkach */
}