/*
Theme Name: Posthybris
Theme URI: 
Author: 
Author URI: 
Description: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: posthybris
*/

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.site-hex-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
    background: radial-gradient(ellipse at center, #0a050a 0%, #020102 60%, #000000 100%);
}

.site-hex-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3CradialGradient id='star'%3E%3Cstop offset='0%25' stop-color='%23fff'/%3E%3Cstop offset='50%25' stop-color='%23fff' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='80' r='1.5' fill='url(%23star)'/%3E%3Ccircle cx='120' cy='200' r='1' fill='url(%23star)'/%3E%3Ccircle cx='200' cy='50' r='2' fill='url(%23star)'/%3E%3Ccircle cx='280' cy='150' r='1.2' fill='url(%23star)'/%3E%3Ccircle cx='350' cy='90' r='1.8' fill='url(%23star)'/%3E%3Ccircle cx='80' cy='300' r='1' fill='url(%23star)'/%3E%3Ccircle cx='180' cy='350' r='1.5' fill='url(%23star)'/%3E%3Ccircle cx='320' cy='320' r='1.3' fill='url(%23star)'/%3E%3Ccircle cx='380' cy='250' r='1' fill='url(%23star)'/%3E%3Ccircle cx='30' cy='180' r='0.8' fill='url(%23star)'/%3E%3Ccircle cx='150' cy='120' r='1.1' fill='url(%23star)'/%3E%3Ccircle cx='250' cy='280' r='1.4' fill='url(%23star)'/%3E%3Ccircle cx='300' cy='380' r='1' fill='url(%23star)'/%3E%3Ccircle cx='20' cy='350' r='1.6' fill='url(%23star)'/%3E%3Ccircle cx='370' cy='180' r='0.9' fill='url(%23star)'/%3E%3C/svg%3E");
    background-size: 400px 400px;
    background-repeat: repeat;
    opacity: 0.6;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.75; }
}

.site-hex-grid svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: blur(0.15px) drop-shadow(0 0 2px rgba(255, 42, 42, 0.3));
    opacity: 0.88;
}

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

/* Header styles */
header {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

header h1 {
    margin-bottom: 10px;
}

header h1 a {
    text-decoration: none;
    color: #333;
}

.site-logo-link {
    display: inline-block;
}

.site-logo-svg {
    max-width: 250px;
    height: auto;
    color: var(--hex-color, #ff2a2a);
}

/* Main content */
main {
    padding: 140px 0 60px;
    min-height: 400px;
}

.content-wrap {
    margin-top: 80px;
}

main h1 {
    margin-bottom: 20px;
}

/* Footer styles */
footer {
    background-color: rgba(20, 20, 25, 0.8);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Theme look + hex noise background */
:root {
    --hex-color: #ff2a2a;
    --hex-color-rgb: 255, 42, 42;
    --bg-1: #0b0608;
    --bg-2: #21090d;
    --accent: #f23b57;
    --muted: rgba(255, 255, 255, 0.75);
    --text: #f2f2f2;
    --shadow: rgba(0, 0, 0, 0.55);
}

:root,
[data-theme="red"] {
    --hex-color: #ff2a2a;
    --hex-color-rgb: 255, 42, 42;
}

[data-theme="blue"] {
    --hex-color: #2a6eff;
    --hex-color-rgb: 42, 110, 255;
}

[data-theme="green"] {
    --hex-color: #00c853;
    --hex-color-rgb: 0, 200, 83;
}

[data-theme="purple"] {
    --hex-color: #a02aff;
    --hex-color-rgb: 160, 42, 255;
}

[data-theme="orange"] {
    --hex-color: #ffd700;
    --hex-color-rgb: 255, 215, 0;
}

[data-theme="pink"] {
    --hex-color: #ff2a8c;
    --hex-color-rgb: 255, 42, 140;
}

[data-theme="teal"] {
    --hex-color: #2affd4;
    --hex-color-rgb: 42, 255, 212;
}

[data-theme="yellow"] {
    --hex-color: #ffe02a;
    --hex-color-rgb: 255, 224, 42;
}

body {
    background-color: #101218;
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.04), transparent 50%),
        linear-gradient(135deg, rgba(16, 18, 24, 0.95), rgba(12, 14, 18, 0.95));
    background-blend-mode: screen, screen, normal;
}

body::after {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.05), transparent 55%),
                radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.04), transparent 55%);
    opacity: 0.18;
    filter: blur(1px);
}

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

