* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050712;
    color: #f4f4f4;
    line-height: 1.7;
}


/* =========================
   HLAVNÍ ÚVOD
   ========================= */

.hero {
    min-height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(5, 7, 18, 0.35),
            rgba(5, 7, 18, 0.82)
        );
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}


.small-title {
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: #d8d8d8;
}


.hero h1 {
    font-size: clamp(52px, 10vw, 110px);
    line-height: 1;
    letter-spacing: 5px;
    margin-bottom: 20px;
}


.subtitle {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 30px;
}


/* =========================
   TLAČÍTKA
   ========================= */

.youtube-button {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 10px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease;
}


.youtube-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.card-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #171c2c;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.2s ease;
}


.card-button:hover {
    transform: translateY(-2px);
    background: #242b42;
}


/* =========================
   NAVIGACE
   ========================= */

.navigation {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    padding: 14px 20px;

    background: rgba(5, 7, 18, 0.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.navigation a {
    color: #fff;
    text-decoration: none;
    padding: 8px 13px;
    border-radius: 7px;
    font-size: 14px;
    transition: 0.2s ease;
}


.navigation a:hover {
    background: rgba(255,255,255,0.08);
}


/* =========================
   OBECNÉ SEKCE
   ========================= */

.section {
    padding: 90px 6%;
    max-width: 1300px;
    margin: 0 auto;
}


.dark-section {
    max-width: none;
    background:
        linear-gradient(
            180deg,
            #080b18,
            #050712
        );
}


.section h2,
.final-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 35px;
}


.label {
    font-size: 12px;
    letter-spacing: 4px;
    color: #aaa;
    margin-bottom: 10px;
    font-weight: bold;
}


/* =========================
   JAK TO VIDÍ ČÁP?
   ========================= */

.chaos-opinion {
    max-width: none;

    background:
        radial-gradient(
            circle at top,
            rgba(70, 80, 150, 0.18),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #090d1d,
            #050712
        );

    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.chaos-opinion-heading {
    max-width: 1050px;
    margin: 0 auto 35px;
    text-align: center;
}


.chaos-opinion-heading h2 {
    margin-bottom: 5px;
}


.chaos-opinion-subtitle {
    color: #aaa;
    font-size: 18px;
}


.chaos-opinion-main {
    max-width: 1050px;
    margin: 0 auto;
}


.chaos-opinion-main-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.15);

    background: #02030a;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.5);
}


.chaos-opinion-main-frame iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.chaos-opinion-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 10px;

    text-align: center;

    color: #ddd;
}


.placeholder-icon {
    font-size: 55px;
    margin-bottom: 5px;
}


.chaos-opinion-placeholder strong {
    font-size: 24px;
}


.chaos-opinion-placeholder span {
    color: #888;
}


.chaos-opinion-history-title {
    max-width: 1050px;
    margin: 45px auto 20px;

    text-align: center;
}


.chaos-opinion-history-title span {
    font-size: 12px;
    letter-spacing: 4px;
    color: #999;
    font-weight: bold;
}


/* =========================
   PŘEDCHOZÍ TÉMATA
   ========================= */

.chaos-opinion-history {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}


.chaos-opinion-item {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 15px;

    background: #101426;

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.25);
}


.chaos-opinion-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;

    display: block;

    border: 0;

    flex-shrink: 0;
}


.chaos-opinion-title {
    padding: 10px 10px 4px;

    color: #fff;

    font-size: 13px;
    line-height: 1.4;

    font-weight: bold;

    text-align: center;
}


.chaos-opinion-date {
    position: static;

    padding: 0 10px 10px;

    background: none;

    color: #888;

    font-size: 11px;

    font-weight: normal;

    text-align: center;
}


.chaos-opinion-empty {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    gap: 5px;

    background:
        linear-gradient(
            145deg,
            #11172b,
            #0b0f1e
        );

    color: #777;
}


.history-placeholder-icon {
    font-size: 30px;
}


.chaos-opinion-empty span {
    font-size: 10px;
    letter-spacing: 2px;
}


/* =========================
   KARTY
   ========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


.card {
    padding: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.22);
}


.card h3 {
    margin: 15px 0 8px;
}


.card p {
    color: #aaa;
}


.card-image {
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 50px;

    border-radius: 12px;

    background: rgba(255,255,255,0.04);
}


.article-image {
    width: 100%;
    height: 220px;

    object-fit: cover;

    border-radius: 12px;

    display: block;
}


/* =========================
   VIDEA
   ========================= */

.featured-video {
    max-width: 1050px;
    margin: 0 auto 35px;
}


.featured-video-frame {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 20px;

    background: #000;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.4);
}


.featured-video-frame iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.subscribe-box {
    max-width: 700px;
    margin: 35px auto;

    padding: 35px;

    text-align: center;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.1);
}


