/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== GLOBAL ===== */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #05060a;
    color: #e6e6e6;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: #b366ff;
    letter-spacing: 0.5px;
}

a {
    color: #b366ff;
    text-decoration: none;
    transition: 0.3s;
}
a:hover {
    color: #d9b3ff;
}

/* ===== NAV ===== */
nav {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(12px);
    padding: 14px 30px;
    display: flex;
    justify-content: center;
    gap: 35px;
    z-index: 1000;
    border-bottom: 1px solid #1f1f2e;
}
nav a {
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 4px;
}
nav a:hover {
    border-bottom: 2px solid #b366ff;
}

/* ===== HEADER ===== */
.header {
    height: 320px;
    background: radial-gradient(circle at top, #1b1230 0, #05060a 55%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}
.header h1 {
    font-size: 40px;
    text-shadow: 0 0 18px #b366ff;
}
.header p {
    margin-top: 10px;
    max-width: 700px;
    color: #c9c9d9;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 35px auto 50px;
    padding: 0 20px;
}

/* ===== BOX ===== */
.box {
    background: rgba(255,255,255,0.03);
    border: 1px solid #1f1f2e;
    padding: 20px 22px;
    border-radius: 14px;
    margin-bottom: 24px;
    transition: 0.3s;
}
.box:hover {
    transform: translateY(-4px);
    border-color: #b366ff;
}

/* ===== GRID ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ===== TAGI ===== */
.tags {
    margin-top: 15px;
}
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #151628;
    font-size: 11px;
    margin-right: 6px;
    margin-bottom: 4px;
    color: #d0d0e0;
}

/* ===== TABELA ===== */
.table-wrapper {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}
th, td {
    border: 1px solid #26263a;
    padding: 8px 10px;
    text-align: left;
}
th {
    background: #151628;
    color: #f0f0ff;
}
tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* ===== ANIMACJE ===== */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeIn 0.8s forwards;
}
.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 18px;
    font-size: 13px;
    color: #8a8aa0;
    border-top: 1px solid #1f1f2e;
    background: #05060a;
}