/* Layout helpers */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 20;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hex-color-picker {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hex-color-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hex-color-btn:hover {
    transform: scale(1.15);
}

.hex-color-btn.active {
    transform: scale(1.1);
}

.site-title {
    font-size: 1.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.site-title a {
    color: var(--text);
    text-decoration: none;
}

.site-description {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.primary-menu li a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-menu li a:hover {
    background: rgba(242, 59, 87, 0.25);
    color: #fff;
}

.site-main {
    padding: 40px 0;
}

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

.page-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    padding: 24px 24px 30px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.55);
}

.page-title {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
}

.page-subtitle {
    color: var(--muted);
    max-width: 520px;
    line-height: 1.5;
}

.episodes-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.episode-card {
    display: flex;
    background: rgba(16, 8, 12, 0.65);
    border-top: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-left: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.2),
        0 18px 36px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, background 0.35s ease;
}

.episode-card:hover {
    transform: translateY(-6px);
    background: rgba(28, 12, 18, 0.72);
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.3),
        0 18px 36px rgba(0, 0, 0, 0.45);
}

.episode-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    width: 180px;
    flex-shrink: 0;
}

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

.episode-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.75);
}

.episode-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.episode-title {
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.episode-title a {
    color: #fff;
    text-decoration: none;
}

.episode-meta {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.episode-excerpt {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 18px;
}

.episode-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(242, 59, 87, 0.22);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    transition: background 0.25s ease;
}

.episode-readmore:hover {
    background: rgba(242, 59, 87, 0.35);
}

.single-post .entry-header {
    margin-bottom: 30px;
    padding: 26px;
    background: rgba(22, 8, 14, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(5px);
}

.entry-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 12px;
}

.entry-meta {
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.episode-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(242, 59, 87, 0.35);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.post-thumbnail {
    margin: 30px 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
}

.entry-content {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.entry-content p {
    margin-bottom: 1.4rem;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.tags {
    display: inline-block;
    margin-top: 12px;
}

.tags a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.tags a:hover {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 720px) {
    .site-header {
        position: static;
        background: rgba(20, 20, 25, 0.95);
    }

    .site-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .site-branding {
        order: 1;
        display: flex;
        justify-content: center;
    }

    .site-logo-svg {
        max-width: 200px;
    }

    .hex-color-picker {
        order: 2;
        margin-left: 0;
    }

    .site-navigation {
        order: 3;
        width: 100%;
    }

    .primary-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero section (latest episode highlight) */
.hero {
    position: relative;
    min-height: clamp(600px, 70vh, 850px);
    overflow: visible;
    display: grid;
    place-items: center;
    padding: 40px 20px 60px;
    margin-bottom: 0;
    color: #fff;
    z-index: 1;
}

.hero__bg--mid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'%3E%3Cpath d='M20 0 L60 0 L80 35 L60 70 L20 70 L0 35 Z' fill='none' stroke='%23ff2a2a' stroke-width='2' opacity='0.18'/%3E%3C/svg%3E");
    filter: blur(1px);
    animation: hexPulse 18s ease-in-out infinite reverse;
    opacity: 0.4;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 2, 4, 0.45), rgba(4, 2, 4, 0.82));
    pointer-events: none;
}

.hero__content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
}

.hero__header {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: none;
    padding: 26px;
    border-radius: 20px;
    background: rgba(10, 6, 10, 0.55);
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.2);
    border-top: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-left: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: none;
    transition: box-shadow 0.3s ease;
}

.hero__header:hover {
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.35);
}

