/* Self-hosted fonts for better performance */
@font-face {
    font-family: 'Oxanium';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/oxanium-800-v2.woff2') format('woff2');
}

@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/rajdhani-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/rajdhani-600-v2.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 217, 255, 0.2);
}

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-attachment: fixed;
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    touch-action: pan-y;
}

/* Disable fixed background on mobile for better performance */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.pixel-accent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><line x1="0" y1="2" x2="4" y2="2" stroke="rgba(0,217,255,0.03)" stroke-width="2"/></svg>');
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    margin-bottom: 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

a, button, .nav-link, .connect-link, .episode-play-button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover, .nav-link.active {
    color: #00d9ff;
    border-color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
}

.nav-link:hover::before {
    left: 100%;
}

header {
    text-align: center;
    padding: 60px 20px 50px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 25px;
    margin: 0 0 30px 0;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4))
            drop-shadow(0 0 40px rgba(0, 217, 255, 0.3))
            drop-shadow(0 0 80px rgba(255, 92, 141, 0.2));
    border: 3px solid rgba(0, 217, 255, 0.5);
    transition: all 0.3s ease;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 60px rgba(0, 217, 255, 0.5))
            drop-shadow(0 0 100px rgba(255, 92, 141, 0.3));
}

h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: 3.8em;
    margin-bottom: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #00ffff 0%, #ff0080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    word-wrap: break-word;
    position: relative;
    width: 100%;
    text-align: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d9ff, #ff5c8d, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.about {
    padding: 0 20px;
    margin: 60px auto;
    max-width: 800px;
    width: 100%;
}

.about p {
    font-size: 1.25em;
    line-height: 1.9;
    color: #e8e8e8;
    text-align: center;
    font-weight: 500;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff5c8d, #00d9ff);
    margin: 80px auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: slide 3s ease-in-out infinite;
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Bonus Episode Section */
.bonus-episode-section {
    margin: 60px 0;
}

.bonus-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.bonus-header h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.8em;
    background: linear-gradient(135deg, #ff5c8d 0%, #ff0080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    margin: 0;
}

.bonus-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff5c8d, #ff0080);
    color: white;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 92, 141, 0.4);
}

.bonus-episode-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 92, 141, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 92, 141, 0.2);
}

.bonus-episode-card:hover {
    border-color: rgba(255, 92, 141, 0.6);
    box-shadow: 0 8px 32px rgba(255, 92, 141, 0.3);
    transform: translateY(-3px);
}

.bonus-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

.bonus-episode-info {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.bonus-episode-text {
    flex: 1;
    min-width: 0;
}

.bonus-episode-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #ff5c8d;
    margin-bottom: 12px;
    line-height: 1.3;
}

.bonus-episode-description {
    font-size: 1.15em;
    line-height: 1.7;
    color: #e8e8e8;
    margin-bottom: 0;
}

.bonus-youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff5c8d, #ff0080);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.3);
}

.bonus-youtube-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 92, 141, 0.5);
    background: linear-gradient(135deg, #ff0080, #ff5c8d);
}

.bonus-youtube-link:active {
    transform: translateY(0);
}

/* Bonus Episodes Page */
.bonus-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.bonus-page-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bonus-page-title-wrapper h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: 3.2em;
    background: linear-gradient(135deg, #ff5c8d 0%, #ff0080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    margin: 0;
}

.bonus-page-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff5c8d, #ff0080);
    color: white;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 92, 141, 0.4);
}

.bonus-page-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: #e8e8e8;
    max-width: 700px;
    margin: 0 auto;
}

.bonus-episodes-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.bonus-grid-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 92, 141, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 92, 141, 0.2);
    display: flex;
    flex-direction: column;
}

.bonus-grid-card:hover {
    border-color: rgba(255, 92, 141, 0.6);
    box-shadow: 0 8px 32px rgba(255, 92, 141, 0.3);
    transform: translateY(-5px);
}

