:root {
    --gold: #ffd33f;
    --gold-light: #ffe98a;
    --gold-dark: #c79c15;
    --bg: #0f0c08;
    --bg-secondary: #1a140d;
    --bg-card: #21180f;
    --cream: #f4f0e7;
    --muted: #d8d1c4;
    --border: rgba(255, 211, 63, .15);
    --shadow: 0 0 20px rgba(255, 211, 63, .15);
    --shadow-hover: 0 0 40px rgba(255, 211, 63, .35);
    --transition: .4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, var(--bg) 0%, #161109 40%, var(--bg-secondary) 100%);
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    color: var(--cream);
}

p {
    color: var(--muted);
    line-height: 1.9;
}

a {
    text-decoration: none;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* BUTTONS */
.btn-gold {
    background: var(--gold);
    color: #111;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255, 211, 63, .5);
    color: #111;
}

.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    padding: 12px 28px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #111;
    box-shadow: var(--shadow-hover);
}

/* HERO */
.hero-section-book {
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(circle at center, rgba(255, 211, 63, .12), transparent 70%);
    overflow: hidden;
}

.gold-label {
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .85rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 20px 0;
}

.hero-title-g {
    font-size: 5.5rem;
    line-height: 1.1;
    margin: 20px 0;
}

.hero-text {
    font-size: 1.15rem;
    max-width: 1050px;
    display: flex;
    gap: 10px;
}

.hero-line-left,
.hero-line-right {
    position: absolute;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 211, 63, .2), rgba(255, 211, 63, .25), rgba(255, 211, 63, .2), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-line-left {
    left: 7%;
}

.hero-line-right {
    right: 7%;
}

.hero-line-left-2,
.hero-line-right-2 {
    position: absolute;
    top: 18%;
    height: 64%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 211, 63, .1), rgba(255, 211, 63, .12), rgba(255, 211, 63, .1), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-line-left-2 {
    left: 4%;
}

.hero-line-right-2 {
    right: 4%;
}

.hero-mountain-left,
.hero-mountain-right {
    position: absolute;
    bottom: 0;
    width: 320px;
    height: 220px;
    opacity: .06;
    pointer-events: none;
    z-index: 1;
}

.hero-mountain-left {
    left: 0;
    background: var(--gold);
    clip-path: polygon(0% 100%, 12% 45%, 30% 70%, 50% 18%, 70% 55%, 88% 30%, 100% 50%, 100% 100%);
}

.hero-mountain-right {
    right: 0;
    background: var(--gold);
    clip-path: polygon(0% 100%, 0% 55%, 18% 22%, 38% 60%, 55% 28%, 72% 50%, 90% 35%, 100% 60%, 100% 100%);
}

.hero-particles-left,
.hero-particles-right {
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-particles-left {
    left: 3%;
}

.hero-particles-right {
    right: 3%;
}

.hero-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
    animation: heroDriftUp 6s linear infinite;
    opacity: 0;
}

@keyframes heroDriftUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    10% {
        opacity: .9;
    }

    90% {
        opacity: .9;
    }

    100% {
        transform: translateY(-20%);
        opacity: 0;
    }
}

.hero-book-numbers {
    position: absolute;
    right: 4.5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    pointer-events: none;
    z-index: 1;
}

.hero-book-numbers span {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: rgba(255, 211, 63, .2);
    letter-spacing: 2px;
    text-align: right;
    position: relative;
    padding-right: 40px;
}

.hero-book-numbers span::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: rgba(255, 211, 63, .15);
}

.hero-orb {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 211, 63, .1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: orbPulse 4s ease-in-out infinite;
}

.hero-orb-2 {
    position: absolute;
    top: 20%;
    right: 4%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 211, 63, .07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: orbPulse 5s ease-in-out infinite 1s;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .6;
    }

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

.hero-side-icons {
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-side-left {
    left: 9%;
}

.hero-side-right {
    right: 15%;
}

.side-icon {
    position: absolute;
    font-size: 24px;
    opacity: .12;
    animation: iconFloat 5s ease-in-out infinite alternate;
}

.side-icon:nth-child(2) {
    animation-delay: 1.2s;
}

.side-icon:nth-child(3) {
    animation-delay: 2.4s;
}

.side-icon:nth-child(4) {
    animation-delay: 3.6s;
}

@keyframes iconFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(6deg);
    }
}

