/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-dark: #2c2c2c;
    --primary-light: #f0f0f0;
    --accent-color: #666;
    --text-dark: #333;
    --text-light: #777;
    --border-radius: 4px;
}

/* Rain Effect */
.rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
    opacity: 0.4;
}

.rain {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(110, 130, 150, 0.7), 
        rgba(90, 110, 130, 0.5), 
        transparent
    );
    animation: fall linear infinite;
    filter: blur(0.5px);
}

@keyframes fall {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Generate multiple rain drops - evenly distributed */
.rain:nth-child(1) { left: 2%; animation-duration: 1s; animation-delay: 0s; }
.rain:nth-child(2) { left: 10%; animation-duration: 1.5s; animation-delay: 0.2s; }
.rain:nth-child(3) { left: 18%; animation-duration: 1.2s; animation-delay: 0.4s; }
.rain:nth-child(4) { left: 26%; animation-duration: 0.8s; animation-delay: 0.1s; }
.rain:nth-child(5) { left: 34%; animation-duration: 1.3s; animation-delay: 0.3s; }
.rain:nth-child(6) { left: 42%; animation-duration: 1.1s; animation-delay: 0.5s; }
.rain:nth-child(7) { left: 50%; animation-duration: 0.9s; animation-delay: 0.2s; }
.rain:nth-child(8) { left: 58%; animation-duration: 1.4s; animation-delay: 0.6s; }
.rain:nth-child(9) { left: 66%; animation-duration: 1s; animation-delay: 0.3s; }
.rain:nth-child(10) { left: 74%; animation-duration: 1.6s; animation-delay: 0.4s; }
.rain:nth-child(11) { left: 82%; animation-duration: 1.2s; animation-delay: 0.1s; }
.rain:nth-child(12) { left: 90%; animation-duration: 0.7s; animation-delay: 0.5s; }
.rain:nth-child(13) { left: 95%; animation-duration: 1.3s; animation-delay: 0.2s; }
.rain:nth-child(14) { left: 70%; animation-duration: 1.1s; animation-delay: 0.6s; }
.rain:nth-child(15) { left: 75%; animation-duration: 0.9s; animation-delay: 0.3s; }
.rain:nth-child(16) { left: 80%; animation-duration: 1.5s; animation-delay: 0.4s; }
.rain:nth-child(17) { left: 85%; animation-duration: 1s; animation-delay: 0.1s; }
.rain:nth-child(18) { left: 90%; animation-duration: 1.2s; animation-delay: 0.5s; }
.rain:nth-child(19) { left: 95%; animation-duration: 0.8s; animation-delay: 0.2s; }
.rain:nth-child(20) { left: 98%; animation-duration: 1.4s; animation-delay: 0.6s; }

/* Rain toggle button */
.rain-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1001;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.rain-toggle:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-light);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(240, 240, 240, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    text-decoration: none;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--primary-dark);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
}

/* Main content */
main {
    padding-top: 180px;
    min-height: calc(100vh - 180px);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-dark);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-dark);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* Social section */
.social-section {
    padding: 5rem 2rem;
    text-align: center;
    background: white;
}

