* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Burbank';
    src: url('czcionki/Burbank Big Condensed Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sans';
    src: url('czcionki/JosefinSans-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: white;
    font-family: 'Sans', Arial, sans-serif;
    background-color: #1f1e1e;
    overflow-x: hidden;
}

/* --- TŁO I CZĄSTECZKI --- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(-45deg, #1a1a1a, #2c3e50, #1a1a1a, #34495e);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    z-index: -2;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.particles .particle {
    position: absolute;
    bottom: -150px;
    background-color: rgba(0, 191, 255, 0.3);
    border-radius: 50%;
    animation: float 25s infinite linear;
    z-index: -1;
    width: 5px;
    height: 5px;
}

@keyframes float {
    from { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    to { transform: translateY(-120vh) rotate(720deg); opacity: 0; }
}


/* --- NAWIGACJA --- */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(20, 20, 20, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: top 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-links li { margin: 0 15px; }

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Sans', sans-serif;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00bfff;
    transition: width 0.3s ease;
}

.nav-link:hover { color: #00bfff; }
.nav-link:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

/* --- SEKCJA GŁÓWNA (HERO) --- */
.slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ZMIANA: Wyrównanie do lewej */
    padding: 0 8%; /* ZMIANA: Większy margines od krawędzi */
}

/* ZMIANA: Dodany overlay dla lepszej czytelności tekstu */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.slide.active { opacity: 1; }

.slide-content {
    text-align: left; /* ZMIANA: Wyrównanie tekstu do lewej */
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease-out 0.5s forwards;
    position: relative; /* ZMIANA: Ustawienie pozycji */
    z-index: 2; /* ZMIANA: Tekst nad overlayem */
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.slide-content h1 {
    font-family: 'Burbank', sans-serif;
    font-size: 4.5rem; /* ZMIANA: Lekko powiększony */
    /* ZMIANA: Mocniejszy cień dla czytelności */
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.6rem; /* ZMIANA: Lekko powiększony */
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: 'Sans', Arial, sans-serif;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
}

.btn {
    background: #e67e22;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Burbank', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover { background-color: #d35400; transform: scale(1.05); }

/* --- GŁÓWNY KONTENER I SEKCJE --- */

/* ZMIANA: Styl dla nowego kontenera <main> */
main {
    max-width: 1400px; /* Maksymalna szerokość treści */
    margin: 0 auto; /* Centrowanie kontenera */
    padding: 0 40px; /* Marginesy boczne */
}

section {
    padding: 80px 0; /* ZMIANA: Usunięty boczny padding z sekcji */
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible { opacity: 1; transform: translateY(0); }
#home { opacity: 1; transform: none; padding: 0; } /* Reset dla sekcji hero */

.section-title {
    font-family: 'Burbank', sans-serif;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #00bfff;
    text-transform: uppercase;
}

/* --- SKLEP --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.shop-item {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.shop-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.shop-item h3, .shop-item p {
    position: absolute;
    left: 15px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    font-family: 'Burbank', sans-serif;
    text-align: left;
}

.shop-item h3 { font-size: 1.8rem; bottom: 45px; }
.shop-item p { font-size: 1.4rem; bottom: 15px; display: flex; align-items: center; }
.shop-item p::after {
    content: ''; display: inline-block; width: 24px; height: 24px;
    background-image: url('media/v-dolce-logo.png');
    background-size: contain; background-repeat: no-repeat; margin-left: 8px;
}

/* --- STATUS SERWERÓW --- */
.status-container {
    max-width: 600px;
    margin: 0 auto;
    background: #2a2a2a;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.status-card .status-title {
    font-family: 'Burbank', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

#server-status-text {
    padding: 15px; border-radius: 10px; font-weight: bold;
    font-size: 1.2rem; transition: background-color 0.5s ease, color 0.5s ease; display: block;
}

.status-online { background-color: #2ecc71; color: white; }
.status-minor { background-color: #f1c40f; color: #333; }
.status-major { background-color: #e67e22; color: white; }
.status-critical { background-color: #e74c3c; color: white; }
.status-error, .status-unknown { background-color: #95a5a6; color: #333; }

/* --- SOCIAL MEDIA --- */
.social-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.social-link img { width: 60px; height: 60px; transition: transform 0.3s ease, filter 0.3s ease; }
.social-link:hover img { transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 0 10px #00bfff); }

/* --- O NAS --- */
.about-content { max-width: 800px; margin: 0 auto; font-size: 1.2rem; line-height: 1.8; }
.about-content p { font-family: 'Sans', Arial, sans-serif; }
.about-content a { color: #00bfff; font-weight: bold; text-decoration: none; transition: color 0.3s; }
.about-content a:hover { color: #3498db; text-decoration: underline; }

/* --- STOPKA --- */
footer { background: #111; color: #aaa; padding: 40px 20px; text-align: center; margin-top: 40px; }

/* --- BANER COOKIES --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(20, 20, 20, 0.9); backdrop-filter: blur(5px);
    color: white; z-index: 9999; box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100%); transition: transform 0.5s ease-in-out;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 30px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 15px;
}
.cookie-text p { margin: 0; font-size: 1rem; }
.cookie-text a { color: #e67e22; text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn {
    padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer;
    font-weight: bold; transition: background-color 0.3s, transform 0.3s;
}
.accept-btn { background-color: #e67e22; color: white; }
.accept-btn:hover { background-color: #d35400; transform: scale(1.05); }
.decline-btn { background-color: #555; color: white; }
.decline-btn:hover { background-color: #444; transform: scale(1.05); }

/* --- MEDIA QUERIES (RESPONSYWNOŚĆ) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(20, 20, 20, 0.95);
        flex-direction: column; justify-content: center; align-items: center;
    }
    .nav-links.show { display: flex; }
    .nav-links li { margin: 20px 0; }
    .nav-link { font-size: 24px; }
    .menu-toggle { display: flex; z-index: 1001; }
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .slide-content h1 { font-size: 2.8rem; }
    .slide-content p { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
    main { padding: 0 20px; } /* ZMIANA: Mniejsze marginesy na mobilce */
    .cookie-content { flex-direction: column; text-align: center; }
}

.main-title-placeholder {
    height: 15vh;
}

#championship-countdown {
    font-family: 'Burbank', sans-serif;
    font-size: 3rem;
    color: white;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    background: rgba(20, 20, 20, 0.7);
    padding: 15px 30px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

@media (max-width: 768px) {
    #championship-countdown {
        font-size: 1.8rem;
        padding: 10px 20px;
    }
    .main-title-placeholder {
        height: 10vh;
    }
}

