/* =========================
   DIYU 地獄 - GŁÓWNY STYL
   ========================= */


/* =========================
   RESET
   ========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    position: relative;

    background:
        radial-gradient(
            ellipse at 15% 35%,
            rgba(120, 0, 0, 0.28),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 85% 65%,
            rgba(140, 0, 0, 0.22),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 50% 100%,
            rgba(90, 0, 0, 0.18),
            transparent 45%
        ),
        #080606;

    color: #f1e7d0;
    font-family: "Cormorant Garamond", serif;
    min-height: 100vh;
}


body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(150, 0, 0, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(130, 0, 0, 0.10),
            transparent 32%
        );

    z-index: -1;
}


/* =========================
   ZŁOTE ŁAŃCUCHY — TŁO
   ========================= */

body::after {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url("../assets/images/chains.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    opacity: 0.02;

    pointer-events: none;
    z-index: 0;
}


body > * {
    position: relative;
    z-index: 1;
}

/* =========================
   GŁÓWNY BANER
   ========================= */

.hero {

    position: relative;

    width: 100%;

    height: 500px;

    background-image:

        linear-gradient(

            rgba(0, 0, 0, 0.45),

            rgba(0, 0, 0, 0.85)

        ),

        url("../assets/logo/logo.png");

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: flex-end;

    justify-content: center;

}

/* =========================
   MENU
   ========================= */

.menu {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
}

.menu a {
    color: #d4af37;
    text-decoration: none;
    font-family: "Tillana", serif;
    font-size: 28px;
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover {
    color: white;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.menu-links a {
    color: #d4af37;
    text-decoration: none;
    font-family: "Tillana", serif;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s;
}

.menu-links a:hover {
    color: white;
}


/* =========================
   KATEGORIE
   ========================= */

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 40px 20px;
}

.categories button {
    background: rgba(0, 0, 0, 0.6);
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 12px 25px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Tillana", serif;
    font-size: 16px;
}

.categories button:hover {
    background: #8b0000;
    color: white;
}

.categories .active {
    background: #8b0000;
    color: white;
}


/* =========================
   SEKCJA SERII
   ========================= */

.series {
    padding: 20px 40px;
}

.series h2 {
    text-align: center;
    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 32px;
    margin-bottom: 30px;
}


/* =========================
   GRID KART
   ========================= */

.series-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 250px)
    );
    justify-content: center;
    gap: 35px;
    padding: 20px;
}


/* =========================
   KARTA SERII
   ========================= */

.series-card {
    position: relative;
    overflow: hidden;
    display: block;
    background: #120c0c;
    border: 1px solid #8b5e34;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow:
        0 0 15px rgba(0, 0, 0, 0.8);
}

.series-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 25px rgba(212, 175, 55, 0.35);
}


/* OKŁADKA */

.series-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}


/* INFORMACJE */

.series-info {
    padding: 15px;
}

.series-info h3 {
    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 10px;
}

.series-info p {
    color: #ccc;
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
}


/* LINKI KART SERII */

.series-card,
.series-card:visited,
.series-card:hover,
.series-card:active {
    color: #d4af37;
    text-decoration: none;
}

.series-card h2 {
    color: #d4af37;
    font-family: "Tillana", serif;
}

.series-card:hover h2 {
    color: white;
}


/* TYTUŁ KARTY SERII */

.series-title {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 12px;
    margin: 0;

    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.15;

    text-align: center;

    overflow-wrap: break-word;
}

.series-title--medium {
    font-size: 21px;
}

.series-title--long {
    font-size: 18px;
}

.series-title--very-long {
    font-size: 18px;
}

/* +18 */

.adult-warning {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(139, 0, 0, 0.95);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-family: "Tillana", serif;
    font-size: 16px;
    font-weight: bold;
    z-index: 5;
}

/* OPIS PO NAJECHANIU */

.series-description {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    max-height: 65%;
    overflow-y: auto;

    background: rgba(0, 0, 0, 0.94);
    color: white;

    padding: 22px 20px;

    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.5;

    text-align: center;

    opacity: 0;
    transform: translateY(100%);

    transition: 0.3s;
}

/* PRZEWIJANIE OPISU */

.series-description::-webkit-scrollbar {
    width: 6px;
}

.series-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.series-description::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.65);
    border-radius: 10px;
}

.series-description::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

