@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: #FAF8F5;
    --bg-card: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #5A5752;
    --text-light: #8C877E;
    --accent-red: #C05C46;
    --accent-red-hover: #A54B36;
    --border-color: #E6E1D8;
    --accent-light: #F3ECE2;
    --footer-bg: #151515;
    --footer-text: #A0A0A0;
    --footer-title: #8A857A;
    --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.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

* {
    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: #FFF;
    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;
}

/* Home Hero Section */
.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: #FFF;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 2px;
    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);
}

.hero-image-container {
    position: relative;
    height: 65vh;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.floating-airing-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: #FFF;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-left: 3px solid var(--accent-red);
    width: 280px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.airing-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0.25rem 0 0.5rem 0;
    font-family: var(--font-serif);
}

.airing-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Home Section Layouts */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 3.5rem;
}

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

/* Chapters Grid */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.chapter-card {
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chapter-card:hover {
    border-bottom-color: var(--accent-red);
    transform: translateY(-4px);
}

.chapter-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 0.75rem;
}

.chapter-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

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

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

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

.play-link::before {
    content: '▶';
    font-size: 0.6rem;
    color: var(--accent-red);
}

/* Store Preview Section */
.store-preview-section {
    background-color: #F4EFE6;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 4rem;
}

.store-preview-content {
    padding: 6rem 0 6rem 10%;
}

.store-preview-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.store-preview-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.store-preview-image-container {
    height: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

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

/* 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(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.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: #FAF8F5; /* Matches cream background for contrast */
    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);
}

.btn-add-cart {
    background-color: var(--text-dark);
    color: #FFF;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: var(--accent-red);
}

/* Cart Panel (Slide-out) */
.cart-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background-color: #FFF;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    right: 0;
}

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

.cart-title {
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

.btn-close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

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

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 1rem;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-family: var(--font-serif);
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-qty {
    background: var(--accent-light);
    border: none;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty:hover {
    background-color: var(--border-color);
}

.cart-item-qty {
    font-size: 0.85rem;
    min-width: 15px;
    text-align: center;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.8rem;
}

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

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-cream);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cart-subtotal-price {
    font-family: var(--font-serif);
    color: var(--accent-red);
}

.btn-checkout {
    width: 100%;
    background-color: var(--accent-red);
    color: #FFF;
    border: none;
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
    display: none;
}

.cart-overlay.open {
    display: block;
}

/* 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: #FFF;
    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;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .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: #FAF6EE;
    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 {
    padding-bottom: 84px; /* room for mini-player */
}

#mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 72px;
    background: #0F0F0F;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

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

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

.mini-player-title {
    font-size: 0.85rem;
    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: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

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

.mini-player-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #A0A0A0;
    font-size: 1.1rem;
    line-height: 1;
    padding: 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: 40px;
    height: 40px;
    background: var(--accent-red);
    color: #fff;
    font-size: 1rem;
}

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

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

.mini-progress-bar-track {
    height: 3px;
    background: rgba(255,255,255,0.12);
    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.3s linear;
    pointer-events: none;
}

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

.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: #444;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s;
    line-height: 1;
}

.mini-close-btn:hover { color: #888; }

.mini-visit-btn {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
    padding: 5px 10px;
    border: 1px solid var(--accent-red);
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

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

/* 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 {
        gap: 0.8rem;
        padding: 0 1rem;
    }
    .mini-player-progress { display: none; }
    .mini-player-vol { display: none; }
    .mini-visit-btn { 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: #fff;
    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;
    }
}