.subscribe-box h3 {
    font-size: 25px;
    margin-bottom: 10px;
}


.subscribe-box p {
    color: #aaa;
}


.center-button {
    text-align: center;
}


/* =========================
   KNIHY
   ========================= */

.book-card {
    max-width: 1050px;

    margin: 0 auto 30px;

    display: grid;
    grid-template-columns: 240px 1fr;

    gap: 30px;
    align-items: center;

    padding: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.015)
        );

    border: 1px solid rgba(255,255,255,0.1);
}


.book-card img {
    width: 100%;
    max-height: 330px;

    object-fit: cover;

    border-radius: 12px;
}


.book-card p {
    color: #aaa;
}


/* =========================
   ČLÁNKY
   ========================= */

.latest-article {
    max-width: 1050px;

    margin: 0 auto 40px;

    padding: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.015)
        );

    border: 1px solid rgba(255,255,255,0.1);
}


.latest-article .article-image {
    height: 360px;
    margin-bottom: 20px;
}


.article-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
}


.latest-article h3 {
    margin-bottom: 10px;
}


/* =========================
   ZÁVĚREČNÁ VÝZVA
   ========================= */

.final-cta {
    padding: 100px 6% 70px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(65, 75, 150, 0.18),
            transparent 55%
        );
}


.final-cta > p {
    color: #aaa;
    margin-bottom: 30px;
}


.social-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 30px;
}


.social-links a {
    font-size: 18px;
    font-weight: bold;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}


/* YOUTUBE */

.social-youtube {
    color: #ff0000 !important;
}


/* FACEBOOK */

.social-facebook {
    color: #1877f2 !important;
}


/* INSTAGRAM */

.social-instagram {
    background:
        linear-gradient(
            45deg,
            #f9ce34,
            #ee2a7b,
            #6228d7
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =========================
   PODPORA CHAOS TREND
   ========================= */

.support-box {
    max-width: 850px;

    margin: 60px auto 20px;

    padding: 40px 30px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.35);
}


.support-box h2 {
    margin-bottom: 15px;
}


.support-box > p:not(.label) {
    max-width: 650px;

    margin: 0 auto 25px;

    color: #d8d8d8;
}


.support-account {
    max-width: 420px;

    margin: 25px auto;

    padding: 18px;

    background: rgba(0,0,0,0.3);

    border-radius: 14px;
}


.support-account span {
    display: block;

    font-size: 14px;

    color: #aaa;

    margin-bottom: 6px;
}


.support-account strong {
    font-size: 22px;

    letter-spacing: 1px;
}


.support-choice {
    margin-top: 25px !important;
    margin-bottom: 12px !important;

    font-weight: bold;
}


.support-amounts {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}


.support-amounts button {
    padding: 12px 22px;

    border: 1px solid rgba(255,255,255,0.2);

    border-radius: 10px;

    background: #151a2a;

    color: #fff;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s ease;
}


.support-amounts button:hover {
    transform: translateY(-2px);

    background: #222941;
}


.custom-support {
    margin-top: 25px;
}


.custom-support label {
    display: block;

    margin-bottom: 10px;

    color: #ccc;
}


.custom-support-row {
    display: flex;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}


.custom-support input {
    width: 180px;

    padding: 12px 15px;

    border: 1px solid rgba(255,255,255,0.2);

    border-radius: 10px;

    background: #0b0e19;

    color: #fff;

    font-size: 16px;
}


.custom-support input::placeholder {
    color: #777;
}


.custom-support button {
    padding: 12px 20px;

    border: none;

    border-radius: 10px;

    background: #fff;

    color: #050712;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s ease;
}


.custom-support button:hover {
    transform: translateY(-2px);
}


.support-qr {
    margin-top: 30px;

    min-height: 30px;
}


.support-qr img {
    width: 220px;
    height: 220px;

    display: block;

    margin: 15px auto;

    background: #fff;

    padding: 10px;

    border-radius: 12px;
}


.support-qr p {
    color: #aaa;

    font-size: 14px;
}


/* =========================
   PATIČKA
   ========================= */

footer {
    padding: 25px;

    text-align: center;

    color: #777;

    border-top: 1px solid rgba(255,255,255,0.08);

    font-size: 13px;
}


/* =========================
   KONTAKT
   ========================= */

.contact-overlay {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 5000;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0,0,0,0.78);

    backdrop-filter: blur(8px);
}


.contact-box {
    width: 100%;
    max-width: 500px;

    padding: 35px;

    text-align: center;

    background: #0c1020;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.6);
}


.contact-box h2 {
    margin-bottom: 15px;
}


.contact-box p {
    color: #ccc;
}


.contact-box a {
    color: #fff;
}