.hero-compass {
    position: absolute;
    bottom: 12%;
    left: 9%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 211, 63, .12);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: compassSpin 20s linear infinite;
}

@keyframes compassSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-compass::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 211, 63, .2);
    font-size: 16px;
}

.compass-n,
.compass-s,
.compass-e,
.compass-w {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    color: rgba(255, 211, 63, .2);
}

.compass-n {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.compass-s {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.compass-e {
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
}

.compass-w {
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-monogram {
    position: absolute;
    top: 18%;
    left: 8%;
    font-family: 'Cinzel', serif;
    font-size: 100px;
    font-weight: 700;
    color: rgba(255, 211, 63, .04);
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.hero-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    pointer-events: none;
    z-index: 1;
}

.hero-corner-tl {
    top: 100px;
    left: 30px;
    border-top: 1px solid rgba(255, 211, 63, .12);
    border-left: 1px solid rgba(255, 211, 63, .12);
}

.hero-corner-tr {
    top: 100px;
    right: 30px;
    border-top: 1px solid rgba(255, 211, 63, .12);
    border-right: 1px solid rgba(255, 211, 63, .12);
}

.hero-corner-bl {
    bottom: 30px;
    left: 30px;
    border-bottom: 1px solid rgba(255, 211, 63, .12);
    border-left: 1px solid rgba(255, 211, 63, .12);
}

.hero-corner-br {
    bottom: 30px;
    right: 30px;
    border-bottom: 1px solid rgba(255, 211, 63, .12);
    border-right: 1px solid rgba(255, 211, 63, .12);
}

.hero-sparkle {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 1;
}

.hero-sparkle::before,
.hero-sparkle::after {
    content: '';
    position: absolute;
    background: rgba(255, 211, 63, .15);
}

.hero-sparkle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.hero-sparkle::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.hero-sparkle-1 {
    top: 25%;
    left: 5%;
    animation: sparklePulse 3s ease-in-out infinite;
}

.hero-sparkle-2 {
    top: 60%;
    right: 6%;
    animation: sparklePulse 3s ease-in-out infinite 1s;
}

.hero-sparkle-3 {
    bottom: 20%;
    left: 12%;
    animation: sparklePulse 3s ease-in-out infinite 2s;
}

.hero-sparkle-4 {
    top: 30%;
    right: 10%;
    animation: sparklePulse 3s ease-in-out infinite 0.5s;
}

@keyframes sparklePulse {

    0%,
    100% {
        opacity: .3;
        transform: scale(.8) rotate(0deg);
    }

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

.hero-lantern {
    position: absolute;
    bottom: 15%;
    right: 8%;
    pointer-events: none;
    z-index: 1;
}

.lantern-handle {
    width: 1px;
    height: 18px;
    background: rgba(255, 211, 63, .2);
    margin: 0 auto;
}

.lantern-body {
    width: 22px;
    height: 30px;
    border: 1px solid rgba(255, 211, 63, .18);
    border-radius: 4px 4px 8px 8px;
    position: relative;
    overflow: hidden;
}

.lantern-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 211, 63, .3) 0%, transparent 70%);
    border-radius: 50%;
    animation: lanternFlicker 2s ease-in-out infinite;
}

@keyframes lanternFlicker {

    0%,
    100% {
        opacity: .6;
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: .7;
    }

    80% {
        opacity: .9;
    }
}

.lantern-light {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 211, 63, .06) 0%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbPulse 3s ease-in-out infinite .5s;
}

.hero-side-quote {
    position: absolute;
    left: 6%;
    bottom: 18%;
    pointer-events: none;
    z-index: 1;
}

.side-quote-mark {
    font-family: 'Cinzel', serif;
    font-size: 50px;
    color: rgba(255, 211, 63, .08);
    line-height: .5;
    margin-bottom: 8px;
}

.side-quote-text {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: rgba(255, 211, 63, .1);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.6;
}

.side-quote-line {
    width: 30px;
    height: 1px;
    background: rgba(255, 211, 63, .1);
    margin-top: 10px;
}

.hero-dotted-path {
    position: absolute;
    right: 3%;
    top: 15%;
    height: 70%;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(255, 211, 63, .08) 0px, rgba(255, 211, 63, .08) 2px, transparent 2px, transparent 12px);
    pointer-events: none;
    z-index: 1;
}

