/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

strong,
b {
    color: #00d4ff !important;
    font-weight: bold;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #000000; /* czarne tło */
    /* background: #000 url("../gfx/tlo.jpg") center top / cover no-repeat; */
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ================= NAVIGATION ================= */

.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.nav-links img.nav-icon{
    width:24px;
    height:24px;
    margin-top:4px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #00d4ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* ================= HERO ================= */

.hero {
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn-primary {
    background: #00d4ff;
    color: #000;
    padding: 12px 30px;
    margin-right: 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #ffffff;
    transform: scale(1.05);
	box-shadow: 0 20px 40px rgba(0, 212, 255, 0.7); /* niebieski efekt glow */
}

/* ================= CONTENT ================= */

.content {
    background: #111;              /* ciemne tło */
    color: #ffffff;                /* biały tekst */
    padding: 20px 10px;
    border-radius: 0px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.content h2 {
    text-align: center;
    margin-top: 30px;   /* odstęp nad nagłówkiem */
    margin-bottom: 10px; /* odstęp pod nagłówkiem */
    font-size: 28px;
}

.content h4 {
    display: block;          /* każdy nagłówek w nowym wierszu */
    margin-bottom: 10px;     /* odstęp w pionie */
    font-size: 1.1em;        /* rozmiar czcionki */
    font-weight: bold;       /* pogrubienie */
    color: #ffffff;          /* kolor tekstu */
}

/* Jeśli chcesz, aby przy braku miejsca wiersze zawijały się */
.content h4:last-child {
    margin-right: 0;         /* usuwa margines po ostatnim nagłówku w wierszu */
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.features li:last-child {
    border-bottom: none;
}

.info {
    text-align: center;
    font-size: 16px;
    color: #cccccc;
}

.content a {
    color: #00d4ff;          /* wyróżniony kolor linków */
    text-decoration: underline; /* opcjonalnie, żeby od razu było widać */
    transition: 0.3s;
}

.content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ================= CONTENT LIST STYLE ================= */
.content ul {
    list-style: none;           /* usuwa domyślne punkty */
    padding-left: 20px;         /* odstęp od lewej */
    margin-bottom: 20px;
}

.content ul li {
    position: relative;
    padding: 8px 0 8px 25px;   /* odstęp od tekstu i miejsca na ikonę */
    font-size: 16px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* opcjonalna ikonka “check” przy li */
.content ul li::before {
    content: "✔";               /* znak przed każdym punktem */
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.content ul li:last-child {
    border-bottom: none;        /* usuwa linię przy ostatnim elemencie */
}

/* ================= FOOTER ================= */

.footer {
    background: #111;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-copy {
    font-size: 14px;
    color: #777;
}

.footer-disclaimer {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ================= FOOTER LINKS STYLE ================= */

.footer a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.footer-disclaimer a {
    font-weight: 500;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero h1 {
        font-size: 26px;
    }

}
/* ================= HERO LOGO ================= */

.hero {
    position: relative;
    padding: 40px 0;
    text-align: center;
    background: url("../gfx/gora.png") center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Ciemny overlay dla lepszej czytelności */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* Zawartość nad overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

/* ================= GALERIA SCREENÓW ================= */

.screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;             /* zmniejszony odstęp między zdjęciami */
    justify-content: center;
    margin-top: 10px;      /* mniejszy margines od góry */
    padding: 0;            /* usuwa dodatkowy padding */
}

.screenshots img {
    width: 280px;
    border-radius: 15px;                   /* zaokrąglone rogi */
    border: 10px solid #ffffff;            /* biała ramka */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.screenshots img:hover {
    transform: scale(1.50);                /* lekkie powiększenie */
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.7); /* niebieski efekt glow */
}

.screenshots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;             /* zmniejszony odstęp między kontenerami */
    margin-top: 10px;      /* mniejszy margines */
    justify-content: center;
    padding: 0;            /* usuwa padding */
}

.h4-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 200px;       /* minimalna szerokość 200px */
    max-width: 250px;      /* mniejsza max szerokość */
    box-sizing: border-box;
    margin-bottom: 10px;   /* odstęp między rzędami w flex-wrap */
}

.h4-title h4 {
    margin-bottom: 5px;    /* mniejszy odstęp między nagłówkiem a obrazkiem */
    font-size: 1em;
}

.h4-title img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ================= ORDERED LIST STYLE ================= */
ol.ol-features {
    list-style: decimal inside;
    margin: 20px 0;
    padding-left: 20px;
    color: #ffffff; /* tekst w liście */
}

ol.ol-features li {
    padding: 2px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

ol.ol-features li:last-child {
    border-bottom: none;
}

ol.ol-features a {
    color: #00d4ff; /* wyróżnione linki w li */
    text-decoration: none;
}

ol.ol-features a:hover {
    text-decoration: underline;
}

/* ================= DOWNLOAD ZIP HORIZONTAL ================= */

.download-container {
    display: flex;              /* flex w poziomie */
    align-items: center;        /* wyrównanie w pionie */
    justify-content: center;    /* wyśrodkowanie w poziomie */
    gap: 20px;                  /* odstęp między elementami */
    margin: 20px 0;
    flex-wrap: wrap;            /* jeśli ekrany są wąskie, elementy mogą się zawijać */
}

.download-zip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00d4ff;          /* domyślny niebieski przycisk */
    color: #000000 !important;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.download-zip img {
    width: 40px;
    height: 40px;
}

.download-zip:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
	box-shadow: 0 20px 40px rgba(0, 212, 255, 0.7); /* niebieski efekt glow */
}

.file-info {
    font-size: 14px;
    color: #cccccc;
}



/* ================= VIDEO CARDS ================= */

.video-card {
    display: inline-block;
    background: #f6f6f6;
    padding: 20px;
    border: 1px solid #000;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 450px;
    width: 100%;
    position: relative;
    cursor: pointer;
	margin: 10px 10px;
	text-align: center;
	justify-content: center;
}

.video-card:hover {
    transform: scale(1.50);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.7); /* niebieski efekt glow */
    z-index: 5;
}

.video-card .video-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #000;
    text-align: center;
    white-space: normal;
}

.video-card video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-card p {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
    text-align: center;
}


/* ================= VIDEO MODAL ================= */

.video-modal {
    display: none; /* ukryty domyślnie */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.90);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* aktywny */
.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 95vw;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* brak scrolla */
}

/* Video dopasowane do ekranu */
#modalVideo {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 15px;
}

