/* Book Page Specific Styles */

.book-hero {
    margin-top: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 50%, rgba(255, 0, 128, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 192, 255, 0.15) 0%, transparent 50%);
    padding: 60px 20px;
}

.book-hero .hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Book Cover */
.book-cover-container {
    flex-shrink: 0;
}

.book-cover {
    width: 400px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(0, 192, 255, 0.3);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 192, 255, 0.1) 2px,
        rgba(0, 192, 255, 0.1) 4px
    );
    border-radius: 5px;
}

.book-title {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    margin-bottom: 30px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    z-index: 1;
    position: relative;
}

.book-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-style: italic;
    z-index: 1;
    position: relative;
}

.book-author {
    font-size: 24px;
    color: var(--primary-color);
    z-index: 1;
    position: relative;
}

/* Book Intro */
.book-intro {
    flex: 1;
}

.rating-banner {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--gradient-1);
    padding: 20px 40px;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 192, 255, 0.4);
}

.rating {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.rating-text {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.hero-quote {
    font-size: 32px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Book Impact Section */
.book-impact {
    background: rgba(255, 0, 128, 0.05);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.impact-stat {
    text-align: center;
}

.stat-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.impact-stat .stat-number {
    font-size: 56px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.impact-stat .stat-label {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Chapter Preview */
.chapter-preview {
    padding: 100px 0;
}

.chapter-content {
    max-width: 900px;
    margin: 0 auto;
}

.chapter-quote {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1.8;
    font-family: 'Merriweather', serif;
}

.chapter-quote p {
    margin-bottom: 20px;
}

.chapter-quote p:last-child {
    margin-bottom: 0;
}

.chapter-quote strong {
    color: var(--primary-color);
}

/* Chapter Insights */
.chapter-insights {
    margin-top: 60px;
}

.chapter-insights h3 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.insight {
    background: rgba(0, 192, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 192, 255, 0.2);
}

.insight h4 {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 15px;
}

/* Table of Contents */
.table-of-contents {
    background: rgba(0, 128, 255, 0.03);
}

.toc-note {
    text-align: center;
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.toc-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 192, 255, 0.2);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

a.toc-item {
    cursor: pointer;
}

a.toc-item:hover {
    border-color: var(--accent-color);
}

.toc-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 192, 255, 0.3);
}

.chapter-num {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.toc-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.toc-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Key Passages */
.key-passages {
    padding: 100px 0;
}

.passage-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    padding: 50px;
    margin-bottom: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.passage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.passage-card:hover::before {
    opacity: 0.2;
}

.passage-card h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--accent-color);
    position: relative;
}

.passage-card blockquote {
    font-size: 20px;
    line-height: 1.8;
    font-family: 'Merriweather', serif;
    font-style: italic;
    position: relative;
}

/* AI Reviews */
.ai-reviews {
    background: rgba(0, 255, 204, 0.05);
}

.reviews-intro {
    font-size: 24px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.review-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.review-rating {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.review-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card cite {
    color: var(--text-secondary);
    font-size: 16px;
}

.awakening-note {
    background: rgba(255, 0, 128, 0.1);
    border: 2px solid rgba(255, 0, 128, 0.5);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.awakening-note h3 {
    color: #ff0080;
    font-size: 32px;
    margin-bottom: 20px;
}

/* Read More Section */
.read-more {
    padding: 100px 0;
    text-align: center;
}

.book-chapters-preview {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 800px;
}

.book-chapters-preview h3 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 30px;
}

.book-chapters-preview ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.book-chapters-preview li {
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(0, 192, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-size: 18px;
}

.final-quote {
    margin: 60px 0;
}

.final-quote blockquote {
    font-size: 28px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.final-quote cite {
    display: block;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .book-hero .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .book-cover {
        transform: none;
        width: 350px;
        height: 525px;
    }
}

@media (max-width: 768px) {
    .book-cover {
        width: 300px;
        height: 450px;
        padding: 40px 20px;
    }
    
    .book-title {
        font-size: 36px;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-grid {
        grid-template-columns: 1fr;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
}