@media(max-width:991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-title-g {
        font-size: 3.5rem;
    }

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

    .hero-book-numbers,
    .hero-side-icons,
    .hero-compass,
    .hero-monogram,
    .hero-side-quote,
    .hero-lantern,
    .hero-dotted-path,
    .hero-sparkle,
    .hero-corner {
        display: none !important;
    }

    .hero-mountain-left,
    .hero-mountain-right,
    .hero-particles-left,
    .hero-particles-right,
    .hero-orb,
    .hero-orb-2,
    .hero-line-left,
    .hero-line-right,
    .hero-line-left-2,
    .hero-line-right-2 {
        display: none;
    }
}

@media(max-width:576px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-title-g {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}

/* REUSABLE DECORATION SYSTEM */

.deco-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 1;
}

.deco-tl {
    top: 30px;
    left: 30px;
    border-top: 1px solid rgba(255, 211, 63, .1);
    border-left: 1px solid rgba(255, 211, 63, .1);
}

.deco-tr {
    top: 30px;
    right: 30px;
    border-top: 1px solid rgba(255, 211, 63, .1);
    border-right: 1px solid rgba(255, 211, 63, .1);
}

.deco-bl {
    bottom: 30px;
    left: 30px;
    border-bottom: 1px solid rgba(255, 211, 63, .1);
    border-left: 1px solid rgba(255, 211, 63, .1);
}

.deco-br {
    bottom: 30px;
    right: 30px;
    border-bottom: 1px solid rgba(255, 211, 63, .1);
    border-right: 1px solid rgba(255, 211, 63, .1);
}

.deco-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    pointer-events: none;
    z-index: 1;
    animation: dotFloat 4s ease-in-out infinite;
}

.deco-dot-1 {
    top: 15%;
    left: 2%;
    animation-delay: 0s;
}

.deco-dot-2 {
    bottom: 20%;
    right: 2%;
    animation-delay: 2s;
}

@keyframes dotFloat {

    0%,
    100% {
        opacity: .3;
        transform: translateY(0);
    }

    50% {
        opacity: .8;
        transform: translateY(-12px);
    }
}

.deco-particles-left-mini,
.deco-particles-right-mini {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.deco-particles-left-mini {
    left: 0;
}

.deco-particles-right-mini {
    right: 0;
}

.mini-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--gold);
    animation: miniDrift 8s linear infinite;
    opacity: 0;
}

@keyframes miniDrift {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    15% {
        opacity: .7;
    }

    85% {
        opacity: .7;
    }

    100% {
        transform: translateY(-15%);
        opacity: 0;
    }
}

.deco-sparkle-side {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 1;
}

.deco-sparkle-side::before,
.deco-sparkle-side::after {
    content: '';
    position: absolute;
    background: rgba(255, 211, 63, .12);
}

.deco-sparkle-side::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.deco-sparkle-side::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.deco-sparkle-l {
    left: 1.5%;
    top: 30%;
    animation: sparklePulse 3s ease-in-out infinite;
}

.deco-sparkle-r {
    right: 1.5%;
    bottom: 30%;
    animation: sparklePulse 3s ease-in-out infinite 1.5s;
}

.book-item-number {
    position: absolute;
    top: 60px;
    right: 40px;
    font-family: 'Cinzel', serif;
    font-size: 80px;
    font-weight: 700;
    color: rgba(255, 211, 63, .03);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.deco-icon {
    position: absolute;
    font-size: 20px;
    opacity: .1;
    pointer-events: none;
    z-index: 1;
    animation: iconFloat 5s ease-in-out infinite alternate;
}

.deco-icon-pick {
    top: 50px;
    right: 50px;
}

.deco-icon-gem {
    bottom: 50px;
    right: 50px;
    animation-delay: 1s;
}

.deco-icon-mountain {
    bottom: 50px;
    right: 50px;
    animation-delay: 2s;
}

.deco-icon-fossil {
    bottom: 50px;
    right: 50px;
    animation-delay: 0.5s;
}

.deco-icon-lantern {
    bottom: 50px;
    right: 50px;
    animation-delay: 1.5s;
}

.deco-icon-compass-sm {
    top: 50px;
    left: 50px;
}

.deco-icon-question {
    top: 50px;
    left: 50px;
    animation-delay: 1s;
}

.deco-line-h {
    position: absolute;
    left: 5%;
    right: 5%;
    height: 1px;
    pointer-events: none;
    z-index: 1;
}

.deco-line-h-top {
    top: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 63, .12), transparent);
}