.contact-close {
    margin-top: 25px;

    padding: 10px 20px;

    border: none;

    border-radius: 8px;

    background: #fff;

    color: #050712;

    font-weight: bold;

    cursor: pointer;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 950px) {

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .chaos-opinion-history {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================
   MOBIL
   ========================= */

@media (max-width: 700px) {

    .hero {
        min-height: 500px;
    }


    .hero h1 {
        letter-spacing: 2px;
    }


    .navigation {
        gap: 3px;

        padding: 10px;
    }


    .navigation a {
        font-size: 12px;

        padding: 7px 9px;
    }


    .section {
        padding: 65px 20px;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .chaos-opinion-history {
        grid-template-columns: 1fr;
    }


    .book-card {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .book-card img {
        max-width: 240px;

        margin: 0 auto;
    }


    .latest-article {
        padding: 20px;
    }


    .latest-article .article-image {
        height: 230px;
    }


    .article-image {
        height: 200px;
    }


    .support-box {
        padding: 30px 18px;
    }


    .support-account strong {
        font-size: 18px;
    }


    .support-amounts {
        gap: 8px;
    }


    .support-amounts button {
        padding: 10px 16px;
    }


    .custom-support-row {
        flex-direction: column;

        align-items: center;
    }


    .custom-support input,
    .custom-support button {
        width: 100%;

        max-width: 280px;
    }


    .social-links {
        gap: 18px;
    }

}
/* ============================================================
   CHAOS TREND – HODINY A DATUM
   ============================================================ */

#chaos-clock-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    user-select: none;
}

#chaos-analog-clock {
    position: relative;
    width: 150px;
    height: 150px;
    border: 4px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
}

.clock-number {
    position: absolute;
    font-size: 15px;
    font-weight: bold;
    transform: translate(-50%, -50%);
}

.n12 {
    top: 14px;
    left: 50%;
}

.n3 {
    top: 50%;
    left: calc(100% - 14px);
}

.n6 {
    top: calc(100% - 14px);
    left: 50%;
}

.n9 {
    top: 50%;
    left: 14px;
}

#clock-hour-hand,
#clock-minute-hand,
#clock-second-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: 50% 100%;
    border-radius: 5px;
}

#clock-hour-hand {
    width: 5px;
    height: 38px;
    background: currentColor;
}

#clock-minute-hand {
    width: 3px;
    height: 55px;
    background: currentColor;
}

#clock-second-hand {
    width: 2px;
    height: 62px;
    background: currentColor;
}

#clock-center {
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: currentColor;
}

#chaos-digital-clock {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
}

#chaos-date {
    font-size: 17px;
    font-weight: bold;
}
/* ============================================================
   CHAOS TREND – INFORMAČNÍ BUBLINKA U VIDEA
   ============================================================ */

.chaos-info-bubble {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: min(90%, 330px);

    padding: 18px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.94);

    color: white;

    border: 2px solid currentColor;

    border-radius: 14px;

    text-align: center;

    z-index: 100;

    pointer-events: auto;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.45);
}


.chaos-info-text {
    font-size: 14px;
    line-height: 1.45;
}


.chaos-info-text strong {
    font-size: 17px;
}


.chaos-info-button {
    position: relative;

    z-index: 101;

    pointer-events: auto;

    margin-top: 14px;

    padding: 8px 22px;

    border: none;

    border-radius: 8px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;
}


.chaos-info-button:hover {
    opacity: 0.85;
}
/* ============================================================
   CHAOS TREND – QR ODKAZ NA YOUTUBE
   ============================================================ */

.youtube-qr-link {
    display: inline-block;

    margin-left: 12px;

    color: #777;
    text-decoration: none;

    font-size: 13px;

    transition: 0.2s ease;

    cursor: pointer;
}

.youtube-qr-link:hover {
    color: #fff;
}


/* QR OKNO */

.youtube-qr-overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 6000;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0,0,0,0.78);

    backdrop-filter: blur(8px);
}


.youtube-qr-box {
    width: 100%;
    max-width: 360px;

    padding: 30px 25px;

    text-align: center;

    background: #0c1020;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.6);
}


.youtube-qr-box h2 {
    margin-bottom: 8px;
}


.youtube-qr-box p {
    color: #aaa;

    font-size: 14px;

    margin-bottom: 15px;
}


.youtube-qr-box img {
    display: block;

    width: 220px;
    height: 220px;

    margin: 15px auto 20px;

    padding: 10px;

    background: #fff;

    border-radius: 12px;
}


.youtube-qr-close {
    margin-top: 5px;

    padding: 10px 22px;

    border: none;

    border-radius: 8px;

    background: #fff;

    color: #050712;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s ease;
}


.youtube-qr-close:hover {
    transform: translateY(-2px);
}