.series-card:hover .series-description {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   STOPKA
   ========================= */

footer {
    text-align: center;
    padding: 30px;
    color: #777;
    font-family: "Cormorant Garamond", serif;
}


/* =========================
   STRONA SERII
   ========================= */

.series-page {
    position: relative;
    display: flex;
    gap: 40px;
    padding: 50px 35px;
    max-width: 1200px;
    margin: auto;
    border-top: 1px solid rgba(205, 164, 74, 0.35);
    border-bottom: 1px solid rgba(205, 164, 74, 0.35);
}


/* Złote małe ornamenty */

.series-page::before,
.series-page::after {
    content: "✦";
    position: absolute;
    color: rgba(210, 170, 70, 0.65);
    font-family: "Tillana", serif;
    font-size: 22px;
}

.series-page::before {
    top: 18px;
    left: 18px;
}

.series-page::after {
    bottom: 18px;
    right: 18px;
}


/* OKŁADKA */

.series-cover {
    width: 300px;
    height: 450px;
    object-fit: cover;
    border: 2px solid #d4af37;
}


/* NAGŁÓWKI STRONY SERII */

.series-details h1,
.series-details h2 {
    color: #d6aa4b;
    font-family: "Tillana", serif;
    text-shadow:
        0 0 12px rgba(160, 0, 0, 0.35);
}

.series-details h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

.series-details h2 {
    font-size: 28px;
    font-weight: 500;
    margin-top: 40px;
    border-bottom: 1px solid rgba(205, 164, 74, 0.3);
    padding-bottom: 10px;
}


/* OPIS SERII */

.series-details p {
    color: #e7ded0;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    line-height: 1.4;
}


/* POWRÓT DO STRONY */

.series-header {
    padding: 35px 50px;
}

.back-button {
    color: #d4af37;
    font-family: "Tillana", serif;
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
}

.back-button:hover {
    color: white;
}


/* =========================
   OKŁADKA SERII +18
   ========================= */

.cover-box {
    position: relative;
    width: 300px;
}

.cover-box .series-cover {
    width: 300px;
    height: 450px;
    object-fit: cover;
}

.cover-box .adult-warning {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: "Tillana", serif;
    font-size: 17px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 8px black;
    z-index: 5;
}


/* =========================
   PRZYCISK WSPARCIA
   ========================= */

.support-box {
    margin: 45px auto 10px;
    max-width: 600px;
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(205, 164, 74, 0.45);
    background:
        linear-gradient(
            rgba(80, 0, 0, 0.16),
            rgba(10, 5, 5, 0.65)
        );
    box-shadow:
        0 0 30px rgba(100, 0, 0, 0.18);
}

.support-box h2 {
    border: none;
    margin-top: 0;
    font-family: "Tillana", serif;
}

.support-box .back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: #8f1717;
    border: 1px solid #b98a32;
    color: #f5e7c5;
    text-decoration: none;
    transition: 0.25s ease;
}

.support-box .back-button:hover {
    background: #b21d1d;
    box-shadow:
        0 0 18px rgba(170, 0, 0, 0.45);
    transform: translateY(-2px);
}


/* =========================
   CZYTNIK ROZDZIAŁÓW
   ========================= */

.reader {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: center;
}


/* =========================
   GÓRNY PASEK CZYTNIKA
   ========================= */

.reader-header {
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 45px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 12, 12, 0.94),
            rgba(10, 7, 7, 0.92)
        );

    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25);

    position: relative;
    z-index: 20;
}


/* LEWA STRONA */

.reader-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
}


.reader-series-title {
    color: #d6b54c;

    font-family: "Tillana", serif;
    font-size: 25px;
    font-weight: 600;

    line-height: 1.1;

    text-decoration: none;

    transition: color 0.25s ease;
}


.reader-series-title:hover {
    color: #fff1d0;
}


.reader-current-chapter {
    margin-top: 3px;

    color: #bcb3a9;

    font-family: "Cormorant Garamond", serif;
    font-size: 17px;

    line-height: 1.1;
}


/* PRAWA STRONA — WYBÓR ROZDZIAŁU */

.chapter-selector {
    position: relative;

    margin: 0;
    padding: 0;
}


/* SELECT */

.chapter-selector select {
    appearance: none;
    -webkit-appearance: none;

    min-width: 115px;

    padding: 8px 34px 8px 14px;

    background:
        rgba(18, 12, 12, 0.95);

    color: #d4af37;

    border: 1px solid rgba(139, 94, 52, 0.7);

    border-radius: 3px;

    font-family: "Tillana", serif;
    font-size: 16px;

    cursor: pointer;

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}


.chapter-selector select:hover,
.chapter-selector select:focus {
    border-color: #d4af37;
    background: #160d0d;
}


/* WŁASNA STRZAŁKA */

.chapter-selector::after {
    content: "⚝";

    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-55%);

    color: #d4af37;

    font-family: "Cormorant Garamond", serif;
    font-size: 22px;

    pointer-events: none;
}


/* =========================
   OBRAZKI
   ========================= */

.reader-images {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0;

    width: 100%;

    margin: 0;
    padding: 0;
}


