/* REWITALIZACJA STYLU TF2 */
:root {
    --tf-orange: #e5893c;
    --tf-dark-orange: #b85621;
    --tf-paper-bg: #eadecc; /* Beżowy papier z aktualizacji */
    --tf-dark-bg: #1c1917;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Impact', 'Arial Black', sans-serif;
    background-color: var(--tf-dark-bg);
    color: #111;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* RETRO PRZYCISK NAWIGACJI */
.tf-navigation {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 100;
}

.next-page-btn {
    background-color: var(--tf-orange);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    border: 3px solid #fff;
    box-shadow: 4px 4px 0px #000;
    text-shadow: 1px 1px 0px #000;
    transition: 0.2s;
}

    .next-page-btn:hover {
        background-color: var(--tf-dark-orange);
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0px #000;
    }

/* 1. SEKCJA HERO Z FOTKĄ Z GRY */
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('images/440_85.jpg');
    background-size: cover;
    background-position: center bottom;
    text-align: center;
    padding: 60px 20px 100px 20px;
    border-bottom: 8px solid var(--tf-orange);
    min-height: 750px; /* Kinowy, potężny banner */
}

.hero-top {
    background-color: rgba(229, 137, 60, 0.95); /* Pomarańczowy pasek pod logo */
    padding: 15px 30px;
    display: inline-block;
    border: 4px solid #fff;
    box-shadow: 0 8px 0px #000;
    margin-bottom: 50px;
}

.mannco-logo {
    max-width: 260px;
    display: block;
    margin: 0 auto 10px auto;
}

.prezentuje-text {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000;
}

/* Potężne cienie komiksowe na napisy w tle */
.hero-title-zone h1 {
    font-size: 64px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px #000, -3px -3px 0px #000, 3px -3px 0px #000, -3px 3px 0px #000, 5px 5px 0px rgba(0,0,0,0.6);
}

.hero-features {
    font-size: 26px;
    color: #fff;
    text-transform: uppercase;
    margin-top: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000, 4px 4px 0px rgba(0,0,0,0.5);
}

.feat-num {
    color: var(--tf-orange);
    font-size: 32px;
}

/* 2. SEKCJA Z TEKSTEM (WSTĘP LORE I OPIS EVENTU) */
.intro-section, .about-section {
    background-color: var(--tf-paper-bg);
    text-align: center;
    border-bottom: 4px dashed var(--tf-dark-orange);
    padding: 40px 0;
}

.promo-text {
    font-family: 'Impact', 'Arial Black', sans-serif; /* Wymuszenie Impactu dla tekstu nad ramką */
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #2b2520;
}