.social-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.instagram-handle {
    color: var(--accent-color);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-handle:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.social-post {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-post:hover {
    transform: scale(1.02);
}

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

.social-post video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-post:hover .post-overlay {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-more {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more:hover {
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

/* Instagram Feed Widget Styles */
.instagram-feed-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.instagram-placeholder {
    aspect-ratio: 1;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.instagram-placeholder:hover {
    background: #ebebeb;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.instagram-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

.lightwidget-widget {
    width: 100%;
    min-height: 400px;
}

.instagram-cta {
    text-align: center;
    margin-top: 2rem;
}

.follow-instagram-btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.follow-instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Books Page */
/* Hide mobile sections on desktop */
.book-cover-section {
    display: none;
}

.book-hero {
    padding: 4rem 2rem;
    background: transparent;
}

.book-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Desktop book cover - show on desktop */
.book-cover.desktop-only {
    display: block;
    position: sticky;
    top: 200px;
    background: transparent;
}

.book-cover img {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
    box-shadow: none;
    background: transparent !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.book-placeholder {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    aspect-ratio: 0.65;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.book-placeholder h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
}

.book-placeholder p {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
}

.book-details h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.book-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.book-meta {
    background: var(--primary-light);
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary-dark);
}

.book-meta p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.book-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.btn-primary.with-label,
.btn-secondary.with-label {
    position: relative;
    overflow: visible;
}

.coming-soon-label {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #4a5568;
    color: white;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: white;
    border: 2px solid var(--primary-dark);
}

.btn-primary:hover:not(.disabled) {
    background-color: transparent;
    color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover:not(.disabled) {
    background-color: var(--primary-dark);
    color: white;
}

/* Removed disabled styles - buttons keep their normal appearance */

/* Contact Page */
.contact-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-content {
    padding: 4rem 2rem;
    background: white;
}

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

.quote-section {
    text-align: center;
}

.quote-section h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.follow-btn {
    display: inline-block;
    background-color: var(--primary-dark);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.contact-details {
    margin-top: 3rem;
    text-align: center;
}

.email {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.email a {
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form-container {
    background: var(--primary-dark);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-form-container h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: white;
}

.submit-btn {
    background-color: white;
    color: var(--primary-dark);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

/* About Page */
.about-hero {
    padding: 4rem 2rem;
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    align-items: start;
    min-height: 50vh;
}

.about-left {
    position: sticky;
    top: 200px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 400;
    line-height: 0.95;
    color: var(--primary-dark);
    margin: 0;
}

.about-content {
    padding-top: 2rem;
}

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


.author-quote {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--primary-light);
    border-left: 4px solid var(--primary-dark);
}

.author-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
}

.connect-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.connect-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.connect-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.connect-section a:hover {
    color: var(--primary-dark);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--primary-light);
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.newsletter-section p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--primary-dark);
    background: white;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--primary-dark);
    color: white;
    border: 2px solid var(--primary-dark);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Thank You Page Styles */
.thank-you-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.thank-you-content {
    max-width: 600px;
    text-align: center;
}

.thank-you-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.thank-you-message {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text);
}

.thank-you-details {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.thank-you-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.thank-you-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.social-connect {
    margin: 3rem 0;
}

.social-connect h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links-inline {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links-inline a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links-inline a:hover {
    color: var(--dark);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    main {
        padding-top: 140px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Simple mobile layout - no scroll snap since it doesn't work on iOS */
    .book-page-main {
        /* Normal scrolling */
    }

    /* Hide the desktop book cover only on mobile */
    .book-cover.desktop-only {
        display: none !important;
    }

    /* Book cover section - prominent display with white background */
    .book-cover-section {
        display: flex !important;
        min-height: 80vh;
        justify-content: center;
        align-items: center;
        background: white;
        padding: 3rem 2rem;
        margin-bottom: 2rem;
    }

    .book-cover-section .book-cover {
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }

    .book-cover-section .book-cover img {
        width: 100%;
        height: auto;
        display: block;
        filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
    }

    /* Book details section */
    .book-hero {
        padding: 2rem;
        background: var(--primary-light);
    }

    /* Title clearly visible */
    .book-details h1 {
        margin-top: 0;
        margin-bottom: 2rem;
        padding-top: 0;
        font-size: 2.5rem;
    }

    /* Newsletter section */
    .newsletter-section {
        padding: 3rem 1.5rem;
    }

    .book-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .book-details {
        width: 100%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-title {
        font-size: 4rem;
    }

    .about-left {
        position: static;
        margin-bottom: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .book-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .social-section h2 {
        font-size: 1.5rem;
    }

    .contact-hero h1,
    .about-content h1,
    .book-details h1 {
        font-size: 2rem;
    }

    /* Enhanced mobile book page */
    .book-cover {
        max-width: 240px;
    }

    .book-cover img {
        box-shadow: none;
        border-radius: 0;
    }

    .book-cover-section {
        background: white !important;
    }

    .book-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .book-meta {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .book-meta p {
        font-size: 0.9rem;
    }

    /* Newsletter section should scroll freely */
    .newsletter-section {
        scroll-snap-align: none;
        padding: 3rem 1.5rem;
    }
}

/* Pre-order Notification */
.preorder-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    min-width: 320px;
    max-width: 380px;
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', sans-serif;
}

.preorder-notification.show {
    display: flex;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.preorder-notification .book-icon {
    width: 50px;
    height: auto;
    object-fit: contain;
    animation: pulse 2s infinite;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.preorder-notification .notification-content {
    flex: 1;
    text-align: center;
}

.preorder-notification .notification-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.preorder-notification .notification-text {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    line-height: 1.4;
}

.preorder-notification .notification-cta {
    display: inline-block;
    background: white;
    color: var(--primary-dark);
    padding: 8px 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.preorder-notification .notification-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.preorder-notification .close-notification {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.preorder-notification .close-notification:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: rotate(90deg);
}

/* Mobile responsive styles for notification */
@media (max-width: 768px) {
    .preorder-notification {
        bottom: 20px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
        width: calc(100% - 30px);
        padding: 15px;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .preorder-notification .book-icon {
        width: 60px;
        margin-bottom: 5px;
    }

    .preorder-notification .notification-content {
        width: 100%;
    }

    .preorder-notification .notification-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .preorder-notification .notification-text {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .preorder-notification .notification-cta {
        padding: 10px 20px;
        font-size: 11px;
        width: 100%;
        text-align: center;
    }
}