.reader-images img {
    display: block;

    width: var(--reader-size, 625px);

    max-width: 100%;

    height: auto;

    margin: 0;
    padding: 0;
}


/* =========================
   PRZYCISKI ROZDZIAŁÓW
   ========================= */

.chapter-buttons {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    width: min(900px, calc(100% - 40px));

    margin: 50px auto;

    padding: 0;
}


.chapter-buttons a {
    background: #120c0c;

    border: 1px solid #8b0000;

    padding: 15px 25px;

    color: #d4af37;

    font-family: "Tillana", serif;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease;
}


.chapter-buttons a:hover {
    background: #8b0000;

    color: white;

    border-color: #d4af37;

    transform: translateY(-2px);
}


/* =========================
   STRZAŁKI PRZEWIJANIA
   ========================= */

.reader-scroll {
    position: fixed;

    right: 54px;
    bottom: 55px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    z-index: 1000;
}


.reader-scroll button {
    width: 30px;
    height: 38px;

    padding: 0;

    background: transparent;

    border: none;

    color: #d6b54c;

    font-family: "Cormorant Garamond", serif;

    font-size: 58px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.reader-scroll button:hover {
    color: #fff1d0;

    transform: scale(1.12);
}


/* =========================
   ZŁOTE OZDOBIENIA STRONY
   ========================= */

.section-divider {
    width: min(850px, 85%);
    height: 1px;
    margin: 45px auto;
    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.8),
        rgba(212, 175, 55, 0.15),
        transparent
    );
    position: relative;
}

.section-divider::after {
    content: "✦";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 12px;
    background: #0b0808;
    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 11px;
}


/* =========================
   STRONA WSPARCIA
   ========================= */

.support-main {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
}

.support-card {
    position: relative;
    width: min(700px, 90%);
    padding: 60px 55px;
    text-align: center;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(120, 0, 0, 0.20),
            transparent 55%
        ),
        rgba(8, 5, 5, 0.88);
    border-top: 1px solid rgba(211, 170, 76, 0.55);
    border-bottom: 1px solid rgba(211, 170, 76, 0.55);
    box-shadow:
        0 0 35px rgba(110, 0, 0, 0.18);
}


/* ZŁOTE BOCZNE ZDOBIENIA */

.support-card::before,
.support-card::after {
    content: "✦";
    position: absolute;
    color: rgba(211, 170, 76, 0.65);
    font-family: "Tillana", serif;
    font-size: 25px;
}

.support-card::before {
    top: 18px;
    left: 22px;
}

.support-card::after {
    bottom: 18px;
    right: 22px;
}


/* GÓRNE GWIAZDKI */

.support-ornament {
    margin-bottom: 12px;
    color: #cfa94b;
    font-family: "Tillana", serif;
    font-size: 18px;
    letter-spacing: 4px;
    opacity: 0.85;
}


/* TYTUŁ */

.support-card h1 {
    margin: 0;
    color: #e0b84f;
    font-family: "Tillana", serif;
    font-size: clamp(36px, 6vw, 44px);
    letter-spacing: 5px;
    text-shadow:
        0 0 15px rgba(150, 0, 0, 0.35);
}


/* SYMBOL */

.support-symbol {
    margin: 30px auto 20px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(
            circle,
            rgba(130, 0, 0, 0.30),
            rgba(10, 5, 5, 0.8)
        );
    border: 1px solid rgba(211, 170, 76, 0.55);
    box-shadow:
        0 0 25px rgba(130, 0, 0, 0.25);
}

.support-symbol img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* PODTYTUŁ */

.support-card h2 {
    margin: 20px 0 15px;
    color: #d8b45a;
    font-family: "Tillana", serif;
    font-size: 28px;
    font-weight: 600;
}


/* TEKST */

.support-text {
    max-width: 580px;
    margin: 0 auto 15px;
    color: #e7ded0;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    line-height: 1.7;
}


/* PRZYCISK */

.support-button {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 42px;
    background: #a71919;
    border: 1px solid #d0a444;
    color: #fff1d0;
    font-family: "Tillana", serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.support-button:hover {
    background: #c21f1f;
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(190, 0, 0, 0.45);
}


/* DOLNA DEKORACJA */

.support-bottom-ornament {
    margin-top: 40px;
    color: rgba(211, 170, 76, 0.65);
    font-family: "Tillana", serif;
    letter-spacing: 3px;
}


/* DISCORD */

.discord-symbol {
    font-family: "Tillana", serif;
    font-size: 30px;
    color: #d6aa4b;
    text-shadow:
        0 0 15px rgba(170, 0, 0, 0.45);
}

.discord-button {
    background: #7b1717;
}

.discord-button:hover {
    background: #a91d1d;
}

/* =========================
   PRZYCISKI WSPARCIA / DISCORD
   ========================= */

.support-button,
.discord-button,
.support-card .back-button {
    text-decoration: none !important;
}

/* =========================
   ZESPÓŁ
   ========================= */

.team-section {
    width: min(1200px, 92%);
    margin: 70px auto;
}

.team-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: "Tillana", serif;
    font-size: 42px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.team-card {
    position: relative;
    background: #100b0b;
    border: 1px solid rgba(212, 175, 55, 0.35);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(120, 0, 0, 0.18),
            transparent 65%
        );
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(120, 0, 0, 0.25);
}

