/* Ogólne stylizacje */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Container dla całej strony */
.container-ghostly {
    width: 90%; /* Szerokość kontenera ustawiona na 70% strony */
    margin: 0 auto; /* Wyśrodkowanie kontenera */
    padding: 20px;
}

/* Sekcja zrzutów ekranu */
.screenshots h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}



.gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery img {
    max-width: 30%;
    height: auto;
    border-radius: 8px;
}

/* Sekcja polityki prywatności i regulaminu */
.policy-and-terms {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%; /* Kolumny zajmują 90% szerokości */
    margin: 0 auto;
    padding-top: 40px;
}
.policy-and-terms a{
    text-decoration: none;
    color: var(--global--secondary-color);
    
    }

.privacy-policy,
.terms-of-service {
    width: 48%; /* Każda kolumna zajmuje 48% szerokości */
}

h2{
    text-transform: uppercase;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.6), 0 0 4px rgba(255, 255, 255, 0.4);
    font-weight: bold !important;
}
.policy-and-terms h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

/* Stylizacja tekstu w sekcjach */
.policy-and-terms p {
    font-size: 0.9rem; /* Mała czcionka */
    line-height: 1.5;
}

.privacy-policy h3,
.terms-of-service h3 {
    font-size: 1.5rem; /* Mała czcionka */
    margin-top: 15px;
}

/* Stylizacja przycisków */
.toggle-btn {
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    border-radius: 7px;
}

.toggle-btn:hover {
    background-color: var(--global--secondary-color);
}

/* Ukryty tekst rozwijany */
.hidden-content {
    display: none; /* Ukrywa treść na początku */
    font-size: 0.9rem; /* Mała czcionka */
    line-height: 1.5;
    margin-top: 15px;
    max-height: 9999px; /* Zapewnia, że cała zawartość się zmieści */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Pokazuje rozwinięty tekst */
.hidden-content.show {
    display: block;
}

/* Sekcja certyfikatów */
.certificates {
    text-align: center;
    margin-top: 40px;
}

.certificates h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;    
}

.certificates ul {
    list-style: none;
    padding: 0;
}

.certificates li {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: bold;
}


/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .gallery img {
        max-width: 45%;
    }

    .policy-and-terms {
        flex-direction: column;
        align-items: center;
    }

    .privacy-policy,
    .terms-of-service {
        width: 100%;
    }

    .policy-and-terms h2 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .screenshots h2, .certificates h2 {
        font-size: 1.2rem;
    }

    .gallery img {
        max-width: 100%;
    }

    .toggle-btn {
        font-size: 0.9rem;
    }
}
