/* ==========================================================================
   Emma Carney — Official Contemporary Romance Author Website
   Design Style: Soft, Dreamy, Pastel Romance Aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties / Variables
   -------------------------------------------------------------------------- */
:root {
    /* Dreamy Pastel Romance Palette */
    --color-bg-main: #FCF8F7;
    --color-bg-secondary: #F7EEEB;
    --color-bg-card: rgba(255, 255, 255, 0.78);
    --color-bg-card-hover: rgba(255, 255, 255, 0.95);
    
    --color-cream: #FFFDF9;
    --color-blush-soft: #FDEEF0;
    --color-blush-mid: #F8DADE;
    --color-rose-light: #F2A8B5;
    --color-rose: #D96E83;
    --color-rose-deep: #B5465C;
    --color-dusty-rose: #8F3447;
    --color-wine-dark: #4A1B24;
    
    /* Typography & Neutral Colors */
    --color-text-main: #2C1B20;
    --color-text-muted: #695258;
    --color-text-light: #947980;
    --color-border-soft: rgba(217, 110, 131, 0.16);
    --color-border-hover: rgba(217, 110, 131, 0.35);

    /* Accents */
    --color-gold: #E6B566;
    --color-gold-hover: #D89F46;
    --color-amazon: #FF9900;

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-script: 'Alex Brush', cursive;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(181, 70, 92, 0.06);
    --shadow-soft: 0 10px 30px rgba(181, 70, 92, 0.10);
    --shadow-hover: 0 18px 45px rgba(181, 70, 92, 0.16);
    --shadow-book-3d: 0 20px 40px rgba(60, 20, 30, 0.28);
    --shadow-glow: 0 0 35px rgba(242, 168, 181, 0.45);

    /* Transitions & Radii */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --------------------------------------------------------------------------
   Animated Ambient Background (Drifting Blurred Pastel Orbs)
   -------------------------------------------------------------------------- */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, #FFFDF9 0%, #FAF3F1 50%, #F5E8E8 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    will-change: transform;
}

.orb-1 {
    width: 650px;
    height: 650px;
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, #FCD9DE 0%, #F7C0C9 60%, rgba(247, 192, 201, 0) 80%);
    animation: driftOrb1 28s ease-in-out infinite alternate;
}

.orb-2 {
    width: 750px;
    height: 750px;
    top: 20%;
    right: -150px;
    background: radial-gradient(circle, #FDE6E9 0%, #F7CDD4 50%, rgba(247, 205, 212, 0) 75%);
    animation: driftOrb2 34s ease-in-out infinite alternate;
}

.orb-3 {
    width: 600px;
    height: 600px;
    bottom: -100px;
    left: 15%;
    background: radial-gradient(circle, #F8E2D7 0%, #F5CEBC 50%, rgba(245, 206, 188, 0) 75%);
    animation: driftOrb3 30s ease-in-out infinite alternate;
}

.orb-4 {
    width: 500px;
    height: 500px;
    top: 55%;
    right: 25%;
    background: radial-gradient(circle, #FCE8EC 0%, #F3CAD2 60%, rgba(243, 202, 210, 0) 80%);
    animation: driftOrb4 24s ease-in-out infinite alternate;
}

.orb-5 {
    width: 450px;
    height: 450px;
    bottom: 10%;
    right: 5%;
    background: radial-gradient(circle, #FCEFE9 0%, #FAD9CE 60%, rgba(250, 217, 206, 0) 80%);
    animation: driftOrb1 32s ease-in-out infinite alternate-reverse;
}

.ambient-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: radial-gradient(#000 1px, transparent 0);
    background-size: 24px 24px;
}

@keyframes driftOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 90px) scale(1.08); }
    100% { transform: translate(-80px, 140px) scale(0.95); }
}

@keyframes driftOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-140px, 110px) scale(1.12); }
    100% { transform: translate(-60px, -90px) scale(0.92); }
}

