html {
    /* Włącza płynne przewijanie dla wszystkich natywnych skoków (jak kliknięcie w link #ID) */
    scroll-behavior: smooth; 
}
         
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: white; overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth;}


/* --- IMPORTOWANIE CZCIONKI ORGANETTO --- */
@font-face {
    font-family: 'Organetto';
    src: url('fonts/Fontspring-DEMO-organetto-extultrabold.otf') format('opentype'); 
    font-weight: 900;
    font-style: normal;
}



/* --- GŁÓWNA SEKCJA HERO --- */
.hero {
    background-image: url('src/hero-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative; 
    overflow: hidden; 
}
.hero, .section-two, .section-three, .section-four, .section-five, .site-footer {
    scroll-snap-align: start; 
}

/* --- ELEMENTY DEKORACYJNE --- */
.deco-line-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; 
    pointer-events: none; 
}
.line-1 { z-index: 1; }
.line-2 { z-index: 2; }

.hero-big-logo {
    position: absolute;
    top: 58%;
    right: 0%; 
    transform: translateY(-50%); 
    scale: 1.2;
    height: 85vh; 
    width: auto;  
    z-index: 1;   
    pointer-events: none; 
}

/* --- PASEK NAWIGACJI --- */
.navbar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000; 
    padding: 20px 80px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease, background-color 0.3s ease;
}


.navbar-left { display: flex; align-items: center; gap: 15px; }

.logo { height: 50px; width: auto; margin-left: 0px; margin-top: 20px;}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 15px;
    margin-left: 10px;
}

.navbar-right { display: flex; gap: 20px; }
.social-icon {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);|
}
.social-icon:hover { color: #3b82f6; transform: translateY(-2px); }


/* --- POSTAĆ (HERO PERSON) --- */
.hero-person {
    position: absolute;
    bottom: 0;                  
    right: -25%;                  
    transform: translateX(-50%); 
    height: 90vh;               
    width: auto;                
    z-index: 2;                 
    pointer-events: none;       
}


/* --- TREŚĆ HERO (TEKST PO PRAWEJ) --- */
.hero-content {
    position: absolute;
    top: 50%;
    left: 15%; 
    transform: translateY(-50%); 
    max-width: 650px; 
    width: 100%;
    z-index: 20; 
    text-align: left;
    color: white;
}
@media (min-height: 1240px) {
.hero-content {
    position: absolute;
    top: 55%;
    left: 15%; 
    transform: translateY(-50%); 
    max-width: 650px; 
    width: 100%;
    z-index: 20; 
    text-align: left;
    color: white;
    scale: 1.2;
}
}


.hero-title {
    font-size: 60px; 
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 24px;
    color: #cbd5e1; 
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 400;
    
}

.hero-buttons {
    display: flex;
    gap: 20px; 
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px; 
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: #2565D9; 
    box-shadow: 0 4px 20px rgba(37, 101, 217, 0.4);
}

.btn-secondary {
    background-color: rgba(30, 58, 138, 0.4); 
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 500;
}

.hero-stats i {
    font-size: 28px; 
}

.online-status {
    color: #4ade80; 
    font-weight: 700;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 70px; }
    .hero-content { right: 2%; max-width: 500px; }
}

/* --- CIEŃ NA DOLE (ELEMENT 1) --- */
.hero-shadow-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;       
    height: auto;      
    max-height: 60vh;  
    z-index: 1;        
    pointer-events: none;
}

/* --- DOLNY PASEK NAWIGACJI --- */
.bottom-nav {
    position: fixed;
    bottom: 40px;               
    left: 50%;
    transform: translateX(-50%); 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;                  
    background-color: rgba(26, 29, 41, 0.95); 
    border:3px solid #363b4e;  
    border-radius: 50px;        
    padding: 18px 50px;         
    z-index: 30;                
    width: max-content;         
    max-width: 90%;             
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.bottom-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5); 
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.bottom-nav a:hover {
    color: white;
}

.bottom-nav a.active {
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); 
}


/* --- SEKCJA DRUGA: TŁO --- */
.section-two {
    width: 100%; 
    background-image: url('src/2bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative; 
    z-index: 5; 
    padding-top: 50px; 
}


/* --- ELEMENTY DEKORACYJNE SEKCJI DRUGIEJ --- */
.section-two .deco-line-img-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; 
    width: auto;
    z-index: 1; 
    pointer-events: none;
    opacity: 1; 
}

