/*
   _____                                    _
  / ____|                                  | |
 | (___  _ __   __ _  ___ ___  ___ ___   __| | ___
  \___ \| '_ \ / _` |/ __/ _ \/ __/ _ \ / _` |/ _ \
  ____) | |_) | (_| | (__  __/ (__ (_) | (_| |  __/
 |_____/| .__/ \__,_|\___\___|\___\___/ \__,_|\___|
        | |
        |_|

    ------------
    Version 0.1.23 - REAPERCRAFT FINAL (Cleaned)
*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0);
    border-radius: 0px;
    background: #0a0a0b;
}

::-webkit-scrollbar-thumb {
    background-color: #feba01; /* ZMIANA: Złoty suwak */
    border-radius: 50px;
}

/* Website style */
* {
    padding: 0;
    margin: 0;
}

html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    height: 100%;
    overflow-x: hidden;
    background-color: #111111; /* ZMIANA: Ciemne tło */
    color: #e0e0e0; /* ZMIANA: Jasny tekst */
}

a{
    text-decoration: none;
}

[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}
.aos-init[data-aos][data-aos].aos-animate {
    transform: unset;
}

.row-center{
    display: flex;
    align-items: center;
}

/* Container */
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0rem;
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1500px;
    }
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    /* USUNIĘTO: border-bottom (ta cienka kreska) */
    border-bottom: none !important; 
}

.navbar__links{
    display: flex;
    align-items: center;
}

.navbar__links ul{
    display: flex;
    align-items: center;
    gap: 45px;
}

.navbar__links li{
    font-size: 18px;
    list-style: none;
    font-weight: 500;
}

.navbar__links a {
    color: #bbbbbb;
    /* ZMIANA: Płynniejsza animacja (jak w stopce) */
    transition: transform 0.3s ease, color 0.3s ease;
    /* ZMIANA: Większa czcionka (było 14px) */
    font-size: 16px; 
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block; /* Potrzebne do transformacji */
}

.navbar__links .active{
    font-weight: 600;
    color: #feba01; /* ZMIANA: Złoty aktywny */
    transition: .3s;
}

.navbar__links a:hover {
    color: #feba01;
    /* ZMIANA: Delikatny przesuw w prawo lub góry przy najechaniu (wybierz jeden) */
    transform: translateY(-2px); 
}

/* ZMIANA: Ikony w menu */
.navbar__links i {
    color: #feba01;
    margin-right: 5px;
}
.navbar__links a:hover i {
    color: #fff;
    transform: scale(1.1);
}

.navbar__brand h5{
    font-weight: 800;
    color: white;
}

.navbar__btn{
    margin-left: 10px;
    background: #feba01; /* ZMIANA: Złoty */
    color: black!important;
    padding: 18px 60px 18px;
    font-size: 16px;
}

.navbar__links img{
    width: 20px;
    margin-right: -10px;
    filter: invert(98%) sepia(7%) saturate(135%) hue-rotate(331deg) brightness(115%) contrast(100%);
}

.navbar__toggle{
    display: none;
}

.navbar__btn{
    display: flex;
    align-items: center;
    gap: 30px;
}

@media only screen and (max-width: 1300px) {
    nav{
        padding: 50px 0;

    }

    .navbar__links{
        display: none;
    }

    .navbar__links ul{
        flex-direction: column;
        gap: 20px;
        padding-left: 0;
    }

    .navbar__links li{
        margin: 5px 0;
    }

    .navbar__links a{
        color: #828080;
    }

    .navbar__links .active, .navbar__links a:hover{
        color: #ffffff;
    }

    .navbar__brand{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar__toggle{
        display: block;
        cursor: pointer; /* ZMIANA: Kursor */
    }

    .navbar__toggle h5{
        font-weight: 500;
        font-size: 17px;
        color: #fff;
    }

    .navbar__links--active{
        display: block;
        position: absolute;
        z-index: 999;
        background-color: #1e1e1e;
        width: 85%;
        top: 130px;
        padding: 40px 20px;
        border: 1px solid #333;
    }
}

/* Header */
/* --- ZAKTUALIZOWANA SEKCJA HEADER --- */
header {
    padding: 30px 0 0;
    
    /* TŁO I GRADIENT */
    background: linear-gradient(to bottom, 
                #000000 0%,              
                rgba(0, 0, 0, 0.9) 20%,  
                rgba(0, 0, 0, 0.6) 50%,  
                rgba(0, 0, 0, 0.1) 100%), 
                url('../img/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    position: relative !important;
    z-index: 0 !important;

}

header h1{
    color: white;
    font-size: 50px;
    font-weight: 700;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5); /* ZMIANA: Cień */
}

header h2{
    margin-top: -10px;
    color: #feba01; /* ZMIANA: Złoty */
    font-size: 32px; /* ZMIANA: Dopasowany rozmiar */
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 212, 12, 0.3);
}