.team-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #080606;
}

.team-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    position: relative;
    padding: 22px;
    text-align: center;
}

.team-info h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: "Tillana", serif;
    font-size: 24px;
    letter-spacing: 1px;
}

.team-role {
    margin: 0 0 15px;
    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.team-description {
    margin: 0;
    color: #aaa;
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================
   BYLI CZŁONKOWIE
   ========================= */

.former-team {
    margin-top: 110px;
}

.team-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 45px;
    color: #d4af37;
}

.team-divider::before,
.team-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background:
        linear-gradient(
            to right,
            transparent,
            rgba(212, 175, 55, 0.5)
        );
}

.team-divider::after {
    background:
        linear-gradient(
            to left,
            transparent,
            rgba(212, 175, 55, 0.5)
        );
}

.team-divider p {
    margin: 0;
    font-family: "Tillana", serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
}

.former-member {
    opacity: 0.7;
}

.former-member:hover {
    opacity: 1;
}


/* =========================
   WYSZUKIWARKA
   ========================= */

.search-box {
    position: absolute !important;

    top: 20px !important;
    right: 30px !important;

    bottom: auto !important;
    left: auto !important;

    z-index: 9999 !important;
}

.search-box input {
    width: 150px;
    height: 36px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #f5f5f5;
    border: 1px solid #8b5e34;
    outline: none;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
}

.search-box input::placeholder {
    color: #888;
}

.search-box input:focus {
    border-color: #d4af37;
}

.search-box button {
    width: 40px;
    height: 36px;
    padding: 0;
    background: #a00000;
    color: white;
    border: 1px solid #d4af37;
    cursor: pointer;
    font-family: "Tillana", serif;
    font-size: 15px;
    transition: 0.3s;
}

.search-box button:hover {
    background: #a00000;
}


/* WYNIKI WYSZUKIWANIA */

.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #120c0c;
    border: 1px solid #8b5e34;
    border-radius: 6px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    z-index: 1000;
}

.search-result {
    display: block;
    padding: 12px 16px;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    text-decoration: none;
    border-bottom: 1px solid #2a1d18;
    transition: 0.25s;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: #1c1310;
    color: #f0d477;
    padding-left: 21px;
}

.search-no-results {
    padding: 12px 10px;
    color: #888;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
}


/* =========================
   OSTATNIO DODANE
   ========================= */

.latest-section {
    width: 100%;
    margin: 0 auto;
    padding: 5px 30px 0;
    text-align: center;
    box-sizing: border-box;
}

.latest-section h2,
.series-section > h2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 22px;
    font-family: "Tillana", serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #d6b54c;
    text-transform: uppercase;
}

.latest-section h2::before,
.latest-section h2::after,
.series-section > h2::before,
.series-section > h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
}

.latest-section h2::before,
.series-section > h2::before {
    background:
        linear-gradient(
            to right,
            transparent,
            #8b5e34
        );
}

.latest-section h2::after,
.series-section > h2::after {
    background:
        linear-gradient(
            to left,
            transparent,
            #8b5e34
        );
}

.latest-section h2 {
    text-shadow:
        0 0 12px rgba(212, 175, 55, 0.12);
}

/* LISTA OSTATNIO DODANYCH */

.latest-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.latest-list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 5px 3px 12px;
}

.latest-list::-webkit-scrollbar {
    display: none;
}


/* KARTY */

.latest-list .latest-card {
    flex: 0 0 245px;
    width: 245px;
    min-width: 245px;
    margin: 0;
    border: 1px solid rgba(168, 126, 49, 0.75);
    border-radius: 5px;
    background:
        linear-gradient(
            180deg,
            #110b0d 0%,
            #0c0809 100%
        );
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        0 0 8px rgba(120, 25, 25, 0.08);
    overflow: hidden;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.latest-list .latest-card:hover {
    transform: translateY(-4px);
    border-color: #b48a3c;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.45),
        0 0 14px rgba(145, 35, 35, 0.14);
}

.latest-list .latest-card > img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin: 0;
}

.latest-list .latest-info {
    padding: 10px 8px 11px;
    text-align: center;
}

.latest-list .latest-info {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;

    padding: 12px 8px 14px;

    white-space: nowrap;
    overflow: hidden;
}