.section-two .line-2-1 {
    opacity: 1;
    transform: translateX(-10%); 
}

.section-two .line-2-2 {
    opacity: 1;
    transform: translateX(-5%); 
}

/* --- ELEMENTY DEKORACYJNE SEKCJI DRUGIEJ (Prawy Dół) --- */
.section-two .deco-line-img-right-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto; 
    width: 30%; 
    z-index: 1; 
    pointer-events: none;
    opacity: 1; 
}

.section-two .line-2-3 {
    opacity: 1;
    transform: translateX(%); 
}

.section-two .line-2-4 {
    opacity: 1;
    transform: translateX(%); 
}

/* --- STYL DLA TYTUŁU SEKCJI --- */
.section-title {
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: white; 
    margin-top: -50px;
    padding-top: 30px; 
    position: relative;
    z-index: 10; 
}


/* --- STYL KARUZELI/GALERII KART (ZWIĘKSZONY ROZMIAR) --- */
.gallery-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 40px; 
    padding: 0 50px 80px; 
    position: relative;
    z-index: 10;
}

.gallery-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px; 
    width: 240px; 
    height: 380px; 
    transition: all 0.4s ease-in-out; 
    opacity: 0.7;
    filter: grayscale(100%); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 50px;
}

@media (min-height: 1240px) {
    .gallery-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px; 
    width: 340px; 
    height: 480px; 
    transition: all 0.4s ease-in-out; 
    opacity: 0.7;
    filter: grayscale(100%); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 100px;
}
}

.gallery-card.active {
    opacity: 1;
    filter: grayscale(0%); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 
                0 0 0 5px #3b82f6; 
}

/* --- OBRAZKI WEWNĄTRZ KARTY --- */
.card-frame, .card-person {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
    scale: 1.2;
}

.card-person {
    z-index: 2;
    transform: scale(0.84); 
    transform-origin: bottom center; 
}

.gallery-card.active .card-person {
    transform: scale(0.88); 
}

