@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
    --bg-cream: #120E0C;
    --bg-card: #1D1815;
    --text-dark: #FAF8F5;
    --text-muted: #A39B94;
    --text-light: #7A726C;
    --accent-red: #DAA520;
    --accent-red-hover: #C5931A;
    --border-color: #2D2520;
    --accent-light: #221A16;
    --footer-bg: #0C0908;
    --footer-text: #8C847E;
    --footer-title: #DAA520;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, .serif-font {
    font-family: var(--font-serif);
    font-weight: 400;
}

.italic {
    font-style: italic;
}

.caps-sub {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: inline-block;
}

/* Header & Nav */
header {
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.25rem 5%;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

nav a:hover, nav a.active {
    color: var(--accent-red);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-red);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-store {
    background-color: var(--text-dark);
    color: var(--bg-cream);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    transition: var(--transition);
    border: 1px solid var(--text-dark);
    cursor: pointer;
}

.btn-store:hover {
    background-color: transparent;
    color: var(--text-dark);
}

.nav-admin {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-admin:hover, .nav-admin.active {
    color: var(--text-dark);
}

/* Page Layout */
main {
    min-height: calc(100vh - 250px);
}

.section-padding {
    padding: 6rem 5%;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   ≡ƒûÑ∩╕Å DESKTOP HOME PAGE REDESIGN - CINEMATIC & PREMIUM AUDIO EXPERIENCE
   ========================================================================== */

/* Enhanced Header */
header {
    background: rgba(18, 14, 12, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(218, 165, 32, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 5%;
    transition: var(--transition);
}

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

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

.header-icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.header-icon-btn:hover {
    background: rgba(218, 165, 32, 0.15);
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-2px);
}

.btn-header-store {
    background: linear-gradient(135deg, var(--accent-red), #E5B84B);
    color: #120E0C;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.25);
    text-decoration: none;
}

.btn-header-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    color: #120E0C;
}

/* Home Hero Section (Desktop) */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-content h1 span.accent-text {
    color: var(--accent-red);
    font-style: italic;
    font-family: var(--font-serif);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #120E0C;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
}

.btn-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link::after {
    content: 'ΓåÆ';
    transition: transform 0.2s ease;
}

.btn-link:hover::after {
    transform: translateX(5px);
}

/* Cinematic Desktop Hero Showcase */
.desktop-hero-showcase {
    position: relative;
    max-width: 1400px;
    margin: 2rem auto 4rem;
    padding: 0 5%;
}

.hero-showcase-card {
    background: linear-gradient(135deg, #1f1814 0%, #15100d 50%, #0d0a08 100%);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-showcase-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-showcase-content {
    position: relative;
    z-index: 1;
}

.hero-trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(218, 165, 32, 0.15);
    border: 1px solid rgba(218, 165, 32, 0.35);
    color: var(--accent-red);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-showcase-title {
    font-family: var(--font-serif);
    font-size: 3.4rem;
    line-height: 1.1;
    color: #FAF8F5;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-showcase-tagline {
    font-size: 1.25rem;
    color: var(--accent-red);
    font-style: italic;
    font-family: var(--font-serif);
    margin-bottom: 1.2rem;
    display: block;
}

.hero-meta-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-pill.highlight {
    background: rgba(218, 165, 32, 0.12);
    border-color: rgba(218, 165, 32, 0.25);
    color: var(--accent-red);
    font-weight: 600;
}

.hero-showcase-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-showcase-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-hero-play {
    background: linear-gradient(135deg, var(--accent-red), #E5B84B);
    color: #120E0C;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.35);
    text-decoration: none;
}

.btn-hero-play:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(218, 165, 32, 0.5);
    color: #120E0C;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FAF8F5;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-2px);
}

/* Hero Right Poster / 3D Card */
.hero-showcase-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-poster-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(218, 165, 32, 0.25);
    transition: var(--transition);
    cursor: pointer;
}

.hero-poster-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(218, 165, 32, 0.3);
}

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

.hero-poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.25rem;
    background: linear-gradient(to top, rgba(12, 9, 8, 0.95) 20%, rgba(12, 9, 8, 0.5) 70%, transparent);
}

.poster-airing-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.airing-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.poster-airing-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-red);
}

.poster-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #FAF8F5;
    margin-bottom: 0.25rem;
}

.poster-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quick Series Switcher */
.hero-series-switcher {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    justify-content: center;
}

.hero-thumb-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-thumb-btn:hover, .hero-thumb-btn.active {
    background: rgba(218, 165, 32, 0.15);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.hero-thumb-btn img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
}

/* Desktop Section Headers */
.desktop-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.desktop-section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #FAF8F5;
    margin-bottom: 0.25rem;
}

.desktop-section-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.desktop-header-link {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    text-decoration: none;
}

.desktop-header-link:hover {
    transform: translateX(4px);
    color: #FFF;
}

/* Continue Listening Desktop Grid */
.continue-grid-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.continue-card-desktop {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.continue-card-desktop:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.continue-thumb-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
}

.continue-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.continue-card-desktop:hover .continue-thumb-box img {
    transform: scale(1.06);
}

.continue-play-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.continue-card-desktop:hover .continue-play-hover {
    opacity: 1;
}

.continue-play-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #120E0C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.continue-ch-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(18, 14, 12, 0.85);
    color: var(--accent-red);
    border: 1px solid rgba(218, 165, 32, 0.3);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.continue-progress-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.continue-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), #E5B84B);
    border-radius: 2px;
}

.continue-info-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.continue-series-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.continue-ep-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: #FAF8F5;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Trending Audio Series Desktop Grid */
.universe-grid-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.universe-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.universe-card:hover {
    transform: translateY(-8px);
    border-color: rgba(218, 165, 32, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(218, 165, 32, 0.15);
}

.universe-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.universe-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.universe-card:hover .universe-poster-wrap img {
    transform: scale(1.08);
}

.universe-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(18, 14, 12, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent-red);
    border: 1px solid rgba(218, 165, 32, 0.3);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.universe-ep-pill {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: rgba(18, 14, 12, 0.8);
    color: #FAF8F5;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.universe-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.universe-genre {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
}

.universe-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #FAF8F5;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.universe-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.universe-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.universe-listen-btn {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.universe-card:hover .universe-listen-btn {
    transform: translateX(4px);
    color: #FAF8F5;
}

/* Modern Chapter Cards on Desktop */
.chapters-grid-desktop, .chapters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.chapter-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.chapter-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.chapter-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    background: rgba(218, 165, 32, 0.12);
    border: 1px solid rgba(218, 165, 32, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chapter-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #FAF8F5;
}

.chapter-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.chapter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.play-link {
    color: var(--accent-red);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.play-link::before {
    content: 'Γû╢';
    font-size: 0.65rem;
    color: var(--accent-red);
}

/* Curated Store & Companions Desktop Showcase (Dark Theme Fix!) */
.desktop-store-showcase, .store-preview-section {
    max-width: 1400px;
    margin: 0 auto 5rem;
    padding: 0 5%;
}

.store-showcase-box, .store-preview-section {
    background: linear-gradient(135deg, #1d1815 0%, #15100d 100%);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.store-preview-content, .store-showcase-content {
    padding: 0;
    position: relative;
    z-index: 1;
}

.store-preview-content h2, .store-showcase-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #FAF8F5;
    font-family: var(--font-serif);
}

.store-preview-content p, .store-showcase-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.store-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.store-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #FAF8F5;
}

.store-feature-item span.icon {
    color: var(--accent-red);
    font-size: 1.1rem;
}