.latest-list .latest-info h3 {
    flex: 0 1 42%;
    min-width: 0;

    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #d6b54c;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-list .latest-info p {
    flex: 1 1 58%;
    min-width: 0;

    margin: 0;

    font-family: "Tillana", serif;
    font-size: 16px;
    font-weight: 500;

    color: #e7ded0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-list .latest-info span {
    display: none;
}

/* STRZAŁKI */

.latest-arrow {
    flex: 0 0 auto;
    width: 35px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.latest-arrow:hover {
    color: #fff1d0;
    transform: scale(1.06);
}

.latest-arrow:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.latest-empty {
    width: 100%;
    padding: 35px 20px;
    color: #888;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    text-align: center;
}


/* =========================
   SEKCJA SERII
   ========================= */

.series-section {
    position: relative;
    padding: 20px 30px 60px;
}

.series-section > h2 {
    text-align: center;
    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 32px;
    margin-top: 15px;
    margin-bottom: 30px;
}


/* =========================
   TŁUMACZENIA
   ========================= */

.translations-link-section {
    position: relative;
    width: min(760px, 90%);
    margin: 62px auto 75px;
    padding: 38px 35px 40px;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            rgba(12, 7, 8, 0.96),
            rgba(9, 6, 7, 0.98)
        );
    border-top: 1px solid rgba(157, 119, 52, 0.65);
    border-bottom: 1px solid rgba(157, 119, 52, 0.65);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.translations-link-section::before,
.translations-link-section::after {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(105, 27, 27, 0.65),
        transparent
    );
}

.translations-link-section::before {
    left: 8px;
}

.translations-link-section::after {
    right: 8px;
}

.translations-link-section h2 {
    margin: 0 0 10px;
    font-family: "Tillana", serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #e2d9c9;
}

.translations-link-section p {
    max-width: 500px;
    margin: 0 auto 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #bcb3a9;
}

.translations-button {
    display: inline-block;
    padding: 11px 28px;
    border: 1px solid #9d7135;
    background: rgba(75, 18, 18, 0.45);
    font-family: "Tillana", serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #d7c7a0;
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.translations-button:hover {
    background: rgba(110, 27, 27, 0.55);
    border-color: #c29a4b;
    color: #f0dfb0;
    transform: translateY(-2px);
}


/* =========================
   ZŁOTY SEPARATOR
   ========================= */

.home-divider {
    width: min(850px, 85%);
    height: 1px;
    margin: 45px auto;
    position: relative;
    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 175, 55, 0.15),
        rgba(212, 175, 55, 0.75),
        rgba(212, 175, 55, 0.15),
        transparent
    );
    text-align: center;
}

.home-divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 12px;
    background: #0b0808;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
}


/* =========================
   LOSOWE SERIE
========================= */

.random-series-list {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 25px;

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

}


.random-series-card {

    position: relative;

    display: block;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    text-decoration: none;

    background: #0b0808;

    border: 1px solid
        rgba(190, 145, 55, 0.75);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.35);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.random-series-card:hover {
    transform: translateY(-6px);

    border-color: #d4af37;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.55),
        0 0 18px
        rgba(150, 25, 25, 0.25);
}


.random-series-cover {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;

}


.random-series-card:hover
.random-series-cover {

    transform: scale(1.04);

}


/* =========================
   INFORMACJE PO NAJECHANIU
========================= */

.random-series-overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    max-height: 65%;

    overflow-y: auto;

    padding: 22px 20px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.98),
            rgba(0, 0, 0, 0.94),
            rgba(0, 0, 0, 0.90)
        );

    transform: translateY(100%);

    transition:
        transform 0.35s ease;

}


/* PRZEWIJANIE OPISU */

.random-series-overlay::-webkit-scrollbar {
    width: 6px;
}

.random-series-overlay::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.random-series-overlay::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.65);
    border-radius: 10px;
}

.random-series-overlay::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}


.random-series-card:hover
.random-series-overlay {

    transform: translateY(0);

}


.random-series-overlay h3 {

    margin: 0 0 12px;

    color: #e0bd68;

    font-family: "Cinzel", serif;

    font-size: 15px;

    line-height: 1.2;

    text-align: center;

}


.random-series-overlay p {

    margin: 0;

    color: #e5ddd0;

    font-family: "Cormorant Garamond", serif;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;

}


/* =========================
   CHCESZ WIĘCEJ?
   ========================= */

.more-translations {
    width: min(650px, 90%);
    margin: 0 auto 65px;
    padding: 5px 20px 0;
    text-align: center;
    box-sizing: border-box;
}

.more-translations h3 {
    margin: 0 0 8px;
    color: #d4af37;
    font-family: "Tillana", serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 2px;
}

