/*
   _____                                    _
  / ____|                                  | |
 | (___  _ __   __ _  ___ ___  ___ ___   __| | ___
  \___ \| '_ \ / _` |/ __/ _ \/ __/ _ \ / _` |/ _ \
  ____) | |_) | (_| | (__  __/ (__ (_) | (_| |  __/
 |_____/| .__/ \__,_|\___\___|\___\___/ \__,_|\___|
        | |
        |_|

    ------------
    Version 0.2.0 - CHANGELOG DARK EDITION
*/

/* 1. HEADER OVERRIDE */
header {
    background: #0f0f0f !important;
    min-height: auto !important;
    padding-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 2. GŁÓWNY KONTENER */
.changelog {
    padding: 80px 0 130px;
    min-height: 60vh;
}

/* 3. NAGŁÓWKI */

/* Tytuł główny "ChangeLog" */
.changelog h3 {
    color: #ffffff;
    font-weight: 800;
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 3px solid #feba01;
    display: inline-block;
    padding-bottom: 5px;
    /* Centrowanie elementu inline-block */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Miesiące (np. Czerwiec 2024) */
h4 {
    color: #feba01; /* Złoty */
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 60px;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #feba01; /* Złoty pasek z lewej */
}

/* 4. KARTY ZMIAN */
.changelog__card {
    background-color: #141414; /* Ciemne tło karty */
    border: 1px solid #2a2a2a; /* Subtelna ramka */
    border-radius: 12px;       /* Zaokrąglenie */
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Efekt najechania na kartę */
.changelog__card:hover {
    transform: translateY(-5px);
    border-color: #feba01; /* Ramka zmienia się na złotą */
    box-shadow: 0 10px 30px rgba(254, 186, 1, 0.1);
}

/* Wersja numer (np. 1.1.9) */
.changelog__card h6 {
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

/* Data na dole karty (np. 18.06, Wtorek) */
.changelog__card .date-info {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    margin-top: 15px;
    text-transform: uppercase;
}

/* Treść zmian (tekst) */
.changelog__card p {
    font-weight: 500;
    color: #bbbbbb; /* Jasny szary */
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* 5. OZNACZENIE "NOWE" */

/* Styl dla najnowszej karty */
.changelog__card--new {
    border: 1px solid #feba01; /* Złota ramka na start */
    box-shadow: 0 0 20px rgba(254, 186, 1, 0.15);
}

/* Etykieta "NOWE" */
.changelog__card--new .new {
    display: block;
    position: absolute;
    top: -12px;
    right: 20px; /* Przesunięte na prawą stronę dla estetyki */
    
    background-color: #feba01; /* Złote tło */
    color: #000000;            /* Czarny tekst */
    font-weight: 800;
    text-transform: uppercase;
    
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* Ukrywamy tag w starych kartach */
.changelog__card .new {
    display: none;
}

/* 6. RESPONSYWNOŚĆ */
@media only screen and (max-width: 610px) {
    .changelog {
        padding: 50px 5% 100px;
    }
    
    .changelog h3 {
        font-size: 32px;
        width: 100%; /* Fix dla centrowania na mobile */
    }
    
    h4 {
        font-size: 20px;
    }
}