.btn-store-gold {
    background: linear-gradient(135deg, var(--accent-red), #E5B84B);
    color: #120E0C;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

.btn-store-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(218, 165, 32, 0.5);
    color: #120E0C;
}

.store-preview-image-container, .store-showcase-visual {
    height: 100%;
    min-height: 380px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.store-preview-image, .store-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Founder & Truth Desk Spotlight Desktop Section */
.desktop-founder-spotlight {
    max-width: 1400px;
    margin: 0 auto 5rem;
    padding: 0 5%;
}

.founder-spotlight-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.founder-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(218, 165, 32, 0.25);
}

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

.founder-spotlight-content {
    display: flex;
    flex-direction: column;
}

.founder-desk-badge {
    color: var(--accent-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.founder-spotlight-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: #FAF8F5;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.founder-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 1.25rem;
}

.founder-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(250, 248, 245, 0.9);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent-red);
}

.founder-body-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* Footer styling */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 6rem 5% 3rem 5%;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #2B2A27;
}

.footer-col h3 {
    color: var(--footer-title);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #FFF;
    line-height: 1.1;
}

.footer-logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--footer-title);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.footer-desc {
    color: var(--footer-text);
    font-weight: 300;
    line-height: 1.7;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-links a {
    color: #FFF;
    font-size: 1.1rem;
    font-family: var(--font-serif);
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-series-text {
    line-height: 1.7;
    font-weight: 300;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: #6C665D;
}

/* CHRONICLES PAGE */
.chronicles-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
}

/* Audio Player */
.audio-player-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border-radius: 4px;
    margin-bottom: 3rem;
    position: sticky;
    top: 100px;
}

.now-playing-label {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.player-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.player-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Custom Seekbar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background-color: var(--accent-light);
    position: relative;
    cursor: pointer;
    border-radius: 2px;
}

.progress-filled {
    height: 100%;
    width: 0%;
    background-color: var(--accent-red);
    position: relative;
    border-radius: 2px;
}

.progress-handle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-red);
    position: absolute;
    right: -6px;
    top: -4px;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.time-display {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: monospace;
}

/* Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.player-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.player-btn:hover {
    color: var(--accent-red);
}

.btn-play-pause {
    background-color: var(--accent-red);
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(192, 92, 70, 0.3);
}

.btn-play-pause:hover {
    background-color: var(--accent-red-hover);
    color: #FFF;
    transform: scale(1.05);
}

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

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: var(--accent-light);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
}

/* Visualizer Mock */
.visualizer-container {
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    justify-content: center;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.visualizer-bar {
    width: 3px;
    height: 4px;
    background-color: var(--accent-light);
    border-radius: 1px;
    transition: height 0.1s ease;
}

.playing .visualizer-bar {
    background-color: var(--accent-red);
    animation: bounce 1.2s ease-in-out infinite alternate;
}

.playing .visualizer-bar:nth-child(2n) { animation-delay: 0.15s; }
.playing .visualizer-bar:nth-child(3n) { animation-delay: 0.3s; }
.playing .visualizer-bar:nth-child(4n) { animation-delay: 0.45s; }
.playing .visualizer-bar:nth-child(5n) { animation-delay: 0.05s; }

@keyframes bounce {
    0% { height: 4px; }
    100% { height: 35px; }
}

/* Playlists Tabs */
.playlist-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    gap: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    cursor: pointer;
    color: var(--text-light);
    position: relative;
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active {
    color: var(--accent-red);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
}

.playlist-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.track-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.track-item:hover {
    border-color: var(--accent-red);
    box-shadow: var(--shadow-sm);
}

.track-item.active-track {
    border-color: var(--accent-red);
    background-color: #FAF2F0;
}

.track-index {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--accent-red);
    font-weight: 600;
}

.track-info {
    flex-grow: 1;
}

.track-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.track-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.track-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-light);
}

.track-play-status {
    color: var(--accent-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* STORE PAGE */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .store-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-red);
}

.product-img-box {
    height: 280px;
    background-color: var(--bg-cream);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.stock-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.stock-badge.in-stock {
    background-color: #27AE60;
    color: white;
}

.stock-badge.out-of-stock {
    background-color: #E74C3C;
    color: white;
}


.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-serif);
}



/* Modal Checkout */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.checkout-modal {
    background-color: var(--bg-card);
    width: 500px;
    max-width: 90%;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-red);
}

.checkout-summary {
    background-color: var(--bg-cream);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.checkout-summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    flex-grow: 1;
}

.btn-secondary:hover {
    background-color: var(--accent-light);
}

/* ADMIN PAGE */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.admin-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
}

.admin-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 2rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 120px;
}

.admin-nav-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-muted);
    transition: var(--transition);
}

.admin-nav-btn:hover {
    background-color: var(--accent-light);
    color: var(--text-dark);
}

.admin-nav-btn.active {
    background-color: var(--accent-red);
    color: #FFF;
}

.admin-content-section {
    display: none;
}

.admin-content-section.active {
    display: block;
}

.admin-section-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3.5rem;
}

.admin-form-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 0.5rem;
}

.admin-list-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.admin-list-table th, .admin-list-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-list-table th {
    background-color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

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

.btn-danger {
    background-color: transparent;
    color: #C0392B;
    border: 1px solid #E6B0AA;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background-color: #FDEDEC;
    border-color: #C0392B;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
    }
    
    .hero-image-container {
        height: 50vh;
    }
    
    .floating-airing-card {
        left: 2rem;
        bottom: 2rem;
    }

    .store-preview-section {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .store-preview-content {
        padding: 5rem 5%;
    }

    .store-preview-image-container {
        min-height: 350px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .chronicles-container {
        grid-template-columns: 1fr;
    }

    .audio-player-card {
        position: relative;
        top: 0;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }
    
    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        position: relative;
        top: 0;
    }
}

.mobile-top-bar {
    display: none !important;
}

@media (max-width: 768px) {
    header {
        display: none !important;
    }

    /* Mobile Top Bar */
    .mobile-top-bar {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 1400;
    }
    
    .mobile-logo-text {
        font-family: var(--font-serif);
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--accent-red); /* Gold */
        letter-spacing: 0.05em;
    }
    
    .mobile-top-actions {
        display: flex;
        gap: 1.25rem;
    }
    
    .top-bar-btn {
        background: none;
        border: none;
        color: var(--text-dark);
        font-size: 1.25rem;
        cursor: pointer;
        transition: var(--transition);
        padding: 0.2rem;
    }
    
    .top-bar-btn:hover {
        color: var(--accent-red);
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .cart-panel {
        width: 100%;
        right: -100%;
    }
}

/* ABOUT US PAGE */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image-container {
    height: 70vh;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.founder-section {
    padding: 6rem 5%;
    background-color: var(--bg-card);
    text-align: center;
}

.founder-container {
    max-width: 800px;
    margin: 0 auto;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.founder-img-container {
    width: 320px;
    height: 320px;
    overflow: hidden;
    border-radius: 150px 0 150px 0; /* Leaf / Shield shape */
    box-shadow: var(--shadow-lg);
}

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

.founder-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Poster-style founder display */
.founder-poster-container {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}

.founder-poster-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 80px rgba(0,0,0,0.35);
}

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

@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-container {
        height: 50vh;
    }
}

/* --------------------------------------------------
   PERSISTENT MINI AUDIO PLAYER (fixed bar)
-------------------------------------------------- */
body.mini-player-active {
    padding-bottom: 84px; /* room for mini-player */
}

#mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 72px;
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    align-items: center;
    gap: 1.2rem;
    padding: 0 1.5rem;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), bottom 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 25px rgba(0,0,0,0.6);
    opacity: 0;
}

#mini-player.is-visible {
    transform: translateY(0);
}

.mini-player-art {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-red), #8B2E1A);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

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

.mini-player-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #F0EDE8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.mini-player-sub {
    font-size: 0.72rem;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    font-weight: 600;
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-player-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #C0C0C0;
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-player-btn:hover {
    color: #F0EDE8;
    background: rgba(255,255,255,0.08);
}