.more-translations p {
    margin: 0 0 20px;
    color: #bcb3a9;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    line-height: 1.4;
}

.more-translations a {
    display: inline-block;
    padding: 10px 26px;
    border: 1px solid #9d7135;
    background: rgba(75, 18, 18, 0.45);
    color: #d7c7a0;
    font-family: "Tillana", serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.more-translations a:hover {
    background: rgba(110, 27, 27, 0.55);
    border-color: #c29a4b;
    color: #f0dfb0;
    transform: translateY(-2px);
}


/* =========================
   LISTA ROZDZIAŁÓW
   ========================= */

.chapters-heading {
    margin-top: 40px;
    margin-bottom: 18px;
}

.chapters-heading h2 {
    margin: 0;
    padding-bottom: 10px;
    color: #d6aa4b;
    font-family: "Tillana", serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(205, 164, 74, 0.3);
}

.chapters-heading h2 span {
    color: #8b5e34;
}


/* LISTA */

.chapters-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    margin-top: 15px;
}

.chapters-list .chapter-item {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
    background: rgba(18, 12, 12, 0.75);
    border: 1px solid rgba(139, 94, 52, 0.45);
    color: #d4af37;
    font-family: "Tillana", serif;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* NUMER */

.chapter-number {
    min-width: 32px;
    margin-right: 10px;
    color: #8b5e34;
    font-family: "Tillana", serif;
    font-size: 12px;
}


/* NAZWA */

.chapter-title {
    color: #e7ded0;
    font-family: "Tillana", serif;
    font-size: 16px;
}


/* HOVER */

.chapters-list .chapter-item:hover {
    background: rgba(80, 0, 0, 0.55);
    border-color: #b48a3c;
    transform: translateX(3px);
}

.chapters-list .chapter-item:hover .chapter-number {
    color: #d4af37;
}

.chapters-list .chapter-item:hover .chapter-title {
    color: #fff1d0;
}

/* =========================
   PRZECZYTANE ROZDZIAŁY
   ========================= */

.chapters-list .chapter-item.chapter-read {
    opacity: 0.45;
}

.chapters-list .chapter-item.chapter-read .chapter-title {
    color: #b7afa4;
}

.chapters-list .chapter-item.chapter-read:hover {
    opacity: 0.75;
}

/* =========================
   OSTATNIO DODANE — POPRAWA
   ========================= */

.latest-section {
    padding-top: 55px;
}

.latest-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 32px;
    color: #d6b54c;
}

/* Cały rząd lekko zwężony względem strony */
.latest-wrapper {
    width: min(1100px, 94%);
    margin: 0 auto;
    gap: 20px;
}

/* Lista kart */
.latest-list {
    min-width: 0;
}

/* Okładka w proporcji 2:3 — taka sama jak w Losowych seriach */

.latest-list .latest-card > img {
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    object-fit: cover;
}

/* Strzałki */
.latest-arrow {
    flex: 0 0 35px;
}

/* =========================
   NAGŁÓWEK — LOSOWE SERIE
========================= */

.random-series-section > h2 {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0 auto 35px;

    text-align: center;

    color: #d4af37;

    font-family: "Cinzel", serif;
    font-size: 30px;
    font-weight: 600;

    letter-spacing: 4px;

    text-shadow:
        2px 2px 4px #000,
        0 0 8px rgba(212, 175, 55, 0.25);

    z-index: 2;
}


/* ZŁOTE OZDOBNIKI PO BOKACH */

.random-series-section > h2::before,
.random-series-section > h2::after {

    content: "";

    display: block;

    width: 100px;
    height: 1px;

    background: #d4af37;

    opacity: 0.7;

    flex-shrink: 0;
}


.random-series-section > h2::before {
    margin-right: 20px;
}


.random-series-section > h2::after {
    margin-left: 20px;
}


/* =========================
   OPIS — MOCNIEJSZY CIEŃ
========================= */

.random-series-list .series-card:hover .series-description {

    text-shadow:
        2px 2px 4px #000,
        -2px -2px 4px #000,
        2px -2px 4px #000,
        -2px 2px 4px #000,
        0 0 8px #000;

}

/* =========================================================
   LOGOWANIE CZYTELNIKÓW
   STYL DOPASOWANY DO PANELU ADMINISTRATORA
========================================================= */

.reader-login-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

}


.reader-login-box {

    position: relative;

    width: 100%;

    max-width: 430px;

    padding: 45px 40px;

    background:

        linear-gradient(

            145deg,

            #1a0b0b,

            #100606

        );

    border: 1px solid #8b0000;

    box-shadow:

        0 0 30px rgba(0, 0, 0, 0.8),

        0 0 45px rgba(139, 0, 0, 0.12);

}


/* =========================================================
   DEKORACYJNA LINIA
========================================================= */

