/* --------------------------------------------------
   FONTS & GLOBAL RESET
-------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;700&display=swap");
@import url("https://use.typekit.net/lgo0vcv.css");

/* Basic reset */
body,
h1,
p,
ul {
    margin: 0;
    padding: 0;
}

/* Colour & spacing tokens */
:root {
    --color-bg: #000;
    --color-white: #fff;
    --color-pink: #f7c7c7;
    --color-pink-soft: #f5b5bb;
    --color-pink-soft-2: #f8cccc;
    --color-pink-accent: #f4aeba;
    --color-text: #f7c7c7;

    --font-body: "Poppins", sans-serif;
    --font-display: "the-seasons", serif;
    --font-script: "alex-brush", sans-serif;

    --max-width-content: 1000px;
}

/* --------------------------------------------------
   BASE
-------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* Events page variant */
body.events-page {
    font-family: "Georgia", serif;
    background-color: var(--color-bg);
    color: var(--color-white);
}

/* Shared content wrapper */
.content-wrapper {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 50px 20px;
}

/* Generic section helpers */
.section {
    padding: 50px 20px;
    background-color: var(--color-bg);
    color: var(--color-white);
}

/* Titles with a horizontal line to the right */
.bio-title,
.faq-title,
.section-title,
.book-grid-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
}

.bio-title,
.book-grid-heading {
    justify-content: center;
}

.faq-title::after,
.bio-title::after,
.section-title::after,
.book-grid-heading::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background-color: var(--color-white);
    margin-left: 15px;
    max-width: 500px;
}

/* Script titles with underline (e.g. section headers) */
.bio-header,
.page-title,
.press-title,
.book-grid-title {
    font-family: var(--font-script);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-pink);
    display: block;
    margin: 0 auto 40px auto;
    border-bottom: 2px solid var(--color-pink);
    width: fit-content;
    padding-bottom: 10px;
    text-align: center;
}

/* Utility */
.italic-name {
    font-style: italic;
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    background: url("images/stars-background.png") no-repeat center center / cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 653px;
}

.hero h1,
.header-title {
    font-family: var(--font-display), sans-serif;
    font-size: 9rem;
    color: var(--color-pink);
    font-weight: 400;
    text-align: center;
}

.hero .tagline {
    font-size: 3rem;
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--color-white);
}

/* --------------------------------------------------
   NAVIGATION (DESKTOP + MOBILE)
-------------------------------------------------- */

/* Desktop nav bar */
.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: var(--color-pink);
}

.desktop-nav li {
    margin: 0 20px;
}

.desktop-nav a {
    position: relative;
    text-decoration: none;
    color: var(--color-white);
    font-weight: bold;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #000;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Burger toggle */
.menu-toggle {
    width: 30px;
    height: 22px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.menu-toggle span {
    height: 3px;
    background-color: var(--color-pink-accent);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile nav */
#mobileNav {
    display: none;
    background-color: var(--color-pink-accent);
    text-align: center;
    padding: 20px 0;
    position: absolute;
    top: 70px;
    width: 100%;
    left: 0;
    z-index: 999;
}

#mobileNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobileNav li {
    margin: 15px 0;
}

#mobileNav a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: bold;
    font-size: 16px;
}

/* --------------------------------------------------
   BOOK SECTIONS (INDEX + GRIDS)
-------------------------------------------------- */

.book-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0;
}

.book-text,
.book-text2,
.book-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-text {
    padding-right: 30px;
    text-align: left;
}

.book-text2 {
    padding-left: 30px;
    text-align: left;
    margin-top: -80px;
}

/* Titles */
.book-title,
.about-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-pink);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.about-title {
    font-size: 2.5rem;
    margin-top: 0;
}

/* Text blocks */
.bold-text {
    font-weight: bold;
    font-size: 1.2rem;
    text-align: left;
}

.book-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 15px;
    color: var(--color-white);
}

/* Book image + links */
.book-image img {
    max-width: 350px;
    height: auto;
}

