/* =========================================
   GRIM SORCERY SERIES™
   Main Stylesheet
   ========================================= */


/* ---------- BASIC RESET ---------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0b0c;
    color: #e8e3da;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ---------- GENERAL ---------- */

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.section {
    padding: 100px 0;
}

.section-label {
    color: #b79a63;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.25em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h1,
h2,
h3,
.logo,
.footer-logo {
    font-family: Georgia, "Times New Roman", serif;
}

h2 {
    color: #f1ede5;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: normal;
    line-height: 1.1;
}

p {
    color: #bdb8af;
}


/* ---------- HEADER ---------- */

.site-header {
    background: rgba(7, 7, 8, 0.96);
    border-bottom: 1px solid rgba(183, 154, 99, 0.18);
    position: relative;
    z-index: 20;
}

.nav-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 82px;
}

.logo {
    color: #eee9df;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

.logo span {
    color: #b79a63;
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    margin-top: 7px;
}

.main-nav {
    align-items: center;
    display: flex;
    gap: 27px;
}

.main-nav a {
    color: #aaa59c;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #d1b47c;
}

.menu-button {
    background: none;
    border: 0;
    color: #d1b47c;
    cursor: pointer;
    display: none;
    font-size: 1.7rem;
}


/* ---------- HERO ---------- */

.hero {
    align-items: center;
    background:
        radial-gradient(circle at center, rgba(85, 66, 38, 0.28), transparent 45%),
        linear-gradient(180deg, #111011 0%, #090909 100%);
    display: flex;
    min-height: 720px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hero::before {
    border: 1px solid rgba(183, 154, 99, 0.12);
    content: "";
    height: 560px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 560px;
}

.hero-overlay {
    background:
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.55) 70%);
    inset: 0;
    position: absolute;
}

.hero-content {
    margin: auto;
    max-width: 900px;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: #b79a63;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.35em;
    margin-bottom: 25px;
}

.hero h1 {
    color: #f1ede5;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 0.95;
}

.hero h1 span {
    color: #b79a63;
    display: block;
    font-size: 0.34em;
    letter-spacing: 0.35em;
    margin-top: 18px;
}

.hero-divider {
    background: #b79a63;
    height: 1px;
    margin: 38px auto;
    width: 90px;
}

.book-series-title {
    color: #eee9df;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    letter-spacing: 0.18em;
}

.book-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    margin-top: 8px;
    text-transform: uppercase;
}

.available {
    color: #d1b47c;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin: 25px 0;
    text-transform: uppercase;
}


/* ---------- BUTTONS ---------- */

.buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.button {
    border: 1px solid #b79a63;
    color: #e8e3da;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.13em;
    padding: 14px 25px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.button span {
    color: #b79a63;
}

.button:hover {
    background: #b79a63;
    color: #0b0b0c;
}

.button:hover span {
    color: #0b0b0c;
}


/* ---------- INTRO ---------- */

.intro {
    background: #0e0e0f;
    text-align: center;
}

.intro h2 {
    margin-bottom: 25px;
}

.intro .lead {
    color: #d1b47c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    margin-bottom: 25px;
}


/* ---------- LINKS ---------- */

.text-link,
.card-link {
    color: #c7a96e;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    margin-top: 25px;
    text-transform: uppercase;
}

.text-link:hover,
.card-link:hover {
    color: #eee9df;
}


/* ---------- BOOKS ---------- */

.books-preview {
    background: #0b0b0c;
}

.books-preview .section-heading {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 50px;
    text-align: center;
}

.section-heading .text-link {
    margin-bottom: 7px;
}

.books-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
}

