/*
 * M. De La Croix Author Website CSS
 * Professional Dark Theme with Black and Dark Red Accents
 * Optimized for literary agents and publishers
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #000000;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.4rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-weight: 400;
}

a {
    color: #cc0000;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #8b0000;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
}

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

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #cc0000;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(204, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    color: #f5f5f5;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    background: linear-gradient(135deg, #8b0000, #cc0000);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #cc0000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #111111 50%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 2rem 30px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.2;
}

.hero-book-cover {
    margin: 2rem auto;
    max-width: 300px;
    perspective: 1000px;
}

.hero-cover-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-byline {
    font-size: 1.1rem;
    color: #cc0000;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #8b0000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.4);
    border-color: #cc0000;
}

.stat h3 {
    font-size: 2.5rem;
    color: #cc0000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: #f5f5f5;
    font-weight: 600;
    margin: 0;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b0000 0%, #cc0000 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.5);
    text-decoration: none;
    border-color: #ffffff;
}

/* Section Styling */
section {
    padding: 30px 0;
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

section:nth-child(odd) {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    padding-right: 2rem;
}

.about-text .intro {
    font-size: 1.2rem;
    color: #f5f5f5;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.credentials {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #cc0000;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.credentials h3 {
    color: #cc0000;
    margin-bottom: 1.5rem;
}

.credentials ul {
    list-style: none;
    padding: 0;
}

.credentials li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #e0e0e0;
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
}

.about-image {
    position: relative;
}

.author-photo {
    width: 100%;
    height: auto;
    border-radius: 15px;
}


/* Book Section */
.book {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

.book h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    color: #cc0000;
}

.book-content {
    max-width: 900px;
    margin: 0 auto;
}

.book-details h3 {
    color: #cc0000;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.book-details h3:first-child {
    margin-top: 0;
}

.book-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.book-features li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    color: #e0e0e0;
    line-height: 1.7;
    border-bottom: 1px solid rgba(139, 0, 0, 0.2);
}

.book-features li:last-child {
    border-bottom: none;
}

.book-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
    font-size: 1.3rem;
}

.book-features li strong {
    color: #f5f5f5;
}

.audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.primary-audience,
.secondary-audience {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #8b0000;
}

.primary-audience h4,
.secondary-audience h4 {
    color: #cc0000;
    margin-bottom: 1rem;
}

.audience ul {
    list-style: none;
    padding: 0;
}

.audience li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #e0e0e0;
}

.audience li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
}

/* Platform Section */
.platform {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

.platform h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #cc0000;
}

.platform-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #f5f5f5;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #8b0000;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.4);
    border-color: #cc0000;
}

.platform-card h3 {
    color: #cc0000;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-large {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
}

.platform-card p {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.platform-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.platform-card li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #e0e0e0;
}

.platform-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #cc0000;
    font-size: 0.8rem;
}

.verification-status {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #8b0000;
    margin-top: 3rem;
}

.verification-status h3 {
    color: #cc0000;
    text-align: center;
    margin-bottom: 2rem;
}

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

.verified {
    padding: 1rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border-radius: 10px;
    border-left: 4px solid #cc0000;
    color: #f5f5f5;
    font-weight: 600;
}

/* Media Section */
.media {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

.media h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #cc0000;
}

.media-content {
    max-width: 1000px;
    margin: 0 auto;
}

.media-stats {
    margin-bottom: 3rem;
}

.media-stats h3 {
    color: #cc0000;
    margin-bottom: 2rem;
}

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

.stat-item {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #cc0000;
}

.stat-item strong {
    color: #cc0000;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
}


.gallery-item p {
    margin-top: 1rem;
    font-weight: 600;
    color: #f5f5f5;
}

.media-assets h3,
.speaking-topics h3 {
    color: #cc0000;
    margin: 2rem 0 1.5rem 0;
}

.media-assets h4,
.speaking-topics h4 {
    color: #f5f5f5;
    margin: 1.5rem 0 1rem 0;
}

.media-assets ul,
.speaking-topics ul {
    list-style: none;
    padding: 0;
}

.media-assets li,
.speaking-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #e0e0e0;
}

.media-assets li::before,
.speaking-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
}

.media-readiness {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #8b0000;
    margin-top: 2rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #8b0000 0%, #cc0000 100%);
    padding: 5rem 2rem;
}

.newsletter h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 2.5rem;
}

.newsletter-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #f5f5f5;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #ffffff;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #000000;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.newsletter-input::placeholder {
    color: #666666;
}

.newsletter-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: #8b0000;
    color: #ffffff;
    border: 2px solid #8b0000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-button:hover {
    background: #a00000;
    border-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.5);
}

.newsletter-button:active {
    transform: translateY(0);
}

.newsletter-button:disabled {
    background: #666666;
    border-color: #666666;
    cursor: not-allowed;
    transform: none;
}