.bonus-grid-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.bonus-grid-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bonus-grid-info {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.bonus-grid-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #ff5c8d;
    margin: 0;
    line-height: 1.3;
}

.bonus-grid-description {
    font-size: 1.05em;
    line-height: 1.6;
    color: #e8e8e8;
    margin: 0;
    flex: 1;
}

.bonus-grid-date {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.bonus-grid-youtube-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff5c8d, #ff0080);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.3);
    margin-top: 12px;
}

.bonus-grid-youtube-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 92, 141, 0.5);
    background: linear-gradient(135deg, #ff0080, #ff5c8d);
}

.bonus-grid-youtube-link:active {
    transform: translateY(0);
}

.no-bonus-episodes {
    text-align: center;
    padding: 80px 20px;
}

.no-bonus-episodes h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.2em;
    color: #ff5c8d;
    margin-bottom: 15px;
}

.no-bonus-episodes p {
    font-size: 1.2em;
    color: #e8e8e8;
    line-height: 1.6;
}

.latest-episode {
    margin: 60px 0;
}

.latest-episode h2 {
    font-family: 'Oxanium', sans-serif;
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 45px;
    background: linear-gradient(135deg, #ff0080 0%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

/* RSS Subscribe Button */
.rss-subscribe-section {
    text-align: center;
    margin: 40px 0 20px;
}

.rss-subscribe-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff5c8d 0%, #00d9ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.3);
    border: none;
    overflow: hidden;
}

.rss-subscribe-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 92, 141, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.rss-subscribe-button:active {
    transform: translateY(-1px);
}

.rss-subscribe-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Listen & Subscribe Section */
.listen-section {
    margin: 40px 0 48px;
    text-align: center;
}

.listen-section h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8em;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ff0080 0%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.listen-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
}

.listen-btn img,
.listen-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.listen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.listen-btn:active {
    transform: translateY(-1px);
}

/* Footer Connect Section */
.footer-connect {
    margin-bottom: 28px;
}

.footer-connect-label {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 18px;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 4px;
}

.footer-social-link {
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-social-link picture {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.connect-section {
    margin: 60px 0;
}

.connect-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.connect-link {
    transition: all 0.3s ease;
    opacity: 0.85;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    touch-action: manipulation;
}

.connect-link::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5c8d, #00d9ff);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(15px);
}

.connect-link:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 1;
}

.connect-link:hover::before {
    opacity: 0.6;
}

.connect-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

footer {
    text-align: center;
    padding: 50px 20px 30px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.episodes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.loading {
    text-align: center;
    color: #00d9ff;
    font-size: 1.2em;
}

/* Skeleton Loading States */
.skeleton-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmerSkeleton 1.5s ease-in-out infinite;
    border-radius: 4px;
    height: 20px;
    margin-bottom: 12px;
}

.skeleton-title {
    height: 30px;
    width: 70%;
    margin: 0 auto 15px;
}

.skeleton-text {
    height: 16px;
    width: 90%;
    margin: 0 auto 10px;
}

.skeleton-text-short {
    height: 16px;
    width: 60%;
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shimmerSkeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Error State Styling */
.error-container {
    background: rgba(255, 92, 141, 0.1);
    border: 2px solid rgba(255, 92, 141, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
}

.error-title {
    color: #ff5c8d;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
}

.error-message {
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.retry-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff5c8d 0%, #00d9ff 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.3);
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 92, 141, 0.5);
}

/* Error state links (replaces old inline styles) */
.error-links-list {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.error-link {
    color: #00d9ff;
    text-decoration: underline;
}

/* Footer heart icon */
.footer-heart {
    color: #ff5c8d;
}

/* 404 Page Styling */
.error-page {
    text-align: center;
    padding: 80px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: 6em;
    background: linear-gradient(135deg, #00d9ff 0%, #ff5c8d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.error-page .error-message {
    font-size: 1.3em;
    color: #b0b0b0;
    margin-bottom: 30px;
    max-width: 500px;
}

.error-home-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff5c8d 0%, #00d9ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.3);
}

.error-home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 92, 141, 0.5);
}