.book-card {
    background: #111112;
    border: 1px solid rgba(183, 154, 99, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.book-card:hover {
    border-color: rgba(183, 154, 99, 0.5);
    transform: translateY(-5px);
}

.book-image {
    align-items: center;
    aspect-ratio: 2 / 3;
    display: flex;
    justify-content: center;
    position: relative;
}

.placeholder {
    background:
        linear-gradient(135deg, #171719, #0d0d0e);
    border-bottom: 1px solid rgba(183, 154, 99, 0.15);
    overflow: hidden;
}

.placeholder::before {
    border: 1px solid rgba(183, 154, 99, 0.16);
    content: "";
    height: 65%;
    position: absolute;
    transform: rotate(45deg);
    width: 65%;
}

.placeholder span {
    color: #8c877e;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    position: relative;
    text-transform: uppercase;
}

.placeholder small {
    bottom: 15px;
    color: #68645e;
    font-size: 0.65rem;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.book-info {
    padding: 25px;
}

.book-number {
    color: #b79a63;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
}

.book-info h3 {
    color: #eee9df;
    font-size: 1.45rem;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 12px;
}

.book-info p:not(.book-number) {
    font-size: 0.9rem;
}


/* ---------- AUTHORS ---------- */

.authors-preview {
    background: #111112;
}

.author-layout {
    align-items: center;
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr 1fr;
}

.author-image {
    aspect-ratio: 1 / 1;
}

.author-text h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}


/* ---------- FINAL CTA ---------- */

.final-cta {
    background:
        radial-gradient(circle at center, rgba(86, 65, 37, 0.2), transparent 60%),
        #0b0b0c;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 25px;
}

.final-cta .button {
    margin-top: 35px;
}


/* ---------- FOOTER ---------- */

.site-footer {
    background: #070708;
    border-top: 1px solid rgba(183, 154, 99, 0.15);
    padding: 40px 0;
}

.footer-content {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    color: #d1b47c;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
}

.copyright {
    color: #65615b;
    font-size: 0.7rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #858078;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: #d1b47c;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .menu-button {
        display: block;
    }

    .main-nav {
        background: #0b0b0c;
        border-top: 1px solid rgba(183, 154, 99, 0.15);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 25px;
        position: absolute;
        right: 0;
        top: 82px;
    }

    .main-nav.open {
        display: flex;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

    .author-layout {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .hero {
        min-height: 650px;
    }

    .hero::before {
        height: 350px;
        width: 350px;
    }

    .section {
        padding: 70px 0;
    }
}


/* ---------- INNER PAGES ---------- */

.page-hero {
    background:
        radial-gradient(circle at center, rgba(85, 66, 120, 0.18), transparent 60%),
        #0b0b0c;
    border-bottom: 1px solid rgba(183, 154, 99, 0.12);
    padding: 20px 0;
    text-align: center;
}

.page-hero h1 {
    color: #f1ede5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: normal;
    line-height: 1;
    margin-bottom: 25px;
}

.page-hero h1 {
    text-align: center;
}

.page-hero .section-label,
.page-hero p {
    text-align: center;
}

.page-hero p:last-child {
    font-size: 1.05rem;
}


/* ---------- BOOK DETAIL ---------- */

.book-detail {
    background: #0b0b0c;
}

.book-detail-alt {
    background: #111112;
}

.book-detail-grid {
    align-items: center;
    display: grid;
    gap: 90px;
    grid-template-columns: 0.8fr 1.2fr;
}

.book-detail-grid.reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.book-detail-grid.reverse .large-book-cover {
    order: 2;
}

.large-book-cover {
    aspect-ratio: 2 / 3;
    max-width: 420px;
    width: 100%;
}

.large-book-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.character-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.book-detail-content h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.book-tagline {
    color: #b79a63;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.book-detail-content p:not(.book-number):not(.book-tagline) {
    margin-bottom: 18px;
}

.buy-buttons.left {
    justify-content: flex-start;
    margin-top: 30px;
}


/* ---------- COMING BOOK ---------- */

.coming-book {
    background:
        radial-gradient(circle at center, rgba(85, 66, 120, 0.22), transparent 55%),
        #0b0b0c;
    text-align: center;
}

.coming-book h2 {
    margin-bottom: 25px;
}

.coming-book .button {
    margin-top: 30px;
}


/* ---------- INNER PAGE MOBILE ---------- */

@media (max-width: 800px) {

    .book-detail-grid,
    .book-detail-grid.reverse {
        gap: 45px;
        grid-template-columns: 1fr;
    }

    .book-detail-grid.reverse .large-book-cover {
        order: 0;
    }

    .large-book-cover {
        margin: 0 auto;
    }

    .buy-buttons.left {
        justify-content: center;
    }

    .page-hero {
        padding: 85px 0;
    }

}


/* ---------- AUTHOR PROFILES ---------- */

.author-profile {
    background: #0b0b0c;
}

.author-profile-alt {
    background: #111112;
}

.author-profile-grid {
    align-items: center;
    display: grid;
    gap: 90px;
    grid-template-columns: 0.8fr 1.2fr;
}

.author-profile-grid.reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.author-profile-grid.reverse .author-photo {
    order: 2;
}

.author-photo {
    aspect-ratio: 1 / 1;
    max-width: 480px;
    width: 100%;
}

.author-profile-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.author-role {
    color: #b79a63;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.author-profile-content p:not(.section-label):not(.author-role) {
    margin-bottom: 18px;
}


/* ---------- AUTHORS TOGETHER ---------- */

.authors-together {
    background:
        radial-gradient(circle at center, rgba(85, 66, 120, 0.2), transparent 60%),
        #0b0b0c;
    text-align: center;
}

.authors-together h2 {
    margin-bottom: 25px;
}

.authors-together p:not(.section-label) {
    margin-bottom: 18px;
}


/* ---------- AUTHOR MOBILE ---------- */

@media (max-width: 800px) {

    .author-profile-grid,
    .author-profile-grid.reverse {
        gap: 45px;
        grid-template-columns: 1fr;
    }

    .author-profile-grid.reverse .author-photo {
        order: 0;
    }

    .author-photo {
        margin: 0 auto;
    }
}

```css
/* ---------- CHARACTERS ---------- */

.character-profile {
    background: #0b0b0c;
}

.character-profile-alt {
    background: #111112;
}

.character-grid {
    align-items: center;
    display: grid;
    gap: 90px;
    grid-template-columns: 0.9fr 1.1fr;
}

.character-grid.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.character-grid.reverse .character-image {
    order: 2;
}

.character-image {
    aspect-ratio: 4 / 5;
    max-width: 430px;
    width: 100%;
}

.character-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.character-tagline {
    color: #b79a63;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    margin-bottom: 28px;
}

.character-content p:not(.section-label):not(.character-tagline) {
    margin-bottom: 18px;
}


/* ---------- CHARACTER CTA ---------- */

.character-cta {
    background:
        radial-gradient(
            circle at center,
            rgba(85, 66, 120, 0.25),
            transparent 60%
        ),
        #0b0b0c;
    text-align: center;
}

.character-cta h2 {
    margin-bottom: 25px;
}

.character-cta .button {
    margin-top: 30px;
}


/* ---------- CHARACTER MOBILE ---------- */

@media (max-width: 800px) {

    .character-grid,
    .character-grid.reverse {
        gap: 45px;
        grid-template-columns: 1fr;
    }

    .character-grid.reverse .character-image {
        order: 0;
    }

    .character-image {
        margin: 0 auto;
    }
}


/* =========================
   REVIEWS PAGE
========================= */

.reviews-section {
    padding-top: 70px;
}

.reviews-intro {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.8;
}

.review-card {
    max-width: 850px;
    margin: 0 auto 45px;
    padding: 45px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(183, 154, 99, 0.25);
    position: relative;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 2px;
    background: var(--accent);
}

.review-book {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 18px;
}

.review-book span {
    display: block;
    margin-top: 5px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--accent);
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.review-card blockquote {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.review-author {
    margin-top: 30px;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.review-author span {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.review-card-featured {
    border-color: rgba(183, 154, 99, 0.45);
}

.reviews-cta {
    text-align: center;
    background: rgba(20, 15, 25, 0.35);
}

.reviews-cta h2 {
    margin-bottom: 20px;
}

.reviews-cta p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {

    .review-card {
        padding: 30px 24px;
    }

    .review-card blockquote {
        font-size: 1rem;
    }

    .review-stars {
        margin-bottom: 20px;
    }

}

/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.contact-intro p {
    line-height: 1.8;
    color: var(--text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    padding: 35px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(183, 154, 99, 0.25);
}

.contact-label {
    display: block;
    margin-bottom: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--accent);
}

.contact-card a {
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-message {
    text-align: center;
    background: rgba(20, 15, 25, 0.35);
}

.contact-message h2 {
    margin-bottom: 15px;
}

.contact-message p {
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-message .button {
    margin-top: 20px;
}


@media (max-width: 700px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-card {
        padding: 28px 24px;
    }

    .contact-card a {
        font-size: 0.95rem;
        word-break: break-word;
    }

}

/* =========================================
   GRIM SORCERY™
   PURPLE MAGIC THEME
   ========================================= */

:root {
    --bg-main: #08070b;
    --bg-secondary: #100b16;
    --bg-card: #15101c;

    --text-main: #eeeaf2;
    --text-muted: #b8afc2;

    --accent: #b58ad9;
    --accent-light: #d7b8f2;
    --accent-dark: #6f3d91;

    --purple-glow: rgba(181, 138, 217, 0.18);
    --purple-glow-strong: rgba(181, 138, 217, 0.32);
}


/* ---------- GLOBAL ---------- */

body {
    background: var(--bg-main);
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}


/* ---------- HEADER ---------- */

.site-header {
    background: rgba(5, 4, 8, 0.96);
    border-bottom-color: rgba(181, 138, 217, 0.20);
}

.logo {
    color: #eeeaf2;
}

.logo span {
    color: var(--accent);
}

.main-nav a {
    color: #aaa2b3;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-light);
}

.menu-button {
    color: var(--accent-light);
}


/* ---------- HERO ---------- */

.hero {
    background:
        radial-gradient(
            circle at center,
            rgba(111, 61, 145, 0.30),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #110d17 0%,
            #07060a 100%
        );
}

.hero::before {
    border-color: rgba(181, 138, 217, 0.15);
}

.eyebrow {
    color: var(--accent);
}

.hero h1 {
    color: #f1edf5;
}

.hero h1 span {
    color: var(--accent-light);
}

.hero-divider {
    background: var(--accent);
}

.book-series-title {
    color: #eeeaf2;
}

.available {
    color: var(--accent-light);
}


/* ---------- SECTION LABELS ---------- */

.section-label {
    color: var(--accent);
}


/* ---------- BUTTONS ---------- */

.button {
    border-color: var(--accent);
    color: var(--text-main);
}

.button span {
    color: var(--accent-light);
}

.button:hover {
    background: var(--accent);
    color: #08070b;
}

.button:hover span {
    color: #08070b;
}


/* ---------- INTRO ---------- */

.intro {
    background: #0d0a11;
}

.intro .lead {
    color: var(--accent-light);
}


/* ---------- LINKS ---------- */

.text-link,
.card-link {
    color: var(--accent);
}

.text-link:hover,
.card-link:hover {
    color: var(--accent-light);
}


/* ---------- BOOKS ---------- */

.books-preview {
    background: var(--bg-main);
}

.book-card {
    background: #110d16;
    border-color: rgba(181, 138, 217, 0.16);
}

.book-card:hover {
    border-color: rgba(181, 138, 217, 0.50);
}

.placeholder {
    background:
        linear-gradient(
            135deg,
            #1a1320,
            #0c090f
        );
    border-bottom-color: rgba(181, 138, 217, 0.18);
}

.placeholder::before {
    border-color: rgba(181, 138, 217, 0.18);
}

.placeholder span {
    color: #9b91a5;
}

.book-number {
    color: var(--accent);
}

.book-info h3 {
    color: #eeeaf2;
}


/* ---------- AUTHORS ---------- */

.authors-preview {
    background: #110d16;
}


/* ---------- FINAL CTA ---------- */

.final-cta {
    background:
        radial-gradient(
            circle at center,
            rgba(111, 61, 145, 0.25),
            transparent 60%
        ),
        var(--bg-main);
}


/* ---------- FOOTER ---------- */

.site-footer {
    background: #050408;
    border-top-color: rgba(181, 138, 217, 0.16);
}

.footer-logo {
    color: var(--accent-light);
}

.footer-links a:hover {
    color: var(--accent-light);
}


/* ---------- MOBILE MENU ---------- */

@media (max-width: 800px) {

    .main-nav {
        background: #0b0810;
        border-top-color: rgba(181, 138, 217, 0.18);
    }

}


/* ---------- INNER PAGES ---------- */

.page-hero {
    background:
        radial-gradient(
            circle at center,
            rgba(111, 61, 145, 0.25),
            transparent 60%
        ),
        var(--bg-main);
    border-bottom-color: rgba(181, 138, 217, 0.14);
}

.page-hero h1 {
    color: #f1edf5;
}


/* ---------- BOOK DETAILS ---------- */

.book-detail {
    background: var(--bg-main);
}

.book-detail-alt {
    background: #110d16;
}

.book-tagline {
    color: var(--accent-light);
}


/* ---------- COMING BOOK ---------- */

.coming-book {
    background:
        radial-gradient(
            circle at center,
            rgba(111, 61, 145, 0.30),
            transparent 55%
        ),
        var(--bg-main);
}


/* ---------- AUTHORS ---------- */

.author-profile {
    background: var(--bg-main);
}

.author-profile-alt {
    background: #110d16;
}

.author-role {
    color: var(--accent-light);
}

.authors-together {
    background:
        radial-gradient(
            circle at center,
            rgba(111, 61, 145, 0.25),
            transparent 60%
        ),
        var(--bg-main);
}


/* ---------- CHARACTERS ---------- */

.character-profile {
    background: var(--bg-main);
}

.character-profile-alt {
    background: #110d16;
}

.character-tagline {
    color: var(--accent-light);
}

.character-cta {
    background:
        radial-gradient(
            circle at center,
            rgba(111, 61, 145, 0.30),
            transparent 60%
        ),
        var(--bg-main);
}


/* ---------- REVIEWS ---------- */

.review-card {
    background: rgba(181, 138, 217, 0.025);
    border-color: rgba(181, 138, 217, 0.22);
}

.review-card::before {
    background: var(--accent);
}

.review-card-featured {
    border-color: rgba(181, 138, 217, 0.45);
}

.review-book,
.review-stars,
.review-author {
    color: var(--accent);
}

.review-card blockquote {
    color: var(--text-main);
}

.reviews-cta {
    background: rgba(20, 12, 28, 0.45);
}


/* ---------- CONTACT ---------- */

.contact-card {
    background: rgba(181, 138, 217, 0.025);
    border-color: rgba(181, 138, 217, 0.22);
}

.contact-label {
    color: var(--accent);
}

.contact-card a:hover {
    color: var(--accent-light);
}

.contact-message {
    background: rgba(20, 12, 28, 0.45);
}

/* =========================================
   GRIM SORCERY™
   CINZEL TYPOGRAPHY
   ========================================= */

/* Main typography */
body {
    font-family: "Inter", sans-serif;
}

/* Website identity + titles */
.logo,
.hero h1,
.page-hero h1,
.book-series-title,
.book-info h3,
.book-number,
.section-label,
.author-role,
.character-tagline,
.review-book,
.review-author,
.contact-label,
.footer-logo {
    font-family: "Cinzel", serif;
}

/* Main website logo */
.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Hero titles */
.hero h1 {
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero h1 span {
    font-weight: 600;
}

/* Page titles */
.page-hero h1 {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Section labels */
.section-label {
    font-weight: 600;
    letter-spacing: 0.16em;
}

/* Book titles */
.book-info h3 {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.book-series-title {
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* Character / author labels */
.author-role,
.character-tagline {
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* Reviews */
.review-book {
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Footer */
.footer-logo {
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* =========================================
   INNER PAGE TITLE SIZE
   ========================================= */

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: 0.04em;
}

/* =========================================
   AUTHOR NAMES
   ========================================= */

.author-profile-content h2 {
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #eeeaf2;
}

/* =========================================
   HERO INTRO TAGLINE
   ========================================= */

.intro h2 {
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* =========================================
   GRIM SORCERY™
   CINZEL FOR ALL TITLES
   ========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cinzel", serif;
}

/* Title styling */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* =========================================
   GRIM SORCERY™
   POPPINS BODY TEXT
   ========================================= */

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

/* =========================================
   HERO — DEADLY CONNECTIONS
   ========================================= */

.hero {
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
    align-items: center;
    gap: 70px;
    padding: 90px 8%;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 28% 50%,
            rgba(111, 61, 145, 0.28),
            transparent 38%
        ),
        radial-gradient(
            circle at 75% 50%,
            rgba(181, 138, 217, 0.08),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #110d17 0%,
            #07060a 100%
        );
}



/* ---------- COVER ---------- */

.hero-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-cover img {
    width: min(100%, 600px);
    max-width: 600px;
    max-height: none;
    height: auto;
    object-fit: contain;
    display: block;
    border: none;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.hero-cover img:hover {
    transform: translateY(-6px);
}

/* ---------- HERO TEXT ---------- */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content .eyebrow {
    margin-bottom: 18px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content .book-series-title {
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #eeeaf2;
    margin-bottom: 12px;
}

.hero-content .book-subtitle {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.hero-content .available {
    margin-top: 22px;
}


/* ---------- HERO BUTTONS ---------- */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

.hero-buttons .button {
    min-width: 155px;
    text-align: center;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 70px 7%;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }


.hero-cover img {
    width: min(100%, 600px);
    max-height: none;
    height: auto;
    object-fit: contain;
    display: block;
    border: none;
    box-shadow: none;
    transition: transform 0.5s ease;
}

    .hero-content .book-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

}

/* ---------- LAPTOP HEIGHT ADJUSTMENT ---------- */

@media (min-width: 801px) and (max-height: 800px) {

    .hero {
        min-height: auto;
        padding-top: 55px;
        padding-bottom: 55px;
        gap: 50px;
    }

.hero-cover img {
    width: min(100%, 620px);
    max-height: 560px;
    height: auto;
    object-fit: contain;
}

    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }

    .hero-content .book-series-title {
        font-size: 1.2rem;
    }

}

/* =========================================
   OUR BOOKS — THREE COLUMN LAYOUT
   ========================================= */

.books-preview {
    padding-left: 8%;
    padding-right: 8%;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 45px auto 0;
}

.book-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.book-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-info {
    padding: 24px 20px 28px;
    text-align: center;
}

.book-info .book-number {
    margin-bottom: 8px;
}

.book-info h3 {
    margin-bottom: 12px;
}

.book-info p:not(.book-number) {
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
}

/* Book Three */
.book-cover-coming {
    background: #110d16;
}

.book-cover-coming .coming-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
}

/* Mobile */
@media (max-width: 800px) {

    .books-preview {
        padding-left: 7%;
        padding-right: 7%;
    }

    .books-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-top: 35px;
    }
}



/* =========================================
   GRIM SORCERY — BACKGROUND DIAMONDS
   ========================================= */

html {
    overflow-x: hidden;
}

body {
    position: relative;
    isolation: isolate;
}

/* Camada decorativa fixa à página inteira */
body::before,
body::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(181, 138, 217, 0.14);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: -1;
}

body::before {
    top: 350px;
    left: 12%;
}

body::after {
    top: 1050px;
    left: 48%;
}

/* Mais losangos nas secções alternadas */
.character-profile-alt::after,
.author-profile-alt::after,
.book-detail-alt::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: 30px;
    right: -180px;
    border: 1px solid rgba(181, 138, 217, 0.14);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 0;
}

/* Mantém texto e imagens acima dos losangos */
.character-grid,
.author-profile-grid,
.book-detail-grid {
    position: relative;
    z-index: 1;
}


/* CONTACT PAGE — keep the decorative diamond within the page */
body:has(.contact-section)::after {
    top: auto;
    bottom: 150px;
}

@media (max-width: 800px) {
    .container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================
   FOOTER SOCIAL ICONS
========================= */

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
margin: 0 auto 20px;
width: 100%;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #c99aff;
    background: rgba(117, 69, 165, 0.10);
    border: 1px solid rgba(153, 102, 204, 0.28);
    border-radius: 50%;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.footer-socials svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-socials .social-dot {
    fill: currentColor;
    stroke: none;
}

.footer-socials a:hover {
    color: #ead8ff;
    background: rgba(137, 75, 196, 0.24);
    border-color: #a96de0;
    box-shadow: 0 0 16px rgba(169, 109, 224, 0.35);
    transform: translateY(-3px);
}

.footer-socials a:focus-visible {
    outline: 2px solid #c99aff;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .footer-socials {
        gap: 18px;
        margin-top: 20px;
    }

    .footer-socials a {
        width: 40px;
        height: 40px;
    }
}

.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer .footer-socials {
    justify-content: center;
    width: 100%;
}