.book-image {
    align-items: center;
    text-align: center;
    width: 100%;
}

.book-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    gap: 5px;
}

.book-links a {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
}

/* Goodreads & buy buttons */
.goodreads-link {
    font-family: var(--font-display);
    color: var(--color-pink);
    text-decoration: underline;
    font-size: 23px;
}

.buy-button {
    background-color: var(--color-pink);
    color: var(--color-white);
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
    padding: 10px 30px;
    border-radius: 5px;
}

.buy-button:hover {
    background-color: #f5a5a5;
}

/* Book grids (book page / series page) */
.book-grid-section {
    margin-bottom: 3rem;
}

.book-grid-row,
.book-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-grid-tile,
.book-item {
    max-width: 180px;
    text-align: center;
}

.book-grid-tile img,
.book-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-grid-tile img:hover,
.book-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #fbd6da;
}

.book-grid-tile p,
.book-item p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ddd;
}

/* Series section */
.series-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-bg);
    color: var(--color-white);
}

.series-title {
    font-size: 2rem;
    font-family: "Cinzel", serif;
    color: var(--color-pink);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.series-subtitle {
    font-size: 1.5rem;
    font-family: "Cinzel", serif;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.series-line {
    display: inline-block;
    width: 100px;
    height: 2px;
    background-color: var(--color-white);
    margin-left: 15px;
}

/* Alternate heading style override for book-grid-heading */
.book-grid-heading {
    font-family: var(--font-display);
}

/* --------------------------------------------------
   ABOUT & BIO
-------------------------------------------------- */

.about-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    max-width: 350px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 4px solid var(--color-white);
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 20px;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* About text */
.about-text {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-text p {
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.6;
}

/* Bio */
.bio-section {
    margin-bottom: 60px;
    text-align: left;
}

.bio-content h3 {
    font-size: 24px;
    color: var(--color-white);
    margin-top: 30px;
}

.bio-content p {
    color: var(--color-white) !important;
    font-size: 14px;
    line-height: 1.6;
}

/* --------------------------------------------------
   FAQ
-------------------------------------------------- */

.faq-section {
    margin-bottom: 60px;
    text-align: left;
}

.faq-section p {
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.6;
    max-width: 1000px;
}

.faq-section h3 {
    font-size: 24px;
    color: var(--color-pink);
    margin-top: 20px;
}

/* --------------------------------------------------
   PRAISE
-------------------------------------------------- */

.praise-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-bg);
    color: var(--color-white);
}

.praise-title {
    font-size: 2rem;
    font-family: "Cinzel", serif;
    color: var(--color-pink);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.praise-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.praise-box {
    width: 30%;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.highlighted {
    border: none;
}

.praise-box a {
    color: var(--color-pink);
    text-decoration: none;
    font-weight: bold;
}

.praise-box a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
   CHARACTER ART & CAST
-------------------------------------------------- */

.character-art-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-bg);
    color: var(--color-white);
}

.character-art-title {
    font-size: 2rem;
    font-family: "Cinzel", serif;
    color: var(--color-pink);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.character-art-container {
    display: flex;
    justify-content: center;
}

.character-art-container img {
    width: 50%;
    max-width: 600px;
    border: 3px solid var(--color-white);
}

.character-art-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}

.character-art-item img {
    width: 100%;
    max-width: 500px;
    border: 3px solid var(--color-white);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Cast section */
.character-cast-section {
    background-color: var(--color-bg);
    color: var(--color-pink);
    text-align: center;
    padding: 40px 20px;
}

.cast-title {
    font-size: 2em;
    margin-bottom: 30px;
    font-family: "Georgia", serif;
    letter-spacing: 1px;
}

.cast-layout {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex: 1;
}

.cast-grid img,
.cast-kiss img {
    width: 100%;
    height: auto;
    border: 2px solid #f5d1d1;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    display: block;
}

.cast-kiss {
    flex: 0 0 auto;
    max-width: 300px;
    display: flex;
    align-items: stretch;
}

.cast-kiss img {
    width: 75%;
    max-width: 280px;
    margin: 10px 0;
    border: 6px solid #f5d1d1;
}

/* --------------------------------------------------
   PURCHASE / CONTENT WARNINGS / CTA
-------------------------------------------------- */

.purchase-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--color-bg);
    color: var(--color-white);
}