.about-p {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

.about-title {
    text-align: center;
    font-size: 38px;
    color: var(--tf-dark-orange);
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #000;
}

.date-badge {
    background-color: #b85621;
    color: #fff;
    font-size: 20px;
    padding: 15px 25px;
    display: inline-block;
    border: 3px solid #111;
    transform: rotate(-1deg); /* Lekki przechył w stylu komiksowym Valve */
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.bullet-lore-box {
    background-color: #dfd5c6;
    border: 3px dashed #b85621;
    padding: 25px;
    margin: 35px 0;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    text-align: left;
}

    .bullet-lore-box h3 {
        font-size: 22px;
        color: var(--tf-dark-bg);
        margin-bottom: 15px;
    }

    .bullet-lore-box ul {
        list-style-type: square;
        padding-left: 20px;
    }

    .bullet-lore-box li {
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 10px;
        color: #332a22;
    }

.cta-zone {
    text-align: center;
    margin-top: 50px;
}

.main-cta-btn {
    display: inline-block;
    background-color: #8c3838;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    padding: 15px 35px;
    border: 4px solid #fff;
    box-shadow: 6px 6px 0px #000;
    text-shadow: 2px 2px 0px #000;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

    .main-cta-btn:hover {
        background-color: #b85621;
        transform: scale(1.03) translate(-2px, -2px);
        box-shadow: 8px 8px 0px #000;
    }

/* 3. KOMPAKTOWA LISTA MAP W TLE POZA KAFELKAMI */
.maps-compact-section {
    background-image: url('images/440_88.jpg'); /* Obrazek pod kafelkami */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000, 4px 4px 0px rgba(0,0,0,0.5);
}

.mode-box {
    background-color: #dfd5c6; /* Stałe tło kafelków trybów */
    border: 3px solid #3c352e;
    margin-bottom: 25px;
    box-shadow: 4px 4px 0px #3c352e;
}

.mode-header {
    padding: 12px 15px;
    font-size: 22px;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
    letter-spacing: 1px;
    border-bottom: 3px solid #3c352e;
}

.ctf-color {
    background-color: #b85621;
}

.pl-color {
    background-color: #385c70;
}

.arena-color {
    background-color: #705538;
}

.tc-color {
    background-color: #586854;
}

.cp-color {
    background-color: #8c3838;
}

.maps-list {
    list-style: none;
    padding: 5px 0;
}

    .maps-list li {
        font-family: 'Courier New', Courier, monospace;
        font-weight: bold;
        font-size: 18px;
        padding: 10px 20px;
        color: #2b2520;
        border-bottom: 1px dashed rgba(0,0,0,0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .maps-list li:last-child {
            border-bottom: none;
        }

        .maps-list li:hover {
            background-color: rgba(255,255,255,0.4);
        }

.map-badge {
    font-family: 'Impact', sans-serif;
    background-color: #222;
    color: #ffd24d;
    font-size: 12px;
    padding: 2px 8px;
    text-transform: uppercase;
    border-radius: 3px;
}

/* RESPONSYWNOŚĆ (TELEFONY) */
@media (max-width: 900px) {
    .hero-title-zone h1 {
        font-size: 36px;
    }

    .hero-features {
        font-size: 18px;
    }

    .feat-num {
        font-size: 22px;
    }

    .tf-navigation {
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        padding: 15px 0;
        background: var(--tf-dark-bg);
    }

    .next-page-btn {
        display: inline-block;
        box-shadow: none;
    }

    .main-cta-btn {
        font-size: 16px;
        padding: 12px 20px;
        width: 100%;
    }

    .about-p {
        font-size: 16px;
        text-align: left;
    }

    .maps-list li {
        font-size: 15px;
        padding: 8px 15px;
    }


}
/* ========================================== */
/* NOWA RETRO NAWIGACJA TF2 (PC + MOBILE)     */
/* ========================================== */
.tf-nav-container {
    background-color: #1c1917;
    border-bottom: 4px solid #e5893c;
    padding: 15px 10px;
    position: relative;
    width: 100%;
    z-index: 9999;
}

/* Wyśrodkowana lista na PC */
.tf-nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.tf-nav-link {
    font-family: 'Impact', sans-serif;
    background-color: #e5893c;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border: 3px solid #fff;
    box-shadow: 4px 4px 0px #000;
    text-shadow: 1px 1px 0px #000;
    text-transform: uppercase;
    transition: 0.2s ease;
    display: inline-block;
}

    .tf-nav-link:hover {
        background-color: #b85621;
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0px #000;
    }

/* Ukryty przycisk hamburgera na PC */
.tf-nav-toggle {
    display: none;
    font-family: 'Impact', sans-serif;
    background-color: #b85621;
    color: #fff;
    border: 3px solid #fff;
    padding: 12px;
    font-size: 18px;
    width: 100%;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px #000;
    cursor: pointer;
}

/* Style responsywne dla smartfonów */
@media (max-width: 768px) {
    .tf-nav-toggle {
        display: block; /* Pokazuje przycisk na mobile */
    }

    .tf-nav-menu {
        display: none; /* Domyślnie chowa przyciski pod menu */
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
    }

        .tf-nav-menu.active {
            display: flex; /* Pokazuje przyciski po kliknięciu */
        }

    .tf-nav-link {
        width: 100%;
        text-align: center;
        box-shadow: none;
    }
}
/* ========================================== */
/* STYLIZACJA NAPRZEMIENNEGO UKŁADU MvM       */
/* ========================================== */
.mvm-row {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #dfd5c6; /* Solidny papier kafelków */
    border: 4px solid #3c352e;
    box-shadow: 6px 6px 0px #3c352e;
    padding: 30px;
    margin-bottom: 20px;
}

    /* Klasa odwracająca kolejność (na PC zdjęcie leci na prawo) */
    .mvm-row.reverse {
        flex-direction: row;
    }

.mvm-img-block {
    flex: 1;
    position: relative;
    border: 3px solid #3c352e;
    overflow: hidden;
    line-height: 0; /* Likwiduje dziwne marginesy pod obrazkiem */
}

.mvm-map-preview {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Odznaka poziomu trudności na zdjęciu */
.mvm-badge-status {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-family: 'Impact', sans-serif;
    color: #fff;
    padding: 6px 15px;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 3px 3px 0px #000;
    text-shadow: 1px 1px 0px #000;
}

    .mvm-badge-status.expert {
        background-color: #8c3838;
    }

    .mvm-badge-status.advanced {
        background-color: #385c70;
    }

.mvm-text-block {
    flex: 1.2;
}

    .mvm-text-block h3 {
        font-family: 'Impact', sans-serif;
        font-size: 28px;
        color: #b85621;
        text-transform: uppercase;
        margin-bottom: 15px;
        text-shadow: 1px 1px 0px #000;
    }

    .mvm-text-block p {
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 16px;
        line-height: 1.5;
        color: #2b2520;
        text-align: justify;
        margin-bottom: 20px;
    }

/* Box z info o nagrodach wewnątrz opisu */
.mvm-reward-info {
    background-color: rgba(0,0,0,0.04);
    border-left: 5px solid #8c3838;
    padding: 12px 15px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    color: #332a22;
}

/* Stylizowana linia przerywana Mann Co. jako oddzielnik */
.mvm-divider {
    border: none;
    border-top: 4px dashed #b85621;
    margin: 40px auto;
    width: 80%;
}

/* PEŁNA RESPONSYWNOŚĆ NA TELEFONY */
@media (max-width: 850px) {
    .mvm-row, .mvm-row.reverse {
        flex-direction: column; /* Na telefonie wszystko układa się pionowo */
        gap: 20px;
        padding: 20px;
    }

    .mvm-img-block, .mvm-text-block {
        width: 100%;
    }

    .mvm-map-preview {
        height: 200px; /* Nieco mniejsza fotka na smartfonie */
    }

    .mvm-text-block p {
        text-align: left;
        font-size: 15px;
    }
}
/* ========================================== */
/* STYLIZACJA KORPULENTNEGO LOGO DISCORD      */
/* ========================================== */

/* Styl przycisku - domyślnie kwadratowy boks na PC */
.tf-nav-link.tf-nav-discord, a.tf-nav-link.tf-nav-discord, a.tf-nav-link.tf-nav-discord:visited {
    background-color: #5865F2 !important; /* Oficjalny Blurple */
    border: 3px solid #ffffff !important;
    padding: 10px 14px !important; /* Idealne proporcje dla samej ikony */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

    .tf-nav-link.tf-nav-discord:hover {
        background-color: #4752C4 !important;
        transform: translate(-2px, -2px) !important;
        box-shadow: 6px 6px 0px #000000 !important;
    }

/* Wielkość samej ikony na PC */
.tf-nav-discord i {
    font-size: 20px;
    line-height: 1;
}

/* Domyślnie chowany tekst na komputerach */
.discord-text-mobile {
    display: none;
}

/* RWD: Dostosowanie specjalnie pod telefony */
@media (max-width: 768px) {
    .tf-nav-link.tf-nav-discord {
        width: 100% !important;
        padding: 12px !important;
        box-shadow: none !important;
    }

    /* Na telefonie ujawniamy napis i dodajemy mu margines */
    .discord-text-mobile {
        display: inline !important;
        font-family: 'Impact', sans-serif !important;
        text-transform: uppercase;
        margin-left: 8px;
    }
}