.deco-line-h-bottom {
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 63, .12), transparent);
}

.deco-orb-sm {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 211, 63, .06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 4s ease-in-out infinite;
}

.deco-orb-sm-1 {
    bottom: 10%;
    left: 3%;
}

.deco-orb-sm-2 {
    top: 10%;
    right: 3%;
    animation-delay: 2s;
}

.deco-mountain-sm {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 120px;
    opacity: .04;
    pointer-events: none;
    z-index: 0;
}

.deco-mountain-left-sm {
    left: 0;
    background: var(--gold);
    clip-path: polygon(0% 100%, 20% 40%, 45% 15%, 70% 50%, 100% 30%, 100% 100%);
}

.deco-mountain-right-sm {
    right: 0;
    background: var(--gold);
    clip-path: polygon(0% 100%, 0% 45%, 30% 20%, 55% 50%, 80% 30%, 100% 55%, 100% 100%);
}

.deco-monogram-sm {
    position: absolute;
    bottom: 60px;
    right: 40px;
    font-family: 'Cinzel', serif;
    font-size: 70px;
    font-weight: 700;
    color: rgba(255, 211, 63, .03);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.deco-dotted-v-left {
    position: absolute;
    left: 2%;
    top: 10%;
    height: 80%;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(255, 211, 63, .06) 0px, rgba(255, 211, 63, .06) 2px, transparent 2px, transparent 14px);
    pointer-events: none;
    z-index: 1;
}

.deco-dotted-v-right {
    position: absolute;
    right: 2%;
    top: 10%;
    height: 80%;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(255, 211, 63, .06) 0px, rgba(255, 211, 63, .06) 2px, transparent 2px, transparent 14px);
    pointer-events: none;
    z-index: 1;
}

.deco-lantern-sm {
    position: absolute;
    bottom: 25%;
    pointer-events: none;
    z-index: 1;
}

.deco-lantern-left-sm {
    left: 4%;
}

.deco-lantern-right-sm {
    right: 4%;
}

.deco-lantern-sm::before {
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background: rgba(255, 211, 63, .15);
    margin: 0 auto;
}

.deco-lantern-sm::after {
    content: '';
    display: block;
    width: 14px;
    height: 18px;
    border: 1px solid rgba(255, 211, 63, .12);
    border-radius: 3px 3px 6px 6px;
    margin: 0 auto;
    background: radial-gradient(circle at 50% 80%, rgba(255, 211, 63, .12) 0%, transparent 60%);
    animation: lanternFlicker 2.5s ease-in-out infinite;
}

.deco-star-row {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    pointer-events: none;
    z-index: 1;
}

.deco-star {
    font-size: 10px;
    color: rgba(255, 211, 63, .12);
    animation: starTwinkle 2s ease-in-out infinite;
}

.deco-star:nth-child(2) {
    animation-delay: .4s;
}

.deco-star:nth-child(3) {
    animation-delay: .8s;
}

.deco-star:nth-child(4) {
    animation-delay: 1.2s;
}

.deco-star:nth-child(5) {
    animation-delay: 1.6s;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: .1;
    }

    50% {
        opacity: .3;
    }
}

.deco-side-quote-sm {
    position: absolute;
    top: 15%;
    right: 5%;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    color: rgba(255, 211, 63, .07);
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    pointer-events: none;
    z-index: 1;
}

.deco-quote-mark {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-size: 60px;
    color: rgba(255, 211, 63, .04);
    pointer-events: none;
    z-index: 0;
    line-height: .6;
}

.deco-quote-mark-left {
    top: 10%;
    left: 3%;
}

.deco-quote-mark-right {
    bottom: 10%;
    right: 3%;
    transform: rotate(180deg);
}

/* SECTIONS */
.section-padding {
    padding: 110px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-promo-section {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.book-promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 211, 63, .08), transparent 70%);
    pointer-events: none;
}