/* --- STYL TREŚCI POD GALERIĄ (OPIS) --- */
.gallery-content-area {
    text-align: center;
    padding: 50px 150px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.content-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    margin-top: -70px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

@media (min-height: 1240px) {
    .content-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    margin-top: -0px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
}

.content-description {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

@media (min-height: 1240px) {
    .content-description {
    font-size: 24px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 1400px;
    margin: 0 auto;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
}

/* KLASY DLA ANIMACJI */
.is-hiding {
    opacity: 0;
    transform: scale(0.95);
}

.is-showing {
    opacity: 1;
    transform: scale(1);
}

/* --- WSKAŹNIKI (KROPKI) POD GALERIĄ --- */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; 
    margin-top: -120px; 
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.pagination-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3); 
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-dot.active-dot {
    background-color: #3b82f6; 
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.section-two-bottom-deco {
    position: absolute;
    bottom: 0; 
    left: 0;   
    width: 100%; 
    height: auto; 
    z-index: 1; 
    pointer-events: none; 
    opacity: 0.8; 
}

/* --- TRZECIA SEKCJA: JAK ZACZĄĆ? --- */
.section-three {
    width: 100%; 
    background-image: url('src/3bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative; 
    z-index: 5; 
    padding-top: 50px; 
}

/* --- KONTENER MAPY --- */
.map-container {
    position: relative;
    width: 70%; 
    max-width: 1200px;
    margin: 50px auto 0 auto; 
    padding: 20px;
    border-radius: 20px; 
    z-index: 5; 
    scale: 1.15;
}

/* --- ELEMENT NAROŻNY (POZYCJONOWANY WZGLĘDEM SEKCJI) --- */
.map-corner-element {
    position: absolute;
    top: -50px; 
    right:-15%; 
    transform: translateX(-50%);
    width: 180px;
    height: auto;
    z-index: 10; 
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
    scale: 1.5;
}


/* --- MEDIA QUERY DLA 2K --- */
@media (min-height: 1240px) {
.map-container {
    position: relative;
    width: 70%; 
    max-width: 1200px;
    margin: 230px auto 0 auto; 
    padding: 20px;
    border-radius: 20px; 
    z-index: 5; 
    scale: 1.7;
}

    .map-corner-element {
        top: -20px; 
        right: -15%; 
        width: 150px;
        scale: 2;
    }
}


/* --- WSPÓLNE STYLE DLA KART KROKÓW (.step-card) --- */
.step-card {
    position: absolute;
    width: 300px;
    height: auto;
    background: #1D1F36;
    border: 5px solid #282B4D;
    border-radius: 22px; 
    box-sizing: border-box; 
    padding: 20px;
    z-index: 20; 
    text-align: left;
}

.step-card h4 {
    font-size: 18px;
    color: white; 
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-card p {
    font-size: 14px;
    color: #a0a8b9; 
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 400;
}

/* --- STYL DLA PRZYCISKU (.step-button) --- */
.step-button {
    display: block;
    text-align: center;
    background: linear-gradient(180deg, #404369 0%, #181A33 100%);
    border-radius: 20px;
    width: 100%; 
    height: 37px;
    line-height: 37px; 
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding: 0; 
    box-shadow: none; 
}
.step-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* --- ZMODYFIKOWANE STYLE DLA PINÓW MAPY (.map-pin) --- */
.map-pin {
    position: absolute;
    cursor: pointer;
    text-align: center;
    transform: translateX(-50%); 
    z-index: 25;
}
.pin-icon {
    width: 150px; 
    height: auto;
    display: block;
    margin: 0 auto; 
}
.pin-label-text { 
    display: block;
    background-color: #3b82f6;
    color: white;
    padding: 8px 20px; 
    border-radius: 8px;
    font-size: 18px; 
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); 
    margin-top: 15px; 
}


/* --- WSPÓLNE STYLE DLA KART KROKÓW (BEZ ZMIAN W WYGLĄDZIE) --- */
.step-card {
    position: absolute;
    width: 300px;
    height: auto;
    background: #1D1F36;
    border: 5px solid #282B4D;
    border-radius: 22px; 
    box-sizing: border-box; 
    padding: 20px;
    z-index: 20; 
    text-align: left;
}

/* ============================================= */
/* --- WSPÓLNE STYLE DLA ELEMENTÓW ABSOLUTNYCH --- */
/* ============================================= */

.element-absolute {
    position: absolute; 
    z-index: 20; 
}
.pin-icon-small {
    width: 150px; 
    height: auto;
    filter: drop-shadow(0px 0px 15px #2F6DDE);
    margin-top: -70px; 
}

/* --- WYGLĄD KARTY (.step-card) Z RECTANGLE 66 --- */
.step-card {
    width: 300px; 
    background: #1D1F36;
    border: 5px solid #282B4D;
    border-radius: 22px; 
    box-sizing: border-box; 
    padding: 20px;
    z-index: 10;
}
.step-card h4 {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 5px;
}
.step-card p {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #C0C0C0;
    margin-bottom: 20px;
}
.step-button {
    display: block;
    text-align: center;
    background: linear-gradient(180deg, #404369 0%, #181A33 100%);
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    color: #FFFFFF;
    height: 37px; 
    line-height: 37px;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* --- WYGLĄD NAPISU POD PINEM (.pin-label-text) --- */
.pin-label-text { 
    display: block;
    background: #234FFF;
    border-radius: 5px;
    font-weight: 700;
    font-size: 10px;
    line-height: 23px; 
    text-align: center;
    color: #FFFFFF;
    width: 116px; 
    height: 23px; 
    padding: 0;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(35, 79, 255, 0.5);
    margin-top: -20px; 
    z-index: 35;
}

/* ============================================= */
/* --- POZYCJONOWANIE (DO RĘCZNEJ KOREKTY W %) --- */
/* ============================================= */

/* KROK 1: Górny Lewy (Karta -> Pin -> Napis) */
.element-card-one { top: 10%; left: 15%; } 
.element-pin-one { top: 42%; left: 27.5%; transform: translateX(-50%);z-index: 0; } 
.element-label-one { top: 53%; left: 27.5%; transform: translateX(-50%); } 

/* KROK 2: Dolny Środek (Pin -> Napis -> Karta) */
.element-pin-two { top: 45%; left: 52%; transform: translateX(-50%);z-index: 0; } 
.element-label-two { top: 56%; left: 52%; transform: translateX(-50%); } 
.element-card-two { top: 60%; left: 39.5%; transform: translateX(-50%); } 

/* KROK 3: Górny Prawy (Karta -> Pin -> Napis) */
.element-card-three { top: 8%; right: 42.5%; left: auto; } 
.element-pin-three { top: 40%; right: 30%; left: auto; transform: translateX(50%);z-index: 0; } 
.element-label-three { top: 51%; right: 30%; left: auto; transform: translateX(50%); } 


.section-three-bottom-deco {
    position: absolute;
    bottom: 0; 
    left: 0;   
    width: 100%; 
    height: auto; 
    z-index: 1; 
    pointer-events: none; 
    opacity: 0.8; 
}



/* --- CZWARTA SEKCJA: SOCIALE --- */
.section-four {
    width: 100%; 
    background-image: url('src/4bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative; 
    z-index: 5; 
    padding-top: 50px; 
}

/* --- KONTENER SOCIAL MEDIA --- */
.social-media-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto; 
    padding: 90px 20px;
    position: relative;
    z-index: 10;
    scale: 1.25;
}

@media (min-height: 1240px) {
    .social-media-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto; 
    padding: 250px 20px;
    position: relative;
    z-index: 10;
    scale: 1.75;
}
}

/* --- KARTA OGÓLNA --- */
.sm-card {
    position: relative;
    display: block;
    border-radius: 30px; 
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.sm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* WYSOKOŚCI KART */
.sm-card.youtube, .sm-card.discord {
    height: 320px; 
}
.sm-card.tiktok, .sm-card.instagram {
    height: 180px; 
}

/* --- TŁO I OVERLAY --- */
.sm-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}
.sm-card:hover .sm-bg {
    transform: scale(1.05); 
}

.sm-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    opacity: 0.85; 
    transition: opacity 0.3s ease;
}
.sm-card:hover .sm-overlay {
    opacity: 0.75; 
}


/* --- ZAWARTOŚĆ KARTY --- */
.sm-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* IKONA LINKU (PRAWY GÓRNY RÓG) */
.sm-link-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- LOGO (OBRAZEK) --- */
.sm-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px; 
    width: 100%;
}

.sm-logo-img {
    display: block;
    max-width: 200px; 
    height: auto;     
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); 
}

.tiktok .sm-logo-img, .instagram .sm-logo-img {
    max-width: 160px;
}


/* STATYSTYKI */
.sm-stats {
    margin-top: 10px;
}
.sm-stats .count {
    display: block;
    
    /* --- NOWA CZCIONKA --- */
    font-family: 'Organetto', 'Montserrat', sans-serif; 
    font-weight: 900; 
    
    font-size: 50px; 
    line-height: 1;
    text-transform: uppercase;
    
    letter-spacing: -1px; 
}

/* --- ZNAK PLUS (MONTSERRAT) --- */
.sm-stats .count .plus {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    font-size: 0.9em; 
    vertical-align: 2px; 
    margin-left: 2px; 
}
.sm-stats .label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 5px;
}

.small-stats .count {
    font-size: 35px; 
}
.small-stats .label {
    font-size: 10px;
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 768px) {
    .social-media-container {
        grid-template-columns: 1fr; 
        max-width: 400px;
    }
    .sm-card.youtube, .sm-card.discord, .sm-card.tiktok, .sm-card.instagram {
        height: 220px; 
    }
}

/* --- TEKST PARTNERSKI POD KARTAMI --- */
.partner-text-container {
    max-width: 1000px; 
    margin: 0 auto;    
    padding: 0 20px;   
    margin-top: -5px;  
    text-align: right;  
    position: relative;
    z-index: 20;
    scale: 1.25;
}

@media (min-height: 1240px) {
    .partner-text-container {
    max-width: 1000px; 
    margin: 0 auto;    
    padding: 0 20px;   
    margin-top: -25px;  
    text-align: right;  
    position: relative;
    z-index: 20;
    scale: 1.75;
}
}

.partner-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;   
    font-weight: 400;
    color: #a0a8b9;    
    margin: 0;
}

.partner-link {
    color: #FFFFFF;    
    font-weight: 700;  
    text-decoration: underline;
    text-decoration-thickness: 2px; 
    text-underline-offset: 4px;     
    transition: color 0.3s ease;
}

.partner-link:hover {
    color: #3b82f6; 
    text-decoration-color: #3b82f6;
}

/* --- DOPASOWANIE DLA MOBILE --- */
@media (max-width: 768px) {
    .partner-text-container {
        text-align: center; 
        margin-top: 30px;
        padding-bottom: 50px; 
    }
    .partner-text {
        font-size: 16px;
    }
}


/* --- PIĄTA SEKCJA: INFO --- */
.section-five {
    width: 100%; 
    background-image: url('src/5bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative; 
    z-index: 5; 
    padding-top: 50px; 
}

/* --- KONTENER SIATKI (GRID) --- */
.info-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto auto; 
    gap: 20px;
    max-width: 1125px;
    margin: 0 auto;
    padding: 70px 20px;
    position: relative;
    z-index: 10;
    scale: 1.1;
}

@media (min-height: 1240px) {
    .info-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto auto; 
    gap: 20px;
    max-width: 1125px;
    margin: 0 auto;
    padding: 230px 20px;
    position: relative;
    z-index: 10;
    scale: 1.55;
}
}

/* --- OGÓLNY STYL KARTY --- */
.info-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: white;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* TŁO KARTY */
.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px; 
    z-index: 1;
    transition: transform 0.4s ease-out;
    overflow: hidden;
}