@keyframes driftOrb3 {
    0% { transform: translate(0, 0) scale(0.95); }
    50% { transform: translate(90px, -120px) scale(1.06); }
    100% { transform: translate(160px, 40px) scale(1); }
}

@keyframes driftOrb4 {
    0% { transform: translate(0, 0) scale(1.05); }
    50% { transform: translate(-100px, -80px) scale(0.9); }
    100% { transform: translate(80px, -100px) scale(1.05); }
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition-smooth);
    background: rgba(255, 253, 249, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-soft);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 4px 25px rgba(181, 70, 92, 0.08);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-main);
    line-height: 1.1;
    transition: var(--transition-fast);
}

.brand-logo:hover .logo-name {
    color: var(--color-rose-deep);
}

.logo-sub {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-rose);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-rose), var(--color-rose-deep));
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-rose-deep);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 19px;
    border-radius: 50%;
    background: var(--color-cream);
    color: var(--color-text-main);
    border: 1px solid var(--color-border-hover);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--color-rose-deep);
    color: #fff;
    border-color: var(--color-rose-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Buttons & Core Components
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-deep) 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 25px rgba(217, 110, 131, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-rose-deep) 0%, var(--color-dusty-rose) 100%);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(181, 70, 92, 0.45);
    color: #FFFFFF;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-text-main);
    border: 1px solid var(--color-border-hover);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: var(--color-rose-deep);
    border-color: var(--color-rose);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.btn-outline-rose {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-rose);
    color: var(--color-rose-deep);
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition-fast);
}

.btn-outline-rose:hover {
    background: var(--color-rose-deep);
    color: #FFFFFF;
    border-color: var(--color-rose-deep);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 130px 32px 60px;
    overflow: hidden;
}

/* Dreamy Pastel Hero Background Video */
.hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05); /* Slight upscale to conceal blur edge */
    object-fit: cover;
    filter: blur(5px) saturate(1.18) brightness(1.04);
    opacity: 0.65;
    will-change: transform, filter;
    transition: opacity 1.2s ease;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    /* Soft pastel wash in blush, rose, and warm cream */
    background: radial-gradient(circle at 65% 45%, rgba(255, 253, 249, 0.25) 0%, rgba(253, 238, 240, 0.45) 55%, rgba(247, 195, 206, 0.52) 100%);
    mix-blend-mode: normal;
}

.hero-video-gradient {
    position: absolute;
    inset: 0;
    /* Directional scrim: ensures maximum crispness and readability for text and book while letting video details shine */
    background: linear-gradient(to right, rgba(255, 253, 249, 0.82) 0%, rgba(255, 253, 249, 0.45) 48%, rgba(255, 253, 249, 0.12) 100%),
                linear-gradient(to bottom, rgba(255, 253, 249, 0.2) 0%, transparent 68%, var(--color-bg-main) 100%);
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.author-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-rose);
    opacity: 0.6;
}

.eyebrow-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-rose-deep);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    color: var(--color-text-main);
    margin-bottom: 24px;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.title-main {
    display: inline-block;
    letter-spacing: 0.08em;
}

.title-script {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.25em;
    color: var(--color-rose);
    font-weight: 400;
    transform: rotate(-6deg) translateY(-4px);
    margin: 0 10px;
    line-height: 0.8;
}

.hero-tagline {
    font-size: clamp(17px, 1.8vw, 20px);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-rose-deep);
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 2px 10px rgba(181, 70, 92, 0.04);
}

.pill-badge i {
    font-size: 11px;
    color: var(--color-rose);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 36px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-soft);
}

.rating-stars {
    color: var(--color-gold);
    font-size: 15px;
    display: flex;
    gap: 3px;
}