.hero__portrait {
    flex-shrink: 0;
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero__label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.hero__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.08em;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
}

.hero__excerpt {
    margin: 14px 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.hero__image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 240px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__portrait-img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.5) brightness(0.7);
    transition: filter 0.3s ease;
}

.hero__image-wrap:hover .hero__portrait-img {
    filter: saturate(0.7) brightness(0.8);
}

.hero__mic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 12px;
    background: transparent;
}

.hero__mic-icon {
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    position: relative;
}

.hero__mic-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 100, 100, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(12px);
    z-index: -1;
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.35; transform: translate(0, 0) scale(1); }
    50% { opacity: 0.5; transform: translate(-18px, 18px) scale(1.04); }
}

@media (max-width: 700px) {
    .hero__content {
        flex-direction: column;
        gap: 24px;
    }

    .hero__header {
        flex-direction: column;
        padding: 22px 18px 24px;
    }

    .hero__image-wrap {
        width: 160px;
        margin: 0 auto;
    }

    .hero__portrait {
        width: 160px;
        order: -1;
    }

    .hero__title {
        font-size: clamp(2rem, 6vw, 3.2rem);
    }

    .hero__excerpt {
        margin: 18px 0 24px;
    }
}

/* Discover CTA Section */
.discover-section {
    text-align: center;
    padding: 30px 0;
    margin-top: -40px;
}

.discover-cta {
    padding: 40px;
    border-radius: 20px;
    background: rgba(16, 8, 12, 0.5);
    border-top: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-left: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.2);
    transition: box-shadow 0.3s ease;
}

.discover-cta:hover {
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.35);
}

.discover-cta .section-title {
    margin-bottom: 10px;
}

.discover-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
}

.discover-arrow {
    margin-top: 20px;
    color: var(--hex-color);
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Home sections */
.home-section {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
}

.about-section .content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    background: rgba(16, 8, 12, 0.65);
    border-top: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-left: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.2),
        0 18px 36px rgba(0, 0, 0, 0.45);
    transition: box-shadow 0.3s ease;
}

.about-grid:hover {
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.35),
        0 18px 36px rgba(0, 0, 0, 0.45);
}

.about-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--hex-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.subscribe-section .content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.subscribe-card {
    padding: 48px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(20, 10, 16, 0.85), rgba(10, 6, 12, 0.9));
    border-top: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-left: 1px solid rgba(var(--hex-color-rgb), 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.2),
        0 18px 36px rgba(0, 0, 0, 0.45);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.subscribe-card:hover {
    box-shadow: 
        inset -33px -33px 90px rgba(var(--hex-color-rgb), 0.35),
        0 18px 36px rgba(0, 0, 0, 0.45);
}

.subscribe-content .section-title {
    margin-bottom: 12px;
}

.subscribe-content > p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.subscribe-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.subscribe-btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
}

.subscribe-btn.spotify {
    background: #1DB954;
    color: #fff;
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.3);
}

.subscribe-btn.apple {
    background: #9933FF;
    color: #fff;
    box-shadow: 0 8px 20px rgba(153, 51, 255, 0.3);
}

.subscribe-btn.youtube {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.subscribe-btn.rss {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.subscribe-btn.rss:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
        padding: 18px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .subscribe-card {
        padding: 32px 24px;
    }

    .subscribe-platforms {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-btn {
        width: 100%;
        max-width: 220px;
        text-align: center;
    }
}

/* Episode card actions */
.episode-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.episode-youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #ff0000;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.episode-youtube-btn:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.episode-readmore {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.episode-readmore:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* YouTube Modal */
.youtube-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.youtube-modal.active {
    opacity: 1;
    visibility: visible;
}

.youtube-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.youtube-modal__content {
    position: relative;
    width: min(900px, 90vw);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.youtube-modal.active .youtube-modal__content {
    transform: scale(1);
}

.youtube-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 4px 12px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.youtube-modal__close:hover {
    opacity: 1;
}

.youtube-modal__video iframe {
    width: 100%;
    height: 100%;
    border: none;
}