header p{
    color: #bbbbbb;
    margin-top: 20px;
    width: 80%;
    font-weight: 400;
    margin-bottom: 60px;
    border-left: 3px solid #feba01; /* ZMIANA: Złoty pasek */
    padding-left: 20px;
}

.header__img{
    align-self: flex-end;
    width: 100%;
}

.btn__section{
    flex-wrap: wrap;
    display: flex;
    gap: 20px;
    margin-bottom: 100px;
}

/* ZMIANA: Globalne style przycisków na Złote */
/* --- POPRAWIONE PRZYCISKI (Mniejsza przerwa, idealny środek) --- */
.btn, .btn__blue {
    background: #feba01 !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px #000000;
    border-radius: 12px !important;
    padding: 17px 70px;
    
    /* USTAWIENIA CENTROWANIA */
    display: flex;
    align-items: center;      /* Centruje w pionie */
    justify-content: center;  /* Centruje w poziomie */
    
    /* ZMNIEJSZONA PRZERWA */
    gap: 8px; /* Było 20px/30px - teraz jest blisko */
    
    border: none !important;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 212, 12, 0.4) !important;
    transition: 0.3s;
}

.btn:hover, .btn__blue:hover {
    background: #feba01 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 212, 12, 0.6) !important;
}

.btn img{
    width: 20px;
    filter: invert(98%) sepia(7%) saturate(135%) hue-rotate(331deg) brightness(115%) contrast(100%);
}

/* ZMIANA: Styl szarego przycisku (Voucher) */
.btn__gray{
    background: #505050 !important;
    border: 1px solid #777 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 17px 40px;
    font-weight: 700 !important;
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
}

.btn__gray:hover{
    background: #666 !important;
    border-color: #fff !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px);
}

@media only screen and (max-width: 1300px) {
    header{
        padding: 20px 7% 0;
    }

    .header__content{
        padding: 100px 0;
    }

    header h1{
        font-size: 35px;
    }

    header h2{
        margin-top: -13px;
        font-size: 30px;
    }

    .header__img{
        display: none;
    }

    .btn{
        color: white!important;
        border-radius: 0;
        padding: 16px 48px;
    }

}

/* Footer */
footer{
    background-color: #0f0f0f; /* ZMIANA: Ciemny */
    padding: 70px 0 50px;
    position: relative; 
    z-index: 10; /* ZMIANA: Warstwa nad renderem */
}
footer ul {
    padding-left: 0;
    margin-left: 0;
}

footer img{
    width: 80px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    /* ZMIANA: Wymuszenie wyrównania do lewej */
    align-items: flex-start !important; 
    text-align: left !important;
    justify-content: flex-start;
}

