﻿/* Magical CSS for Amy's Story Heaven */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fecfef 50%, #c9c9ff 75%, #a8edea 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Magical Background */
.magical-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-clouds {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    animation: float 6s ease-in-out infinite;
}

    .cloud:before {
        content: '';
        position: absolute;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50px;
    }

    .cloud:after {
        content: '';
        position: absolute;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50px;
    }

.cloud-1 {
    width: 80px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

    .cloud-1:before {
        width: 50px;
        height: 50px;
        top: -25px;
        left: 10px;
    }

    .cloud-1:after {
        width: 60px;
        height: 40px;
        top: -15px;
        right: 10px;
    }

.cloud-2 {
    width: 100px;
    height: 50px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

    .cloud-2:before {
        width: 60px;
        height: 60px;
        top: -30px;
        left: 15px;
    }

    .cloud-2:after {
        width: 70px;
        height: 50px;
        top: -20px;
        right: 15px;
    }

.cloud-3 {
    width: 60px;
    height: 30px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

    .cloud-3:before {
        width: 40px;
        height: 40px;
        top: -20px;
        left: 8px;
    }

    .cloud-3:after {
        width: 50px;
        height: 30px;
        top: -10px;
        right: 8px;
    }

.cloud-4 {
    width: 90px;
    height: 45px;
    top: 80%;
    left: 30%;
    animation-delay: 1s;
}

    .cloud-4:before {
        width: 55px;
        height: 55px;
        top: -28px;
        left: 12px;
    }

    .cloud-4:after {
        width: 65px;
        height: 45px;
        top: -18px;
        right: 12px;
    }

.rainbow {
    position: absolute;
    width: 200px;
    height: 100px;
    border-radius: 50%;
    border: 8px solid transparent;
    animation: rainbowFloat 8s ease-in-out infinite;
}

.rainbow-1 {
    top: 15%;
    right: 10%;
    border-top-color: #ff6b6b;
    border-right-color: #ffa500;
    border-bottom-color: #ffff00;
    border-left-color: #32cd32;
    animation-delay: 0s;
}

.rainbow-2 {
    top: 70%;
    left: 5%;
    border-top-color: #32cd32;
    border-right-color: #00bfff;
    border-bottom-color: #8a2be2;
    border-left-color: #ff69b4;
    animation-delay: 4s;
}

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 45%;
    right: 25%;
    animation-delay: 1s;
}

.sparkle-3 {
    top: 65%;
    left: 15%;
    animation-delay: 2s;
}

.sparkle-4 {
    top: 35%;
    right: 40%;
    animation-delay: 0.5s;
}

.sparkle-5 {
    top: 75%;
    right: 15%;
    animation-delay: 1.5s;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rainbowFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffff00, #32cd32, #00bfff, #8a2be2);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowText 3s ease-in-out infinite;
}

.tagline {
    font-size: 0.9rem;
    color: #666;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
    }

        .nav-links a:hover {
            color: #ff6b6b;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(45deg, #ff6b6b, #ffa500);
            transition: width 0.3s ease;
        }

        .nav-links a:hover:after {
            width: 100%;
        }

@keyframes rainbowText {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }

.btn-secondary {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

    .btn-secondary:hover {
        background: #ff6b6b;
        color: white;
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

    .btn-outline:hover {
        background: #f0f0f0;
        border-color: #ccc;
    }

.btn-disabled {
    background: #ccc;
    color: black;
    cursor: not-allowed;
    border: 2px solid #ddd;
}


.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.hero-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.magical-book {
    position: relative;
    animation: bookFloat 4s ease-in-out infinite;
}

.book-cover {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

    .book-cover img {
        width: 100%;
        height: 100%;
    }

.book-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.book-author {
    font-size: 0.9rem;
    color: #666;
}

.book-pages {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: white;
    border-radius: 8px;
    z-index: 1;
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

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

/* Section Titles */
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(45deg, #ff6b6b, #ffa500);
        border-radius: 2px;
    }

/* Featured Book Section */
.featured-book {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.book-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.book-image {
    display: flex;
    justify-content: center;
}

.book-cover-large {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef, #c9c9ff);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.cover-art {
    width: 100%;
    height: 200px;
    position: relative;
    margin-bottom: 20px;
}

    .cover-art img {
        width: 100%;
        height: 100%
    }

.cloud-painting {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #87ceeb, #e0f6ff);
    border-radius: 10px;
    overflow: hidden;
}

.cloud-art-1, .cloud-art-2, .cloud-art-3 {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    animation: cloudDrift 6s ease-in-out infinite;
}

.cloud-art-1 {
    width: 60px;
    height: 30px;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.cloud-art-2 {
    width: 80px;
    height: 40px;
    top: 40px;
    right: 30px;
    animation-delay: 2s;
}

.cloud-art-3 {
    width: 50px;
    height: 25px;
    top: 60px;
    left: 50px;
    animation-delay: 4s;
}

.paintbrush {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    animation: brushMove 3s ease-in-out infinite;
}

@keyframes cloudDrift {
    0%, 100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes brushMove {
    0%, 100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.book-title-large {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.book-author-large {
    font-size: 1rem;
    color: #666;
}

.book-details h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.book-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: rgba(255, 107, 107, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ff6b6b;
    font-weight: 500;
}

.book-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Books Collection */
.books-collection {
    padding: 80px 0;
}

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

.book-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .book-card:hover {
        transform: translateY(-5px);
    }

.book-cover-small {
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    border-radius: 10px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cloud-painting-small {
    position: relative;
    width: 80%;
    height: 60%;
    background: linear-gradient(to bottom, #87ceeb, #e0f6ff);
    border-radius: 8px;
}

.cloud-small-1, .cloud-small-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
}

.cloud-small-1 {
    width: 30px;
    height: 15px;
    top: 10px;
    left: 10px;
}

.cloud-small-2 {
    width: 40px;
    height: 20px;
    top: 20px;
    right: 10px;
}

.coming-soon {
    opacity: 0.7;
}

.coming-soon-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.book-card h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.book-price-small {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #666;
        margin-bottom: 1.5rem;
    }

.about-image {
    display: flex;
    justify-content: center;
}

.author-illustration {
    text-align: center;
}

.author-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.author-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #333;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    font-size: 1rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .contact-form input,
    .contact-form textarea {
        padding: 12px 16px;
        border: 2px solid #ddd;
        border-radius: 10px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #ff6b6b;
        }

/* Footer */
.footer {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #c9c9ff 50%, #a8edea 75%, #ff9a9e 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    color: #333;
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        z-index: 1;
    }

.footer-content,
.footer-bottom {
    position: relative;
    z-index: 2;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

    .footer-links a {
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 500;
    }

        .footer-links a:hover {
            color: #ff6b6b;
            transform: translateY(-2px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 107, 0.3);
    color: #666;
    font-weight: 500;
}

/* Cart Styles */
.cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 1001;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

    .cart-icon:hover {
        transform: scale(1.1);
    }

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    backdrop-filter: blur(5px);
}

.cart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
}

    .cart-header h3 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin: 0;
    }

.close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

    .close-cart:hover {
        color: #ff6b6b;
    }

.cart-items {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

    .cart-item:last-child {
        border-bottom: none;
    }

.item-info {
    flex: 1;
}

    .item-info h4 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin: 0 0 5px 0;
        font-size: 1.1rem;
    }

    .item-info p {
        color: #666;
        margin: 0;
        font-size: 0.9rem;
    }

.item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f8f8;
    border-radius: 20px;
    padding: 5px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    font-size: 16px;
}

    .qty-btn:hover {
        transform: scale(1.1);
    }

    .qty-btn:active {
        transform: scale(0.95);
    }

.quantity {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.item-price {
    font-weight: 600;
    color: #ff6b6b;
    font-size: 1.1rem;
    min-width: 60px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: #999;
}

    .remove-btn:hover {
        background: #ffebee;
        color: #ff6b6b;
        transform: scale(1.1);
    }

.cart-total {
    padding: 20px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

    .empty-cart p {
        font-size: 1.1rem;
        margin: 0;
    }

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #32cd32, #00bfff);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    z-index: 1003;
    font-weight: 600;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Dark Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 1001;
    font-weight: 600;
    transition: transform 0.3s ease;
    font-size: 18px;
}

    .theme-toggle:hover {
        transform: scale(1.1);
    }

/* Dark Theme Styles */
body.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
    color: #e0e0e0;
}

    body.dark-theme .magical-bg {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
    }

    body.dark-theme .cloud {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

    body.dark-theme .rainbow-1 {
        border-top-color: #ff6b6b;
        border-right-color: #ffa500;
        border-bottom-color: #ffff00;
        border-left-color: #32cd32;
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    }

    body.dark-theme .rainbow-2 {
        border-top-color: #32cd32;
        border-right-color: #00bfff;
        border-bottom-color: #8a2be2;
        border-left-color: #ff69b4;
        box-shadow: 0 0 30px rgba(50, 205, 50, 0.5);
    }

    body.dark-theme .sparkle {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    body.dark-theme .header {
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    body.dark-theme .logo h1 {
        background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffff00, #32cd32, #00bfff, #8a2be2);
        background-size: 300% 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: rainbowText 3s ease-in-out infinite;
    }

    body.dark-theme .tagline {
        color: #b0b0b0;
    }

    body.dark-theme .nav-links a {
        color: #e0e0e0;
    }

        body.dark-theme .nav-links a:hover {
            color: #ff6b6b;
        }

    body.dark-theme .hero-title {
        color: #ffffff;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    body.dark-theme .hero-subtitle {
        color: #c0c0c0;
    }

    body.dark-theme .book-cover {
        background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    body.dark-theme .book-cover-large {
        background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

    body.dark-theme .book-cover-small {
        background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d);
    }

    body.dark-theme .cloud-painting {
        background: linear-gradient(to bottom, #1e3c72, #2a5298);
    }

    body.dark-theme .cloud-art-1,
    body.dark-theme .cloud-art-2,
    body.dark-theme .cloud-art-3 {
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }

    body.dark-theme .book-title-large {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        font-weight: 700;
    }

    body.dark-theme .book-author-large {
        color: #ffffff;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }

    body.dark-theme .book-title {
        color: #ffffff;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
        font-weight: 700;
    }

    body.dark-theme .book-author {
        color: #b0b0b0;
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    }

    body.dark-theme .book-details h3 {
        color: #ffffff;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
        font-weight: 700;
    }

    body.dark-theme .book-description {
        color: #d0d0d0;
    }

    body.dark-theme .book-price {
        color: #ff6b6b;
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    }

    body.dark-theme .featured-book {
        background: rgba(26, 26, 46, 0.7);
        backdrop-filter: blur(10px);
    }

    body.dark-theme .about {
        background: rgba(26, 26, 46, 0.7);
        backdrop-filter: blur(10px);
    }

    body.dark-theme .section-title {
        color: #ffffff;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }

    body.dark-theme .about-text p {
        color: #d0d0d0;
    }

    body.dark-theme .book-card {
        background: rgba(26, 26, 46, 0.8);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

        body.dark-theme .book-card h4 {
            color: #ffffff;
        }

    body.dark-theme .book-price-small {
        color: #ff6b6b;
    }

    body.dark-theme .footer {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
        background-size: 300% 300%;
        animation: gradientShift 8s ease infinite;
        color: #e0e0e0;
    }

        body.dark-theme .footer::before {
            background: rgba(0, 0, 0, 0.3);
        }

    body.dark-theme .footer-links a {
        color: #b0b0b0;
    }

        body.dark-theme .footer-links a:hover {
            color: #ff6b6b;
        }

    body.dark-theme .footer-bottom {
        color: #a0a0a0;
        border-top: 2px solid rgba(255, 107, 107, 0.3);
    }

    body.dark-theme .cart-modal {
        background: rgba(0, 0, 0, 0.8);
    }

    body.dark-theme .cart-content {
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-theme .cart-header h3 {
        color: #ffffff;
    }

    body.dark-theme .cart-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-theme .item-info h4 {
        color: #ffffff;
    }

    body.dark-theme .item-info p {
        color: #b0b0b0;
    }

    body.dark-theme .item-price {
        color: #ff6b6b;
    }

    body.dark-theme .total-amount {
        color: #ffffff;
    }

    body.dark-theme .empty-cart p {
        color: #a0a0a0;
    }

    body.dark-theme .success-message {
        background: linear-gradient(45deg, #32cd32, #00bfff);
        box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
    }

    body.dark-theme .btn-outline {
        background: transparent;
        color: #ffffff;
        border: 2px solid #ddd;
    }

    body.dark-theme .btn-outline:hover {
        background: #f0f0f0;
        color: #666;
        border-color: #ccc;
    }

/* Checkout Page Styles */
.checkout-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

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

.order-summary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

    .order-summary h3 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

    .order-item:last-child {
        border-bottom: none;
    }

    .order-item h4 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
    }

    .order-item p {
        color: #666;
        margin: 0;
        font-size: 0.9rem;
    }

    .order-item .item-price {
        font-weight: 600;
        color: #ff6b6b;
        font-size: 1.1rem;
    }

.order-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.total-final {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #ff6b6b;
}

.checkout-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .checkout-form h3 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #ff6b6b;
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
    }


.coupon-section {
    margin-bottom: 1.5rem;
}

    .coupon-section label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
    }

    .coupon-section input{
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #ddd;
        border-radius: 10px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        font-family: 'Quicksand', sans-serif;
    }

        .coupon-section input:focus{
            outline: none;
            border-color: #ff6b6b;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
        }

/* Flex container for input + button */
.coupon-input-group {
    display: flex;
    gap: 0.5rem; /* space between input and button */
}

    /* Make input fill available space */
    .coupon-input-group input {
        flex: 1; /* input takes remaining space */
    }

.checkout-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.success-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: successPop 0.5s ease-out;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s infinite;
}

.success-content h3 {
    font-family: 'Fredoka One', cursive;
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.success-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

@keyframes successPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Dark Theme for Checkout */
body.dark-theme .order-summary {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .checkout-form {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    body.dark-theme .order-summary h3,
    body.dark-theme .checkout-form h3 {
        color: #ffffff;
    }

body.dark-theme .order-item h4 {
    color: #ffffff;
}

body.dark-theme .order-item p {
    color: #b0b0b0;
}

body.dark-theme .total-final {
    color: #ffffff;
}

body.dark-theme .form-group label {
    color: #ffffff;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

    body.dark-theme .form-group input:focus,
    body.dark-theme .form-group textarea:focus {
        border-color: #ff6b6b;
        background: rgba(255, 255, 255, 0.15);
    }

body.dark-theme .coupon-section label {
    color: #ffffff;
}

body.dark-theme .coupon-section input,
body.dark-theme .coupon-section textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

    body.dark-theme .coupon-section input:focus,
    body.dark-theme .coupon-section textarea:focus {
        border-color: #ff6b6b;
        background: rgba(255, 255, 255, 0.15);
    }

body.dark-theme .success-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    body.dark-theme .success-content h3 {
        color: #ffffff;
    }

    body.dark-theme .success-content p {
        color: #d0d0d0;
    }

/* Signup/Login Modal Styles */
.btn-signup {
    background: linear-gradient(45deg, #32cd32, #00bfff);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-weight: 600;
}

    .btn-signup:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    }

.signup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.signup-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalPop 0.3s ease-out;
}

.signup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

    .signup-header h3 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin: 0;
        font-size: 1.5rem;
    }

.close-signup {
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

    .close-signup:hover {
        color: #ff6b6b;
    }

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

.signup-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.signup-form input[type="email"],
.signup-form input[type="text"],
.signup-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.signup-form input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.signup-form input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.signup-login {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

    .signup-login a {
        color: #ff6b6b;
        text-decoration: none;
        font-weight: 600;
    }

        .signup-login a:hover {
            text-decoration: underline;
        }

@keyframes modalPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Dark Theme for Signup/Login */
body.dark-theme .signup-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .signup-header h3 {
    color: #ffffff;
}

body.dark-theme .signup-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .signup-form label {
    color: #ffffff;
}

body.dark-theme .signup-form input[type="email"],
body.dark-theme .signup-form input[type="text"],
body.dark-theme .signup-form input[type="password"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.dark-theme .signup-form input:focus {
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
}

body.dark-theme .signup-login {
    color: #b0b0b0;
}

    body.dark-theme .signup-login a {
        color: #ff6b6b;
    }

/* New Book Cover Styles */
.adventure-painting-small {
    position: relative;
    width: 80%;
    height: 60%;
    background: linear-gradient(to bottom, #ff9a9e, #fecfef, #a8edea);
    border-radius: 8px;
}

.mountain {
    position: absolute;
    background: #8B4513;
    border-radius: 50% 50% 0 0;
}

.mountain-1 {
    width: 40px;
    height: 25px;
    bottom: 10px;
    left: 10px;
    transform: rotate(-10deg);
}

.mountain-2 {
    width: 35px;
    height: 20px;
    bottom: 10px;
    right: 15px;
    transform: rotate(10deg);
}

.star {
    position: absolute;
    font-size: 12px;
    animation: twinkle 2s ease-in-out infinite;
}

.star-1 {
    top: 15px;
    left: 20px;
    animation-delay: 0s;
}

.star-2 {
    top: 25px;
    right: 20px;
    animation-delay: 1s;
}

.dragon-painting-small {
    position: relative;
    width: 80%;
    height: 60%;
    background: linear-gradient(to bottom, #ff6b6b, #ffa500, #ffd700);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dragon {
    position: absolute;
    font-size: 16px;
    animation: dragonFloat 3s ease-in-out infinite;
}

.dragon-1 {
    top: 15px;
    left: 15px;
    animation-delay: 0s;
}

.dragon-2 {
    bottom: 15px;
    right: 15px;
    animation-delay: 1.5s;
}

.fire {
    position: absolute;
    font-size: 12px;
    animation: fireFlicker 1s ease-in-out infinite;
}

.fire-1 {
    top: 20px;
    right: 10px;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes dragonFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

@keyframes fireFlicker {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Dark Theme for New Books */
body.dark-theme .adventure-painting-small {
    background: linear-gradient(to bottom, #2d1b69, #11998e, #38ef7d);
}

body.dark-theme .mountain {
    background: #654321;
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.5);
}

body.dark-theme .star {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

body.dark-theme .dragon-painting-small {
    background: linear-gradient(to bottom, #8B0000, #FF4500, #FFD700);
}

body.dark-theme .dragon {
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

body.dark-theme .fire {
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
}

/* Books Carousel */
.books-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    display: none;
}

    .carousel-item.active {
        display: block;
    }

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

    .carousel-btn:hover {
        background: rgba(255, 107, 107, 0.9);
        color: white;
        transform: scale(1.1);
    }

    .carousel-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .carousel-btn::before {
        content: '❯';
        font-size: 22px;
    }

    .carousel-btn.prev::before {
        content: '❮';
    }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-dot.active {
        background: #ff6b6b;
        transform: scale(1.2);
    }

.view-all-books {
    text-align: center;
    margin-top: 30px;
}

/* Book Details Page */
.book-details-section {
    padding: 120px 0 80px;
    min-height: 80vh;
}

.book-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.book-detail-cover {
    display: flex;
    justify-content: center;
}

.book-cover-large-detail {
    width: 350px;
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.book-cover-large-detail img{
    width: 100%;
    height: 100%;
}

.book-detail-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.book-detail-author {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.book-detail-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 2rem;
}

.book-detail-summary,
.book-detail-about {
    margin-bottom: 2rem;
}

    .book-detail-summary h3,
    .book-detail-about h3 {
        font-family: 'Fredoka One', cursive;
        color: #333;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .book-detail-summary p,
    .book-detail-about p {
        color: #666;
        line-height: 1.6;
        font-size: 1.1rem;
    }

.book-detail-features h3 {
    font-family: 'Fredoka One', cursive;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.feature-tag {
    background: rgba(255, 107, 107, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ff6b6b;
    font-weight: 500;
    text-align: center;
}

.book-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* All Books List */
.all-books-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.all-books-header {
    text-align: center;
    margin-bottom: 3rem;
}

.all-books-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.all-books-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.back-to-home {
    margin-top: 1rem;
}

.all-books-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.book-list-item {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .book-list-item:hover {
        transform: translateY(-5px);
    }

.book-list-cover {
    cursor: pointer;
    flex-shrink: 0;
}

.book-list-title {
    cursor: pointer;
    transition: color 0.3s ease;
}

    .book-list-title:hover {
        color: #ff6b6b;
    }

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

.book-cover-small-list {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
    .book-cover-small-list img{
        width: 100%;
        height: 100%;
    }

    .book-list-info {
        flex: 1;
    }

.book-list-title {
    font-family: 'Fredoka One', cursive;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.book-list-author {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.book-list-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.book-list-details {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.book-list-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6b6b;
}

.book-list-category {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Unicorn Cover Styles */
.unicorn-painting-small {
    position: relative;
    width: 80%;
    height: 60%;
    background: linear-gradient(to bottom, #ff9a9e, #fecfef, #e0f6ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unicorn {
    position: absolute;
    font-size: 16px;
    animation: unicornFloat 4s ease-in-out infinite;
}

.unicorn-1 {
    top: 15px;
    left: 15px;
    animation-delay: 0s;
}

.unicorn-2 {
    bottom: 15px;
    right: 15px;
    animation-delay: 2s;
}

@keyframes unicornFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

/* Cover Art Styles for Details Page */
.cloud-cover {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.adventure-cover {
    background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d);
}

.dragon-cover {
    background: linear-gradient(135deg, #ff6b6b, #ffa500, #ffd700);
}

.unicorn-cover {
    background: linear-gradient(135deg, #ff9a9e, #fecfef, #e0f6ff);
}

/* Dark Theme for New Elements */
body.dark-theme .all-books-section {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
}

body.dark-theme .all-books-title {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

body.dark-theme .all-books-subtitle {
    color: #d0d0d0;
}

body.dark-theme .book-detail-card {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .book-detail-title {
    color: #ffffff;
}

body.dark-theme .book-detail-summary h3,
body.dark-theme .book-detail-about h3,
body.dark-theme .book-detail-features h3 {
    color: #ffffff;
}

body.dark-theme .book-detail-summary p,
body.dark-theme .book-detail-about p {
    color: #d0d0d0;
}

body.dark-theme .book-list-item {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .book-list-title {
    color: #ffffff;
}

    body.dark-theme .book-list-title:hover {
        color: #ff6b6b;
    }

body.dark-theme .book-list-author,
body.dark-theme .book-list-summary {
    color: #b0b0b0;
}

body.dark-theme .unicorn-painting-small {
    background: linear-gradient(to bottom, #2d1b69, #11998e, #e0f6ff);
}

body.dark-theme .unicorn {
    text-shadow: 0 0 15px rgba(255, 182, 193, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

    .book-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 50%, #f0e8ff 100%);
    position: relative;
    overflow: hidden;
}

    .reviews-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffd700" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
        opacity: 0.1;
        pointer-events: none;
    }

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .review-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
        border-radius: 20px;
        padding: 2px;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        z-index: -1;
    }

    .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.review-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: gold;
    margin-right: 2px;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
}

.review-author {
    font-weight: 600;
    color: #7f8c8d;
    text-align: center;
    font-size: 0.9rem;
}

.reviews-summary {
    text-align: center;
    position: relative;
    z-index: 1;
}

.average-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: gold;
    margin-right: 2px;
}

.rating-count {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
}

/* Dark Theme for Reviews */
body.dark-theme .reviews-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-theme .reviews-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

body.dark-theme .review-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .review-text {
    color: #ffffff;
}

body.dark-theme .review-author {
    color: #b0b0b0;
}

body.dark-theme .average-rating {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .rating-number {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

body.dark-theme .rating-count {
    color: #b0b0b0;
}

/* Checkout Header */
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-to-cart {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    background: transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .back-to-cart:hover {
        background: #ff6b6b;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    }

/* Dark Theme for Back to Cart */
body.dark-theme .back-to-cart {
    border-color: #ffd700;
    color: #ffd700;
}

    body.dark-theme .back-to-cart:hover {
        background: #ffd700;
        color: #1a1a2e;
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }

/* Responsive Checkout Header */
@media (max-width: 768px) {
    .checkout-header {
        flex-direction: column;
        text-align: center;
    }

    .back-to-cart {
        align-self: center;
    }
}
/* Stripe Card Element wrapper */
.StripeElement {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Stripe Element Focus */
.StripeElement--focus {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Invalid input */
.StripeElement--invalid {
    border-color: #fa755a !important;
}

/* Dark mode */
body.dark-theme .StripeElement {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.dark-theme .StripeElement--focus {
    border-color: #ff6b6b !important;
    background: rgba(255, 255, 255, 0.15);
}

.card-error-box {
    display: none;
    padding-top: 2px;
    color: #b50000;
    font-weight: 600;
    font-size: 0.95rem;
}

.review-product-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.review-product-image {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reviews Page Styles */
.reviews-page-section {
    padding: 120px 0 80px 0;
    min-height: 80vh;
    position: relative;
}

.reviews-page-header {
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.reviews-book-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

    .reviews-book-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
        border-radius: 25px;
        padding: 2px;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        z-index: -1;
    }

.reviews-book-cover {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-large-reviews {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

    .book-cover-large-reviews:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.05);
    }

    .book-cover-large-reviews img{
        height: 100%;
        width: 100%;
    }

    .reviews-book-details {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.reviews-book-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reviews-book-author {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

.reviews-summary-header {
    margin: 1rem 0;
}

.average-rating-large {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.rating-number-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.rating-stars-large {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.rating-count-large {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 500;
}

.reviews-page-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.reviews-list-section {
    margin-top: 3rem;
}

.reviews-list-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card-detailed {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .review-card-detailed::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
        border-radius: 20px;
        padding: 2px;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        z-index: -1;
    }

    .review-card-detailed:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.review-author-role {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.review-rating-display {
    display: flex;
    align-items: center;
}

.review-stars-detailed {
    font-size: 1.5rem;
}

.review-text-detailed {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2c3e50;
    font-style: italic;
    padding: 1rem 0;
}

.no-reviews {
    text-align: center;
    font-size: 1.3rem;
    color: #7f8c8d;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Dark Theme for Reviews Page */
body.dark-theme .reviews-page-section {
    background: transparent;
}

body.dark-theme .reviews-book-info {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .reviews-book-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

body.dark-theme .reviews-book-author {
    color: #b0b0b0;
}

body.dark-theme .rating-number-large {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

body.dark-theme .rating-count-large {
    color: #b0b0b0;
}

body.dark-theme .reviews-list-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

body.dark-theme .review-card-detailed {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .review-author-name {
    color: #ffffff;
}

body.dark-theme .review-author-role {
    color: #b0b0b0;
}

body.dark-theme .review-text-detailed {
    color: #ffffff;
}

body.dark-theme .no-reviews {
    background: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
}

/* Responsive Reviews Page */
@media (max-width: 968px) {
    .reviews-page-section {
        padding: 100px 0 60px 0;
    }

    .reviews-book-info {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .reviews-book-cover {
        justify-content: center;
    }

    .average-rating-large {
        align-items: center;
    }

    .reviews-page-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .reviews-book-title {
        font-size: 2rem;
    }

    .rating-number-large {
        font-size: 2.5rem;
    }

    .review-card-detailed {
        padding: 1.5rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Review Input Page */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 32px;
    cursor: pointer;
}

.star {
    color: #ccc;
    transition: color 0.2s ease;
}

    .star.selected {
        color: #ffc107; /* gold */
    }

.rating-message {
    color: #dc3545;
    margin-top: 5px;
    font-size: 14px;
}

.rating-card-container {
    margin-bottom: 20px;
    margin-top: 10px;
}

.rating-cards {
    display: flex;
    justify-content: center; /* centers all cards horizontally */
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.rating-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s ease;
    margin-top: 10px;
}

    .rating-card:hover {
        border-color: #ffcc42;
        background: #fff7e5;
    }

    .rating-card.selected {
        border-color: #ffc107;
        background: #ffe9b5;
    }

.rating-card-stars {
    font-size: 1.4rem;
    color: #ffca2c;
    margin-bottom: 4px;
}

body.dark-theme .rating-card {
    border: 1px solid #444;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    background: #2a2a2a;
    transition: all 0.2s ease;
    color: #eaeaea;
}

    body.dark-theme .rating-card:hover {
        border-color: #ffca2c;
        background: #3a2f15; /* dark golden-brown */
        box-shadow: 0 0 6px rgba(255, 200, 80, 0.25);
    }

    body.dark-theme .rating-card.selected {
        border-color: #ffca2c;
        background: #4a3b1a; /* deeper dark gold-brown */
        box-shadow: 0 0 8px rgba(255, 200, 80, 0.3);
        color: #fff;
    }

body.dark-theme .rating-card-stars {
    color: #ffca2c; /* gold */
}

.review-header-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    white-space: nowrap;
    margin-top: 10px;
}


.review-product-image {
    height: 130px; 
    width: auto; 
    border-radius: 10px;
    object-fit: contain; 
    flex-shrink: 0;
    padding: 4px;
}

.review-product-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
}

.reviewing-label {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.review-product-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis; /* prevents breaking layout */
}

/* Dark theme */
body.dark-theme .review-header-box {
    background: #1f1f1f;
    border-left-color: #ffca2c;
    box-shadow: 0 2px 8px rgba(255,255,255,0.05);
}

body.dark-theme .reviewing-label {
    color: #c1c1c1;
}

body.dark-theme .review-product-title {
    color: #f7f7f7;
}

/* Carousel wrapper inside container */
.reviews-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

/* Track containing all cards */
.reviews-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Each review card */
.review-card {
    flex: 0 0 calc((100% - 40px) / 3); /* 3 cards with 20px gap */
    box-sizing: border-box;
}


/* Responsive */
@media (max-width: 900px) {
    .review-card { flex: 0 0 calc((100% - 20px) / 2); } /* 2 cards */
}
@media (max-width: 600px) {
    .review-card { flex: 0 0 100%; } /* 1 card */
}


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

.reviews-viewport {
    overflow: hidden;
    width: 100%;
}

.reviews-container {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

.review-card {
    min-width: calc(33.333% - 11px); /* 3 visible */
    flex-shrink: 0;
}

