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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #2c3e50;
    overflow-x: hidden;
    background: linear-gradient(135deg, 
        #e8d5f2 0%, 
        #f5e6f8 15%, 
        #fde8e9 30%, 
        #ffe4cc 50%, 
        #fff4d6 70%, 
        #ffebb3 85%, 
        #ffd966 100%
    );
    min-height: 100vh;
    animation: pageLoad 0.8s ease-out;
}

/* Page Load Animation */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ffd966;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.book-icon {
    color: #c084fc;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 24px;
    color: #c084fc;
    font-weight: 700;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #c084fc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    background: rgba(192, 132, 252, 0.1);
    color: #a855f7;
    transform: translateY(-1px);
}

/* Button Styles */
.btn-preorder {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-preorder:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.heart-icon {
    stroke: white;
    fill: none;
}

/* Main Content */
.main-content {
    padding: 40px 0 60px;
}

/* Intro Section */
.intro-section {
    position: relative;
    margin-top: 60px;
}

.intro-content {
    max-width: 900px;
}

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}

.star-icon {
    color: #fbbf24;
    flex-shrink: 0;
}

/* Featured Image */
.featured-image-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

/* Mobile optimization for featured image */
@media (max-width: 768px) {
    .featured-image-container {
        max-width: 100%;
        margin: 30px 0;
        border-radius: 12px;
    }
    
    .featured-image {
        max-height: 400px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .featured-image-container {
        margin: 20px 0;
        border-radius: 8px;
    }
    
    .featured-image {
        max-height: 300px;
        object-fit: cover;
        object-position: center top;
    }
}

/* Pre-Order Button Large */
.btn-preorder-large {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(192, 132, 252, 0.4);
}

.btn-preorder-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192, 132, 252, 0.5);
}

/* Content with Book Layout */
.content-with-book {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}

.text-content {
    flex: 0 0 auto;
}

/* Buy Button Container */
.buy-button-container {
    display: flex;
    justify-content: flex-start;
}

.book-mockup-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 600px;
}

.book-mockup {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;
    background: transparent;
}

.book-mockup:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Mailing List Box */
.mailing-list-box {
    background: linear-gradient(135deg, 
        rgba(255, 237, 213, 0.9) 0%, 
        rgba(255, 228, 196, 0.9) 50%, 
        rgba(255, 218, 185, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    margin-top: 60px;
}

/* Pre-Order Box */
.preorder-box {
    background: linear-gradient(135deg, 
        rgba(232, 213, 242, 0.95) 0%, 
        rgba(220, 196, 242, 0.95) 50%, 
        rgba(208, 180, 242, 0.95) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(192, 132, 252, 0.3);
    border: 2px solid rgba(192, 132, 252, 0.3);
    animation: slideIn 0.5s ease-out;
}

.mail-icon-wrapper {
    margin-bottom: 20px;
}

.mail-icon {
    stroke: #c084fc;
    width: 32px;
    height: 32px;
}

.mailing-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 32px;
    color: #c084fc;
    margin-bottom: 15px;
}

.mailing-description {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Mailing Form */
.mailing-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.email-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(192, 132, 252, 0.2);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.1);
}

.email-input::placeholder {
    color: #9ca3af;
}

.btn-join {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 132, 252, 0.4);
}

/* Pre-Order Form Styles */
.preorder-icon-wrapper {
    margin-bottom: 20px;
}

.preorder-icon {
    width: 32px;
    height: 32px;
}

.preorder-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 32px;
    color: #7c3aed;
    margin-bottom: 15px;
}

.preorder-description {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 25px;
}

