/* Reset & Base Variables */
:root {
    --color-bg-main: #ffffff;
    --color-bg-alt: #f9f9f9;
    --color-bg-dark: #111111;
    --color-accent: #ECB041;
    --color-accent-hover: #d99a2c;
    --color-text-main: #111111;
    --color-text-muted: #555555;
    --color-white: #ffffff;
    --color-border: rgba(0, 0, 0, 0.1);
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px; /* More rounded like in screenshot */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #111111;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 176, 65, 0.3);
}

.btn-herohero-animated {
    background: linear-gradient(225deg, #6960AA 0%, #DD7C83 100%);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: var(--color-white);
    border: none;
}

.btn-herohero-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 96, 170, 0.4);
    color: var(--color-white);
}

.herohero-icon {
    height: 1.2em;
    filter: brightness(0) invert(1);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-nav-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-nav-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-nav-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Flashing Lightbulb Animation */
@keyframes flash-img {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 20px rgba(236, 176, 65, 0.9)); }
    50% { opacity: 0.6; filter: drop-shadow(0 0 5px rgba(236, 176, 65, 0.3)); }
}

.flashing-img {
    animation: flash-img 2.5s infinite ease-in-out;
}

.lightbulb-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 95vw;
    z-index: 1000;
    background-color: rgba(17, 17, 17, 0.85); /* Black glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 76px;
    padding: 0 20px;
    gap: 50px;
}

.logo {
    height: 54px;
    /* Původní barva loga zůstává */
}