.reader-login-box::before {

    content: "";

    position: absolute;

    width: 1px;

    height: 110px;

    left: 50%;

    top: 0;

    transform: translateX(-50%);

    background:

        linear-gradient(

            to bottom,

            rgba(139, 0, 0, 0.8),

            transparent

        );

    pointer-events: none;

}


/* =========================================================
   NAZWA DIYU
========================================================= */

.reader-login-title {

    position: relative;

    margin: 0;

    text-align: center;

    color: #d4af37;

    font-family: "Cinzel", serif;

    font-size: 28px;

    font-weight: 600;

    letter-spacing: 4px;

    text-shadow:

        0 0 12px rgba(212, 175, 55, 0.15);

}


/* =========================================================
   OPIS
========================================================= */

.reader-login-text {

    margin-top: 8px;

    margin-bottom: 0;

    text-align: center;

    color: #ffffff;

    font-family:

        "Cormorant Garamond",

        Georgia,

        serif;

    font-size: 16px;

    line-height: 1.5;

    opacity: 0.85;

}


/* =========================================================
   LINIA POD TYTUŁEM
========================================================= */

.reader-login-text::after {

    content: "";

    display: block;

    width: 100%;

    height: 1px;

    margin: 30px 0;

    background:

        linear-gradient(

            to right,

            transparent,

            #8b0000,

            #d4af37,

            #8b0000,

            transparent

        );

}


/* =========================================================
   FORMULARZ
========================================================= */

#reader-login-form {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


/* =========================================================
   POLE HASŁA
========================================================= */

#reader-password {

    display: block;

    width: 100%;

    height: 44px;

    box-sizing: border-box;

    margin: 0;

    padding: 0 14px;

    background: #090505;

    color: #ffffff;

    border: 1px solid #8b0000;

    border-radius: 0;

    outline: none;

    font-family:

        "Cormorant Garamond",

        Georgia,

        serif;

    font-size: 17px;

    text-align: center;

    transition:

        border-color 0.25s ease,

        box-shadow 0.25s ease;

}


#reader-password:focus {

    border-color: #d4af37;

    box-shadow:

        0 0 14px rgba(212, 175, 55, 0.2);

}


#reader-password::placeholder {

    color: #777777;

}


/* =========================================================
   AUTOUZUPEŁNIANIE
========================================================= */

#reader-password:-webkit-autofill,

#reader-password:-webkit-autofill:hover,

#reader-password:-webkit-autofill:focus {

    -webkit-text-fill-color: #ffffff;

    -webkit-box-shadow:

        0 0 0 1000px #120707 inset;

    box-shadow:

        0 0 0 1000px #120707 inset;

    caret-color: #e5b93f;

}


/* =========================================================
   PRZYCISK LOGOWANIA
========================================================= */

#reader-login-form button[type="submit"] {

    margin-top: 2px;

    padding: 14px;

    background: #100606;

    color: #d4af37;

    border: 1px solid #8b0000;

    font-family: "Cinzel", serif;

    font-size: 12px;

    letter-spacing: 2px;

    cursor: pointer;

    transition:

        background 0.25s ease,

        color 0.25s ease,

        border-color 0.25s ease,

        box-shadow 0.25s ease;

}


#reader-login-form button[type="submit"]:hover {

    background: #8b0000;

    color: #ffffff;

    border-color: #d4af37;

    box-shadow:

        0 0 20px rgba(139, 0, 0, 0.4);

}


#reader-login-form button[type="submit"]:disabled {

    opacity: 0.65;

    cursor: wait;

}


/* =========================================================
   KOMUNIKAT
========================================================= */

.reader-login-message {

    min-height: 20px;

    margin-top: 12px;

    margin-bottom: 0;

    text-align: center;

    color: #ff8a8a;

    font-family:

        "Cormorant Garamond",

        Georgia,

        serif;

    font-size: 15px;

}


.reader-login-message:not(.show) {

    visibility: hidden;

}

/* =========================
   POLE HASŁA + OCZKO
   ========================= */

.reader-password-wrapper {

    position: relative;

    width: 100%;

}


.reader-password-wrapper #reader-password {

    padding-right: 50px;

}


/* =========================
   OCZKO HASŁA
   ========================= */

.toggle-reader-password {

    position: absolute;

    top: 50%;

    right: 10px;

    transform: translateY(-50%);

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    color: #d4af37;

    font-size: 18px;

    line-height: 1;

    cursor: pointer;

}


.toggle-reader-password:hover {

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    color: #ffffff;

}


.toggle-reader-password::before,
.toggle-reader-password::after {

    content: none !important;

    display: none !important;

}

/* =========================
   PRZEŁĄCZANIE IKONY OCZKA
   ========================= */

.toggle-reader-password .eye-open {
    display: block !important;
}