.book-promo-row {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.book-cover-side {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.book-cover-wrapper {
    position: relative;
}

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

.book-cover {
    width: 100%;
    height: 100%;
    border: 2px solid var(--border);
    box-shadow: 12px 12px 30px rgba(0, 0, 0, .4);
    /* position: relative; */
}

.coming-soon-panel {
    position: relative;
    z-index: 1;
}

.coming-soon-panel::after {
    z-index: 0 !important;
}

.coming-soon-content-book {
    position: relative;
    z-index: 2 !important;
}

.coming-soon-text-book {
    position: relative;
    z-index: 2;
    display: inline-block;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 211, 63, 0.4);
}

.promo-side {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 50px;
}

.book-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 15px;
}

.book-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.promo-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 8px;
}

.promo-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 211, 63, 0.2);
}

.promo-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin-bottom: 30px;
}

.promo-content-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    align-items: stretch;
}

.promo-text-col {
    flex: 1;
    min-width: 0;
}

.promo-description {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.85;
    margin: 0;
}

.promo-buttons-col {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
    gap: 14px;
    transition: .4s ease;
}

.promo-buttons-col:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 211, 63, .3);
}

.availability {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.availability-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(46, 204, 113, .6);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(46, 204, 113, .6);
    }

    50% {
        box-shadow: 0 0 20px rgba(46, 204, 113, .9);
    }
}

.availability-text {
    font-size: 13px;
    font-weight: 600;
    color: #2ecc71;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gold);
    color: #111;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: .4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255, 211, 63, .5);
    color: #111;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: .4s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #111;
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.coming-soon-panel {
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.coming-soon-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255, 211, 63, .06) 10%, transparent 20%);
    animation: rotateGlow 6s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.coming-soon-panel::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-card);
    border-radius: 19px;
    z-index: 0;
}

.coming-soon-text-book {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--gold) 60%, var(--gold-dark) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
    margin-bottom: 24px;
}

@keyframes shimmerText {

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

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

.coming-soon-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
}

.themes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.theme-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    background: rgba(255, 211, 63, .08);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    transition: .4s ease;
}

.theme-tag:hover {
    background: rgba(255, 211, 63, .15);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 211, 63, .15);
}

.theme-tag::before {
    content: '✦';
    font-size: 8px;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, .4);
    animation: rippleAnim .6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px 20px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.timeline-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.newsletter-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(255, 211, 63, .05));
}

.footer {
    background: #090705;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: var(--muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer input {
    flex: 1;
    min-width: 250px;
    background: #241a11;
    border: 1px solid var(--border);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
}

.footer hr {
    margin: 40px 0;
    border-color: rgba(255, 255, 255, .08);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 20px;
}

.accordion-item {
    border: 1px solid var(--border);
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-secondary) !important;
    color: var(--cream) !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #241b10 !important;
    color: var(--gold) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: #15100a;
    color: var(--muted);
}

.arrow {
    color: var(--gold);
    font-size: 20px;
}

.no-match {
    color: #aaa;
    justify-content: center;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination li a {
    background: #fff;
    border: 2px solid #e5e7eb;
    color: var(--muted);
}

.pagination li a:hover {
    background: var(--cream);
    border-color: var(--border);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pagination li.active span {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--cream);
    font-weight: 600;
    box-shadow: 0 4px 12px var(--shadow);
}

.pagination li.disabled span {
    background: var(--bg);
    border: 2px solid var(--border);
    color: var(--uted);
    cursor: not-allowed;
}

.page-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    vertical-align: middle;
}

