/**
 * SoundTrack OST - Carrie Golden Standard Central Stylesheet
 * Single Source of Truth for future pages
 * Version: 1.0.0
 */

:root {
    --bg-deep: #ffffff;
    --bg-card: #f8fafc;
    --bg-elevated: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --accent-warm: #f59e0b;
    --border: #e2e8f0;
    --border-subtle: #f1f5f9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-deep: #090d16;
    --bg-card: #111827;
    --bg-elevated: #1a2234;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.2);
    --accent-warm: #fbbf24;
    --border: #1e293b;
    --border-subtle: #141c2e;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background: var(--bg-elevated);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.main-nav ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
    padding: 1.2rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    opacity: 0.5;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumbs li[aria-current="page"] {
    color: var(--text-main);
    font-weight: 600;
}

/* ==========================================================================
   HERO CARD (CINEMATIC 2-COLUMN HEADER)
   ========================================================================== */
.show-hero,
.movie-hero {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.hero-poster-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-md);
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.post-date-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-synopsis {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.hero-quote-box {
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-style: italic;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-action.primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-action.primary:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.btn-action.secondary {
    background: var(--bg-elevated);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-action.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   MAIN LAYOUT & JUMP NAVIGATION
   ========================================================================== */
.main-layout,
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

.content-column,
.main-content {
    min-width: 0;
}

.jump-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-bottom: 2.2rem;
}

.jump-nav-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.jump-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jump-pill {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.jump-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.6rem;
    margin-bottom: 1.4rem;
    margin-top: 1rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.ep-badge-count {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   TRACK CARD (THE MODERN MUSIC COMPONENT)
   ========================================================================== */
.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.track-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.track-card:hover {
    background: var(--bg-elevated);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.track-card.is-playing {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
    background: var(--bg-elevated);
}

/* PLAY BUTTON */
.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.play-btn:hover:not(.disabled) {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.play-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.play-btn .icon-pause {
    display: none;
}

.track-card.is-playing .play-btn {
    background: #ef4444;
}

.track-card.is-playing .play-btn .icon-play {
    display: none;
}

.track-card.is-playing .play-btn .icon-pause {
    display: block;
}

.play-btn.disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

/* TRACK INFO */
.track-details {
    min-width: 0;
}

.track-header-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.track-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.track-artist {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
}

.track-sub-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.track-time-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.track-scene {
    font-style: italic;
    color: var(--text-muted);
}

/* STREAMING AFFILIATE PILLS */
.track-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.affiliate-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text-main);
    background: var(--bg-elevated);
}

.affiliate-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.affiliate-pill.apple {
    border-color: #fa2d48;
    color: #fa2d48;
}

.affiliate-pill.apple:hover {
    background: #fa2d48;
    color: #ffffff;
}

.affiliate-pill.amazon {
    border-color: #ff9900;
    color: #d97706;
}

.affiliate-pill.amazon:hover {
    background: #ff9900;
    color: #000000;
}

.affiliate-pill.spotify {
    border-color: #1db954;
    color: #16a34a;
}

.affiliate-pill.spotify:hover {
    background: #1db954;
    color: #ffffff;
}

.affiliate-pill.youtube {
    border-color: #ef4444;
    color: #ef4444;
}

.affiliate-pill.youtube:hover {
    background: #ef4444;
    color: #ffffff;
}

/* ==========================================================================
   UPCOMING EPISODE CARD & EDITORIAL PROSE
   ========================================================================== */
.upcoming-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
    transition: var(--transition);
}

.upcoming-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.upcoming-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.upcoming-details {
    flex-grow: 1;
}

.upcoming-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.upcoming-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.upcoming-badge {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.25);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.upcoming-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.ad-block {
    margin: 2.2rem 0;
    text-align: center;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.prose-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    margin: 2rem 0;
}

.prose-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.prose-section p {
    margin-bottom: 1rem;
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.prose-section p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   SCHEDULE TABLE
   ========================================================================== */
.schedule-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.schedule-table th,
.schedule-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
}

.schedule-table th {
    background: var(--bg-elevated);
    color: var(--text-main);
    font-weight: 600;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   AUTHOR BOX (E-E-A-T)
   ========================================================================== */
.author-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    margin: 3rem 0;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.sidebar-widget,
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.4rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.9rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #000;
}

.video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.meta-specs,
.meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}

.meta-specs li,
.meta-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.meta-specs li:last-child,
.meta-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-specs .spec-label,
.meta-label {
    color: var(--text-muted);
    font-weight: 500;
}

.meta-specs .spec-val,
.meta-value {
    color: var(--text-main);
    font-weight: 600;
    text-align: right;
}

.external-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ext-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.ext-link-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(3px);
}

.ext-link-item .ext-tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    color: var(--text-muted);
}

.latest-soundtracks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.latest-soundtrack-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    padding: 0.45rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.latest-soundtrack-item:hover {
    background: var(--bg-elevated);
    border-color: var(--border);
    transform: translateX(3px);
}

.latest-soundtrack-thumb {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-elevated);
}

.latest-soundtrack-info {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;
}

.latest-soundtrack-title {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.latest-soundtrack-item:hover .latest-soundtrack-title {
    color: var(--accent);
}

.latest-soundtrack-meta {
    color: var(--text-muted);
    font-size: 0.76rem;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   FOOTER & BACK TO TOP
   ========================================================================== */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    margin-top: 5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-glow);
    border: none;
    z-index: 99;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZED)
   ========================================================================== */
@media (max-width: 900px) {
    .show-hero,
    .movie-hero {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .main-layout,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Track Cards in Mobile */
    .track-card {
        grid-template-columns: 44px 1fr;
        gap: 0.8rem 1rem;
        padding: 1rem;
    }

    .track-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 0.35rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .author-avatar {
        margin: 0 auto;
    }

    /* Mobile Header Toggle */
    .nav-toggle-label {
        display: block;
        width: 44px;
        height: 44px;
        position: relative;
        order: 2;
        margin-left: auto;
    }

    .header-actions {
        order: 3;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-main);
        height: 2px;
        width: 22px;
        position: absolute;
        left: 11px;
        transition: all 0.2s ease-out;
    }

    .nav-toggle-label span {
        top: 21px;
    }

    .nav-toggle-label span::before {
        content: "";
        top: -7px;
        left: 0;
    }

    .nav-toggle-label span::after {
        content: "";
        top: 7px;
        left: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        box-shadow: var(--shadow-md);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .nav-toggle:checked ~ .main-nav {
        height: auto;
        padding-bottom: 1.5rem;
    }

    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(-45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(45deg);
        top: 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .header-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 36px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .affiliate-pill {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