/* Search/Filter Styling */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 30px;
    color: #f0f0f0;
    font-size: 1em;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    border-color: #00d9ff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d9ff;
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.clear-search {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff5c8d;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    display: none;
    transition: transform 0.2s ease;
}

.clear-search:hover {
    transform: translateY(-50%) scale(1.2);
}

.clear-search.visible {
    display: block;
}

.search-results-count {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.no-results {
    text-align: center;
    color: #ff5c8d;
    font-size: 1.2em;
    padding: 40px 20px;
}

.episode-card.hidden {
    display: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 99;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.4);
    color: #00d9ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: rgba(0, 217, 255, 0.28);
    transform: translateY(-2px);
}

.scroll-to-top:focus-visible {
    outline: 2px solid #00d9ff;
    outline-offset: 3px;
}

.light-theme .scroll-to-top {
    background: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 102, 204, 0.35);
    color: #0066cc;
}

.light-theme .scroll-to-top:hover {
    background: rgba(0, 102, 204, 0.2);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* YouTube Click-to-Play Facade */
.video-facade {
    cursor: pointer;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-facade-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.video-facade:hover .video-facade-thumb {
    opacity: 0.85;
}

.video-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-facade:hover .video-facade-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

/* Persistent Mini Player */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(15, 32, 39, 0.97);
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.mini-player[hidden] {
    transform: translateY(100%);
    display: block !important;
    pointer-events: none;
}

.mini-player:not([hidden]) {
    transform: translateY(0);
}

.mini-player-progress {
    height: 3px;
    background: linear-gradient(90deg, #ff5c8d, #00d9ff);
    width: 0%;
    transition: width 0.3s linear;
}

.mini-player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

.mini-player-info {
    flex: 1;
    min-width: 0;
}

.mini-player-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: #00d9ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mini-player-btn {
    background: none;
    border: none;
    color: #f0f0f0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.mini-player-btn:hover {
    background: rgba(0, 217, 255, 0.15);
    color: #00d9ff;
}

.light-theme .mini-player {
    background: rgba(245, 249, 252, 0.97);
    border-top-color: rgba(0, 102, 204, 0.25);
}

.light-theme .mini-player-title {
    color: #0066cc;
}

.light-theme .mini-player-btn {
    color: #333;
}

.light-theme .mini-player-btn:hover {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
}

/* Adjust scroll-to-top and theme toggle when mini-player is visible */
body.mini-player-active .scroll-to-top {
    bottom: 160px;
}

body.mini-player-active .theme-toggle-container {
    bottom: 90px;
}

@media (max-width: 768px) {
    body.mini-player-active .scroll-to-top {
        bottom: 150px;
    }

    body.mini-player-active .theme-toggle-container {
        bottom: 80px;
    }

    .mini-player-content {
        padding: 8px 16px;
    }

    .mini-player-title {
        font-size: 0.82em;
    }
}

/* Episode count badge */
.episode-count {
    display: inline-block;
    font-size: 0.38em;
    font-weight: 700;
    background: rgba(0, 217, 255, 0.15);
    color: #00d9ff;
    padding: 4px 12px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.light-theme .episode-count {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
}

/* Load More button */
.load-more-wrapper {
    text-align: center;
    margin: 32px auto 0;
}

.load-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff5c8d 0%, #00d9ff 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 92, 141, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 92, 141, 0.5);
}

.load-more-btn:active {
    transform: translateY(-1px);
}

/* Theme Toggle Styling */
.theme-toggle-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.theme-toggle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ff5c8d 0%, #00d9ff 100%);
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px rgba(0, 217, 255, 0.5);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle:focus-visible {
    outline: 3px solid #00d9ff;
    outline-offset: 3px;
}

/* Light Theme Styles */
body.light-theme {
    background: linear-gradient(135deg, #e8f4f8 0%, #f5f9fc 50%, #ffffff 100%);
    color: #1a1a1a;
}

.light-theme .pixel-accent {
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 100, 200, 0.03) 2px, rgba(0, 100, 200, 0.03) 4px);
}

.light-theme h1 {
    background: linear-gradient(135deg, #0066cc 0%, #cc0066 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-theme .about p,
.light-theme .episode-description,
.light-theme .error-message {
    color: #333;
}

.light-theme .listen-section h2 {
    background: linear-gradient(135deg, #cc0066 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-theme .listen-btn {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.light-theme .listen-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.light-theme .footer-connect-label {
    color: rgba(0, 0, 0, 0.65);
}

.light-theme .latest-episode h2,
.light-theme .episodes-page-header h1 {
    background: linear-gradient(135deg, #cc0066 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-theme .bonus-header h2 {
    background: linear-gradient(135deg, #cc0066 0%, #990050 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-theme .bonus-badge {
    background: linear-gradient(135deg, #cc0066, #990050);
    box-shadow: 0 3px 10px rgba(204, 0, 102, 0.3);
}

.light-theme .bonus-episode-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(204, 0, 102, 0.3);
    box-shadow: 0 4px 20px rgba(204, 0, 102, 0.15);
}

.light-theme .bonus-episode-card:hover {
    border-color: rgba(204, 0, 102, 0.5);
    box-shadow: 0 8px 32px rgba(204, 0, 102, 0.25);
}

.light-theme .bonus-episode-title {
    color: #cc0066;
}

.light-theme .bonus-episode-description {
    color: #333;
}

.light-theme .bonus-youtube-link {
    background: linear-gradient(135deg, #cc0066, #990050);
    box-shadow: 0 4px 15px rgba(204, 0, 102, 0.25);
}

.light-theme .bonus-youtube-link:hover {
    box-shadow: 0 6px 20px rgba(204, 0, 102, 0.4);
    background: linear-gradient(135deg, #990050, #cc0066);
}

.light-theme .bonus-page-title-wrapper h1 {
    background: linear-gradient(135deg, #cc0066 0%, #990050 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-theme .bonus-page-badge {
    background: linear-gradient(135deg, #cc0066, #990050);
    box-shadow: 0 3px 10px rgba(204, 0, 102, 0.3);
}

.light-theme .bonus-page-description {
    color: #333;
}

.light-theme .bonus-grid-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(204, 0, 102, 0.3);
    box-shadow: 0 4px 20px rgba(204, 0, 102, 0.15);
}

.light-theme .bonus-grid-card:hover {
    border-color: rgba(204, 0, 102, 0.5);
    box-shadow: 0 8px 32px rgba(204, 0, 102, 0.25);
}

.light-theme .bonus-grid-title {
    color: #cc0066;
}

.light-theme .bonus-grid-description {
    color: #333;
}

.light-theme .bonus-grid-date {
    color: rgba(0, 0, 0, 0.5);
}

.light-theme .bonus-grid-youtube-link {
    background: linear-gradient(135deg, #cc0066, #990050);
    box-shadow: 0 4px 15px rgba(204, 0, 102, 0.25);
}

.light-theme .bonus-grid-youtube-link:hover {
    box-shadow: 0 6px 20px rgba(204, 0, 102, 0.4);
    background: linear-gradient(135deg, #990050, #cc0066);
}

.light-theme .no-bonus-episodes h2 {
    color: #cc0066;
}

.light-theme .no-bonus-episodes p {
    color: #333;
}

.light-theme .nav-link {
    color: #1a1a1a;
}

.light-theme .nav-link:hover,
.light-theme .nav-link.active {
    color: #0066cc;
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
}

.light-theme .episode-title {
    color: #0066cc;
}

/* Episode number badge removed */

.light-theme .episode-date,
.light-theme .search-results-count,
.light-theme footer {
    color: rgba(0, 0, 0, 0.5);
}

.light-theme .loading {
    color: #0066cc;
}

.light-theme .skeleton-card {
    background: rgba(0, 0, 0, 0.03);
}

.light-theme .skeleton-line {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 75%);
    background-size: 200% 100%;
}

.light-theme .error-container {
    background: rgba(204, 0, 102, 0.05);
    border-color: rgba(204, 0, 102, 0.2);
}

.light-theme .error-title {
    color: #cc0066;
}

.light-theme .error-page .error-message {
    color: #555;
}

.light-theme .theme-toggle:focus-visible {
    outline-color: #0066cc;
}

.light-theme .error-link {
    color: #0066cc;
}

.light-theme .search-input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 102, 204, 0.3);
    color: #1a1a1a;
}

.light-theme .search-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.light-theme .search-input:focus {
    border-color: #0066cc;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
}

.light-theme .search-icon {
    color: #0066cc;
}

.light-theme .clear-search {
    color: #cc0066;
}

.light-theme .skip-to-content {
    background: #0066cc;
    color: white;
}

.light-theme .episode-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.light-theme .episode-card:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.light-theme .episode-back-link {
    color: #0066cc;
}

.light-theme .episode-back-link:hover {
    color: #cc3366;
}

.light-theme .share-link-btn {
    background: rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.4);
    color: #0055bb;
}

.light-theme .share-link-btn:hover {
    background: rgba(0, 102, 204, 0.2);
    border-color: rgba(0, 102, 204, 0.6);
}

.light-theme .episode-title-link:hover .episode-title {
    color: #0066cc;
}

@media (max-width: 768px) {
    .theme-toggle-container {
        bottom: 20px;
        right: 20px;
    }

    .theme-toggle {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        font-size: 1.3em;
        border-radius: 50% !important;
    }
}

.episode-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.episode-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Episode number badge removed - numbers now in episode titles from RSS feed */

.episode-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    color: #00d9ff;
    line-height: 1.35;
    margin: 0;
}

.episode-description {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.05em;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.episode-description a {
    color: #00ffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.episode-description a:hover {
    color: #ff0080;
}

/* Description truncation — applied by addExpandToggle() in utils.js */
.episode-description.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-description.truncated.expanded {
    display: block;
    overflow: visible;
}

.show-more-btn {
    background: none;
    border: none;
    color: #00d9ff;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85em;
    font-weight: 600;
    padding: 2px 0;
    margin-top: -4px;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.show-more-btn:hover {
    color: #ff5c8d;
}

.light-theme .show-more-btn {
    color: #0066cc;
}

.light-theme .show-more-btn:hover {
    color: #cc0066;
}

.episode-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.episode-play-button {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ff5c8d 0%, #00d9ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 92, 141, 0.25);
}

.episode-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 92, 141, 0.4);
}

.audio-player {
    width: 100%;
    margin-top: 8px;
    border-radius: 12px;
    overflow: hidden;
}

.audio-player::-webkit-media-controls-panel {
    background: linear-gradient(135deg, rgba(255, 92, 141, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
}

/* Episode title links */
.episode-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.episode-title-link:hover .episode-title {
    color: #00d9ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Episode detail page */
.episode-detail-header {
    margin-bottom: 20px;
}

.episode-back-link {
    color: #00d9ff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.episode-back-link:hover {
    color: #ff5c8d;
}

/* YouTube link on episode cards — styled as a button to match share button */
.episode-youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 50, 50, 0.18);
    border: 1px solid rgba(255, 80, 80, 0.55);
    color: #ff7070;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.episode-youtube-link:hover {
    background: rgba(255, 50, 50, 0.3);
    border-color: rgba(255, 80, 80, 0.8);
    color: #ff8888;
}

.light-theme .episode-youtube-link {
    background: rgba(200, 0, 0, 0.12);
    border-color: rgba(200, 0, 0, 0.4);
    color: #bb1111;
    font-weight: 600;
}

.light-theme .episode-youtube-link:hover {
    background: rgba(200, 0, 0, 0.2);
    border-color: rgba(200, 0, 0, 0.6);
}

/* Share button */
.share-button-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.share-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 217, 255, 0.18);
    border: 1px solid rgba(0, 217, 255, 0.55);
    color: #00d9ff;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
}

.share-link-btn:hover {
    background: rgba(0, 217, 255, 0.3);
    border-color: rgba(0, 217, 255, 0.8);
}

.share-feedback {
    font-size: 0.85em;
    color: #4caf50;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-feedback.visible {
    opacity: 1;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.episodes-page-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.episodes-page-header h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: 3em;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8em;
        letter-spacing: 1px;
    }

    nav {
        gap: 15px;
        padding: 15px 10px;
    }

    .nav-link {
        font-size: 0.95em;
        padding: 8px 16px;
    }

    header {
        padding: 40px 15px 30px;
        margin-bottom: 40px;
    }

    .logo {
        width: 140px;
        height: 140px;
    }

    .about {
        padding: 0 15px;
        margin: 40px auto;
    }

    .about p {
        font-size: 1.05em;
        line-height: 1.8;
        text-align: center;
    }

    .section-divider {
        margin: 50px auto;
    }

    .latest-episode h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .listen-section h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .listen-btn {
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .bonus-header h2 {
        font-size: 1.8em;
    }

    .bonus-badge {
        font-size: 0.65em;
        padding: 5px 12px;
    }

    .bonus-episode-info {
        padding: 20px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .bonus-episode-title {
        font-size: 1.4em;
    }

    .bonus-episode-description {
        font-size: 1em;
    }

    .bonus-youtube-link {
        font-size: 0.95em;
        padding: 10px 20px;
    }

    .bonus-page-title-wrapper h1 {
        font-size: 2.2em;
    }

    .bonus-page-badge {
        font-size: 0.6em;
    }

    .bonus-page-description {
        font-size: 1.05em;
        padding: 0 20px;
    }

    .bonus-grid-info {
        padding: 18px 20px;
    }

    .bonus-grid-title {
        font-size: 1.3em;
    }

    .bonus-grid-description {
        font-size: 1em;
    }

    .bonus-grid-youtube-link {
        font-size: 0.9em;
    }

    .bonus-episode-card,
    .bonus-grid-card {
        backdrop-filter: none;
    }

    .episode-card {
        padding: 18px 20px;
        gap: 10px;
        backdrop-filter: none;
    }

    .episode-title {
        font-size: 1.35em;
    }

    .episode-description {
        font-size: 1em;
        line-height: 1.7;
    }

    .connect-grid {
        gap: 30px;
        padding: 0 10px;
    }

    .connect-link {
        width: 70px;
        height: 70px;
    }

    .episodes-page-header h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2em;
    }

    .about p {
        font-size: 1em;
        line-height: 1.7;
    }

    .listen-section h2 {
        font-size: 1.35em;
    }

    .latest-episode h2 {
        font-size: 1.6em;
        margin-bottom: 25px;
    }

    .connect-link {
        width: 60px;
        height: 60px;
    }
}

/* Tablet Optimizations (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 3em;
    }

    .logo {
        width: 160px;
        height: 160px;
    }

    .about p {
        font-size: 1.15em;
        max-width: 700px;
    }

    .latest-episode h2 {
        font-size: 2.4em;
    }

    .bonus-page-title-wrapper h1 {
        font-size: 2.6em;
    }

    .episode-card {
        padding: 22px 26px;
    }

    .episodes-container {
        max-width: 750px;
    }

    .connect-grid {
        gap: 40px;
    }

    .connect-link {
        width: 80px;
        height: 80px;
    }

    nav {
        gap: 25px;
    }
}

/* Very Small Screens (320px - 374px) */
@media (max-width: 374px) {
    h1 {
        font-size: 2em;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .nav-link {
        font-size: 0.85em;
        padding: 6px 12px;
    }

    nav {
        gap: 10px;
    }

    .connect-link {
        width: 55px;
        height: 55px;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    h1 {
        font-size: 4.2em;
    }

    .logo {
        width: 200px;
        height: 200px;
    }

    .about p {
        font-size: 1.35em;
        max-width: 900px;
    }

    .latest-episode h2 {
        font-size: 3.2em;
    }

    .episodes-container {
        max-width: 1000px;
        gap: 24px;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .nav-link::before,
    .section-divider::after,
    h1::after {
        animation: none !important;
    }
}

/* Improved Focus Styles for Accessibility */
a:focus,
button:focus,
.nav-link:focus,
.connect-link:focus,
.episode-play-button:focus,
audio:focus {
    outline: 3px solid #00d9ff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: #00d9ff;
    color: #0f2027;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 100;
    border-radius: 0 0 4px 0;
    opacity: 0;
    pointer-events: none;
    transition: top 0.2s ease, opacity 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

/* ===== GEOCITIES EASTER EGG STYLES ===== */

/* Footer Geocities Icon */
.geocities-icon {
    margin-top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.geocities-icon:hover {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
}

.geocities-icon:active {
    transform: scale(0.9);
}

/* Geocities Overlay */
.geocities-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #008080 url('data:image/svg+xml,%3Csvg width="20" height="20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h10v10H0zm10 10h10v10H10z" fill="%23006666"/%3E%3C/svg%3E') repeat;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    display: none !important;
}

.geocities-overlay.active {
    display: block !important;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.geocities-content {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #FFFF00;
    border: 5px ridge #FF00FF;
    box-shadow: 10px 10px 0px #000;
    font-family: 'Comic Sans MS', 'Papyrus', cursive, sans-serif;
    position: relative;
}

.geocities-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF0000;
    color: #FFFF00;
    border: 3px outset #FF6666;
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10000;
    font-family: Arial, sans-serif;
    box-shadow: 3px 3px 0px #000;
}

.geocities-close:hover {
    background: #CC0000;
    border-style: inset;
}

.geocities-close:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000;
}

/* Geocities Header */
.geocities-header {
    text-align: center;
    margin-bottom: 30px;
}

.geocities-logo {
    display: block;
    margin: 0 auto 20px;
    image-rendering: pixelated;
}

.retro-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 3em;
    color: #FF00FF;
    text-shadow: 3px 3px #00FFFF, 6px 6px #000;
    margin: 20px 0;
    background: linear-gradient(45deg, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowShift 3s ease infinite;
}

.retro-title marquee {
    font-size: inherit;
    font-family: inherit;
}

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

.retro-subtitle {
    font-size: 1.4em;
    color: #0000FF;
    font-weight: bold;
    text-decoration: underline;
    animation: colorPulse 2s ease infinite;
}

@keyframes colorPulse {
    0%, 100% { color: #0000FF; }
    25% { color: #FF0000; }
    50% { color: #00FF00; }
    75% { color: #FF00FF; }
}

/* Retro Divider */
.retro-divider {
    text-align: center;
    margin: 20px 0;
}

.rainbow-line {
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    border: 2px solid #000;
}

/* Main Content Area */
.geocities-main {
    background: #FFFFFF;
    border: 3px dashed #FF00FF;
    padding: 20px;
    margin: 20px 0;
}

.retro-badges {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.retro-badges img {
    image-rendering: pixelated;
    border: 2px solid #000;
}

.retro-content {
    color: #000;
    line-height: 1.8;
}

.retro-content h2 {
    color: #FF0000;
    font-size: 2em;
    text-align: center;
    margin: 20px 0;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.retro-content h3 {
    color: #0000FF;
    font-size: 1.5em;
    text-align: center;
    margin: 15px 0;
}

.blink-text {
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.dramatic-text {
    font-size: 1.2em;
    color: #000;
    text-align: center;
    font-weight: bold;
    background: #FFFF00;
    padding: 20px;
    border: 3px solid #FF0000;
    margin: 20px 0;
    text-transform: uppercase;
}

.flame-border {
    background: #FF6600;
    border: 5px ridge #FFD700;
    padding: 20px;
    margin: 30px 0;
    color: #000;
    box-shadow: 5px 5px 0px #000;
}

.flame-border h3 {
    color: #FFFF00;
    text-shadow: 2px 2px #FF0000;
}

.flame-border p {
    background: #FFFF99;
    padding: 15px;
    border: 2px solid #000;
    margin-top: 10px;
}

.scroll-text {
    font-size: 1.3em;
    font-weight: bold;
    color: #FF0000;
    background: #FFFF00;
    padding: 10px;
    border: 3px double #0000FF;
    margin: 20px 0;
    display: block;
}

.construction-zone {
    text-align: center;
    background: #000;
    color: #FFFF00;
    padding: 20px;
    border: 5px solid #FF0000;
    margin: 20px 0;
    animation: constructionBlink 0.5s ease-in-out infinite alternate;
}

@keyframes constructionBlink {
    from { background: #000; }
    to { background: #333; }
}

.construction-zone p {
    font-size: 1.5em;
    font-weight: bold;
    margin: 10px 0;
}

.webring {
    text-align: center;
    background: #C0C0C0;
    border: 3px groove #808080;
    padding: 15px;
    margin: 20px 0;
}

.webring p {
    margin: 5px 0;
    color: #000;
}

.retro-links {
    text-align: center;
    background: #00FFFF;
    border: 4px dotted #0000FF;
    padding: 20px;
    margin: 20px 0;
}

.retro-links h3 {
    color: #FF00FF;
}

.retro-links a {
    color: #0000FF;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.2em;
}

.retro-links a:hover {
    color: #FF0000;
    background: #FFFF00;
}

.retro-links a:visited {
    color: #800080;
}

.guestbook {
    text-align: center;
    background: #FFB6C1;
    border: 5px double #FF1493;
    padding: 20px;
    margin: 20px 0;
}

.guestbook h3 {
    color: #FF1493;
}

.small-text {
    font-size: 0.9em;
    font-style: italic;
    color: #666;
}

/* Geocities Footer */
.geocities-footer {
    text-align: center;
    background: #C0C0C0;
    border: 3px inset #808080;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.9em;
    color: #000;
}

.geocities-footer p {
    margin: 10px 0;
}

.geocities-footer img {
    vertical-align: middle;
    margin: 0 5px;
}

/* Mobile Responsiveness for Geocities Overlay */
@media (max-width: 768px) {
    .geocities-content {
        margin: 10px;
        padding: 15px;
        border-width: 3px;
    }

    .retro-title {
        font-size: 2em;
    }

    .retro-subtitle {
        font-size: 1.1em;
    }

    .retro-content h2 {
        font-size: 1.5em;
    }

    .retro-content h3 {
        font-size: 1.2em;
    }

    .dramatic-text {
        font-size: 1em;
        padding: 15px;
    }

    .scroll-text {
        font-size: 1.1em;
    }

    .retro-badges {
        gap: 10px;
    }

    .retro-badges img {
        max-width: 80px;
    }

    .geocities-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .retro-title {
        font-size: 1.5em;
    }

    .retro-subtitle {
        font-size: 1em;
    }

    .dramatic-text {
        font-size: 0.9em;
        padding: 10px;
    }

    .retro-badges img {
        max-width: 70px;
    }
}