.newsletter-message {
    max-width: 500px;
    margin: 1.5rem auto;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.newsletter-message.success {
    background: rgba(0, 128, 0, 0.2);
    border: 2px solid #00ff00;
    color: #ffffff;
}

.newsletter-message.error {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #ffffff;
    color: #ffffff;
}

.newsletter-privacy {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive newsletter */
@media (max-width: 768px) {
    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }

    .newsletter-button {
        width: 100%;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #cc0000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Center contact when only one item */
.contact-content > .contact-info:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 500px;
}

.contact-info {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #8b0000;
    height: fit-content;
}

.contact-info h3 {
    color: #cc0000;
    margin-bottom: 1.5rem;
}

.contact-links h3 {
    color: #cc0000;
    margin-bottom: 1.5rem;
}

.contact-links h4 {
    color: #f5f5f5;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.contact-links ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.contact-links li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.contact-links li::before {
    content: '🔗';
    position: absolute;
    left: 0;
}

.contact-links a {
    color: #cc0000;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #8b0000;
}

.footer p {
    margin: 0.5rem 0;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Mobile Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Section */
    .hero {
        padding: 100px 1rem 20px;
    }

    /* Tighter section spacing on mobile */
    section {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    /* Book Section */
    .audience {
        grid-template-columns: 1fr;
    }

    /* Platform Section */
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .verifications {
        grid-template-columns: 1fr;
    }

    /* Media Section */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Spacing */
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 0.5rem 15px;
    }

    /* Even tighter spacing on small mobile */
    section {
        padding: 15px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .platform-card,
    .stat {
        padding: 1.5rem;
    }

    .stat-large {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

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

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #cc0000;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background-color: #000000;
        color: #ffffff;
    }

    .stat,
    .platform-card,
    .verification-status {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .navbar,
    .footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Chapter Audio Player Styles */
.chapter-audio-section {
    margin-top: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #8b0000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.3);
}

.chapter-audio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.audio-intro {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.audio-intro h3 {
    color: #cc0000;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.audio-intro p {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-style: italic;
}

.cute-audio-player {
    position: relative;
    z-index: 2;
}

.audio-container {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #8b0000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.audio-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.5);
    border-color: #cc0000;
}

.audio-icon {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(204, 0, 0, 0.5));
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.chapter-audio {
    width: 100%;
    max-width: 400px;
    background: #000000;
    border-radius: 10px;
    outline: none;
}

.chapter-audio::-webkit-media-controls-panel {
    background-color: #000000;
}

.chapter-audio::-webkit-media-controls-play-button,
.chapter-audio::-webkit-media-controls-pause-button {
    background-color: #cc0000;
    border-radius: 50%;
}

.chapter-audio::-webkit-media-controls-timeline {
    background-color: #333333;
    border-radius: 25px;
}

.chapter-audio::-webkit-media-controls-current-time-display,
.chapter-audio::-webkit-media-controls-time-remaining-display {
    color: #e0e0e0;
}

.audio-label {
    color: #f5f5f5;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile responsiveness for audio player */
@media (max-width: 768px) {
    .chapter-audio-section {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }

    .audio-container {
        padding: 1.5rem;
    }

    .audio-intro h3 {
        font-size: 1.5rem;
    }

    .audio-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .chapter-audio-section {
        padding: 1.5rem 0.5rem;
    }

    .audio-container {
        padding: 1rem;
    }

    .audio-intro h3 {
        font-size: 1.3rem;
    }

    .audio-intro p {
        font-size: 1rem;
    }
}

/* Hero Testimonial */
.hero-testimonial {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-testimonial blockquote {
    background: linear-gradient(135deg, #1a0000 0%, #330000 100%);
    padding: 2rem 3rem;
    border-left: 4px solid #cc0000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.hero-testimonial blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    color: #f5f5f5;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.hero-testimonial cite {
    color: #cc0000;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 6rem 0;
    border-top: 2px solid #8b0000;
    border-bottom: 2px solid #8b0000;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: linear-gradient(135deg, #1a0000 0%, #330000 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #cc0000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.5);
    border-left-color: #ff4444;
}

.testimonial blockquote {
    margin: 0;
}

.testimonial blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.testimonial cite {
    display: block;
    color: #cc0000;
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(204, 0, 0, 0.3);
}

/* Testimonials Mobile Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }

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

    .hero-testimonial blockquote {
        padding: 1.5rem 2rem;
    }

    .hero-testimonial blockquote p {
        font-size: 1.1rem;
    }
}

/* Featured On Section */
.featured-on {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.featured-on-text {
    color: #cccccc;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.featured-on-text a {
    color: #cc0000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.featured-on-text a:hover {
    color: #ff4444;
    border-bottom-color: #ff4444;
}

@media (max-width: 768px) {
    .featured-on {
        padding: 2rem 1rem;
    }

    .featured-on-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}