footer h5{
    color: #feba01; /* ZMIANA: Złoty */
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer li{
    list-style: none;
    display: flex; align-items: center; /* ZMIANA: Flex */
    margin-bottom: 8px;
}

footer h6{
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 500;
    font-size: 14px;
}

footer li a{
    color: #828282;
    font-weight: 500;
    transition: .3s;
    display: inline-block;
}

footer li a:hover{
    color: #feba01; /* ZMIANA: Złoty */
    transform: translateX(5px);
}

/* ZMIANA: Ikony w stopce */
.footer-right ul li a i {
    color: #feba01;
    width: 25px;
    text-align: center;
    margin-right: 5px;
}
.footer-right ul li a:hover i { color: #fff; }

.footer-long{
    margin-top: 40px;
    border-top: 1px solid rgba(128, 128, 128, 0.11);
    padding-top: 30px;
}

.footer-long p{
    font-weight: 500;
    font-size: 14px;
    color: #8990a0;
}

.spaceis{
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    opacity: 0.3;
    transition: .3s;
    cursor: pointer;
}

.spaceis:hover{
    opacity: 1;
    transition: .3s;
}

.spaceis__img{
    width: 35px;
}

.spaceis__info{
    font-size: 12px;
    margin-top: 18px;
    color: white;
    font-weight: 500;
}

.spaceis__info a{
    color: white;
}

@media only screen and (max-width: 1100px) {
    footer{
        padding: 70px 7% 50px;
    }

    .footer-right{
        margin-top: 20px;
        align-items: flex-start;
        text-align: left;
    }

    .spaceis{
        margin-top: 10px;
        margin-bottom: 20px;
    }

    footer li{
        margin-left: -30px;
    }
}


/* --- SEKCJA DODATKÓW (NOWE ELEMENTY) --- */

/* --- 1. PROSTY STATUS SERWERA (Minimalistyczny) --- */

.server-status-simple {
    display: flex;
    align-items: center;
    gap: 12px; /* Odstęp między kropką a tekstem */
}

/* Tekst "GRACZY ONLINE" */
.server-status-simple .status-text {
    color: #bbbbbb; /* Kolor tekstu (szary, jak menu) */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Liczba graczy */
.server-status-simple .status-text b {
    color: #ffffff; /* Liczba na biało */
    font-weight: 700;
}

/* Kropka statusu */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #444; /* Domyślnie szara (offline/wczytywanie) */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Kropka ONLINE (zielona + pulsowanie) */
.status-dot.online {
    background-color: #00ff00;
    box-shadow: 0 0 10px #00ff00; /* Zielona poświata */
    animation: pulse-green 2s infinite;
}

/* Animacja pulsowania */
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0, 255, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

/* 2. Przycisk Premium (Sklep / IP) */
.btn-premium, nav .btn-premium {
    background: #feba01 !important;
    color: #ffffff !important;
    padding: 10px 30px !important;
    text-shadow: 1px 1px 2px #000000;
    border-radius: 8px !important;
    box-shadow: 0 0 10px rgba(255, 212, 12, 0.2);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
    border: none; text-decoration: none; cursor: pointer; transition: 0.3s;
}
.btn-premium i, nav .btn-premium i {
    color: #fff !important; font-size: 18px; margin-right: 0;
}
.btn-premium:hover {
    background: #feba01 !important;
    box-shadow: 0 0 25px rgba(255, 212, 12, 0.5);
    transform: translateY(-2px);
}

/* 3. Discord Sticky Widget */
.discord-sticky {
    position: fixed; top: 50%; left: 0; transform: translateY(-50%);
    z-index: 9999;
    background-color: #5865F2; color: white;
    display: flex; align-items: center; gap: 10px;
    padding: 5px 12px 5px 5px !important; /* Ciasne marginesy */
    border-radius: 0 12px 12px 0;
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
    text-decoration: none; transition: 0.3s;
}
.discord-sticky:hover {
    padding-left: 20px; background-color: #4752c4; color: #fff;
    box-shadow: 5px 0 25px rgba(88, 101, 242, 0.6);
}
.discord-sticky-icon {
    width: 40px; height: 40px; border-radius: 12px; /* Zaokrąglony kwadrat */
    overflow: hidden; flex-shrink: 0; background: transparent; padding: 0;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.discord-sticky-icon img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block;
}
.discord-sticky-content {
    display: flex; flex-direction: column; line-height: 1.2;
}
.discord-sticky-content span {
    font-weight: 700; font-size: 14px; text-transform: uppercase;
}
.discord-sticky-content small {
    font-size: 11px; color: rgba(255, 255, 255, 0.8);
}
@media only screen and (max-width: 768px) {
    .discord-sticky { display: none; }
}