.toggle-reader-password .eye-closed {
    display: none !important;
}


/* HASŁO WIDOCZNE */

.toggle-reader-password.showing .eye-open {
    display: none !important;
}

.toggle-reader-password.showing .eye-closed {
    display: block !important;
}

/* =========================================================
   MENU — CIEMNY PASEK + GWIAZDKI ⚝
   BEZ PROSTOKĄTÓW WOKÓŁ NAPISÓW
   ========================================================= */

.menu {
    position: relative;

    width: 100%;

    margin: 0 auto;
    padding: 14px 24px;

    background: rgba(8, 6, 6, 0.62);

    border-top:
        1px solid rgba(212, 175, 55, 0.28);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.28);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(2px);
}


.menu-links {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 28px;

    width: fit-content;

    margin: 0 auto;

    position: relative;
}


/* =========================================================
   NAPISY — BEZ ŻADNYCH PROSTOKĄTÓW
   ========================================================= */

.menu-links a {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: auto;

    padding: 5px 0;

    background: transparent;

    border: none;

    color: #d6b54c;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}


.menu-links a:hover {
    background: transparent;

    border: none;

    color: #fff1d0;

    box-shadow: none;

    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.25);
}


/* =========================================================
   GWIAZDKI ⚝ POMIĘDZY
   ========================================================= */

.menu-links a:not(:last-child)::after {

    content: "⚝";

    position: absolute;

    right: -19px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #d4af37;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 17px;

    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   GWIAZDKA ⚝ NA POCZĄTKU
   ========================================================= */

.menu-links::before {

    content: "⚝";

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d4af37;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 17px;

    line-height: 1;

    margin-right: -25px;
}


/* =========================================================
   GWIAZDKA ⚝ NA KOŃCU
   ========================================================= */

.menu-links::after {

    content: "⚝";

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d4af37;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 17px;

    line-height: 1;

    margin-left: -25px;
}

/* =========================
   OSTRZEŻENIE 18+
   ========================= */

.adult-warning {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.adult-warning.active {
    display: flex;
}

.adult-warning-box {
    width: min(560px, 100%);

    padding: 35px 40px;

    background:
        radial-gradient(
            circle at top,
            rgba(120, 0, 0, 0.18),
            transparent 55%
        ),
        #080606;

    border: 1px solid #d4af37;

    box-shadow:
        0 0 35px rgba(120, 0, 0, 0.35),
        0 0 80px rgba(0, 0, 0, 0.9);

    text-align: center;
}

.adult-warning-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 18px;

    border: 2px solid #a00000;
    border-radius: 50%;

    color: #c40000;

    font-family: "Cinzel", serif;
    font-size: 18px;
    font-weight: 700;

    box-shadow:
        0 0 15px rgba(160, 0, 0, 0.35);
}

.adult-warning-box h2 {
    margin-bottom: 20px;

    color: #d4af37;

    font-family: "Cinzel", serif;
    font-size: 28px;
    letter-spacing: 2px;
}

.adult-warning-box p {
    margin-bottom: 18px;

    color: #ddd;

    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    line-height: 1.5;
}

.adult-warning-confirm {
    color: #fff !important;
    font-weight: 600;
}

.adult-warning-checkbox {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 25px 0;

    color: #d4af37;

    font-family: "Cormorant Garamond", serif;
    font-size: 18px;

    cursor: pointer;
}

.adult-warning-checkbox input {
    width: 18px;
    height: 18px;

    accent-color: #a00000;

    cursor: pointer;
}

.adult-warning-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 10px;
}

.adult-warning-buttons button {
    min-width: 130px;

    padding: 11px 20px;

    border: 1px solid #d4af37;

    background: #100b0b;

    color: #d4af37;

    font-family: "Cinzel", serif;
    font-size: 13px;
    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.adult-warning-buttons button:hover:not(:disabled) {
    background: #d4af37;
    color: #080606;

    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.adult-warning-buttons button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

#adult-cancel {
    border-color: #666;
    color: #aaa;
}

#adult-cancel:hover {
    background: #222;
    color: #fff;
}

@media (max-width: 600px) {

    .adult-warning-box {
        padding: 28px 22px;
    }

    .adult-warning-box h2 {
        font-size: 23px;
    }

    .adult-warning-box p {
        font-size: 17px;
    }

    .adult-warning-buttons {
        flex-direction: column;
    }

    .adult-warning-buttons button {
        width: 100%;
    }

}

/* =========================
   ZNACZEK +18 NA OKŁADKACH
   ========================= */

.adult-badge {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 10;

    padding: 5px 9px;

    background: #8b0000;

    border: 1px solid #d4af37;

    color: #fff;

    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;

    box-shadow:
        0 0 10px rgba(139, 0, 0, 0.5);
}