.preorder-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #7c3aed;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-textarea {
    padding: 14px 20px;
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-submit {
    flex: 1;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-cancel {
    background: #e5e7eb;
    color: #374151;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* Decorative Stars */
.decorative-stars {
    position: absolute;
    top: 20px;
    left: 40px;
    pointer-events: none;
    z-index: 1;
}

.star-decoration {
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin: 40px 0;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Book Showcase Section */
.book-showcase {
    text-align: center;
    padding: 20px 0 40px;
    position: relative;
    overflow: visible;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video Background */
.video-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    max-width: 550px;
    width: 100%;
}

.background-video {
    width: 100%;
    height: auto;
    border-radius: 24px;
    opacity: 1;
    object-fit: cover;
    display: block;
}

.book-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    z-index: 2;
}

.book-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.book-image:hover {
    transform: translateY(-10px);
}

.new-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: auto;
}

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

.book-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 72px;
    background: linear-gradient(135deg, #c084fc 0%, #e879f9 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(192, 132, 252, 0.1);
    position: relative;
    z-index: 0;
}

.book-description {
    font-size: 20px;
    line-height: 1.8;
    color: #374151;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 600;
    position: relative;
    z-index: 0;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    animation: slideIn 0.5s ease-out;
}

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

/* Reviews Section */
.reviews-section {
    margin-top: 80px;
    margin-bottom: 60px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-icon {
    margin-bottom: 20px;
    animation: twinkle 3s ease-in-out infinite;
}

.reviews-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 42px;
    background: linear-gradient(135deg, #c084fc 0%, #e879f9 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.reviews-subtitle {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(252, 248, 255, 0.95) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(192, 132, 252, 0.15);
    border: 2px solid rgba(192, 132, 252, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(192, 132, 252, 0.25);
    border-color: rgba(192, 132, 252, 0.3);
}

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

/* Stagger animation for cards */
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.review-star {
    flex-shrink: 0;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 500;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c084fc 0%, #e879f9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(192, 132, 252, 0.3);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Submit Review Section */
.submit-review-section {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.submit-review-box {
    background: linear-gradient(135deg, 
        rgba(254, 252, 232, 0.95) 0%, 
        rgba(255, 247, 237, 0.95) 50%, 
        rgba(254, 243, 199, 0.95) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.2);
    border: 2px solid rgba(251, 191, 36, 0.2);
}

.submit-review-header {
    text-align: center;
    margin-bottom: 35px;
}

.submit-review-icon {
    margin-bottom: 15px;
}

.submit-review-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 32px;
    color: #c084fc;
    margin-bottom: 12px;
}

.submit-review-description {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
}

.submit-review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 700;
    font-size: 15px;
    color: #1f2937;
}

.form-help {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    justify-content: flex-end;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-label {
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-label svg {
    transition: all 0.2s ease;
}

.star-label:hover svg path,
.star-rating-input input[type="radio"]:checked ~ .star-label svg path {
    fill: #fbbf24;
    stroke: #fbbf24;
}

.star-rating-input input[type="radio"]:checked + .star-label svg path {
    fill: #fbbf24;
    stroke: #fbbf24;
}

.star-label:hover svg {
    transform: scale(1.1);
}

.btn-submit-review {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.btn-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.send-icon {
    stroke: white;
}

.form-disclaimer {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-top: 5px;
    line-height: 1.6;
}

/* Loading Spinner Animation */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Printables Section */
.printables-section {
    margin-top: 80px;
    margin-bottom: 60px;
    padding: 60px 20px;
    background: linear-gradient(135deg, 
        rgba(255, 251, 235, 0.6) 0%, 
        rgba(254, 243, 199, 0.6) 100%
    );
    border-radius: 24px;
}

.printables-header {
    text-align: center;
    margin-bottom: 50px;
}

.printables-icon {
    margin-bottom: 20px;
}

.printables-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 42px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.printables-subtitle {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.printables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.printable-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.15);
    border: 2px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.printable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.4);
}

.printable-image-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.printable-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
}

.printable-preview-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.printable-preview-img:hover {
    border-color: rgba(251, 191, 36, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.bookmark-preview {
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.bookmark-preview-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bookmark-preview-img:hover {
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.printable-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 24px;
    color: #f59e0b;
    margin-bottom: 12px;
}

.printable-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-download {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    display: inline-block;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.btn-download-small {
    background: white;
    color: #f59e0b;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #fbbf24;
    display: inline-block;
    margin-top: 8px;
}

.btn-download-small:hover {
    background: #fbbf24;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
    }
    
    .header-nav {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .btn-preorder {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .intro-text {
        font-size: 18px;
    }
    
    .feature-item {
        font-size: 16px;
    }
    
    .btn-preorder-large {
        font-size: 18px;
        padding: 16px 32px;
    }
    
    .mailing-list-box {
        padding: 30px 20px;
    }
    
    .mailing-title {
        font-size: 26px;
    }
    
    .mailing-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input {
        width: 100%;
    }
    
    .btn-join {
        width: 100%;
    }
    
    .book-title {
        font-size: 48px;
    }
    
    .book-description {
        font-size: 18px;
    }
    
    .decorative-stars {
        display: none;
    }

    .featured-image-container {
        margin: 30px auto;
        border-radius: 16px;
        max-width: 90%;
    }
    
    .featured-image {
        max-height: 300px;
        object-fit: cover;
        object-position: center;
    }

    .form-row {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .preorder-box {
        padding: 30px 20px;
    }
    
    .preorder-title {
        font-size: 26px;
    }
    
    .content-with-book {
        flex-direction: column;
        gap: 30px;
    }
    
    .buy-button-container {
        justify-content: center;
        width: 100%;
    }
    
    .buy-button-container > div {
        max-width: 320px !important;
        width: 100% !important;
    }
    
    .book-mockup-container {
        justify-content: center;
        max-width: 100%;
    }
    
    .book-mockup {
        max-width: 300px;
    }
    
    .new-badge {
        bottom: 20px;
        right: 20px;
        left: auto;
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .reviews-title {
        font-size: 32px;
    }
    
    .reviews-subtitle {
        font-size: 16px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 25px 20px;
    }
    
    .review-text {
        font-size: 15px;
    }
    
    .submit-review-box {
        padding: 30px 20px;
    }
    
    .submit-review-title {
        font-size: 26px;
    }
    
    .submit-review-description {
        font-size: 15px;
    }
    
    .star-rating-input {
        justify-content: center;
    }
    
    .star-label svg {
        width: 28px;
        height: 28px;
    }
    
    .printables-section {
        padding: 40px 15px;
        margin-top: 60px;
    }
    
    .printables-title {
        font-size: 32px;
    }
    
    .printables-subtitle {
        font-size: 16px;
    }
    
    .printables-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .printable-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }
    
    .btn-preorder span {
        display: none;
    }
    
    .book-title {
        font-size: 36px;
    }
    
    .featured-image-container {
        margin: 30px auto;
        border-radius: 16px;
        max-width: 88%;
    }
    
    .featured-image {
        max-height: 280px;
        object-fit: cover;
        object-position: center;
    }
}

/* Extra small phones */
@media (max-width: 390px) {
    .featured-image-container {
        margin: 30px auto;
        max-width: 85%;
    }
    
    .featured-image {
        max-height: 260px;
    }
}

/* Very small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    .featured-image-container {
        max-width: 82%;
    }
    
    .featured-image {
        max-height: 240px;
    }
}

/* ============================================
   PAGE TRANSITION EFFECTS & SCROLL ANIMATIONS
   ============================================ */

/* Scroll-triggered fade-in animation */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Rotate in animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Staggered animation delays for lists */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Section reveal animations */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Magical sparkle effect on hover */
.sparkle-hover {
    position: relative;
    transition: transform 0.3s ease;
}

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

.sparkle-hover::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 20px;
    pointer-events: none;
}

.sparkle-hover:hover::after {
    opacity: 1;
    animation: sparkleFloat 1s ease-in-out infinite;
}

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

/* Smooth color transitions */
.color-transition {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

/* Blur-in effect */
.blur-in {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.8s ease-out, filter 0.8s ease-out;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
}

/* Bounce in animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

/* Smooth page transitions */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c084fc, #fbbf24);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animate {
    background: linear-gradient(270deg, #c084fc, #fbbf24, #f472b6);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}