/* Tytuł */
#modalTitle {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.3em;
    text-align: center;
}

/* Opis */
#modalDescription {
    color: #ffffff;
    margin-top: 10px;
    text-align: center;
    max-width: 80%;
}

/* Zamknięcie */
.video-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: #ffffff;
    cursor: pointer;
    transition: 0.3s;
}

.video-modal-close:hover {
    color: #00d4ff;
}



/* ================= LARGE VIDEO CARD ================= */
.video-card-large {
    max-width: 750px;
    width: 100%;
    display: block;          /* ważne */
    margin: 40px auto;       /* ✅ wyśrodkowanie względem strony */
}

.video-card-large .video-title {
    font-size: 1.4em;
}

.video-card-large p {
    font-size: 1.1em;
}


/* ================= AKTYWNA STRONA ================= */
.nav-links a.active {
    color: red;              /* kolor aktywnego linku */
    text-decoration: underline; /* podkreślenie */
    font-weight: bold;       /* opcjonalnie pogrubienie */
}




/* ================= COOKIE PANEL ================= */
#cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    z-index: 999999;

    transform: translateY(150%);
    transition: transform 0.5s ease-in-out;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
}

#cookie.show {
    transform: translateY(0);
}

.cookie-text-wrapper {
    max-width: 1700px;
    flex: 1;
}

.cookie-img-center {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cookie-img img {
    width: 36px;
    height: 36px;
    vertical-align: middle;
    margin-right: 8px;
    transition: transform 0.3s ease;
    z-index: 10;
    position: relative;
}

.cookie-img img:hover {
    transform: scale(1.15);
}

#cookie a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 255, 0.4);
}

#cookie a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

/* tekst */
#cinfo {
    display: block;
    color: #cccccc;
}

/* przycisk */
#hcks {
    background: #00d4ff;
    color: #000000;
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.3s;
    margin-left: 15px;
    font-weight: bold;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

#hcks:hover {
    background: #ffffff;
    transform: scale(1.05);
}

/* ukryty baner */
#cookie.hidden {
    display: none;
}

/* RESPONSYWNE */
@media (max-width: 1700px) {
    .cookie-text-wrapper {
        max-width: 90%;
    }

    #cookie {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 60px;
    }

    #hcks {
        margin-left: 0;
        margin-top: 10px;
    }
}


/* ================= PREMIUM OVERLAY ================= */

.premium-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Overlay */
.premium-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.90);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.premium-overlay.show {
    display: flex;
}

.premium-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.premium-avatar-bg {
    position: absolute;
    width: 320px;
    height: auto;
    transform: translate(-40%, -70%);
    z-index: 1;
    pointer-events: none;
}

.premium-modal {
    position: relative;
    z-index: 2;
    background: #111;
    color: #ffffff;
    padding: 25px 35px;
    border-radius: 20px;
    overflow: hidden;
    max-width: 600px;
    min-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Nagłówek */
.premium-modal h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #00d4ff;
}

/* Zamknięcie */
.premium-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #cccccc;
    transition: 0.3s ease;
}

.premium-close:hover {
    color: #00d4ff;
    transform: scale(1.2);
}

/* Przycisk */
.premium-btn {
    padding: 12px 25px;
    background-color: #00d4ff;
    border: none;
    border-radius: 30px;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
    font-weight: bold;
}

.premium-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Lista */
.premium-content ul {
    padding-left: 20px;
    list-style: none;
    line-height: 1.4;
}

.premium-content ul li {
    position: relative;
    padding: 8px 0 8px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.premium-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.premium-content ul li:last-child {
    border-bottom: none;
}

.premium-content img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .premium-overlay {
        cursor: pointer;
    }

    .premium-modal {
        cursor: default;
        min-width: unset;
    }
}

/* ================= MOBILE MENU BUTTON ================= */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: #00d4ff;
    border-radius: 3px;
    transition: 0.3s;
}

/* Animacja X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================= RESPONSIVE NAV ================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        width: 220px;
        padding: 20px;
        gap: 15px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-left: 1px solid rgba(0,212,255,0.3);
        box-shadow: -10px 0 30px rgba(0,0,0,0.7);
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .nav-links a {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-links img.nav-icon {
        margin-top: 0;
    }
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}