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

.whats-inside-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
    /* Ensure items don't stretch, allowing margins to displace them */
}

/* Staggered layout - 2, 2, 2 column pattern */
.feature-card:nth-child(2),
.feature-card:nth-child(5) {
    margin-top: 4rem;
}

.feature-card:nth-child(3),
.feature-card:nth-child(6) {
    margin-top: 8rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(111, 195, 223, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(111, 195, 223, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: #4aa8c9;
    /* Darker gold for better contrast on white */
}

.feature-card h3 {
    color: #2a2a2a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.feature-card p {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
}

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

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Book Gallery Section - Horizontal Scrolling */
.book-gallery-section {
    background-color: #111111;
    background-image: linear-gradient(32deg,
            rgba(8, 8, 8, 0.74) 30px,
            transparent);
    background-size: 60px 60px;
    background-position: -5px -5px;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 6rem;
    /* Increased spacing */
}

.gallery-header .ornament {
    margin-bottom: 1rem;
}

.gallery-header .ornament img {
    height: 60px;
    width: auto;
}

.gallery-header .section-title {
    color: #e4d88a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.gallery-header .section-subtitle {
    color: #888;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.book-gallery-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 3rem;
}

.book-gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.book-gallery-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 4rem;
    width: max-content;
    animation: scroll-gallery 40s linear infinite;
}

.book-gallery-track:hover {
    animation-play-state: paused;
}

/* Featured Split Section Styles */
.featured-split {
    display: flex;
    align-items: center;
    max-width: 1600px;
    /* Further Increased width */
    margin: 0 auto 4rem;
    gap: 6rem;
    /* Adjusted gap */
    padding: 0 2rem;
}

/* What's Inside Section - Matching Artwork Section Background */
.whats-inside-section {
    background-color: #111111;
    background-image: linear-gradient(32deg,
            rgba(8, 8, 8, 0.74) 30px,
            transparent);
    background-size: 60px 60px;
    background-position: -5px -5px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Ensure pseudo-element doesn't overflow */


/* Spotlight Effect for What's Inside Section */


/* Ensure content sits above spotlight */
.whats-inside-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* What's Inside Row Layout */
.whats-inside-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
}

.whats-inside-row.reverse {
    flex-direction: row-reverse;
}

.whats-inside-image {
    flex: 1;
    max-width: 550px;
}

.whats-inside-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.whats-inside-text {
    flex: 1;
}

.whats-inside-text.text-right {
    text-align: right;
}

.whats-inside-text.text-left {
    text-align: left;
}

.whats-inside-text.text-center {
    text-align: center;
}

.whats-inside-text p {
    color: #d8e8e0;
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

@media (max-width: 900px) {

    .whats-inside-row,
    .whats-inside-row.reverse {
        flex-direction: column;
    }

    .whats-inside-text.text-right,
    .whats-inside-text.text-left {
        text-align: center;
    }

    .whats-inside-image {
        max-width: 100%;
    }
}

/* Styling for the section title - Gold and Visible */
.whats-inside-section .section-title {
    color: #e4d88a;
    /* Bright Gold */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

.section-description-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Styling for the description text */
.section-description-text p {
    color: #d8e8e0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    font-size: 1.25rem !important;
    /* Slightly larger */
    margin-bottom: 0.8rem;
}

.featured-image-wrapper {
    flex: 1.2;
    /* Make image occupy slightly more space */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.featured-text-content {
    flex: 0.8;
    color: #e0e0e0;
}

.featured-text-content h3 {
    font-size: 3.5rem;
    /* Bigger title */
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    color: #4aa8c9;
    /* Gold accent color */
    line-height: 1.2;
}

.featured-text-content p {
    font-size: 1.35rem;
    /* Bigger description */
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
}

@media (max-width: 900px) {
    .featured-split {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.book-spread-item {
    position: relative;
    flex-shrink: 0;
    width: 400px;
    /* Increased width */
    aspect-ratio: 16/9;
    /* Wider aspect ratio for spreads */
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.book-spread-item:hover {
    transform: scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 10px 25px rgba(111, 195, 223, 0.15);
    z-index: 10;
}

.book-spread-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is seen */
    background-color: #000;
    /* Dark background for letterboxing */
    transition: transform 0.4s ease;
}

.book-spread-item:hover img {
    transform: scale(1.05);
}

.spread-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: #e4d88a;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.book-spread-item:hover .spread-label {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Links */
.gallery-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.gallery-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            transparent 2px,
            transparent 4px),
        repeating-linear-gradient(-45deg,
            rgba(200, 220, 255, 0.08) 0px,
            rgba(200, 220, 255, 0.08) 1px,
            transparent 1px,
            transparent 3px),
        rgba(220, 235, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        inset 1px 1px 5px rgba(200, 230, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gallery-link:hover {
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.08) 0px,
            rgba(255, 255, 255, 0.08) 2px,
            transparent 2px,
            transparent 4px),
        repeating-linear-gradient(-45deg,
            rgba(200, 220, 255, 0.1) 0px,
            rgba(200, 220, 255, 0.1) 1px,
            transparent 1px,
            transparent 3px),
        rgba(220, 235, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.25),
        inset 0 0 25px rgba(255, 255, 255, 0.15),
        inset 1px 1px 8px rgba(200, 230, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .book-gallery-section {
        padding: 3rem 0 4rem;
    }

    .gallery-header {
        margin-bottom: 2rem;
    }

    .book-gallery-track {
        padding: 1rem 2rem;
        gap: 1rem;
        animation-play-state: running !important;
    }

    .book-spread-item {
        width: 260px;
        transform: perspective(1000px) rotateY(0deg) scale(0.98);
    }

    .book-spread-item:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1);
    }

    .spread-label {
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .gallery-link {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Author Section & Writing Style Section - Matching Pattern Background */
.author-section,
.writing-style-section {
    background-color: #111111;
    background-image: linear-gradient(32deg,
            rgba(8, 8, 8, 0.74) 30px,
            transparent);
    background-size: 60px 60px;
    background-position: -5px -5px;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.author-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-image {
    position: relative;
}

.author-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.author-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(111, 195, 223, 0.3);
    border-radius: 12px;
    z-index: -1;
}



.author-content .ornament {
    margin-bottom: 1rem;
}

.author-content .ornament img {
    height: 60px;
    width: auto;
}

.author-content h2 {
    color: #e4d88a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.author-content p {
    color: #d8e8e0;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.author-signature {
    color: #e4d88a !important;
    font-style: italic;
    font-size: 1.2rem !important;
    margin-top: 2rem !important;
}

@media (max-width: 900px) {
    .author-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-image::before {
        display: none;
    }
}


/* Old Background Commented Out
    background-image: linear-gradient(to top,
            var(--color-2) 5%,
            var(--color-1) 6%,
            var(--color-1) 7%,
            transparent 7%),
        linear-gradient(to bottom, var(--color-1) 30%, transparent 80%),
        linear-gradient(to right, var(--color-2), var(--color-4) 5%, transparent 5%),
        linear-gradient(to right,
            transparent 6%,
            var(--color-2) 6%,
            var(--color-4) 9%,
            transparent 9%),
        linear-gradient(to right,
            transparent 27%,
            var(--color-2) 27%,
            var(--color-4) 34%,
            transparent 34%),
        linear-gradient(to right,
            transparent 51%,
            var(--color-2) 51%,
            var(--color-4) 57%,
            transparent 57%),
        linear-gradient(to bottom, var(--color-1) 35%, transparent 35%),
        linear-gradient(to right,
            transparent 42%,
            var(--color-2) 42%,
            var(--color-4) 44%,
            transparent 44%),
        linear-gradient(to right,
            transparent 45%,
            var(--color-2) 45%,
            var(--color-4) 47%,
            transparent 47%),
        linear-gradient(to right,
            transparent 48%,
            var(--color-2) 48%,
            var(--color-4) 50%,
            transparent 50%),
        linear-gradient(to right,
            transparent 87%,
            var(--color-2) 87%,
            var(--color-4) 91%,
            transparent 91%),
        linear-gradient(to bottom, var(--color-1) 37.5%, transparent 37.5%),
        linear-gradient(to right,
            transparent 14%,
            var(--color-2) 14%,
            var(--color-4) 20%,
            transparent 20%),
        linear-gradient(to bottom, var(--color-1) 40%, transparent 40%),
        linear-gradient(to right,
            transparent 10%,
            var(--color-2) 10%,
            var(--color-4) 13%,
            transparent 13%),
        linear-gradient(to right,
            transparent 21%,
            var(--color-2) 21%,
            #d8d3c5 25%,
            transparent 25%),
        linear-gradient(to right,
            transparent 58%,
            var(--color-2) 58%,
            var(--color-4) 64%,
            transparent 64%),
        linear-gradient(to right,
            transparent 92%,
            var(--color-2) 92%,
            var(--color-4) 95%,
            transparent 95%),
        linear-gradient(to bottom, var(--color-1) 48%, transparent 48%),
        linear-gradient(to right,
            transparent 96%,
            var(--color-2) 96%,
            #d8d3c5 99%,
            transparent 99%),
        linear-gradient(to right,
            transparent 35%,
            var(--color-2) 35%,
            var(--color-4) 41%,
            transparent 41%),
        linear-gradient(to bottom, var(--color-1) 68%, transparent 68%),
        linear-gradient(to right,
            transparent 78%,
            var(--color-3) 78%,
            var(--color-3) 80%,
            transparent 80%,
            transparent 82%,
            var(--color-3) 82%,
            var(--color-3) 83%,
            transparent 83%),
        linear-gradient(to right,
            transparent 66%,
            var(--color-2) 66%,
            var(--color-4) 85%,
            transparent 85%);
    background-size: 300px 150px;
    */


/* Animated Spotlight Effect for Writing Style Section (White Version) */


/* Ensure content is above spotlight */
.style-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.writing-style-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.writing-style-section .section-title {
    color: #e4d88a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.writing-style-section .section-subtitle {
    color: #e6dec8;
}

/* Style Content - Narrative Prose Styling */
.style-content {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 25, 20, 0.98) 100%);
    border: 1px solid rgba(111, 195, 223, 0.3);
    border-radius: 16px;
    padding: 3.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(111, 195, 223, 0.1);
    position: relative;
    overflow: hidden;
}

/* Decorative corner accents */
.style-content::before,
.style-content::after {
    content: "☪";
    position: absolute;
    font-size: 1.5rem;
    color: rgba(111, 195, 223, 0.2);
}

.style-content::before {
    top: 1.5rem;
    left: 1.5rem;
}

.style-content::after {
    bottom: 1.5rem;
    right: 1.5rem;
}

.style-content p {
    color: #e8e0d0;
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.75rem;
    text-align: justify;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* First paragraph with drop cap effect */
.style-content p:first-of-type::first-letter {
    font-size: 4rem;
    float: left;
    line-height: 1;
    padding-right: 0.75rem;
    padding-top: 0.1rem;
    color: #e4d88a;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Last paragraph styling */
.style-content p:last-of-type {
    margin-bottom: 0;
    color: #e4d88a;
    font-style: italic;
    font-size: 1.2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(111, 195, 223, 0.2);
    margin-top: 2rem;
}

/* Emphasis on emotional words through natural styling */
.style-content p:nth-of-type(3),
.style-content p:nth-of-type(4),
.style-content p:nth-of-type(5) {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(111, 195, 223, 0.3);
    font-style: italic;
}

/* Hover effect for engagement */
.style-content:hover {
    border-color: rgba(111, 195, 223, 0.5);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(111, 195, 223, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .style-content {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }

    .style-content p {
        font-size: 1.05rem;
        line-height: 1.9;
        text-align: left;
    }

    .style-content p:first-of-type::first-letter {
        font-size: 3rem;
    }

}

.style-content p:nth-of-type(3),
.style-content p:nth-of-type(4),
.style-content p:nth-of-type(5) {
    padding-left: 1rem;
}

.style-content::before,
.style-content::after {
    font-size: 1rem;
}


/* Audio Mute Button in Hero */
.unmute-btn {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(111, 195, 223, 0.4);
    /* Gold border */
    border-radius: 30px;
    color: #e8dcc8;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.unmute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: #e4d88a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.unmute-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.unmute-btn.active {
    background: rgba(111, 195, 223, 0.2);
    border-color: #e4d88a;
    color: #e4d88a;
}

@media (max-width: 768px) {
    .unmute-btn {
        bottom: 1.5rem;
        left: 1.5rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 640px) {

    .feature-card:nth-child(2),
    .feature-card:nth-child(5) {
        margin-top: 0;
    }

    .feature-card:nth-child(3),
    .feature-card:nth-child(6) {
        margin-top: 0;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .featured-split {
        gap: 2rem;
        padding: 0 1rem;
    }

    .whats-inside-section {
        padding: 2rem 1rem;
    }

    .whats-inside-row {
        gap: 2rem;
        margin: 2rem 0;
    }

    .whats-inside-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .unmute-btn {
        bottom: 4.5rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }

    .unmute-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}