.meta-caption {
    font-size: 13px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Hero Visual / 3D Book Stage
   -------------------------------------------------------------------------- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.book-glow {
    position: absolute;
    width: 380px;
    height: 480px;
    background: radial-gradient(circle, rgba(242, 168, 181, 0.5) 0%, rgba(253, 238, 240, 0.2) 50%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.floating-book-wrapper {
    position: relative;
    z-index: 2;
    animation: floatingBook 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.hero-3d-book {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(-25px 30px 45px rgba(90, 30, 45, 0.28));
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.hero-3d-book:hover {
    transform: scale(1.03) rotate(-1deg);
    filter: drop-shadow(-30px 40px 55px rgba(90, 30, 45, 0.35));
}

.hero-book-shadow {
    position: absolute;
    bottom: -35px;
    width: 280px;
    height: 35px;
    background: radial-gradient(ellipse at center, rgba(143, 52, 71, 0.22) 0%, rgba(143, 52, 71, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 1;
    animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes floatingBook {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(1deg);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.85);
        opacity: 0.5;
    }
}

/* Floating Info Cards around Book */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-soft);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(181, 70, 92, 0.12);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.floating-card:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
}

.floating-card-1 {
    top: 15%;
    left: -20px;
    animation: floatCard1 7s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 12%;
    right: -10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    animation: floatCard2 8s ease-in-out infinite;
}

.card-icon {
    font-size: 20px;
    color: var(--color-rose);
}

.card-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-rose-deep);
}

.card-desc {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
}

.ku-badge {
    font-size: 13px;
    color: #232F3E;
    letter-spacing: 0.02em;
}

.ku-badge strong {
    color: var(--color-rose-deep);
}

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

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



/* --------------------------------------------------------------------------
   Section Common Layout
   -------------------------------------------------------------------------- */
.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-rose-deep);
    margin-bottom: 14px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 18px;
}

.section-subheading {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Spotlight Section (Featured Novel: Dare to Dream)
   -------------------------------------------------------------------------- */
.spotlight-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.4) 0%, rgba(253, 238, 240, 0.5) 50%, rgba(255, 253, 249, 0.4) 100%);
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.spotlight-media {
    display: flex;
    justify-content: center;
    position: relative;
}

.spotlight-frame {
    position: relative;
    max-width: 420px;
    width: 100%;
}

.spotlight-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(-20px 25px 40px rgba(90, 30, 45, 0.22));
    transition: var(--transition-smooth);
}

.spotlight-frame:hover .spotlight-img {
    transform: scale(1.02) translateY(-4px);
    filter: drop-shadow(-25px 35px 50px rgba(90, 30, 45, 0.30));
}

.spotlight-aura {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(242, 168, 181, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(30px);
    z-index: -1;
}

.spotlight-details {
    max-width: 620px;
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 50px);
    color: var(--color-text-main);
    line-height: 1.1;
    margin-bottom: 14px;
}

.spotlight-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-rose-deep);
    margin-bottom: 20px;
    line-height: 1.5;
}

.spotlight-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border-soft);
}

.spotlight-rating .stars {
    color: var(--color-gold);
    display: flex;
    gap: 3px;
    font-size: 16px;
}

.rating-text {
    font-size: 14px;
    color: var(--color-text-muted);
}

.synopsis-box {
    margin-bottom: 28px;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.synopsis-box p + p {
    margin-top: 14px;
}

.feature-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item i {
    color: var(--color-rose);
    font-size: 12px;
}

.spotlight-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   Books Section (Grid of 4 Books)
   -------------------------------------------------------------------------- */
.books-section {
    padding: 120px 0;
}

.books-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.book-card {
    flex: 0 1 350px;
    max-width: 360px;
    width: 100%;
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.book-card:hover {
    transform: translateY(-10px);
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-hover);
}

.card-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--color-rose), var(--color-rose-deep));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(181, 70, 92, 0.3);
    z-index: 5;
}

.book-cover-container {
    width: 100%;
    aspect-ratio: 1 / 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    perspective: 800px;
}