.mini-player-btn.play-pause {
    width: 44px;
    height: 44px;
    background: var(--accent-red);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(192, 92, 70, 0.4);
}

.mini-player-btn.play-pause:hover {
    background: var(--accent-red-hover);
    color: #fff;
}

.mini-player-progress {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-progress-bar-track {
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.mini-progress-bar-fill {
    height: 100%;
    background: var(--accent-red);
    border-radius: 2px;
    width: 0%;
    transition: width 0.2s linear;
    pointer-events: none;
}

.mini-progress-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #777;
    font-weight: 500;
}

.mini-player-vol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.mini-player-vol input[type="range"] {
    width: 70px;
    accent-color: var(--accent-red);
    cursor: pointer;
}

.mini-close-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.1rem;
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-close-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* mini-player visualizer bars */
.mini-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}

.mini-visualizer span {
    display: block;
    width: 3px;
    background: var(--accent-red);
    border-radius: 2px;
    animation: miniBarBounce 0.8s ease-in-out infinite alternate;
    opacity: 0.7;
}

.mini-visualizer span:nth-child(1) { height: 30%; animation-delay: 0s; }
.mini-visualizer span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.mini-visualizer span:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.mini-visualizer span:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.mini-visualizer span:nth-child(5) { height: 40%; animation-delay: 0.25s; }

.mini-visualizer.paused span {
    animation-play-state: paused;
    opacity: 0.3;
}

@keyframes miniBarBounce {
    from { transform: scaleY(0.4); }
    to   { transform: scaleY(1); }
}

@media (max-width: 768px) {
    #mini-player {
        bottom: calc(65px + max(0px, env(safe-area-inset-bottom))) !important;
        height: 62px !important;
        gap: 0.6rem !important;
        padding: 0 0.8rem !important;
        z-index: 9500 !important;
        background: rgba(22, 18, 16, 0.96) !important;
        border-top: 1px solid rgba(218, 165, 32, 0.35) !important;
    }
    .mini-player-progress {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        max-width: 100%;
    }
    .mini-progress-bar-track {
        height: 3px;
        border-radius: 0;
        background: rgba(255,255,255,0.1);
    }
    .mini-progress-times { display: none; }
    .mini-player-vol { display: none; }
    .mini-visualizer { display: none; }
}

/* ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
   NEWSLETTER STRIP
ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
.newsletter-strip {
    background: linear-gradient(135deg, #1A1410 0%, #2A1F18 100%);
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid rgba(192, 92, 70, 0.2);
}

.newsletter-strip h2 {
    font-size: 2rem;
    color: #F0EDE8;
    margin-bottom: 0.5rem;
}

.newsletter-strip p {
    color: #7A7470;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    color: #F0EDE8;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: #444;
}

.newsletter-form button {
    padding: 0.9rem 1.6rem;
    background: var(--accent-red);
    color: #fff;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-red-hover);
}

.newsletter-success {
    display: none;
    color: #7DBF7D;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
   SOCIAL LINKS (footer)
ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.8rem;
}

.footer-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 12px rgba(192, 92, 70, 0.25);
    transition: var(--transition);
}

.footer-brand-header:hover .footer-brand-logo {
    transform: scale(1.05) rotate(5deg);
    border-color: rgba(212, 175, 55, 0.8);
}

.footer-social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #E6E1DA;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-pill:hover {
    background-color: rgba(192, 92, 70, 0.15);
    border-color: var(--accent-red);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 92, 70, 0.25);
}

.social-pill.youtube-pill:hover {
    background-color: rgba(255, 0, 0, 0.15);
    border-color: #FF0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.social-pill .social-handle {
    opacity: 0.7;
    font-size: 0.75rem;
    margin-left: 0.2rem;
}

/* ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
   CONTACT SECTION (About page)
ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
.contact-section {
    padding: 5rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-section .section-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(192, 92, 70, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit {
    padding: 0.9rem 2.5rem;
    background: var(--accent-red);
    color: #fff;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
}

.contact-submit:hover {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
}

.contact-divider {
    height: 1px;
    background: var(--border-color);
    margin: 5rem 5%;
}

@media (max-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
        border-radius: 6px;
    }
    .newsletter-form input[type="email"] {
        border-right: 1px solid rgba(255,255,255,0.1);
        border-bottom: none;
    }
    .newsletter-form button {
        padding: 0.9rem;
    }
}

/* ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
   ADDITIONAL RESPONSIVENESS (MOBILE FRIENDLY)
   ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ */
@media (max-width: 768px) {
    /* Section paddings and spacing */
    .section-padding {
        padding: 3rem 5% !important;
    }
    
    .store-preview-content {
        padding: 3rem 5% !important;
    }
    
    .about-hero {
        padding: 3rem 5% !important;
        gap: 2rem !important;
    }
    
    /* Typography scaling */
    .hero-content h1 {
        font-size: 2.25rem !important;
    }
    
    .store-preview-content h2 {
        font-size: 2rem !important;
    }
    
    .about-content h1 {
        font-size: 2.25rem !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Audio Player Controls */
    .player-controls {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
    }
    
    .lang-toggle-buttons {
        position: static !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
    
    /* Visualizer & volume grid stacking */
    .audio-player-card div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        justify-items: center;
    }
    
    .volume-control {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    /* Smaller phones */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
    
    /* Nav items wrap */
    nav {
        gap: 1rem !important;
    }
    
    nav a {
        font-size: 0.85rem !important;
    }
    
    /* Footer bottom elements stack */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Welcome Sign In Overlay --- */
.welcome-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeInOverlay 0.4s ease-out;
}

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

.welcome-auth-card {
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: scaleInCard 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInCard {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.welcome-logo {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #E6E1DA;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.welcome-logo-sub {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-red);
    margin-bottom: 2rem;
    font-weight: 600;
}

.welcome-auth-card h2 {
    font-size: 1.5rem;
    color: #E6E1DA;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.welcome-auth-card p {
    color: #A39B8F;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.auth-input-group {
    margin-bottom: 1.25rem;
}

.auth-input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #E6E1DA;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-input-group input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(192, 92, 70, 0.15);
}

.btn-overlay-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(192, 92, 70, 0.3);
}

.btn-overlay-submit:hover {
    background: #a84c39;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(192, 92, 70, 0.4);
}

.btn-overlay-skip {
    background: transparent;
    border: none;
    color: #A39B8F;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
    padding: 0.5rem;
}

.btn-overlay-skip:hover {
    color: #E6E1DA;
}

.overlay-auth-status {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    min-height: 20px;
    transition: all 0.3s ease;
}

.overlay-status-success {
    color: #4ade80;
}

.overlay-status-error {
    color: #f87171;
}

.overlay-status-loading {
    color: #A39B8F;
}

/* Profile Dropdown Navigation Styles */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-dropdown-btn {
    background-color: var(--text-dark);
    color: #FAF8F5;
    border: 1px solid rgba(192, 92, 70, 0.2);
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-dropdown-btn:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

.profile-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: #FAF8F5;
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    border-radius: 4px;
    border: 1px solid #E6DFD5;
    overflow: hidden;
}

.profile-dropdown-content.show {
    display: block;
}

.profile-dropdown-item {
    color: #1D1C1B;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #F3ECE2;
    transition: background-color 0.2s ease;
}

.profile-dropdown-item:last-child {
    border-bottom: none;
}

.profile-dropdown-item:hover {
    background-color: #F3ECE2;
    color: var(--accent-red);
}

.profile-header {
    padding: 0.75rem 1rem;
    background-color: #F3ECE2;
    font-size: 0.8rem;
    color: #5A5752;
    font-weight: bold;
    border-bottom: 1px solid #E6DFD5;
    word-break: break-all;
}

/* Modal styling overrides to support list views */
.orders-list-container {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 1rem;
    padding-right: 0.25rem;
}

.order-history-card {
    border: 1px solid #E6DFD5;
    border-radius: 4px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    background: #FAF8F5;
    font-size: 0.85rem;
}

.order-history-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
}

.product-img-box:hover .zoom-overlay {
    opacity: 1 !important;
}

/* ===== PODCAST LANDING PAGE ===== */
.podcast-landing {
    padding: 4rem 5% 5rem;
    background: var(--bg-main);
}

.podcast-landing-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.podcast-landing-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 0.4rem;
}