/* ZAWARTOŚĆ KARTY */
.card-content {
    position: relative;
    z-index: 5; 
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* --- SPECYFICZNE KARTY --- */

/* 1. DUŻA KARTA */
.card-large {
    grid-column: span 2; 
    height: 220px; 
}

/* POSTAĆ (Wystająca) */
.card-person-overlay {
    position: absolute;
    bottom: 8px; 
    right: 20px; 
    height: 150%; 
    width: auto;
    z-index: 10; 
    pointer-events: none;
}

/* Treść dużej karty */
.content-row {
    flex-direction: row;
    align-items: center;
    gap: 25px;
    justify-content: flex-start;
    height: 100%;
}

.play-circle {
    width: 70px;
    height: 70px;
    background-color: #2565D9; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 101, 217, 0.4);
}

.card-large h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
}
.card-large p {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0 0 0;
    opacity: 0.9;
}


/* 2. MAŁE KARTY */
.card-small {
    height: 180px;
}

.content-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.icon-large {
    font-size: 35px;
    margin-bottom: 15px;
}

.card-small h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

/* Stylizacja Teasera (Lewa środkowa) */
.content-left {
    justify-content: center;
}
.teaser-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.simple-play {
    font-size: 24px;
    margin-top: 25px; 
}
.teaser-text .date {
    font-size: 10px;
    opacity: 0.7;
    display: block;
    margin-bottom: 5px;
}
.teaser-text h4 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 5px;
}
.teaser-text .sub {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
    margin: 0;
}