.nav-links {
    display: none;
    gap: 32px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.header-actions {
    display: flex;
    gap: 16px;
    white-space: nowrap;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 95vw;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 32px 24px;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.mobile-nav .mobile-link:last-child {
    border-bottom: none;
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    
    .mobile-hero-text {
        background-color: #111111;
        padding: 60px 24px;
        text-align: center;
    }
    .mobile-hero-text h1 {
        font-size: 2.2rem;
        color: var(--color-accent);
        margin-bottom: 16px;
    }
    .mobile-hero-text p {
        color: var(--color-white);
        font-size: 1.1rem;
        line-height: 1.5;
    }


    .header {
        width: max-content; /* Vráceno zpět na obepínání obsahu */
    }
    .btn-nav-outline {
        display: none;
    }
    .header-actions .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    .header-inner {
        justify-content: center;
        gap: 16px; /* Přiměřená mezera mezi tlačítkem a ikonou menu */
        padding: 0 16px;
    }
    .header-actions {
        margin-left: 40px; /* Specifická a pevná větší mezera POUZE mezi logem a tlačítkem */
    }
}

@media (min-width: 992px) {
    .nav-links, .header-actions {
        display: flex;
        align-items: center;
    }
    .mobile-menu-btn {
        display: none;
    }
    .mobile-nav {
        display: none !important;
    }
}

/* Utility classes for mobile/desktop toggle */
.mobile-only {
    display: none;
}
.mobile-hero-text {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh; /* Menší výška */
    height: 600px;
    display: flex;
    align-items: center; /* Vertikálně na střed */
    justify-content: flex-start;
    padding: 120px 24px 60px;
    background-color: var(--color-accent); /* Pozadí v akcentní barvě */
    overflow: hidden;
    text-align: left;
}

.hero-visuals {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px; /* Zamezení nekonečnému roztahování na velkých monitorech */
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-image-col {
    position: absolute;
    bottom: 0;
    right: -2%;
    height: 75%;
    z-index: 5;
    pointer-events: none;
}

.hero-image-col img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
    position: relative;
    z-index: 2;
}

/* Lightbulb is now inside hero-image-col */
.hero-light-bg {
    position: absolute;
    top: 45%; /* Posunuto o něco málo dolů */
    left: 48%; /* Doprostřed moderátorů, ukotveno k jejich obrázku */
    transform: translate(-50%, -50%);
    width: 100%; /* Mírně zvětšeno */
    height: 100%;
    background-image: url('./assets/rozni-light.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1; /* Pod moderátory */
    opacity: 0.9;
}

.flashing-light {
    animation: sharpBlink 3.5s infinite;
}

@keyframes sharpBlink {
    0%, 91%, 95%, 99% { opacity: 0.9; }
    93%, 97% { opacity: 0.2; }
    100% { opacity: 0.9; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-col {
    max-width: 480px; /* Užší šířka pro přesné zalomení do dvou řádků */
}

.hero-text-col h1 {
    font-size: 3.2rem; /* O něco málo zvětšený nadpis */
    color: #111111;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.hero-text-col p {
    font-size: 1.15rem;
    color: #111111;
    font-weight: 500;
    line-height: 1.5;
}

/* Platforms Section */
.platforms-section {
    padding: 60px 0;
    background-color: var(--color-bg-main);
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.platforms-grid:last-child {
    margin-bottom: 0;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.platform-btn:hover {
    transform: translateY(-3px);
    border-color: var(--color-text-muted);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.platform-btn.btn-herohero-animated {
    border: none;
    color: var(--color-white);
}

.platform-btn.btn-herohero-animated:hover {
    box-shadow: 0 6px 20px rgba(105, 96, 170, 0.4);
    transform: translateY(-3px);
}

.social-platforms .platform-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 40px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--color-bg-alt);
    scroll-margin-top: 80px;
}

.about-text-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text-box p {
    font-size: 1.4rem; /* Zvětšený text */
    color: #000000; /* Čistě černý text */
    line-height: 1.6;
}


/* Hosts Section */
.hosts-section {
    padding: 100px 0 160px 0;
    background-color: var(--color-bg-main);
}

.hosts-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.hosts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .hosts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.host-card {
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.host-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.host-image-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.host-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-circle {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
}

.host-logo {
    width: 70%;
    height: auto;
}

.host-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #000000;
}

.host-desc {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
}

.detail-link {
    color: var(--color-accent);
    font-weight: 600;
}

.detail-link:hover {
    color: var(--color-accent-hover);
}

/* Paywall Section */
.paywall-section {
    padding: 100px 0;
    background-color: var(--color-accent);
    position: relative;
    overflow: hidden;
}

.paywall-section::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 200%; 
    height: 200%;
    background-image: url('./assets/herohero-pattern-tile.svg?v=1');
    background-size: 140px 140px;
    background-repeat: repeat;
    opacity: 0.15;
    animation: movePattern 40s linear infinite;
    z-index: 1;
}

.benefit-text {
    flex: 1;
    line-height: 1.4;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-140px, -140px); }
}

.paywall-box {
    background-color: var(--color-white);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
    padding: 60px 32px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .paywall-box {
        padding: 80px 64px;
    }
}

.paywall-title {
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.benefits-list {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 40px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.benefits-list i {
    color: var(--color-accent);
    margin-top: 5px;
}

/* Episodes Section */
.episodes-section {
    padding: 100px 0;
    background-color: var(--color-bg-main);
}

.episodes-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.episodes-heading {
    font-size: 3.2rem;
    color: #111111;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}



.yt-feed-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.yt-episode {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px; /* Zvětšení max. šířky pro velkou náhledovku */
    background: transparent;
    border: none;
    transition: var(--transition);
}

.yt-episode:hover {
    transform: translateY(-5px);
}

.yt-thumbnail-link {
    display: block;
    width: 100%;
}

.yt-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); /* Větší a hezčí stín */
}

.yt-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.yt-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yt-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.yt-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.yt-title a {
    color: var(--color-text-main);
}

.yt-title a:hover {
    color: var(--color-accent-hover);
}

.yt-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--color-text-muted);
}

.episodes-footer {
    text-align: center;
    margin-top: 64px;
}

/* Footer */
.footer {
    background-color: var(--color-bg-dark); /* Keep footer dark for contrast */
    color: var(--color-white);
    padding-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    height: 80px; /* Velmi zvětšené logo */
    width: auto;
    margin-bottom: 24px;
    filter: none;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: var(--color-white);
}

.footer-col a {
    display: block;
    color: #a0a0a0;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-platforms {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

.footer-platforms a {
    color: #a0a0a0;
}

.footer-platforms a:hover {
    color: var(--color-white);
}

.footer-platforms .premium-icon:hover {
    color: var(--color-accent);
}

.footer-platforms a.spotify:hover { color: #1DB954; }
.footer-platforms a.youtube:hover { color: #FF0000; }
.footer-platforms a.apple:hover { color: #d53cd5; }

.footer-platforms a.herohero {
    display: flex;
    align-items: center;
}

.footer-hh-icon-mask {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-mask-image: url('./assets/herohero-symbol.svg');
    mask-image: url('./assets/herohero-symbol.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: var(--transition);
}

.footer-platforms a.herohero:hover .footer-hh-icon-mask {
    background: linear-gradient(225deg, #6960AA 0%, #DD7C83 100%);
}

.footer-col p {
    max-width: 280px; /* Omezení šířky textu */
    line-height: 1.6;
}

.footer-socials a.linkedin:hover { color: #0077B5; }
.footer-socials a.instagram:hover { color: #E4405F; }
.footer-socials a.facebook:hover { color: #1877F2; }
.footer-socials a.tiktok:hover { color: #ffffff; }

.patriot-link {
    display: inline-block;
    margin-top: 12px;
    color: #3b97d3 !important;
    font-weight: 700;
    text-decoration: none;
}

.patriot-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    color: #a0a0a0;
    font-size: 0.875rem;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-socials {
    display: flex;
    gap: 16px;
    font-size: 1.25rem;
}

.footer-socials a:hover {
    color: var(--color-white);
}

/* ZÁVĚREČNÉ MOBILNÍ OVERRIDES PRO HERO SEKCI */
@media (max-width: 991px) {
    .hero {
        padding: 0;
        height: auto !important; 
        min-height: 0;
        background-color: var(--color-accent);
        display: block;
        overflow: hidden;
    }
    .hero-visuals {
        position: relative;
        width: 100%;
        height: auto !important; 
        left: 0;
        transform: none;
        max-width: none;
        background-color: transparent;
        padding-top: 120px; 
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    .hero-image-col {
        position: relative;
        height: auto !important;
        width: 100%;
        max-width: 500px; 
        margin-top: 20px; 
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        display: flex;
        justify-content: center;
    }
    .hero-image-col img {
        max-width: 100% !important; 
        width: 100%;
        height: auto !important;
        object-fit: contain;
        object-position: bottom;
    }
    .hero-light-bg {
        top: 45%; 
        width: 100%;
        height: 100%;
    }
}