.podcast-landing-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.podcast-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.podcast-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.podcast-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-red);
}

.podcast-card-disabled {
    cursor: default;
    opacity: 0.7;
}

.podcast-card-disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

.podcast-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.podcast-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.podcast-card:hover .podcast-card-img img {
    transform: scale(1.05);
}

.podcast-card-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podcast-card:hover .podcast-card-img-overlay {
    opacity: 1;
}

.podcast-card-play-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(192, 92, 70, 0.5);
}

.podcast-card-img-placeholder {
    background: linear-gradient(135deg, #2C1810, #1A0D08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-card-placeholder-icon {
    font-size: 3.5rem;
    opacity: 0.5;
}

.podcast-card-body {
    padding: 1.5rem;
}

.podcast-card-badge {
    display: inline-block;
    background: rgba(192, 92, 70, 0.12);
    color: var(--accent-red);
    padding: 0.25rem 0.7rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.badge-soon {
    background: rgba(108, 102, 93, 0.12);
    color: var(--text-muted);
}

.podcast-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.podcast-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.podcast-card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== BACK BUTTON ===== */
.podcast-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(250, 248, 245, 0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.podcast-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FAF8F5;
}

/* ===== MOBILE SERIES BANNER (hidden on desktop) ===== */
.mobile-series-banner {
    display: none;
}

/* ===== MAHABHARATHAM PODCAST SECTION ===== */
.podcast-series-section {
    position: relative;
    overflow: hidden;
}

.mahabharatham-section {
    background-image: url('../images/mahabharatham_banner.jpg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.podcast-series-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 8, 4, 0.45) 0%,
        rgba(15, 8, 4, 0.6) 40%,
        rgba(15, 8, 4, 0.75) 100%
    );
    z-index: 0;
}

.podcast-series-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5% 5rem;
}

.podcast-series-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.podcast-series-badge {
    display: inline-block;
    background: rgba(218, 165, 32, 0.15);
    color: #DAA520;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.podcast-series-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: #FAF8F5 !important;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.podcast-series-desc {
    font-size: 1rem;
    color: rgba(250, 248, 245, 0.55);
    line-height: 1.7;
    max-width: 550px;
}

.podcast-series-stats {
    display: flex;
    gap: 2.5rem;
}

.podcast-stat {
    text-align: center;
}

.podcast-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-red);
    font-family: var(--font-serif);
}

