/* Book Pages Specific Styles */

/* Avelion Theme (O Buraco na Árvore) */
.avelion-theme {
    background: linear-gradient(135deg, var(--avelion-light) 0%, #f0f8e8 100%);
}

.avelion-bg {
    background: linear-gradient(135deg, var(--avelion-primary) 0%, var(--avelion-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.avelion-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(143, 188, 143, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Nivareth Theme (O Inverno de Nivareth) */
.nivareth-theme {
    background: linear-gradient(135deg, var(--nivareth-light) 0%, #f0f8ff 100%);
}

.nivareth-bg {
    background: linear-gradient(135deg, var(--nivareth-primary) 0%, var(--nivareth-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.nivareth-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(135, 206, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(176, 224, 230, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Galthor Theme (A Queda das Sombras) */
.galthor-theme {
    background: linear-gradient(135deg, var(--galthor-light) 0%, #fdf5e6 100%);
}

.galthor-bg {
    background: linear-gradient(135deg, var(--galthor-primary) 0%, var(--galthor-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.galthor-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(205, 133, 63, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Development Theme */
.development-theme {
    background: linear-gradient(135deg, var(--dev-light) 0%, #f8f9fa 100%);
}

.development-bg {
    background: linear-gradient(135deg, var(--dev-primary) 0%, var(--dev-secondary) 100%);
}

/* Book Page Layout */
.book-page {
    padding-top: 80px;
}

.book-hero {
    padding: 80px 0;
    color: white;
    position: relative;
    z-index: 1;
}

.book-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.book-title {
    font-family: var(--font-fantasy);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.book-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.4;
}

.book-price-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.discount {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-buy-now {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    text-align: center;
    width: 100%;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.book-cover-section {
    text-align: center;
    position: relative;
}

.book-cover-large {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.book-cover-large:hover {
    transform: scale(1.05);
}

.book-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Book Sections */
.book-excerpt {
    padding: 80px 0;
    background: white;
}

.excerpt-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.excerpt-content blockquote {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--avelion-secondary);
}

.excerpt-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--avelion-secondary);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-fantasy);
}

.book-description {
    padding: 80px 0;
    background: var(--bg-light);
}

.description-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.description-text h2 {
    font-family: var(--font-fantasy);
    font-size: 2.2rem;
    color: var(--avelion-primary);
    margin-bottom: 1.5rem;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.curiosity-triggers {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    border-top: 4px solid var(--avelion-secondary);
}

.curiosity-triggers h3 {
    font-family: var(--font-fantasy);
    color: var(--avelion-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.curiosity-triggers ul {
    list-style: none;
    padding: 0;
}

.curiosity-triggers li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.curiosity-triggers li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.book-benefits {
    padding: 80px 0;
    background: white;
}

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

.benefit-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--avelion-secondary);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: var(--font-fantasy);
    color: var(--avelion-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

.transformation {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--avelion-primary) 0%, var(--avelion-secondary) 100%);
    color: white;
}

.transformation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.transformation h2 {
    font-family: var(--font-fantasy);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.transformation p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.book-bonuses {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.bonus-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--avelion-secondary);
}

.bonus-card:hover {
    transform: translateY(-5px);
}

.bonus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bonus-card h3 {
    font-family: var(--font-fantasy);
    color: var(--avelion-primary);
    margin-bottom: 1rem;
}

.bonus-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-bonus {
    background: linear-gradient(45deg, var(--avelion-primary), var(--avelion-secondary));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--avelion-primary) 0%, var(--avelion-secondary) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-fantasy);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.price-final {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-buy-final {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    width: 100%;
}

.btn-buy-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.guarantee {
    margin-top: 2rem;
    opacity: 0.9;
}

.guarantee p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Responsive Design for Book Pages */
@media (max-width: 768px) {
    .book-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .description-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .price-display {
        justify-content: center;
    }

    .current-price {
        font-size: 2rem;
    }
}

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

    .book-subtitle {
        font-size: 1.1rem;
    }

    .excerpt-content blockquote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

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