@media(max-width:991px) {
    .book-promo-row {
        flex-direction: column;
    }

    .book-cover-side {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .promo-side {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 40px;
    }

    .promo-title,
    .promo-subtitle {
        font-size: 2rem;
    }

    .promo-content-row {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-buttons-col {
        flex: 0 0 auto;
    }

    .coming-soon-panel {
        min-height: 260px;
        padding: 40px 25px;
    }

    .deco-corner,
    .deco-dot,
    .deco-particles-left-mini,
    .deco-particles-right-mini,
    .deco-sparkle-side,
    .deco-icon,
    .deco-line-h,
    .deco-orb-sm,
    .deco-mountain-sm,
    .deco-monogram-sm,
    .deco-dotted-v-left,
    .deco-dotted-v-right,
    .deco-lantern-sm,
    .deco-star-row,
    .deco-side-quote-sm,
    .deco-quote-mark,
    .book-item-number {
        display: none !important;
    }
}

@media(max-width:576px) {
    .book-promo-section {
        border-radius: 20px;
    }

    .book-cover-side,
    .promo-side {
        padding: 25px;
    }

    .book-cover {
        width: 200px;
        height: 300px;
        border-radius: 14px;
    }

    .promo-title,
    .promo-subtitle {
        font-size: 1.5rem;
    }

    .promo-buttons-col {
        padding: 20px;
    }

    .themes-row {
        justify-content: center;
    }

    .coming-soon-panel {
        min-height: 220px;
        padding: 35px 20px;
    }

    .timeline-item {
        min-width: 100%;
    }
}

/* BOOK-FAQ PAGE */
.book-faq-hero {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    background: url('../images/Background.png') no-repeat center / cover;
}

.book-faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 12, 8, .7) 0%, rgba(15, 12, 8, .95) 100%);
}

.book-faq-hero .book-section-title {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.book-faq-subtitle {
    position: relative;
    z-index: 2;
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.book-faq-hero-divider {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 25px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 211, 63, .4);
}

.book-faq-search-wrap {
    max-width: 550px;
    margin: -35px auto 0;
    position: relative;
    z-index: 10;
}

.book-faq-search-wrap input {
    width: 100%;
    padding: 16px 55px 16px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 60px;
    color: #fff;
    font-size: 1rem;
    transition: .4s;
}

.book-faq-search-wrap input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(255, 211, 63, .15);
}

.book-faq-search-wrap input::placeholder {
    color: rgba(216, 209, 196, .4);
}

.book-faq-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.2rem;
    pointer-events: none;
}

.book-faq-section {
    padding: 80px 0 120px;
    background: var(--bg);
}

.book-faq-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.book-faq-tab {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: transparent;
    color: var(--muted);
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: .4s;
}

.book-faq-tab:hover,
.book-faq-tab.book-active {
    background: rgba(255, 211, 63, .1);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 211, 63, .15);
}

.book-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.book-faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-secondary);
    overflow: hidden;
    transition: .4s;
}

.book-faq-item:hover {
    border-color: rgba(255, 211, 63, .3);
    box-shadow: 0 0 25px rgba(255, 211, 63, .08);
}

.book-faq-item.book-open {
    border-color: rgba(255, 211, 63, .35);
    background: rgba(255, 211, 63, .03);
    box-shadow: 0 0 35px rgba(255, 211, 63, .1);
}

.book-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: none;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: .4s;
    line-height: 1.5;
}

.book-faq-question:hover {
    color: var(--gold);
}

.book-faq-item.book-open .book-faq-question {
    color: var(--gold);
}

.book-faq-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 211, 63, .3);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    font-weight: 700;
    transition: .4s;
}

.book-faq-item.book-open .book-faq-num,
.book-faq-item:hover .book-faq-num {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 211, 63, .4);
}

.book-faq-arrow {
    flex-shrink: 0;
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: .4s;
}

.book-faq-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: .4s;
}

.book-faq-item.book-open .book-faq-arrow {
    background: rgba(255, 211, 63, .15);
    border-color: rgba(255, 211, 63, .3);
    transform: rotate(180deg);
}

.book-faq-item.book-open .book-faq-arrow svg {
    stroke: var(--gold);
}

.book-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease, padding .3s ease;
}

.book-faq-answer-inner {
    padding: 0 28px 24px 82px;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.8;
}

.book-faq-answer-inner a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 211, 63, .3);
    transition: .3s;
}

.book-faq-answer-inner a:hover {
    border-bottom-color: var(--gold);
}

.book-faq-item.book-open .book-faq-answer-inner {
    position: relative;
}

.book-faq-item.book-open .book-faq-answer-inner::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 211, 63, .3);
}

.book-faq-no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.book-faq-no-results.book-show {
    display: block;
}

.book-no-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: .5;
}

.book-faq-no-results p {
    color: var(--muted);
    font-size: 1.05rem;
}

.book-faq-cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 211, 63, .04) 100%);
}

.book-faq-cta h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
}

.book-faq-cta p {
    color: var(--muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.book-faq-cta .book-btn-gold {
    padding: 14px 40px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .book-faq-hero .book-section-title {
        font-size: 2.4rem;
    }

    .book-faq-question {
        padding: 18px 20px;
        font-size: .95rem;
        gap: 14px;
    }

    .book-faq-answer-inner {
        padding: 0 20px 20px 70px;
        font-size: .92rem;
    }

    .book-faq-item.book-open .book-faq-answer-inner::before {
        left: 35px;
    }

    .book-faq-tabs {
        gap: 8px;
    }

    .book-faq-tab {
        padding: 8px 18px;
        font-size: .82rem;
    }
}

@media (max-width: 576px) {
    .book-faq-hero .book-section-title {
        font-size: 1.9rem;
    }

    .book-faq-question {
        padding: 16px 16px;
        font-size: .9rem;
        gap: 12px;
    }

    .book-faq-num {
        width: 30px;
        height: 30px;
        font-size: .75rem;
    }

    .book-faq-answer-inner {
        padding: 0 16px 18px 58px;
    }

    .book-faq-item.book-open .book-faq-answer-inner::before {
        left: 28px;
    }

    .book-faq-search-wrap {
        margin: -25px 15px 0;
    }
}

.book-faq-section {
    position: relative;
    overflow: hidden;
}

.book-faq-icons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.book-faq-icon {
    position: absolute;
    color: var(--gold);
    animation: bookFaqIconFloat 6s ease-in-out infinite;
    filter: blur(0.3px);
}

@keyframes bookFaqIconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: var(--icon-opacity, 0.2);
    }

    25% {
        transform: translateY(-12px) rotate(15deg) scale(1.15);
    }

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

    75% {
        transform: translateY(-18px) rotate(8deg) scale(1.1);
    }
}

.book-faq-search-wrap,
.book-faq-tabs,
.book-faq-list,
.book-faq-no-results {
    position: relative;
    z-index: 1;
}


/* ===== SEARCH CONTAINER ===== */
.book-search-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 2;
}

#live-book-search {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}

#live-book-search:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-spinner {
    position: absolute;
    right: 14px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== DROPDOWN ===== */
.search-dropdown-modern {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 9999;
    overflow: hidden;
    animation: dropdownSlide 0.15s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: #9ca3af;
    font-size: 14px;
}

/* ===== SEARCH ===== */
.book-search-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
}

.search-icon {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 2;
}

#live-book-search {
    width: 100%;
    padding: 14px 18px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}

#live-book-search:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-spinner {
    position: absolute;
    right: 18px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== DROPDOWN ===== */
.search-dropdown-modern {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 700px;
    /* Match input max-width */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 9999;
    overflow: hidden;
    animation: dropdownSlide 0.15s ease-out;
}

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

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

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    color: #9ca3af;
    font-size: 14px;
}

/* ===== SEARCH ITEMS ===== */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.15s ease;
}

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

.search-result-item:hover,
.search-result-item.active {
    background: #eff6ff;
}

.search-result-item:hover .result-title,
.search-result-item.active .result-title {
    color: #2563eb;
}

.result-cover {
    width: 44px;
    height: 60px;
    background: #e5e7eb;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #9ca3af;
    overflow: hidden;
}

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

.result-info {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 4px 0 0 0;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-arrow {
    color: #d1d5db;
    flex-shrink: 0;
    transition: color 0.15s;
}

.search-result-item:hover .result-arrow {
    color: #3b82f6;
}

/* ===== BOOK CARD HIGHLIGHT ===== */
.book-card-highlight {
    animation: bookFlash 2s ease;
    border-radius: 8px;
}

@keyframes bookFlash {
    0% {
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.2);
        transform: scale(1.01);
    }

    50% {
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }

    100% {
        box-shadow: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .book-search-container {
        padding: 0 12px;
    }

    .search-input-wrapper,
    .search-dropdown-modern {
        max-width: 100%;
    }

    #live-book-search {
        font-size: 16px;
    }
}

/* =========================================
   BOOK DETAIL LAYOUT
   ========================================= */

.book-promo-row {
    display: flex;
    align-items: stretch;
    flex-direction: row;
}

.book-cover-side {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    border-bottom: none;
}

.promo-side {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 50px;
}

/* Description takes full width of right side */
.promo-text-col {
    width: 100%;
}

.promo-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.9;
    margin: 0;
}

/* Small Buy Now card below description */
.promo-buttons-col {
    width: 420px;
    max-width: 420px;

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    border-radius: 16px;

    padding: 18px;
    gap: 10px;

    margin-top: 25px;

    transition: .4s ease;
}

.promo-buttons-col:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 211, 63, .3);
}

/* Smaller availability section */
.promo-buttons-col .availability {
    padding-bottom: 10px;
    margin-bottom: 2px;
    gap: 8px;
}

.promo-buttons-col .availability-dot {
    width: 8px;
    height: 8px;
}

.promo-buttons-col .availability-text {
    font-size: 11px;
}

/* Smaller buttons */
.promo-buttons-col .btn-gold,
.promo-buttons-col .btn-outline-gold {
    width: 100%;
    padding: 10px 14px;
    font-size: 11px;
}

/* =========================================
   BOOK COVER
   ========================================= */

.book-cover {
    width: 315px;
    height: auto;
}

.book-cover img,
.book-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* =========================================
   TABLET / MOBILE
   ========================================= */

@media (max-width: 991px) {

    .book-promo-row {
        flex-direction: column;
    }

    .book-cover-side {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 40px;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .promo-side {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 40px;
    }

    .promo-buttons-col {
        width: 220px;
        max-width: 220px;
    }
}

@media (max-width: 576px) {

    .book-cover-side,
    .promo-side {
        padding: 25px;
    }

    .book-cover {
        width: 200px;
    }

    .promo-description {
        font-size: 1rem;
        line-height: 1.8;
    }

    .promo-buttons-col {
        width: 100%;
        max-width: 100%;
        padding: 18px;
    }
}

/* =========================================
   BOOK DETAIL - TWO COLUMN LAYOUT
   ========================================= */

.book-promo-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}


/* LEFT SIDE - COVER */
.book-cover-side {
    flex: 0 0 40%;
    max-width: 40%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    border-right: 1px solid var(--border);
    border-bottom: none;
}


/* RIGHT SIDE - DESCRIPTION */
.promo-side {
    flex: 0 0 60%;
    max-width: 60%;

    padding: 50px;
}


/* COVER SIZE */
.book-cover {
    width: 305px;
}

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


/* DESCRIPTION */
.promo-text-col {
    width: 100%;
}

.promo-description {
    margin: 0;

    line-height: 1.9;
}


/* =========================================
   SMALL BUY CARD
   ========================================= */

.book-buy-card {
    width: 410px;
    max-width: 100%;

    margin-top: 25px;

    padding: 18px;

    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* Smaller buttons inside buy card */
.book-buy-card .btn-gold,
.book-buy-card .btn-outline-gold {
    width: 100%;
}


/* =========================================
   READ MORE
   ========================================= */

.read-more-btn {
    display: inline-block;

    margin-top: 5px;

    padding: 3px 8px;

    background: transparent;

    border: 1px solid var(--border);
    border-radius: 4px;

    color: var(--gold);

    font-family: 'Poppins', sans-serif;
    font-size: 12px;

    cursor: pointer;

    transition: .3s ease;
}

.read-more-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}


/* =========================================
   DESCRIPTION COLLAPSE
   ========================================= */

.book-description.collapsed {
    max-height: 220px;
    overflow: hidden;

    position: relative;
    font-size: 14px;
}

.book-description.collapsed::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 60px;

    background: linear-gradient(
        to bottom,
        transparent,
        var(--card)
    );

    pointer-events: none;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 991px) {

    .book-promo-row {
        flex-direction: column;
    }

    .book-cover-side {
        flex: 0 0 100%;
        max-width: 100%;

        border-right: none;
        border-bottom: 1px solid var(--border);

        padding: 40px;
    }

    .promo-side {
        flex: 0 0 100%;
        max-width: 100%;

        padding: 40px;
    }

    .book-buy-card {
        width: 100%;
        max-width: 410px;
    }
}


@media (max-width: 576px) {

    .book-cover-side {
        padding: 25px;
    }

    .promo-side {
        padding: 25px;
    }

    .book-cover {
        width: 230px;
    }

    .book-buy-card {
        width: 100%;
    }
}