.purchase-title,
.content-warnings-title {
    font-size: 2rem;
    font-family: "Cinzel", serif;
    color: var(--color-pink);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.purchase-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.purchase-buttons.three-buttons {
    max-width: 600px;
}

.purchase-buttons.single-button {
    display: flex;
    justify-content: center;
}

.purchase-btn,
.extra-btn,
.cta-button,
.cta-button.primary,
.subscribe-button {
    display: inline-block;
    background-color: var(--color-pink-soft);
    color: var(--color-white);
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease;
    font-size: 1rem;
}

.purchase-btn {
    border-radius: 15px;
    min-width: 180px;
}

.purchase-btn:hover,
.extra-btn:hover,
.cta-button:hover,
.cta-button.primary:hover,
.subscribe-button:hover {
    background-color: var(--color-pink-soft-2);
}

/* Extra links (Spotify, Pinterest etc.) */
.extra-links {
    margin-top: 30px;
    text-align: center;
}

.extra-btn {
    max-width: 600px;
    margin: 15px auto;
    display: block;
}

/* Content warnings */
.content-warnings {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    font-size: 1rem;
}

.content-warnings li {
    margin-bottom: 10px;
    color: var(--color-white);
}

.content-warnings h2 {
    font-family: "Georgia", serif;
    font-size: 2em;
    color: var(--color-pink);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.content-warnings p {
    margin: 10px auto;
    max-width: 600px;
    line-height: 1.6;
}

/* CTA */
.cta-section {
    text-align: center;
    background-color: var(--color-bg);
    padding: 60px 20px;
    color: var(--color-white);
}

.cta-button,
.cta-button.primary {
    max-width: 600px;
    margin: 15px auto;
    display: block;
}

/* --------------------------------------------------
   PRESS & NEWS
-------------------------------------------------- */

.press-news {
    padding: 60px 20px;
    background-color: var(--color-bg);
    width: 100%;
}

.press-news-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.moon-image {
    flex: 0 0 auto;
}

.moon-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
}

.press-content {
    max-width: 55%;
    color: var(--color-white);
    text-align: left;
}

.press-title {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--color-pink);
    font-weight: 400;
}

/* Press list */
.press-list {
    list-style: disc outside;
    padding-left: 1.5rem;
    font-family: var(--font-display);
}

.press-list li {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

.press-list a {
    position: relative;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.press-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--color-pink);
    transition: width 0.3s ease;
}

.press-list a:hover {
    color: var(--color-pink);
}

.press-list a:hover::after {
    width: 100%;
}

/* --------------------------------------------------
   EVENTS
-------------------------------------------------- */

.events-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.events-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: left;
}

.events-left {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
    text-align: left;
}

.events-text {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
    text-align: left;
}

.events-right {
    flex: 0 0 auto;
    max-width: 350px;
    padding: 10px;
    align-self: flex-start;
}

.events-right img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Events list */
.event {
    margin-bottom: 30px;
    text-align: left;
}

.event-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.event a {
    color: #f4b6c2;
    text-decoration: underline;
    font-weight: bold;
}

.event a:hover {
    color: var(--color-white);
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
    background: url("images/stars_background2.png") no-repeat top center / cover;
    text-align: center;
    color: var(--color-pink);
    padding: 120px 20px 80px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-size: 3rem;
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--color-white);
}

/* Subscribe button is already styled with shared button styles */