/* --- STYLIZACJA LOGO DISCORD (Jako obrazek) --- */
.discord-row {
    display: flex; 
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    width: 100%;
}

.discord-logo-img {
    max-width: 180px; 
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); 
    scale: calc(1.5);
    margin-bottom: 20px;
}

.discord-sub {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.9;
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 768px) {
    .info-grid-container {
        grid-template-columns: 1fr; 
    }
    .card-large {
        grid-column: span 1; 
        height: 180px;
    }
    .card-person-overlay {
        height: 110%; 
        right: 10px;
    }
    .card-large h3 { font-size: 24px; }
}
/* --- STYLIZACJA STOPKI (FOOTER) --- */
.site-footer {
    background-color: #1a1e35; 
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    padding-top: 50px;
    position: relative;
    z-index: 100; 
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-column {
    padding-right: 30px;
}

.footer-logo {
    height: 70px; 
    width: auto;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a, .contact-email {
    color: #a0a8b9; 
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-links a:hover, .contact-email:hover {
    color: #2565D9;
}

.social-col {
    text-align: right; 
    flex-grow: 1; 
    padding-right: 0;
}

.social-icons a {
    color: white;
    font-size: 18px;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #2565D9;
}

/* --- Prawa Autorskie (Dolna Sekcja) --- */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright p {
    color: #a0a8b9;
    font-size: 12px;
    margin: 0;
}


/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-column {
        width: 100%;
        padding: 10px 0;
    }
    
    .social-col {
        text-align: center;
        margin-top: 20px;
        order: 4; 
    }
    
    .social-icons a {
        margin: 0 10px;
    }
    
    .footer-heading {
        margin-bottom: 5px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

/* --- NAWIGACJA KROPKOWA --- */
.dot-navigation {
    position: fixed; 
    right: 30px; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 9999; 
    display: flex;
    flex-direction: column; 
    gap: 15px; 
}

.dot-item {
    display: block;
    width: 15px; 
    height: 15px; 
    background-color: rgba(160, 168, 185, 0.6); 
    border-radius: 50%; 
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent; 
}

.dot-item:hover {
    background-color: rgba(160, 168, 185, 0.8); 
    transform: scale(1.1); 
}

.dot-item.active {
    background-color: #3b82f6; 
    border-color: rgba(255, 255, 255, 0.3); 
}

/* --- RESPONSYWNE: UKRYJ NA MAŁYCH EKRANACH --- */
@media (max-width: 992px) {
    .dot-navigation {
        display: none; 
    }
}

/* --- STYL DLA NOWEGO NAGŁÓWKA FORUM --- */
.top-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 100px; /* Większy padding, aby był na górze */
    z-index: 50; 
}
.top-header .logo {
    height: 70px; /* Dopasowany rozmiar logo */
    margin: 0;
}
.top-header .return-btn {
    margin-top: 0; /* Usunięcie marginesu z poprzedniej wersji */
}


/* --- GŁÓWNA SEKCJA FORUM (W BUDOWIE) --- */
.forum-construction-page {
    /* Nadpisujemy domyślne ustawienia klasy 'hero' */
    justify-content: center; /* Wyśrodkowanie treści w pionie */
    align-items: center; /* Wyśrodkowanie treści w poziomie */
    padding-top: 0;
}

.forum-content-box {
    text-align: center;
    max-width: 800px;
    padding: 60px;
    background-color: rgba(26, 29, 41, 0.7); 
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 20; 
    margin: 0; /* Usuwamy margines, aby wyśrodkowanie działało prawidłowo */
    transform: translateY(20px); /* Delikatne przesunięcie, jeśli jest potrzebne */
}

/* --- STYL DLA IKONY MŁOTKA --- */
.construction-icon {
    font-size: 100px; 
    color: #FFC107; /* Żółty/Pomarańczowy kolor ostrzeżenia */
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.forum-title {
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.forum-subtitle {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.join-discord-btn {
    padding: 15px 40px !important;
    font-size: 16px !important;
    gap: 15px !important;
    margin-bottom: 30px;
}

.forum-info {
    font-size: 16px;
    color: #a0a8b9;
    margin-top: 20px;
}

/* --- STYL DLA PODSTRONY POLITYKI PRYWATNOŚCI --- */

/* Główny kontener - zapewnia marginesy i wyśrodkowanie */
.secondary-page-container {
    /* Ustawia minimalną wysokość, ale pozwala na rozciąganie dla długiego tekstu */
    min-height: 100vh;
    /* Usuwamy domyślny justify-content: center z hero, aby treść zaczynała się od góry */
    justify-content: flex-start; 
    align-items: center;
}

.policy-content-box {
    max-width: 1900px; /* Większa szerokość dla lepszej czytelności tekstu */
    width: 90%;
    padding: 60px 80px;
    margin: 150px auto 80px auto; /* Odsunięcie od góry (nagłówek) i margines dolny */
    
    background-color: rgba(26, 29, 41, 0.75); 
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 20; 
    
    color: #cbd5e1;
    line-height: 1.7;
}

.policy-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 5px;
    text-align: center;
}

.policy-date {
    font-size: 14px;
    color: #a0a8b9;
    margin-bottom: 40px;
    text-align: center;
}

.policy-intro {
    font-size: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 28px;
    color: #FFFFFF;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-section p {
    margin-bottom: 10px;
}

.policy-section ul {
    margin-left: 25px;
    list-style-type: disc;
    margin-bottom: 15px;
}

.policy-section ul li {
    margin-bottom: 5px;
}

.last-section {
    margin-bottom: 0;
}

/* --- NOWY STYL: BANER COOKIE (POP-UP W PRAWYM DOLNYM ROGU) --- */

.cookie-popup-corner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px; /* Ograniczenie szerokości */
    
    /* Pasuje do ciemnego stylu: */
    background-color: rgba(26, 29, 41, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    
    padding: 20px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    z-index: 10000; /* Zawsze na wierzchu */
    
    /* Domyślne ukrycie: będzie pokazany przez JS, jeśli zgody brak */
    display: none; 
    
    /* Mała animacja pojawienia */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.cookie-popup-corner p {
    margin-bottom: 10px;
}

.cookie-link-corner {
    color: #FFC107; /* Kolor akcentu */
    text-decoration: none;
    margin-right: 15px;
}

.cookie-link-corner:hover {
    text-decoration: underline;
}

.btn-accept-corner {
    /* Używamy styli btn-primary, ale z mniejszym paddingiem */
    padding: 8px 15px !important;
    font-size: 14px !important;
    margin-top: 10px;
    display: block; /* Przycisk na całą szerokość wewnątrz pop-upu */
    width: 100%;
    text-align: center;
}

/* Stan aktywny (pokazany przez JS) */
.cookie-popup-corner.active {
    opacity: 1;
    transform: translateY(0);
}