.podcast-stat-label {
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* === Glassmorphism inside .mahabharatham-section === */
.mahabharatham-section .chronicles-container {
    padding: 0;
}

.mahabharatham-section .audio-player-card {
    background: rgba(15, 8, 4, 0.45) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: #FAF8F5 !important;
}

.mahabharatham-section .player-title { color: #FAF8F5 !important; }
.mahabharatham-section .now-playing-label { color: #DAA520 !important; }
.mahabharatham-section .player-subtitle { color: rgba(250, 248, 245, 0.55) !important; }
.mahabharatham-section .progress-bar { background: rgba(255, 255, 255, 0.12) !important; }
.mahabharatham-section .progress-filled { background: linear-gradient(90deg, var(--accent-red), #DAA520) !important; }
.mahabharatham-section .progress-handle { background: #FAF8F5 !important; border-color: #FAF8F5 !important; }
.mahabharatham-section .time-display { color: rgba(250, 248, 245, 0.65) !important; }
.mahabharatham-section .player-btn { color: rgba(250, 248, 245, 0.8) !important; }
.mahabharatham-section .player-btn:hover { color: var(--accent-red) !important; }

.mahabharatham-section .btn-play-pause {
    background: linear-gradient(135deg, var(--accent-red), #DAA520) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(192, 92, 70, 0.4);
}

.mahabharatham-section .visualizer-bar { background-color: rgba(255, 255, 255, 0.15) !important; }
.mahabharatham-section .playing .visualizer-bar { background-color: var(--accent-red) !important; }
.mahabharatham-section .tab-btn { color: rgba(250, 248, 245, 0.55) !important; }
.mahabharatham-section .tab-btn:hover { color: #FAF8F5 !important; }
.mahabharatham-section .tab-btn.active { color: #DAA520 !important; }
.mahabharatham-section .tab-btn.active::after { background-color: #DAA520 !important; }
.mahabharatham-section .playlist-tabs { border-bottom-color: rgba(255, 255, 255, 0.1) !important; }

.mahabharatham-section .track-item {
    background: rgba(15, 8, 4, 0.4) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: #FAF8F5 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mahabharatham-section .track-item:hover {
    background: rgba(15, 8, 4, 0.6) !important;
    border-color: rgba(218, 165, 32, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mahabharatham-section .track-item.active-track {
    background: rgba(192, 92, 70, 0.12) !important;
    border-color: var(--accent-red) !important;
    box-shadow: 0 4px 20px rgba(192, 92, 70, 0.2);
}

.mahabharatham-section .track-title { color: #FAF8F5 !important; }
.mahabharatham-section .track-desc { color: rgba(250, 248, 245, 0.55) !important; }
.mahabharatham-section .track-meta { color: rgba(250, 248, 245, 0.45) !important; }
.mahabharatham-section .track-index { color: #DAA520 !important; }
.mahabharatham-section .play-link { color: var(--accent-red) !important; font-weight: 600; }
.mahabharatham-section .track-play-status { color: #DAA520 !important; }

/* ===== RESPONSIVE: PODCAST LANDING + PLAYER ===== */
@media (max-width: 1024px) {
    .podcast-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .podcast-series-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .podcast-series-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .podcast-landing {
        padding: 3rem 5% 3.5rem;
    }

    .podcast-landing-title {
        font-size: 2.2rem;
    }

    .podcast-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .podcast-card-img {
        height: 180px;
    }

    /* --- MOBILE: Show banner, hide desktop header --- */
    .mobile-series-banner {
        display: block;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 1.5rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }

    .mobile-banner-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .mobile-banner-text {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.2rem 1.5rem;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    }

    .mobile-banner-text h2 {
        font-family: var(--font-serif);
        font-size: 1.6rem;
        color: #FAF8F5 !important;
        margin-bottom: 0.15rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .mobile-banner-text p {
        font-size: 0.8rem;
        color: rgba(250, 248, 245, 0.7);
    }

    .podcast-series-header {
        display: none !important;
    }

    .podcast-series-inner {
        padding: 2rem 4% 3rem;
    }

    .podcast-series-title {
        font-size: 1.8rem;
    }

    .podcast-series-desc {
        font-size: 0.9rem;
    }

    .podcast-series-stats {
        gap: 1.5rem;
    }

    .podcast-stat-num {
        font-size: 1.5rem;
    }

    .mahabharatham-section {
        background-position: center center;
    }

    /* Compact player card for mobile */
    .mahabharatham-section .audio-player-card {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }

    .mahabharatham-section .player-title {
        font-size: 1.3rem !important;
    }

    /* Track items compact for mobile */
    .mahabharatham-section .track-item {
        padding: 1rem !important;
        gap: 1rem !important;
        border-radius: 8px !important;
    }

    .mahabharatham-section .track-title {
        font-size: 0.95rem !important;
    }

    .mahabharatham-section .track-desc {
        font-size: 0.8rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .playlist-items {
        gap: 0.8rem !important;
    }

    .podcast-back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .podcast-landing {
        padding: 2.5rem 5% 3rem;
    }

    .podcast-landing-title {
        font-size: 1.8rem;
    }

    .podcast-card-img {
        height: 150px;
    }

    .podcast-card-body {
        padding: 1.2rem;
    }

    .podcast-card-body h3 {
        font-size: 1.05rem;
    }

    .mobile-banner-img {
        height: 170px;
    }

    .mobile-banner-text h2 {
        font-size: 1.3rem !important;
    }

    .podcast-series-inner {
        padding: 1.5rem 4% 2.5rem;
    }

    .podcast-series-title {
        font-size: 1.5rem;
    }

    .podcast-series-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .mahabharatham-section .audio-player-card {
        padding: 1rem 1rem 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .mahabharatham-section .player-title {
        font-size: 1.1rem !important;
    }

    .lang-toggle-buttons {
        position: relative !important;
        left: auto !important;
        margin-bottom: 0.5rem;
    }

    .mahabharatham-section .player-controls {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0 !important;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .mahabharatham-section .player-controls .player-btn {
        flex-shrink: 0;
        min-width: 40px;
    }
}

/* ==========================================================================
   ≡ƒô▒ MOBILE BOTTOM NAVIGATION BAR (Pocket FM style)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 65px !important;
        background-color: #1A1412 !important;
        border-top: 1px solid rgba(218, 165, 32, 0.3) !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 9000 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8) !important;
        padding-bottom: max(0px, env(safe-area-inset-bottom)) !important;
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        gap: 0.25rem;
        text-decoration: none;
        transition: var(--transition);
        flex: 1;
    }
    
    .mobile-nav-item:hover, .mobile-nav-item.active {
        color: var(--accent-red);
    }
    
    .mobile-nav-icon {
        font-size: 1.3rem;
        line-height: 1;
    }
    
    /* Make sure pages have padding at the bottom so content isn't covered by bottom nav and player */
    body {
        padding-bottom: calc(145px + max(0px, env(safe-area-inset-bottom))) !important;
    }

    /* --- Chronicles player on mobile: controls always horizontal row --- */
    .chronicles-container {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        padding: 1rem 4% 1.5rem !important;
    }

    .player-column {
        order: 1;
    }

    .playlist-column {
        order: 2;
    }

    /* Guarantee player controls are always a single horizontal row */
    .player-controls,
    .mahabharatham-section .player-controls {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
    }
}

/* Featured Hero Banner */
.hero-banner-card {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

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

.hero-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(18, 14, 12, 0.95) 40%, rgba(18, 14, 12, 0.4) 80%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-badge {
    align-self: flex-start;
    background-color: var(--accent-red);
    color: #120E0C;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.hero-banner-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.hero-banner-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hero-banner-play-btn {
    align-self: flex-start;
    background-color: var(--accent-red);
    color: #120E0C;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-banner-play-btn:hover {
    transform: scale(1.05);
    background-color: var(--accent-red-hover);
}

.play-icon-triangle {
    font-size: 0.75rem;
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0 1rem;
    margin-bottom: 2rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.scroll-item-card {
    width: 140px;
    min-width: 140px;
    cursor: pointer;
}

.scroll-item-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.scroll-item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-item-badge {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    background: rgba(18, 14, 12, 0.8);
    color: var(--text-dark);
    padding: 0.15rem 0.35rem;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 3px;
}

.scroll-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scroll-item-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Trending Audio Series Grid */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.trending-card {
    cursor: pointer;
}

.trending-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-sm);
}

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

.trending-ep-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(18, 14, 12, 0.75);
    color: var(--accent-red);
    padding: 0.15rem 0.4rem;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 4px;
}

.trending-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.trending-card-genre {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive View visibility */
.desktop-only-layout {
    display: block;
}
.mobile-only-layout {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only-layout {
        display: none !important;
    }
    .mobile-only-layout {
        display: block !important;
    }
}

/* ==========================================================================
   ≡ƒô▒ MOBILE LAYOUT CORRECTIONS & POCKET FM PLAYER CARD STYLING
   ========================================================================== */

/* Fix screen cutting off on mobile */
.dashboard-home {
    padding: 1.25rem 1.25rem 2rem !important;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

/* Elite edge-to-edge scroll with text-alignment start */
.horizontal-scroll-container {
    margin-left: -1.25rem !important;
    margin-right: -1.25rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

/* Pocket FM style Audio Player styles */
.mobile-player-poster {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    display: block;
}

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

.btn-play-pause-circle,
.mahabharatham-section .btn-play-pause-circle,
.mahabharatham-section .player-btn.btn-play-pause-circle {
    background-color: #FAF8F5 !important;
    color: #120E0C !important;
    transition: all 0.2s ease-in-out;
}
.btn-play-pause-circle:hover,
.mahabharatham-section .btn-play-pause-circle:hover,
.mahabharatham-section .player-btn.btn-play-pause-circle:hover {
    transform: scale(1.08);
    background-color: #ffffff !important;
    color: var(--accent-red) !important;
}
.btn-play-pause-circle:active,
.mahabharatham-section .btn-play-pause-circle:active,
.mahabharatham-section .player-btn.btn-play-pause-circle:active {
    transform: scale(0.95);
}

.option-item {
    transition: all 0.2s ease-in-out;
}
.option-item:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}
.option-item:active {
    transform: translateY(0);
}

@media (min-width: 769px) and (max-width: 1100px) {
    .hero-showcase-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    .hero-showcase-visual {
        order: -1;
    }
    .hero-poster-card {
        max-width: 320px;
    }
    .continue-grid-desktop {
        grid-template-columns: repeat(2, 1fr);
    }
    .universe-grid-desktop {
        grid-template-columns: repeat(2, 1fr);
    }
    .chapters-grid-desktop, .chapters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .store-showcase-box, .store-preview-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    .founder-spotlight-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
        text-align: center;
    }
    .founder-img-wrap {
        max-width: 260px;
        margin: 0 auto;
    }
    .founder-quote {
        border-left: none;
        border-top: 2px solid var(--accent-red);
        border-bottom: 2px solid var(--accent-red);
        padding: 1rem 0;
    }
}

.player-tab-item {
    transition: all 0.2s ease;
}
.player-tab-item:hover {
    color: #fff !important;
}

/* ===================================================================
   CLEAN DESKTOP HERO - Matches reference image (2-column layout)
   =================================================================== */

.desktop-hero-clean {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    padding: 0 6%;
}

.desktop-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.desktop-hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.desktop-hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}

.desktop-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #FAF8F5;
    margin: 0;
}

.desktop-hero-title em {
    font-style: italic;
    color: var(--accent-red);
}

.desktop-hero-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0;
}

.desktop-hero-btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-desktop-listen {
    background-color: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(192, 92, 70, 0.4);
    white-space: nowrap;
}

.btn-desktop-listen:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 92, 70, 0.5);
}

.btn-desktop-store-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.btn-desktop-store-link:hover {
    color: #FAF8F5;
}

.desktop-hero-right {
    display: flex;
    justify-content: flex-end;
}

.desktop-hero-img-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.desktop-hero-img-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.6);
}

.desktop-hero-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.desktop-hero-now-airing {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.88));
    border-left: 3px solid var(--accent-red);
}

.now-airing-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
}

.now-airing-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FAF8F5;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.now-airing-meta {
    font-size: 0.75rem;
    color: rgba(250, 248, 245, 0.55);
}

@media (max-width: 1024px) {
    .desktop-hero-title { font-size: 2.6rem; }
    .desktop-hero-img-frame { max-width: 360px; }
}

@media (max-width: 768px) {
    .desktop-hero-clean { display: none !important; }
}

/* Header icon and profile fix */
.header-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-icon-btn:hover {
    color: var(--accent-red);
    background: rgba(192, 92, 70, 0.08);
}

.profile-avatar-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
}

.profile-avatar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Player controls always horizontal */
.btn-play-pause-circle,
.mahabharatham-section .btn-play-pause-circle,
.mahabharatham-section .player-btn.btn-play-pause-circle {
    background-color: #FAF8F5 !important;
    color: #120E0C !important;
    transition: all 0.2s ease-in-out;
}
.btn-play-pause-circle:hover,
.mahabharatham-section .btn-play-pause-circle:hover,
.mahabharatham-section .player-btn.btn-play-pause-circle:hover {
    transform: scale(1.08);
    background-color: #ffffff !important;
    color: var(--accent-red) !important;
}
.btn-play-pause-circle:active,
.mahabharatham-section .btn-play-pause-circle:active,
.mahabharatham-section .player-btn.btn-play-pause-circle:active {
    transform: scale(0.95);
}

.option-item {
    transition: all 0.2s ease-in-out;
}
.option-item:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}
.option-item:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .mobile-player-poster {
        max-width: 180px !important;
        margin-bottom: 0.5rem !important;
    }
    
    .player-options-row {
        margin: 0.5rem 0 !important;
        padding: 0.4rem 0 !important;
    }
    
    .progress-container {
        margin: 0.25rem 0 0.5rem !important;
    }

    .player-title-row {
        margin-top: 0.25rem !important;
    }

    .player-controls-container {
        margin-top: 0.25rem !important;
    }
    
    .btn-play-pause-circle {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Custom Responsive Aspect Ratio Fixes for Audio Series Banner and Poster Images */
.podcast-card-img {
    position: relative;
    width: 100% !important;
    aspect-ratio: 1.6 / 1 !important;
    height: auto !important;
    overflow: hidden;
}

@media (max-width: 768px) {
    .podcast-card-img {
        aspect-ratio: 1.6 / 1 !important;
        height: auto !important;
    }
}

.podcast-series-section {
    background-position: center center !important;
    background-size: cover !important;
}

.mahabharatham-section {
    background-position: center center !important;
    background-size: cover !important;
}

.mobile-banner-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.6 / 1 !important;
    object-fit: cover !important;
}

.mobile-player-poster {
    width: 100% !important;
    max-width: 320px !important;
    aspect-ratio: 1.6 / 1 !important; /* Changed from 1/1 to show horizontal banners fully */
    height: auto !important;
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-player-poster {
        max-width: 180px !important;
        aspect-ratio: 1.6 / 1 !important;
        height: auto !important;
    }
}

/* Horizontal scrolling for Trending Audio Series on mobile */
@media (max-width: 768px) {
    .trending-grid {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 1rem !important;
        margin-left: -1.25rem !important;
        margin-right: -1.25rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Hide scrollbar but keep scrolling functionality */
    .trending-grid::-webkit-scrollbar {
        display: none;
    }
    .trending-grid {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .trending-card {
        flex: 0 0 150px !important;
    }
    
    .trending-img-wrapper {
        aspect-ratio: 1 / 1 !important;
    }
}

/* ===================================================================
   PROFILE DROPDOWN BUTTON STYLING (Fixed for Desktop Navigation)
   =================================================================== */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-dropdown-btn {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.25), rgba(192, 92, 70, 0.35)) !important;
    color: #FAF8F5 !important;
    border: 1px solid rgba(218, 165, 32, 0.5) !important;
    border-radius: 24px !important;
    padding: 0.55rem 1.2rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.profile-dropdown-btn:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.45), rgba(192, 92, 70, 0.55)) !important;
    border-color: var(--accent-red) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4) !important;
}

.profile-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background-color: #161210;
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 12px;
    min-width: 230px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow: hidden;
}

.profile-dropdown-content.show {
    display: block !important;
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-header {
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    font-weight: 700;
    color: #FAF8F5;
}

.profile-dropdown-item {
    display: block;
    padding: 0.75rem 1.2rem;
    color: #FAF8F5;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.profile-dropdown-item:hover {
    background: rgba(218, 165, 32, 0.15);
    color: var(--accent-gold);
}

/* ===================================================================
   DESKTOP QUIZ LAYOUT (Removes Android Frame Mockup on Desktop Screens)
   =================================================================== */
@media (min-width: 769px) {
    .android-frame {
        max-width: 1050px !important;
        margin: 2rem auto 6rem auto !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .android-status-bar {
        display: none !important;
    }

    .android-frame .quiz-hero {
        display: block !important;
        margin-bottom: 2rem !important;
        text-align: center;
    }

    .android-frame .quiz-container {
        max-width: 1050px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .quiz-stats-header-bar {
        padding: 1.25rem 2rem !important;
        border-radius: 16px !important;
    }

    .quiz-panel {
        padding: 2.5rem !important;
        border-radius: 20px !important;
    }

    .levels-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.75rem !important;
    }
}


/* ===== QUIZ SYSTEM STYLES (MOVED FROM QUIZ.HTML FOR SPA ROUTER) ===== */

        /* ===== QUIZ SYSTEM STYLES ===== */
        :root {
            --accent-gold: #DAA520;
            --bg-card: rgba(30, 24, 21, 0.7);
            --border-glow: rgba(192, 92, 70, 0.2);
        }

        body {
            background-color: #0F0804;
            background-image: radial-gradient(circle at 50% 15%, #24140C 0%, #0F0804 70%);
            background-attachment: fixed;
            color: #FAF8F5;
        }

        .quiz-container {
            max-width: 1000px;
            margin: 6rem auto 8rem auto;
            padding: 0 1.5rem;
        }

        .quiz-hero {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .quiz-hero h1 {
            font-family: 'Cinzel', serif;
            font-size: 3rem;
            color: #FAF8F5;
            text-shadow: 0 4px 12px rgba(0,0,0,0.6);
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
        }

        .quiz-hero p {
            font-size: 1.1rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        /* --- Panel styling --- */
        .quiz-panel {
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(12px);
            margin-bottom: 2rem;
            transition: all 0.4s ease;
        }

        /* --- Topic Selection Grid --- */
        .topics-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            padding-bottom: 0.75rem;
        }

        .topics-header h2 {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            margin: 0;
            color: var(--accent-gold);
        }

        .btn-select-all {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #FAF8F5;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-select-all:hover {
            background: var(--accent-red);
            border-color: var(--accent-red);
            transform: translateY(-2px);
        }

        .topics-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.6rem;
            margin-bottom: 1.25rem;
        }

        .topic-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1.5px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 0.6rem 0.8rem;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0.6rem;
            text-align: left;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
            user-select: none;
        }

        .topic-card:hover {
            border-color: rgba(192, 92, 70, 0.4);
            background: rgba(192, 92, 70, 0.02);
        }

        .topic-card.selected {
            border-color: var(--accent-red);
            background: rgba(192, 92, 70, 0.1);
            box-shadow: 0 0 15px var(--border-glow);
        }

        .topic-emoji {
            font-size: 1.25rem;
            margin-bottom: 0;
            transition: transform 0.3s ease;
        }

        .topic-card:hover .topic-emoji {
            transform: scale(1.15) rotate(5deg);
        }

        .topic-name {
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 0;
            color: #FAF8F5;
        }

        .topic-desc {
            display: none;
        }

        /* Checked Indicator */
        .topic-checkbox {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 12px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1.5px solid rgba(255,255,255,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            color: transparent;
            transition: all 0.2s ease;
        }

        .topic-card.selected .topic-checkbox {
            background: var(--accent-red);
            border-color: var(--accent-red);
            color: #fff;
        }

        /* --- Levels section --- */
        .levels-section-header {
            margin-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            padding-bottom: 0.75rem;
        }

        .levels-section-header h2 {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            color: var(--accent-gold);
            margin: 0;
        }

        .levels-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
        }

        .level-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1.5px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .level-card.unlocked {
            cursor: pointer;
            border-color: rgba(255,255,255,0.12);
        }

        .level-card.unlocked:hover {
            border-color: var(--accent-red);
            background: rgba(192, 92, 70, 0.03);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            transform: translateY(-5px);
        }

        .level-card.locked {
            opacity: 0.55;
            background: rgba(0,0,0,0.25);
            cursor: not-allowed;
        }

        .level-num {
            font-family: 'Cinzel', serif;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .level-card.unlocked .level-num {
            color: var(--accent-gold);
        }

        .level-name {
            font-size: 1.3rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
        }

        .level-status-icon {
            font-size: 1.7rem;
            margin-bottom: 1rem;
        }

        .level-stats {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .level-badge-completed {
            background: rgba(39, 174, 96, 0.15);
            border: 1px solid #27AE60;
            color: #2ECC71;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 700;
            display: inline-block;
            margin-top: 0.5rem;
        }

        /* --- Active Gameplay Panel --- */
        .game-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .game-level-info {
            font-family: 'Cinzel', serif;
            font-size: 1.1rem;
            color: var(--accent-gold);
            font-weight: bold;
        }

        .game-progress-text {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        /* Linear Timer */
        .timer-container {
            width: 100%;
            height: 5px;
            background: rgba(255,255,255,0.08);
            border-radius: 3px;
            margin-bottom: 2.5rem;
            overflow: hidden;
            position: relative;
        }

        .timer-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-red) 0%, #E67E22 100%);
            width: 100%;
            border-radius: 3px;
            transition: width 0.1s linear;
        }

        .question-box {
            margin-bottom: 2.5rem;
        }

        .question-text {
            font-family: var(--font-serif);
            font-size: 1.6rem;
            line-height: 1.45;
            color: #FAF8F5;
            margin-bottom: 0.5rem;
        }

        .question-category {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            background: rgba(192, 92, 70, 0.15);
            border: 1px solid var(--accent-red);
            color: #FAF8F5;
            padding: 0.2rem 0.6rem;
            border-radius: 4px;
            margin-bottom: 1rem;
        }

        /* MCQ Options list */
        .options-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media(min-width: 600px) {
            .options-list {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }
        }

        .option-btn {
            background: rgba(255,255,255,0.02);
            border: 1.5px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            font-family: var(--font-sans);
            font-size: 1rem;
            font-weight: 600;
            color: #FAF8F5;
            text-align: left;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
        }

        .option-btn:hover:not(:disabled) {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.25);
            transform: scale(1.02);
        }

        .option-btn:active:not(:disabled) {
            transform: scale(0.99);
        }

        .option-btn:disabled {
            cursor: not-allowed;
        }

        /* Option states */
        .option-btn.correct {
            background: rgba(39, 174, 96, 0.15) !important;
            border-color: #27AE60 !important;
            color: #2ECC71 !important;
            box-shadow: 0 0 15px rgba(39, 174, 96, 0.2);
        }

        .option-btn.wrong {
            background: rgba(192, 92, 70, 0.15) !important;
            border-color: var(--accent-red) !important;
            color: #E74C3C !important;
            box-shadow: 0 0 15px rgba(192, 92, 70, 0.2);
        }

        .option-icon {
            font-size: 1.1rem;
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .option-btn.correct .option-icon,
        .option-btn.wrong .option-icon {
            opacity: 1;
        }

        /* --- Result Panel --- */
        .result-panel {
            text-align: center;
            padding: 3rem 2rem;
        }

        .result-title {
            font-family: 'Cinzel', serif;
            font-size: 2.2rem;
            margin-bottom: 0.5rem;
        }

        .result-title.cleared {
            color: #2ECC71;
            text-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
        }

        .result-title.failed {
            color: var(--accent-red);
            text-shadow: 0 0 20px rgba(192, 92, 70, 0.2);
        }

        .result-subtitle {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
        }

        .score-circle {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: rgba(0,0,0,0.3);
            border: 4px solid var(--accent-gold);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2.5rem auto;
            box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        }

        .score-circle.cleared {
            border-color: #27AE60;
        }

        .score-circle.failed {
            border-color: var(--accent-red);
        }

        .score-num {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1;
            color: #FAF8F5;
        }

        .score-pct {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        .result-message {
            font-size: 1.1rem;
            margin-bottom: 2.5rem;
            line-height: 1.5;
            max-width: 450px;
            margin-left: auto;
            margin-right: auto;
        }

        .result-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-quiz-primary {
            background: var(--accent-red);
            border: none;
            color: white;
            font-size: 0.95rem;
            font-weight: 700;
            padding: 0.9rem 2rem;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(192, 92, 70, 0.3);
            transition: all 0.2s ease;
        }

        .btn-quiz-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(192, 92, 70, 0.4);
        }

        .btn-quiz-secondary {
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.15);
            color: #FAF8F5;
            font-size: 0.95rem;
            font-weight: 700;
            padding: 0.9rem 2rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-quiz-secondary:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-2px);
        }

        /* --- Gamified Systems Styles --- */
        .quiz-stats-header-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(18, 14, 12, 0.6);
            border: 1px solid rgba(243, 236, 226, 0.08);
            border-radius: 12px;
            padding: 1rem 1.5rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(8px);
        }

        .stats-heart-box {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .hearts-list {
            display: flex;
            gap: 0.25rem;
            font-size: 1.25rem;
        }

        .heart-icon.empty {
            filter: grayscale(1) opacity(0.3);
        }

        .heart-timer {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-left: 0.5rem;
        }

        .streak-badge {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(218, 165, 32, 0.12);
            border: 1px solid rgba(218, 165, 32, 0.3);
            color: var(--accent-gold);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.02em;
        }

        /* Cooldown Level Lock Styles */
        .level-card {
            position: relative;
            overflow: hidden;
        }

        .cooldown-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 8, 4, 0.88);
            backdrop-filter: blur(4px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 1.5rem;
            text-align: center;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .cooldown-title {
            font-family: 'Cinzel', serif;
            font-size: 1.1rem;
            color: var(--accent-red);
            margin-bottom: 0.5rem;
            font-weight: 700;
            letter-spacing: 0.05em;
        }

        .cooldown-timer {
            font-size: 1.2rem;
            color: #FAF8F5;
            font-weight: 800;
            letter-spacing: 0.05em;
            margin-bottom: 0.25rem;
        }

        .cooldown-desc {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* Out of Lives Refill Panel */
        .out-of-lives-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem 0.5rem;
        }

        .out-of-lives-heart {
            font-size: 2.2rem;
            animation: pulse 1.5s infinite alternate;
            margin-bottom: 0.5rem;
        }

        @keyframes pulse {
            from { transform: scale(1); filter: drop-shadow(0 0 6px rgba(192,92,70,0.4)); }
            to { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(192,92,70,0.7)); }
        }

        .refill-options-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.6rem;
            width: 100%;
            max-width: 100%;
            margin-top: 0.8rem;
        }

        .refill-option-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 0.75rem 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .refill-option-card:hover {
            background: rgba(255,255,255,0.06);
            border-color: var(--accent-gold);
        }

        .refill-option-icon {
            font-size: 1.4rem;
            margin-bottom: 0.3rem;
        }

        .refill-option-title {
            font-family: 'Cinzel', serif;
            font-size: 0.8rem;
            color: #FAF8F5;
            font-weight: 700;
            margin-bottom: 0.25rem;
            white-space: nowrap;
        }

        .refill-option-desc {
            font-size: 0.65rem;
            color: var(--text-muted);
            line-height: 1.3;
            margin-bottom: 0.6rem;
            flex-grow: 1;
        }

        .btn-refill-action {
            background: rgba(218, 165, 32, 0.15);
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            padding: 0.4rem 0.6rem;
            border-radius: 6px;
            font-size: 0.72rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
        }

        .btn-refill-action:hover {
            background: var(--accent-gold);
            color: #120E0C;
        }

        /* Trivia modal overlay styling */
        .trivia-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 8, 4, 0.95);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            padding: 1.5rem;
        }

        .trivia-modal {
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2.5rem;
            max-width: 500px;
            width: 100%;
            box-shadow: 0 25px 60px rgba(0,0,0,0.8);
            text-align: center;
        }

        .trivia-modal h3 {
            font-family: 'Cinzel', serif;
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
        }

        /* --- Android Phone Mockup Wrapper --- */
        .android-frame {
            max-width: 480px;
            margin: 6rem auto 8rem auto;
            background: #0F0804;
            border: 8px solid rgba(243, 236, 226, 0.12);
            border-radius: 40px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.85), inset 0 0 20px rgba(255,255,255,0.02);
            overflow: hidden;
            position: relative;
        }

        /* Simulated Status Bar */
        .android-status-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(18, 14, 12, 0.95);
            padding: 0.65rem 1.8rem;
            font-size: 0.75rem;
            color: #C2B6A6;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            font-weight: 600;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            letter-spacing: 0.05em;
            user-select: none;
        }

        .android-status-bar-icons {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Native App Styling adjustments inside frame */
        .android-frame .quiz-container {
            max-width: 100%;
            margin: 0;
            padding: 1.5rem;
            background: transparent;
        }

        .android-frame .quiz-hero {
            display: none; /* Hide hero header inside mobile shell to conserve space */
        }

        /* Adjustments for actual mobile viewports */
        @media (max-width: 600px) {
            .android-frame {
                max-width: 100%;
                margin: 0;
                border: none;
                border-radius: 0;
                box-shadow: none;
            }
            .android-status-bar {
                display: none; /* Hide simulated status bar on actual mobile to avoid double status bar */
            }
        }

        /* Dashboard Card Styles */
        .level-dashboard-card {
            background: linear-gradient(135deg, rgba(36, 20, 12, 0.9) 0%, rgba(18, 10, 6, 0.95) 100%);
            border: 1px solid rgba(218, 165, 32, 0.15);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 2.2rem;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.6);
            margin-bottom: 1.5rem;
        }

        .dashboard-level-num {
            font-family: 'Cinzel', serif;
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--accent-gold);
            text-shadow: 0 2px 10px rgba(218,165,32,0.3);
            margin-bottom: 0.25rem;
        }

        .dashboard-level-title {
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            color: #FAF8F5;
            margin-bottom: 1.25rem;
            text-transform: uppercase;
        }

        .dashboard-progress-container {
            width: 100%;
            margin-bottom: 1.5rem;
        }

        .dashboard-progress-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.4rem;
        }

        .dashboard-progress-bar-bg {
            width: 100%;
            height: 8px;
            background: rgba(255,255,255,0.06);
            border-radius: 4px;
            overflow: hidden;
        }

        .dashboard-progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-red) 100%);
            width: 0%;
            border-radius: 4px;
            transition: width 0.8s ease;
        }

        .btn-play-level {
            width: 100%;
            background: linear-gradient(135deg, var(--accent-red) 0%, #A2422E 100%);
            color: white;
            border: none;
            padding: 1.1rem;
            font-size: 1.05rem;
            font-weight: 800;
            border-radius: 12px;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(192, 92, 70, 0.45);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            letter-spacing: 0.05em;
        }

        .btn-play-level:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(192, 92, 70, 0.6);
        }

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

        body.page-quiz #main-footer {
            display: none !important;
        }

        .android-frame {
            max-width: 1000px;
            margin: 2rem auto 6rem auto;
            background: transparent;
            border: none;
            border-radius: 0;
            box-shadow: none;
            overflow: visible;
        }

        .android-status-bar {
            display: none !important;
        }

        .topics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .topic-card {
            background: #1D1815 !important;
            border: 1.5px solid rgba(218, 165, 32, 0.25) !important;
            border-radius: 12px !important;
            padding: 0.75rem 0.9rem !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 0.6rem !important;
            cursor: pointer !important;
            position: relative !important;
            transition: all 0.2s ease !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
            user-select: none;
        }

        .topic-card:hover {
            border-color: var(--accent-red) !important;
            background: #241D19 !important;
            transform: translateY(-2px) !important;
        }

        .topic-card.selected {
            border-color: var(--accent-red) !important;
            background: linear-gradient(135deg, rgba(218, 165, 32, 0.2), rgba(192, 92, 70, 0.25)) !important;
            box-shadow: 0 6px 20px rgba(218, 165, 32, 0.25) !important;
        }

        .topic-emoji {
            font-size: 1.3rem !important;
            flex-shrink: 0 !important;
        }

        .topic-name {
            font-size: 0.85rem !important;
            font-weight: 700 !important;
            color: #FAF8F5 !important;
            flex-grow: 1 !important;
            line-height: 1.2 !important;
        }

        .topic-desc {
            display: none !important;
        }

        .topic-checkbox {
            width: 18px !important;
            height: 18px !important;
            border-radius: 50% !important;
            border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 0.7rem !important;
            color: transparent !important;
            flex-shrink: 0 !important;
            transition: all 0.2s ease !important;
        }

        .topic-card.selected .topic-checkbox {
            background: var(--accent-red) !important;
            border-color: var(--accent-red) !important;
            color: #FFFFFF !important;
        }

        @media (max-width: 600px) {
            .quiz-container {
                padding: 1rem 1rem 140px 1rem !important;
            }
            .question-box {
                margin-bottom: 1rem !important;
            }
            .question-text {
                font-size: 1.2rem !important;
                line-height: 1.35 !important;
            }
            .options-list {
                gap: 0.6rem !important;
            }
            .option-btn {
                padding: 0.75rem 1rem !important;
                font-size: 0.9rem !important;
                border-radius: 10px !important;
            }

            /* Compact Selection Screen Overrides to Fit Play Button Without Scroll */
            .quiz-panel {
                padding: 1rem !important;
                margin-bottom: 0.75rem !important;
                border-radius: 12px !important;
            }
            .level-dashboard-card {
                padding: 1rem 1.25rem !important;
                margin-bottom: 0.75rem !important;
                border-radius: 12px !important;
            }
            .dashboard-level-num {
                font-size: 2.2rem !important;
                margin-bottom: 0.2rem !important;
            }
            .dashboard-level-title {
                font-size: 1rem !important;
                margin-bottom: 0.5rem !important;
            }
            .dashboard-progress-container {
                margin-bottom: 0.75rem !important;
            }
            .btn-play-level {
                padding: 0.75rem !important;
                font-size: 0.95rem !important;
                border-radius: 8px !important;
            }
            .quiz-hero {
                padding: 0.75rem 0.5rem !important;
                margin-bottom: 0.5rem !important;
            }
            .quiz-hero h1 {
                font-size: 1.5rem !important;
                margin-bottom: 0.2rem !important;
            }
            .quiz-hero p {
                font-size: 0.75rem !important;
                line-height: 1.3 !important;
            }
            .topics-header {
                margin-bottom: 0.75rem !important;
                padding-bottom: 0.4rem !important;
            }
            .topics-header h2 {
                font-size: 1.1rem !important;
            }
            .btn-select-all {
                padding: 0.35rem 0.6rem !important;
                font-size: 0.75rem !important;
            }
        }
    