/* Clickable Book Link & Hover Callout */
.book-cover-link,
.spotlight-book-link,
.hero-book-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.book-hover-callout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-rose-deep);
    border: 1px solid var(--color-rose);
    box-shadow: 0 10px 30px rgba(181, 70, 92, 0.28);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.book-hover-callout i.fa-amazon {
    font-size: 16px;
    color: #FF9900;
}

.book-hover-callout i.fa-arrow-right {
    font-size: 11px;
    transition: transform 0.2s ease;
}

/* Hover Reveals */
.book-card:hover .book-hover-callout,
.spotlight-frame:hover .book-hover-callout,
.hero-book-link:hover .book-hover-callout {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 14px 35px rgba(181, 70, 92, 0.38);
}

.book-card:hover .book-hover-callout i.fa-arrow-right,
.spotlight-frame:hover .book-hover-callout i.fa-arrow-right,
.hero-book-link:hover .book-hover-callout i.fa-arrow-right {
    transform: translateX(4px);
}

.hero-hover-callout {
    font-size: 14px;
    padding: 12px 22px;
}

.book-cover-3d-wrapper {
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.book-cover-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(-12px 16px 25px rgba(60, 20, 30, 0.22));
    transition: var(--transition-smooth);
}

.book-card:hover .book-cover-3d {
    transform: scale(1.05) rotate(-1deg);
    filter: drop-shadow(-16px 22px 32px rgba(60, 20, 30, 0.30));
}

.book-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.book-rating-bar .stars {
    color: var(--color-gold);
    font-size: 12px;
    display: flex;
    gap: 2px;
}

.rating-score {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.book-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-text-main);
    line-height: 1.25;
    margin-bottom: 8px;
    font-weight: 600;
}

.book-hook {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-rose-deep);
    margin-bottom: 12px;
    line-height: 1.4;
}

.book-description {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge-ku {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-rose-deep);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edition-label {
    font-size: 11px;
    color: var(--color-text-light);
}

.card-cta-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-card-primary {
    background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-deep) 100%);
    color: #fff;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.btn-card-primary:hover {
    background: linear-gradient(135deg, var(--color-rose-deep) 0%, var(--color-dusty-rose) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(181, 70, 92, 0.35);
}

.btn-card-ghost {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border-hover);
    color: var(--color-text-muted);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.btn-card-ghost:hover {
    background: #fff;
    color: var(--color-rose-deep);
    border-color: var(--color-rose);
}

/* --------------------------------------------------------------------------
   Reviews & Praise Section
   -------------------------------------------------------------------------- */
.reviews-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(253, 238, 240, 0.6) 0%, rgba(255, 253, 249, 0) 70%);
    position: relative;
}

.review-decor-heart {
    text-align: center;
    color: var(--color-rose-light);
    font-size: 28px;
    margin-bottom: 24px;
    opacity: 0.7;
}

.reviews-carousel {
    max-width: 860px;
    margin: 0 auto 50px;
    text-align: center;
}

.review-quote {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.45;
    color: var(--color-text-main);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 24px;
}

.review-author {
    font-size: 14px;
    color: var(--color-rose-deep);
    letter-spacing: 0.05em;
}

.praise-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.praise-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border-soft);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.praise-stars {
    color: var(--color-gold);
    font-size: 13px;
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.praise-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.reviewer-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-rose-deep);
}

/* --------------------------------------------------------------------------
   About Emma Carney Section
   -------------------------------------------------------------------------- */
