/* Amazon Buy Buttons */
.amazon-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.amazon-buy-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(255, 153, 0, 0.3);
}

.amazon-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 153, 0, 0.4);
    background: linear-gradient(45deg, #FFB84D, #FF9900);
}

.amazon-buy-btn.coming-soon {
    background: linear-gradient(45deg, #666, #888);
    cursor: not-allowed;
    opacity: 0.8;
}

.amazon-buy-btn .btn-icon {
    font-size: 1.5rem;
}

.amazon-buy-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.amazon-buy-btn .btn-title {
    font-size: 0.9rem;
    line-height: 1.2;
}

.amazon-buy-btn .btn-price {
    font-size: 1.1rem;
    font-weight: bold;
}

.kindle-unlimited-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #003366;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Amazon Reviews Section */
.amazon-reviews-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

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

.amazon-reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.amazon-reviews-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.amazon-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

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

.amazon-review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.amazon-review-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-verified {
    color: var(--accent-green);
    font-size: 0.9rem;
}

.review-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.review-text {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.review-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #999;
}

.amazon-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.amazon-reviews-btn,
.leave-review-btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.amazon-reviews-btn {
    background: var(--accent-gold);
    color: #000;
}

.leave-review-btn {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.amazon-reviews-btn:hover,
.leave-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 191, 10, 0.3);
}

/* Free Chapter Section */
.free-chapter-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #1a0f1a 0%, #0f1a1a 100%);
}

.free-chapter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.free-chapter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.free-chapter-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.free-chapter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.free-chapter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.free-chapter-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.free-chapter-submit {
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.free-chapter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 191, 10, 0.3);
}

.free-chapter-benefits {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.benefit-icon {
    font-size: 1.5rem;
}

.privacy-notice {
    font-size: 0.9rem;
    color: #999;
}

.book-preview {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.preview-cover {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.preview-pages {
    position: absolute;
    top: 10%;
    right: -20px;
    display: flex;
    gap: 2px;
}

.preview-pages .page {
    width: 60px;
    height: 80px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.success-note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
}

/* Review Popup */
.review-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.review-popup-content {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close-popup:hover {
    color: #fff;
}

.review-popup-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.review-popup-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.review-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.review-popup-btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.review-popup-btn.amazon-review {
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    color: #000;
}

.review-popup-btn.later {
    background: transparent;
    color: #999;
    border: 1px solid #999;
}

.review-popup-btn:hover {
    transform: translateY(-2px);
}

/* Social Proof Banner */
.social-proof-banner {
    background: var(--accent-gold);
    color: #000;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 60px;
    z-index: 999;
}

.social-proof-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.proof-icon {
    font-size: 1.2rem;
}

/* Media Mentions */
.media-mentions-section {
    padding: 3rem 5%;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.media-mentions-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #999;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.media-logo {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.media-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.media-logo.text-logo {
    padding: 0.5rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ddd;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Individual logo styles */
.media-logo.bookbub .logo-text {
    color: #E74C3C;
    font-family: Georgia, serif;
}

.media-logo.goodreads .logo-text {
    color: #F4E9D9;
    font-family: Georgia, serif;
    font-style: italic;
}

.media-logo.litrpg .logo-text {
    color: #4CAF50;
    font-family: 'Arial Black', sans-serif;
    font-size: 1.3rem;
}

.media-logo.scifi .logo-text {
    color: #03A9F4;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Hero CTA Updates */
.hero-content .cta-button {
    margin: 0.5rem;
}

.cta-button.amazon-primary {
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(255, 153, 0, 0.3);
}

.cta-button.amazon-primary:hover {
    background: linear-gradient(45deg, #FFB84D, #FF9900);
    box-shadow: 0 6px 12px rgba(255, 153, 0, 0.4);
}

/* Amazon Review CTA in Testimonials */
.testimonials-header .amazon-review-cta {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.amazon-review-cta {
    text-align: center;
}

.leave-review-btn.amazon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 153, 0, 0.3);
}

.leave-review-btn.amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 153, 0, 0.4);
    background: linear-gradient(45deg, #FFB84D, #FF9900);
}

/* Responsive Design */
@media (max-width: 768px) {
    .amazon-buttons {
        flex-direction: column;
    }
    
    .amazon-buy-btn {
        min-width: 100%;
    }
    
    .free-chapter-container {
        grid-template-columns: 1fr;
    }
    
    .free-chapter-form {
        flex-direction: column;
    }
    
    .free-chapter-visual {
        display: none;
    }
    
    .social-proof-content {
        gap: 1rem;
    }
    
    .proof-item {
        font-size: 0.9rem;
    }
    
    .amazon-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .media-logos {
        gap: 1.5rem;
    }
}