/* === Zmienne kolorów i inne stałe wartości (root) === */
:root {
    --bg: #0a0a0c;
    --text: #e0e0e5;
    --accent: #a020f0;
    --accent-glow: #c71585;
    --card: #141418;
    --border: #2a1a3a;
}

/* === Reset i podstawowe ustawienia === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

/* === Banner (górny obrazek) === */
.banner {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    
}




/* Tytuł pod banerem i wersja gry */
.title-wrapper {
    text-align: center;
    padding: 60px 0px 0px;
    background: linear-gradient(to bottom, rgba(10,10,12,0.95), var(--bg));
}

.game-title {
    font-size: 56px;
    margin: 0;
    text-shadow: 0 0 15px rgba(150, 22, 224, 0.6);
}

.version {
  font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(150, 22, 224, 0.6);
   
    
}




.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

section {
    margin: 50px 0;
}

h2 {
    color: var(--accent);
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.6rem;
    display: inline-block;
}

.overview p  {
    margin: 14px 0;
}

/* === Informacje podstawowe (Developer, Version, OS itp.) === */
.info {
    background: var(--card);
    padding: 28px ;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    margin-top: 0px;
   
}

.info p {
    margin: 4px 0;
}

.warning {
    color: #ff5555;
    font-weight: bold;
    margin-top: 1.2rem !important;
}

/* === Linki do Patrona, Discorda, Itch.io === */
.dev-links {
    display: inline-flex;
    gap: 18px;
    margin-left: 12px;
    flex-wrap: wrap;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
}

.icon-link:hover {
    color: var(--accent-glow);
    transform: translateY(-2px);
}

.icon-link img {
    width: 22px;
    height: 22px;
}

/* === Rozwijane sekcje (details/summary) === */
details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 16px 0;
    padding: 4px 18px;
    transition: all 0.25s;
}

details[open] {
    box-shadow: 0 0 20px rgba(160,32,240,0.15);
}


details p, details ul {
    padding: 0 12px 16px;
    color: #d0d0d8;
}

/* === Sekcja DOWNLOAD === */
.download {
    text-align: center;
    margin: 70px 0;
}

.download-title {
    font-size: 3.8rem;
    background: linear-gradient(90deg, #c71585, #a020f0, #9616e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.download-platform {
    font-size: 1.4rem;
    margin: 1.5rem 0;
    pad
}


.download-platform a {
    color: var(--accent);
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.download-platform a:hover {
    color: var(--accent-glow);
    text-decoration: underline;
}

.faq p {
    padding-bottom: 10px;
}

.faq strong {
    color: #b418d3;
 
}

/* === Galeria screenshots === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;                                                     
    margin-top: 2rem;
}

.gallery-grid a {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.25s;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(160,32,240,0.25);
}

.gallery-grid a:hover img {
    transform: scale(1.08);
}

.hint {
    opacity: 0.7;
    margin: 1rem 0;
}

/* === Stopka === */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
}

/* === Responsywność (dla mniejszych ekranów) === */
@media (max-width: 680px) {
    .game-title { font-size: 2.8rem; }
    .download-title { font-size: 3rem; }
    .banner { height: 280px; }
}

/* === Dodatkowe style dla list w spoilers === */
.spoilers details ul,
.spoilers details ol {
    margin: 1em 0 1em 1.8em;
    padding: 0;
    list-style-type: disc;
}

.spoilers details li {
    margin-bottom: 0.6em;
    padding-left: 0.3em;
}

.spoilers details h3 {
    margin: 1em 0 0.3em 0.4em;
    padding: 0;
    font-size: 1.3rem;
    color: var(--accent);
    border: none;
    color: #b65aeb;
}

/* === Style dla summary (klikalne nagłówki) === */
summary {
    cursor: pointer;
    padding: 14px 8px;
    font-size: 1.2rem;
    color: var(--accent);
    list-style: none;
}

summary:hover {
    color: var(--accent-glow);
}

/* === Trójkąty tylko dla sekcji spoilers === */
.spoilers summary {
    position: relative;
    padding-left: 32px;             /* miejsce na strzałkę */
    list-style: none;               /* usuwa domyślny marker */
    cursor: pointer;
}

/* Strzałka zamknięta (▶) */
.spoilers summary::before {
    content: "▶";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    color: var(--accent);
    transition: transform 0.25s ease;
}

/* Strzałka otwarta (po 90° w prawo = w dół) */
.spoilers details[open] summary::before {
    transform: translateY(-50%) rotate(90deg);
}

/* Lekkie podświetlenie strzałki po najechaniu */
.spoilers summary:hover::before {
    color: var(--accent-glow);
}

/* Zapobiegamy przypadkowemu zaznaczaniu tekstu przy klikaniu */
.spoilers summary {
    user-select: none;
}

/* Kolor tekstu wewnątrz HEAVY SPOILER */
.inner-spoiler,
.inner-spoiler p,
.inner-spoiler strong {
    color: #c39adb !important;
}

/* Mocniejszy akcent dla nagłówka wewnątrz Heavy Spoilers*/
.inner-spoiler strong {
    color: #9616e0 !important;
    font-weight: 600;
}





.container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Linie względem .container */
.container::before,
.container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, transparent, #9616e0, transparent);
    opacity: 0.4;
    pointer-events: none;
}

.container::before {
    left: -70px;     /* odstęp od lewej krawędzi kontenera */
}

.container::after {
    right: -70px;
}

/* chowamy na mobile */
@media (max-width: 1100px) {
    .container::before,
    .container::after {
        display: none;
    }
}