.about-section {
    padding: 120px 0;
    border-top: 1px solid var(--color-border-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

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

.author-portrait-frame {
    position: relative;
    max-width: 440px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(90, 30, 45, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.author-portrait-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.author-portrait-frame:hover .author-portrait-img {
    transform: scale(1.03);
}

.author-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 8px 24px rgba(60, 20, 30, 0.12);
}

.author-title-tag {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-rose-deep);
    margin-bottom: 2px;
}

.author-quote {
    font-family: var(--font-heading);
    font-size: 15px;
    font-style: italic;
    color: var(--color-text-main);
}

.about-content {
    max-width: 650px;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    color: var(--color-text-main);
    margin-bottom: 16px;
    font-weight: 600;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    color: var(--color-rose-deep);
    line-height: 1.5;
    margin-bottom: 24px;
}

.about-bio-text {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-bio-text p + p {
    margin-top: 16px;
}

.about-bio-text strong {
    color: var(--color-text-main);
}

/* Cross-Site Sister Link Card */
.cross-site-card {
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
}

.cross-site-card:hover {
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.cross-site-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-blush-soft);
    color: var(--color-rose-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cross-site-info {
    flex-grow: 1;
}

.cross-site-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-rose);
    display: block;
}

.cross-site-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-text-main);
    margin: 2px 0;
}

.cross-site-desc {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
    padding: 100px 0;
}

.newsletter-card {
    max-width: 840px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 238, 240, 0.85) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.newsletter-decor {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--color-rose-deep);
    box-shadow: var(--shadow-subtle);
}

.newsletter-heading {
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.5vw, 42px);
    color: var(--color-text-main);
    margin-bottom: 14px;
}

.newsletter-subheading {
    max-width: 580px;
    margin: 0 auto 36px;
    font-size: 16px;
    color: var(--color-text-muted);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.form-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
    font-family: var(--font-body);
    background: #FFFFFF;
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-pill);
    color: var(--color-text-main);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 3px rgba(217, 110, 131, 0.15);
}

.btn-newsletter {
    padding: 14px 28px;
    flex-shrink: 0;
}

.newsletter-status {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 22px;
}

.newsletter-status.success {
    color: #2E7D32;
}

.newsletter-status.error {
    color: #C62828;
}

.newsletter-disclaimer {
    font-size: 12px;
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Synopsis Modal
   -------------------------------------------------------------------------- */
.synopsis-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.synopsis-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 27, 32, 0.6);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    max-width: 680px;
    width: 100%;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    z-index: 2;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.92);
    transition: var(--transition-smooth);
}

.synopsis-modal.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    color: var(--color-text-light);
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-rose-deep);
}

/* Modal Inner Content styling */
.modal-book-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    align-items: center;
}

.modal-book-thumb {
    width: 110px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.modal-book-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.modal-book-info .modal-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-rose-deep);
    margin-bottom: 10px;
}

.modal-book-body {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-book-body p + p {
    margin-top: 14px;
}

.modal-book-footer {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border-hover);
    color: var(--color-rose-deep);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition-smooth);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-rose-deep);
    color: #FFFFFF;
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #FAF3F2;
    border-top: 1px solid var(--color-border-soft);
    padding: 80px 0 36px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.brand-col .footer-logo {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 14px;
}

.footer-brand-bio {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-amazon {
    font-size: 11px;
    font-weight: 600;
    color: #232F3E;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-text-main);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-rose-deep);
    padding-left: 4px;
}

.footer-hub-text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-rose-deep);
    border-bottom: 1px solid var(--color-rose);
    padding-bottom: 3px;
    transition: var(--transition-fast);
}

.btn-footer-link:hover {
    color: var(--color-dusty-rose);
    border-bottom-color: transparent;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-light);
    flex-wrap: wrap;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   Responsive Design & Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .book-card {
        flex: 0 1 340px;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

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

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .author-eyebrow {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .spotlight-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .spotlight-rating {
        justify-content: center;
    }

    .feature-pills {
        justify-items: center;
    }

    .spotlight-buttons {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
    }

    .cross-site-card {
        flex-direction: column;
        text-align: center;
    }

    .praise-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(255, 253, 249, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 15px 30px rgba(181, 70, 92, 0.12);
        padding: 24px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .btn-nav {
        display: inline-flex;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .book-card {
        flex: 1 1 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .floating-card-1 {
        left: 0;
    }

    .floating-card-2 {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orb,
    .floating-book-wrapper,
    .hero-book-shadow,
    .floating-card-1,
    .floating-card-2,
    .mouse-wheel {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
