/* ============================================
   CHILDREN'S BOOKNEST — BESTSELLERS PAGE
   Magical Storybook Edition
   ============================================

   Design Philosophy:
   • Premium children's publishing experience
   • Storybook-inspired magical interface
   • Warm, creative, playful, memorable
   • GPU-accelerated animations
   • Consistent with index.html visual language
   ============================================ */

/* ============================================
   DESIGN TOKENS (Inherited from Home Page)
   ============================================ */
:root {
    --shadow-glow: 0 0 40px rgba(159, 161, 255, 0.3);

    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

}

/* ============================================
   GPU LAYER OPTIMIZATIONS
   ============================================ */
.cbn-particle,
.cbn-bird,
.cbn-cloud,
.blob,
.float-particle,
.book-card,
.book-cover,
.book-badge,
.award-card,
.award-icon,
.cta-card,
.page-hero-bg,
.sparkle,
.shine-sweep,
.glow-ring {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.page-hero,
.bestsellers,
.awards,
.cta {
    contain: layout paint;
}

/* ============================================
   BESTSELLERS GRID — OPTIMIZED
   Removed glassmorphism, simplified effects
   ============================================ */
.bestsellers {
    background: linear-gradient(170deg, #FFFBF5 0%, #FFF8F0 25%, #FDF2F4 50%, #F0E6FF 75%, #E8F4FF 100%);
    position: relative;
    overflow: hidden;
}

/* Static blobs — NO blur filter */
.bestsellers::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(159, 161, 255, 0.06);
    top: -150px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.bestsellers::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(174, 226, 255, 0.08);
    bottom: -100px;
    left: -80px;
    border-radius: 50%;
    pointer-events: none;
}

/* Reduced floating decorations — only 2 instead of 5 */
.bestsellers .float-decor {
    position: absolute;
    pointer-events: none;
    font-size: 22px;
    opacity: 0.08;
    animation: floatDrift 25s ease-in-out infinite;
    z-index: 1;
}

.bestsellers .float-decor-1 { top: 15%; left: 8%; animation-delay: 0s; }
.bestsellers .float-decor-2 { bottom: 25%; right: 10%; animation-delay: 8s; }

/* Book Card — NO glassmorphism, solid background */
.book-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Gradient border on hover — simplified */
.book-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 2;
}

/* Shine sweep — kept but simplified */
.book-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 3;
}

.book-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.book-card:hover::before {
    opacity: 1;
}

.book-card:hover::after {
    left: 150%;
}

/* Book Badge — lighter pulse */
.book-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: linear-gradient(135deg, var(--color-primary), #B5BAFF);
    color: var(--color-white);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 4;
    animation: badgePulse 4s ease-in-out infinite;
}

/* Book Cover — simplified */
.book-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f3ede5, #e8ddd0);
    position: relative;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

/* Decorative frame — simplified */
.book-cover::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(159, 161, 255, 0.15);
    border-radius: var(--radius-sm);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.book-card:hover .book-cover::after {
    opacity: 1;
}

/* Book Info */
.book-info {
    padding: var(--space-4) var(--space-3) var(--space-3);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.book-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8B7AA8;
    background: rgba(159, 161, 255, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
    width: fit-content;
    border: 1px solid rgba(159, 161, 255, 0.12);
}

.book-title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--color-dark);
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.book-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.book-card:hover .book-title::after {
    width: 100%;
}

.book-author {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    font-style: italic;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.book-age {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    background: #f0f6ea;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.book-rating {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

.book-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--space-3);
    flex-grow: 1;
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.book-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    transition: width var(--transition-base);
}

.book-link:hover {
    color: var(--color-primary);
    gap: 10px;
}

.book-link:hover::after {
    width: 100%;
}

/* ============================================
   AWARDS SECTION — OPTIMIZED
   Removed glassmorphism, reduced stars
   ============================================ */
.awards {
    background: var(--color-bg-warm);
    position: relative;
    overflow: hidden;
}

/* Static blobs — NO blur */
.awards::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 215, 0, 0.05);
    top: -100px;
    left: -80px;
    border-radius: 50%;
    pointer-events: none;
}

.awards::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(159, 161, 255, 0.05);
    bottom: -80px;
    right: -60px;
    border-radius: 50%;
    pointer-events: none;
}

/* Reduced stars — only 2 instead of 5, NO rotation animation */
.awards .star {
    position: absolute;
    font-size: 18px;
    opacity: 0.1;
    pointer-events: none;
    animation: floatDrift 20s ease-in-out infinite;
    z-index: 1;
}

.awards .star-1 { top: 20%; left: 10%; animation-delay: 0s; }
.awards .star-2 { bottom: 30%; right: 12%; animation-delay: 8s; }

/* Award Card — NO glassmorphism */
.award-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    height: 100%;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

/* Gradient top border on hover */
.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #F7931E, var(--color-primary));
    background-size: 200% 200%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--transition-base);
    animation: borderGlow 4s ease infinite;
}

/* Shine sweep */
.award-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.award-card:hover::before {
    opacity: 1;
}

.award-card:hover::after {
    left: 150%;
}

/* Award Icon — simplified */
.award-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto var(--space-3);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
    transition: all var(--transition-bounce);
}

.award-card:hover .award-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.25);
}

.award-title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
}

.award-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #F7931E);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.award-card:hover .award-title::after {
    transform: translateX(-50%) scaleX(1);
}

.award-year {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(159, 161, 255, 0.1);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
    border: 1px solid rgba(159, 161, 255, 0.12);
}

.award-book {
    font-size: 15px;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION — OPTIMIZED
   Removed gradientShift, reduced particles
   ============================================ */
.cta {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    padding-bottom: var(--space-8);
}

/* Static blobs — NO blur, NO animation */
.cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(159, 161, 255, 0.06);
    top: -150px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(174, 226, 255, 0.08);
    bottom: -100px;
    left: -80px;
    border-radius: 50%;
    pointer-events: none;
}

/* Reduced floating decorations — only 2 */
.cta .float-decor {
    position: absolute;
    pointer-events: none;
    font-size: 24px;
    opacity: 0.08;
    animation: floatDrift 22s ease-in-out infinite;
    z-index: 1;
}

.cta .float-decor-1 { top: 20%; left: 10%; animation-delay: 0s; }
.cta .float-decor-2 { bottom: 25%; right: 12%; animation-delay: 10s; }

/* CTA Card — STATIC gradient (NO gradientShift animation) */
.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #B5BAFF 50%, var(--color-secondary) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    color: var(--color-white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* Decorative circles — static, NO animation */
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

/* Reduced particles inside CTA — only 2 instead of 4 */
.cta-card .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    animation: floatParticle 8s ease-in-out infinite;
}

.cta-card .particle-1 { width: 6px; height: 6px; top: 25%; left: 20%; animation-delay: 0s; }
.cta-card .particle-2 { width: 5px; height: 5px; top: 55%; right: 25%; animation-delay: 3s; }

.cta-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.cta-card .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cta-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(159, 161, 255, 0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.cta-card .btn-primary:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cta-card .btn-primary:hover::before {
    left: 150%;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #2C3E50 0%, #1A252F 100%);
    color: var(--color-white);
    padding: var(--space-7) 0 var(--space-4);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #F7931E, #FFD700, #4CAF50, #2196F3);
}

.footer-grid {
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), #F7931E);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.footer-logo .logo-text {
    font-family: var(--font-alt);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo .logo-text strong {
    color: var(--color-primary);
}

.footer-brand p {
    color: #B0BEC5;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.social-links {
    display: flex;
    gap: var(--space-2);
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-base);
    color: var(--color-white);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-alt);
    font-size: 18px;
    margin-bottom: var(--space-3);
    color: var(--color-primary);
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: var(--space-2);
}

.footer-column a {
    color: #B0BEC5;
    font-size: 15px;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer-bottom p {
    color: #78909C;
    font-size: 14px;
    margin-bottom: 0;
}

.footer-badges {
    display: flex;
    gap: var(--space-3);
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #B0BEC5;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), #B5BAFF);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--color-white);
    width: 90%;
    max-width: 700px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-6);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-container::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border-light);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
    font-family: var(--font-body);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--color-bg-warm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(159, 161, 255, 0.1);
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-custom-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--space-4);
    border: 2px dashed var(--color-primary);
    border-radius: var(--radius-md);
    background: rgba(159, 161, 255, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.file-custom-label:hover {
    background: rgba(159, 161, 255, 0.1);
    transform: translateY(-2px);
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .desktop-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-container {
        height: 70px;
    }

    .logo img {
        height: 70px;
    }

    .section {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: 36px;
    }

    .page-title {
        font-size: 48px;
    }

    .page-hero {
        min-height: 500px;
        padding: var(--space-6) 0 var(--space-5);
    }

    .book-card {
        margin-bottom: var(--space-3);
    }

    .award-card {
        margin-bottom: var(--space-3);
    }

    .cta-card {
        text-align: center;
    }

    .cta-card .text-lg-end {
        text-align: center !important;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column {
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
        padding-top: 70px;
    }

    .nav-container {
        padding: 0 var(--space-2);
    }

    .mobile-menu {
        width: 280px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .book-title {
        font-size: 18px;
    }

    .award-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-card {
        padding: var(--space-4) var(--space-3);
    }

    .modal-container {
        width: 95%;
        padding: var(--space-4);
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-form .grid-2 {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-3) !important;
    }
}

@media (max-width: 575.98px) {
    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .book-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .award-title {
        font-size: 18px;
    }

    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: var(--space-3);
    }

    .modal-header {
        margin-bottom: var(--space-3);
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-form {
        gap: var(--space-2);
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .file-custom-label {
        padding: var(--space-2);
    }

    .file-icon {
        font-size: 1.25rem;
    }

    .file-text {
        font-size: 0.85rem;
    }

    .modal-form .btn-lg {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .mobile-toggle,
    .back-to-top,
    .social-links a {
        min-width: 48px;
        min-height: 48px;
    }
}