/* --- ZMIENNE I PODSTAWY --- */
:root {
    --bg-color: #ffffff;
    --text-main: #333333;
    --text-muted: #777777;
    --accent-red: #e63946;
    --discord-blue: #1eed40; /* Zgodnie z Twoim kolorem (zielony) */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Blokada przewijania przy starcie (dla loadera) */
body.loading {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pixel-font {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
}

/* --- NAWIGACJA --- */
.navbar {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { height: 30px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--text-main); }

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero-logo {
    max-width: 400px;
    margin-bottom: 30px;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.btn-discord {
    background-color: var(--discord-blue);
    color: white;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.btn-discord:hover { 
    opacity: 0.9; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 237, 64, 0.4);
}

/* --- SEKCJE I GRID --- */
section {
    padding: 60px 0;
    scroll-margin-top: 80px; 
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    justify-content: center;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* --- KARTY (FEATURE & CREATOR) --- */
.info-card, .feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.info-card:hover, .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-card h3 { font-size: 1rem; margin: 15px 0 5px; }
.info-card p { font-size: 0.8rem; color: var(--text-muted); }

/* Odznaki i Ikonki */
.feature-card .badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-red);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.icon-box {
    background: #fff0f0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 28px;
}

.feature-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- TWÓRCY (SKINY) --- */
.creator-card {
    padding: 25px 15px;
}

.image-container {
    width: 100%;
    height: 80px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: none;
}

.creator-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* --- STOPKA --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links h5 { margin-bottom: 15px; }
.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-links a:hover { color: var(--accent-red); padding-left: 5px; }

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid #f9f9f9;
    padding-top: 20px;
}

/* --- LOADER (KRWAWE BARIERY) --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.barrier {
    position: fixed;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #8a0303;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.barrier.top { top: 0; border-bottom: 3px solid #ff0000; }
.barrier.bottom { bottom: 0; border-top: 3px solid #ff0000; }

.loader-logo {
    position: relative;
    z-index: 2;
    max-width: 250px;
    transform: scale(0);
    animation: logoZoom 1.5s forwards ease-out;
}

@keyframes logoZoom {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

#loader.loaded .barrier.top { transform: translateY(-100%); }
#loader.loaded .barrier.bottom { transform: translateY(100%); }
#loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }