:root {
    --gold: #d4af37;
    --soft-text: #d8e2f0;
    --muted-text: #a9b7cf;
    --navy: #050814;

    --header-bg: rgba(5, 8, 20, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Raleway", sans-serif;
    color: #e9eef7;
    background-color: var(--navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.nav__title,
.nav__link {
    color: var(--gold);
    text-decoration: none;
}

.nav__title {
    font-family: "Playfair Display", serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.nav__links {
    font-family: "Playfair Display", serif;
    font-weight: 900;
    display: flex;
    gap: 16px;
}

.nav__link {
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 0 16px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("Resources/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(5, 8, 20, 0.40) 0%,
            rgba(5, 8, 20, 0.70) 50%,
            rgba(5, 8, 20, 0.95) 100%);
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    /* max-w-4xl */
    margin: 0 auto;
    padding: 0 16px;
}

.hero__title {
    margin: 0 0 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-size: clamp(3rem, 6vw, 6rem);
}

.hero__subtitle {
    margin: 0 0 48px;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(1.125rem, 1.8vw, 1.25rem);
    letter-spacing: 0.30em;
    color: var(--muted-text);
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 2px;
    background: var(--gold);
    color: #0b0f1f;
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

.section {
    padding: 80px 20px;
}

.section h2 {
    color: var(--gold);
    font-weight: 700;
    margin-top: 0;
}

#reviews,
#books {
    scroll-margin-top: 80px;
}

.text-gold-gradient {
    background-image: linear-gradient(135deg,
            #d4af37,
            #f3da8a,
            #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.books {
    padding-top: 96px;
    padding-bottom: 96px;
}

.books__container {
    max-width: 72rem;
    /* close to max-w-6xl */
    margin: 0 auto;
    padding: 0 16px;
}

.section-divider {
    height: 1px;
    width: 100%;
    margin: 64px auto 64px;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.35),
            transparent);
}

.books__title {
    text-align: center;
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* tracking-tight */
    text-transform: uppercase;
}

.books__status {
    text-align: center;
    margin: 0 0 64px;
    color: var(--muted-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    /* tracking-widest-ish */
    font-weight: 600;
}

.book {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

@media (min-width: 768px) {
    .book {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }
}

.book__cover-wrap {
    flex-shrink: 0;
    width: 380px;
    /* w-64 */
}

@media (min-width: 768px) {
    .book__cover-wrap {
        width: 470px;
        /* md:w-80 */
    }
}

.book__cover {
    width: 100%;
    display: block;
    border-radius: 2px;
    /* rounded-sm */

    /* subtle "back-glow" + depth */
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(212, 175, 55, 0.12);
    transition: box-shadow 0.5s ease;
}

.book__cover:hover {
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.7),
        0 0 75px rgba(212, 175, 55, 0.18);
}

.book__content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .book__content {
        text-align: left;
    }
}

.book__quote {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin: 0 0 18px;
    color: #e9eef7;
}

.book__blurb {
    margin: 0 0 28px;
    color: var(--muted-text);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 65ch;
}

@media (min-width: 768px) {
    .book__blurb {
        max-width: 70ch;
    }
}

/* Make the book button match the Tailwind feel a bit closer */
.book__btn {
    border-radius: 2px;
    /* rounded-sm */
    letter-spacing: 0.08em;
    /* tracking-wider */
    padding: 14px 34px;
    /* slightly tighter than hero button if desired */
}

/* ---------------------------
   SECOND BOOK (spacing + title + placeholder cover)
   --------------------------- */

/* Adds vertical separation between Torment and Bait blocks */
.book--spaced {
    margin-top: 80px;
}

/* Smaller title inside the book content for subsequent books */
.book__booktitle {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    /* tracking-tight */
    text-transform: uppercase;
}

/* Inline status (aligned with content instead of centered section header style) */
.books__status--inline {
    text-align: left;
    margin: 0 0 18px;
}

/* Mobile: keep status centered when content is centered */
@media (max-width: 767px) {
    .books__status--inline {
        text-align: center;
    }
}

/* Placeholder cover box (same size as cover image) */
.book__cover-placeholder {
    width: 100%;
    aspect-ratio: 2 / 3;
    /* book cover proportion */
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background:
        radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(212, 175, 55, 0.10);
    display: grid;
    place-items: center;
}

/* Placeholder text styling */
.book__placeholder-text {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.8rem;
    color: var(--muted-text);
    padding: 12px 14px;
    text-align: center;
}

/* Make the dead-end button feel "inactive" but still consistent */
.book__content a[aria-disabled="true"] {
    opacity: 0.85;
}

.book__content a[aria-disabled="true"]:hover {
    opacity: 0.85;
    /* no hover change */
    cursor: default;
}

/* ---------------------------
   Reader Review / Testimonial
   --------------------------- */

.review {
    margin: 26px 0 26px;
    padding: 18px 18px 16px;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(0, 0, 0, 0.10)
    );
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

/* subtle gold glow accent */
.review::before {
    content: "";
    position: absolute;
    inset: -60px -60px auto auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 60%);
    transform: rotate(20deg);
    pointer-events: none;
}

.review__label {
    margin: 0 0 10px;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-text);
    font-weight: 700;
}

.review__text {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e9eef7;
}

.review__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color: var(--soft-text);
    font-size: 0.95rem;
    margin-bottom: 18px; /* 👈 adds space before READ NOW */
}

.review__name {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.review__source {
    color: var(--muted-text);
}

.review__stars {
    color: var(--gold);
    letter-spacing: 0.12em;
    font-size: 0.95rem;
}

/* Keeps the review aligned nicely with centered mobile layout */
@media (max-width: 767px) {
    .review {
        text-align: left; /* looks more "testimonial" even if content is centered */
    }
}

/* =========================================================
   ✅ NEW FEATURE (INDEX BOOK REVIEWS): Scrollable review menu
   ========================================================= */

.review__scroll {
    max-height: 260px;      /* adjust this if you want taller/shorter */
    overflow-y: auto;
    padding-right: 10px;    /* room for scrollbar */
}

.review-item {
    padding: 12px 0;
    border-top: 2px solid rgba(212, 175, 55, 0.35);
}

.review-item:first-child {
    border-top: none;
    padding-top: 0;
}

.review-item__text {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #e9eef7;
}

.review-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color: var(--soft-text);
    font-size: 0.92rem;
}

.review-item__name {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.review-item__source {
    color: var(--muted-text);
}

.review__scroll::-webkit-scrollbar {
    width: 10px;
}

.review__scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.review__scroll::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 10px;
}

.review__scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.55);
}

/* ---------------------------
   Reviews Section (below Books)
   --------------------------- */

.reviews {
    padding-top: 96px;
    padding-bottom: 96px;
}

.reviews__title {
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.reviews__subtitle {
    text-align: center;
    margin: 0 auto 56px;
    max-width: 70ch;
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1100px) {
    .reviews__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(0, 0, 0, 0.10)
    );
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    padding: 18px 18px 16px;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: -70px -70px auto auto;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 60%);
    transform: rotate(18deg);
    pointer-events: none;
}

.review-card__stars {
    color: var(--gold);
    letter-spacing: 0.14em;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.review-card__text {
    margin: 0 0 14px;
    color: #e9eef7;
    font-size: 1.02rem;
    line-height: 1.75;
    font-family: "Playfair Display", serif;
    font-style: italic;
}

.review-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin: 0;
    color: var(--soft-text);
    font-size: 0.95rem;
}

.review-card__name {
    font-weight: 700;
}

.review-card__source {
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

/* ---------------------------
   About Page (two-column)
   --------------------------- */

.about-page__header {
    text-align: center;
    margin-bottom: 46px;
}

.about-page__title {
    margin: 0 0 12px;
    font-size: clamp(2.25rem, 3.6vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.about-page__subtitle {
    margin: 0 auto;
    max-width: 70ch;
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: 360px 1fr; /* left column fixed-ish, right flexible */
        align-items: start;
        gap: 34px;
    }
}

/* Left column */
.about-photo {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.12));
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-card {
    margin-top: 18px;
    padding: 18px 18px 16px;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.10));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    inset: -70px -70px auto auto;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 60%);
    transform: rotate(18deg);
    pointer-events: none;
}

.about-card__title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--gold);
}

.about-card__text {
    margin: 0 0 14px;
    color: var(--muted-text);
    line-height: 1.7;
}

.about-card__hint {
    margin: 12px 0 0;
    color: var(--muted-text);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

/* Social links */
.socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.socials__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.20);
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.04);
    transition: opacity 0.2s ease, background 0.2s ease;
}

.socials__link:hover {
    opacity: 0.92;
    background: rgba(255, 255, 255, 0.06);
}

.socials__link[aria-disabled="true"] {
    opacity: 0.85;
    cursor: default;
}

/* Newsletter */
.newsletter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.newsletter__input {
    padding: 14px 14px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.18);
    color: #e9eef7;
    outline: none;
    font-family: "Raleway", sans-serif;
}

.newsletter__input::placeholder {
    color: rgba(169, 183, 207, 0.85);
}

.newsletter__btn {
    width: 100%;
    padding: 14px 20px;
}

/* Right column */
.about-content {
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 22px;
}

@media (min-width: 900px) {
    .about-content {
        padding: 28px;
    }
}

.about-block__title {
    margin: 0 0 14px;
    font-size: 1.9rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.about-block__text {
    margin: 0 0 14px;
    color: var(--muted-text);
    line-height: 1.9;
    font-size: 1.05rem;
    max-width: 75ch;
}

.about-list {
    margin: 12px 0 18px;
    padding-left: 18px;
    color: var(--soft-text);
    line-height: 1.9;
}

.about-list li {
    margin: 6px 0;
}

.about-divider {
    height: 1px;
    width: 100%;
    margin: 26px 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.25),
        transparent
    );
}

.about-back {
    margin-top: 8px;
}

/* Accessibility helper (screen-reader-only) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Give the FAQ page a little more vertical breathing room */
.faq.section {
    padding-top: 110px;
    padding-bottom: 110px;
}

/* Space out the top header area a bit */
.faq__header {
    margin-bottom: 34px; /* was 26px */
}


.faq__title {
    font-size: clamp(2.75rem, 4.2vw, 3.4rem);
}

.faq__subtitle {
    font-size: 1.15rem;
    line-height: 1.85;
}


.faq__toc {
    margin: 28px 0 60px; /* was 22px 0 44px */
    gap: 12px;           /* slightly roomier */
}

/* Make each subject section feel more separated */
.faq-section {
    margin-top: 10px;
}

.faq-section__title {
    margin: 0 0 22px; /* was 18px */
    font-size: 2rem;
}

/* Increase spacing between FAQ cards */
.faq-section__grid {
    gap: 18px; /* was 14px */
}

@media (min-width: 900px) {
    .faq-section__grid {
        gap: 20px; /* was 16px */
    }
}

/* Give each item a touch more padding */
.faq-item__question {
    padding: 18px 18px; /* was 16px */
    font-size: 1.2rem;
    font-weight: 600;
}

/* Answer area: more padding + clearer separation */
.faq-item__answer {
    padding: 0 18px 20px; /* was 0 16px 16px */
}

/* Answer label styling */
.faq-item__answer-label {
    margin: 6px 0 10px;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-text);
    font-weight: 800;
}

/* Give answers a tiny bit more readability */
.faq-item__answer p {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.9;
}

/* Make the "divider lines" between sections a bit roomier */
.about-divider {
    margin: 44px 0; /* was 26px 0 */
}