/* Bottom bar */
.bottom-bar {
    background-color: var(--color-pink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 14px;
    color: var(--color-white);
    width: 100%;
    box-sizing: border-box;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

/* Large tablets & down */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 7rem;
    }

    .hero .tagline {
        font-size: 2rem;
    }

    .content-wrapper {
        max-width: 90%;
    }

    footer {
        padding: 80px 20px 60px;
    }

    .cast-layout {
        flex-direction: column;
        align-items: center;
    }

    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
        max-width: 600px;
    }

    .cast-kiss {
        max-width: 100%;
        margin-top: 30px;
    }

    .cast-kiss img {
        width: 100%;
        height: auto;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .content-warnings h2 {
        font-size: 1.5em;
    }

    .content-warnings p {
        font-size: 0.95em;
    }
}

/* Tablets & mobiles */
@media screen and (max-width: 768px) {
    /* Hero */
    .hero h1 {
        font-size: 5rem;
    }

    .hero .tagline {
        font-size: 1.8rem;
    }

    .content-wrapper {
        max-width: 95%;
        padding: 20px;
    }

    .subscribe-button {
        font-size: 1.2rem;
        padding: 12px 25px;
    }

    .bottom-bar {
        text-align: center;
        justify-content: center;
    }

    /* Nav toggle */
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    #mobileNav {
        flex-direction: column;
    }

    /* Book sections – stack */
    .book-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 5px;
    }

    .book-section .book-image,
    .book-section .book-text,
    .book-section .book-text2 {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px auto;
    }

    /* Flip order of She of the Shadows section */
    .book-section:nth-of-type(2) {
        flex-direction: column-reverse;
    }

    .book-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .book-description {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .book-links {
        gap: 10px;
        margin-top: 10px;
    }

    .buy-button,
    .goodreads-link {
        font-size: 14px;
        padding: 10px 20px;
    }

    .book-text2 {
        padding-left: 0;
        text-align: left;
    }

    /* Book grids */
    .book-grid-row,
    .book-list {
        flex-direction: column;
        align-items: center;
    }

    /* Press layout */
    .press-news-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .moon-image,
    .press-content {
        max-width: 90%;
    }

    .moon-image img {
        max-width: 300px;
    }

    .press-content {
        margin-top: 20px;
    }

    .press-title {
        margin-bottom: 1.5rem;
    }

    /* Praise */
    .praise-container {
        flex-direction: column;
        align-items: center;
    }

    .praise-box {
        width: 90%;
    }

    /* Events */
    .events-wrapper {
        flex-direction: column;
    }

    .events-left,
    .events-right {
        max-width: 100%;
    }

    .events-right {
        margin-top: 30px;
    }

    /* About layout (mobile fix) */
    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        text-align: center;
    }

    .about-image img {
        width: 90%;
        max-width: 300px;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .social-icons img {
        width: 35px;
        height: 35px;
    }

    .about-text {
        width: 100%;
        padding: 0 10px;
    }

    .about-title {
        color: var(--color-pink-accent);
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 20px;
        font-family: "Playfair Display", serif;
    }
}

/* Phones */
@media screen and (max-width: 600px) {
    .cast-grid {
        grid-template-columns: 1fr;
    }

    .cast-kiss img {
        max-width: 90%;
        margin: 0 auto;
    }

    .cta-button {
        font-size: 1em;
        padding: 12px 16px;
    }

    .cast-title {
        font-size: 1.5em;
    }

    .content-warnings h2 {
        font-size: 1.3em;
    }
}

/* Narrow phones */
@media screen and (max-width: 500px) {
    .purchase-buttons {
        grid-template-columns: 1fr;
    }

    .purchase-btn,
    .extra-btn {
        width: 80%;
        margin: 0 auto;
    }
}

/* Very small screens */
@media screen and (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .tagline {
        font-size: 1.5rem;
    }

    .footer-content {
        font-size: 2rem;
    }

    .subscribe-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .bottom-bar {
        padding: 10px 0;
    }
}

/* Purchase grid – tablet breakpoint */
@media screen and (max-width: 900px) {
    .purchase-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}
