/* ===================================
   BOOK PAGE STYLES
   =================================== */

/* Hero Section */
.book-hero {
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, var(--rich-black) 0%, var(--dark-teal) 50%, var(--deep-teal) 100%);
}

.book-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.book-cover-large {
    position: sticky;
    top: 120px;
}

.book-cover-large img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.book-hero-text {
    color: var(--cream);
}

.book-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.book-series {
    font-size: 1.1rem;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.book-tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.book-launch-badge {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(201, 169, 97, 0.2);
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.book-spice-rating {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(26, 58, 74, 0.3);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.peppers {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.spice-info {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Book Description Section */
.book-description {
    padding: 4rem 2rem;
    background: rgba(13, 13, 13, 0.8);
}

.description-container {
    max-width: 900px;
    margin: 0 auto;
}

.hook-text {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.blurb-text {
    color: var(--cream);
}

.blurb-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blurb-text em {
    font-style: italic;
}

.series-tag {
    margin-top: 2rem !important;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
    font-size: 1rem !important;
    color: var(--gold) !important;
}

/* Quote Section */
.book-quote {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--rich-black) 0%, var(--dark-teal) 100%);
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.quote-graphic {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Content Warnings Section */
.content-warnings {
    padding: 3rem 2rem;
    background: rgba(13, 13, 13, 0.6);
}

.warnings-container {
    max-width: 900px;
    margin: 0 auto;
}

.warnings-container h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.warnings-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.warnings-list li {
    padding: 0.8rem 1rem;
    background: rgba(26, 58, 74, 0.2);
    border-left: 3px solid var(--gold);
    color: var(--cream);
    font-size: 0.95rem;
    border-radius: 4px;
}

/* Characters Section */
.characters-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--dark-teal) 100%);
}

.characters-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.trio-image {
    text-align: center;
    margin-bottom: 3rem;
}

.trio-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.trio-caption {
    font-size: 1.1rem;
    color: var(--gold);
    margin-top: 1rem;
    font-style: italic;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.character-card {
    background: rgba(13, 13, 13, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.character-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.character-image {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #000;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.05);
}

.character-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--gold);
    margin: 1rem 1.5rem 0.5rem;
}

.character-desc {
    font-size: 1rem;
    color: var(--cream);
    font-style: italic;
    margin: 0 1.5rem 1.5rem;
}

.characters-link {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--rich-black);
}

/* CTA Section */
.book-cta {
    padding: 4rem 2rem;
    background: rgba(13, 13, 13, 0.9);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-box {
    padding: 2.5rem;
    background: rgba(26, 58, 74, 0.3);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 8px;
    text-align: center;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--cream);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--gold);
    color: var(--rich-black);
    border: 2px solid var(--gold);
}

.cta-button.primary:hover {
    background: transparent;
    color: var(--gold);
}

.cta-button.secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.cta-button.secondary:hover {
    background: var(--gold);
    color: var(--rich-black);
}

.back-to-series {
    text-align: center;
    margin-top: 2rem;
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.btn-link:hover {
    opacity: 0.7;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .book-hero-content {
        grid-template-columns: 350px 1fr;
        gap: 3rem;
    }

    .book-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .book-hero {
        padding: 100px 1.5rem 3rem;
    }

    .book-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .book-cover-large {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .book-title {
        font-size: 2rem;
        text-align: center;
    }

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

    .book-tagline {
        font-size: 1.1rem;
        text-align: center;
    }

    .book-launch-badge {
        display: block;
        text-align: center;
    }

    .hook-text {
        font-size: 1.3rem;
    }

    .blurb-text p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .character-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .warnings-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .book-title {
        font-size: 1.6rem;
    }

    .hook-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .character-grid {
        grid-template-columns: 1fr;
    }
}
