/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Comfortaa', cursive;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #A020F0;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.book-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(160, 32, 240, 0.2);
    border: 3px solid #333;
    transition: transform 0.3s ease;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: #A020F0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-author {
    font-size: 1.2rem;
    color: #8B4513;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Buttons */
.cta-button {
    font-family: 'Comfortaa', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 35px;
    border: 3px solid #333;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: #A020F0;
    color: white;
}

.cta-button.primary:hover {
    background: #8B1ED0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 32, 240, 0.4);
}

.cta-button.secondary {
    background: #90EE90;
    color: #333;
}

.cta-button.secondary:hover {
    background: #7FD17F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(144, 238, 144, 0.4);
}

/* Decorative Grass */
.decorative-grass {
    height: 40px;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            #8B4513 10px,
            #8B4513 15px,
            transparent 15px,
            transparent 20px
        );
    position: relative;
    margin-top: 3rem;
}

.decorative-grass::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: 
        radial-gradient(circle at 20px 20px, #90EE90 8px, transparent 8px),
        radial-gradient(circle at 60px 20px, #90EE90 6px, transparent 6px),
        radial-gradient(circle at 100px 20px, #90EE90 7px, transparent 7px),
        radial-gradient(circle at 140px 20px, #90EE90 5px, transparent 5px);
    background-size: 30px 20px;
}

/* Synopsis Section */
.synopsis {
    padding: 6rem 0;
    background: #fafafa;
    position: relative;
}

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

.synopsis-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

/* Characters Section */
.characters {
    padding: 6rem 0;
    background: #fff;
}

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

.character-card {
    background: #f8f9fa;
    border: 3px solid #333;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.character-card.marty {
    background: linear-gradient(135deg, #A020F0, #B840FF);
    color: white;
}

.character-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid #333;
    position: relative;
}

.marty-bg {
    background: radial-gradient(circle, #fff 30%, #A020F0 70%);
}

.bobbi-bg {
    background: radial-gradient(circle, #fff 30%, #87CEEB 70%);
}

.sandra-bg {
    background: radial-gradient(circle, #fff 30%, #D2691E 70%);
}

.billy-bg {
    background: radial-gradient(circle, #fff 30%, #8B4513 70%);
}

.ryan-bg {
    background: radial-gradient(circle, #fff 30%, #90EE90 70%);
}

.orest-bg {
    background: radial-gradient(circle, #fff 30%, #FFD700 70%);
}

.character-icon::after {
    content: '🐭';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.bobbi-bg::after { content: '🐦'; }
.sandra-bg::after { content: '🐿️'; }
.billy-bg::after { content: '🦫'; }
.ryan-bg::after { content: '🐰'; }
.orest-bg::after { content: '🦉'; }

.character-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.character-card.marty h3 {
    color: white;
}

.character-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.character-card.marty p {
    color: #f0f0f0;
}

/* Author Section */
.author {
    padding: 6rem 0;
    background: #fafafa;
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
}

.author-image {
    display: flex;
    justify-content: center;
}

.author-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A020F0, #90EE90);
    border: 4px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
}

.author-avatar::after {
    content: 'DA';
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
    font-size: 2.5rem;
}

.author-name {
    font-size: 2rem;
    color: #A020F0;
    margin-bottom: 1.5rem;
}

.author-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.author-credentials {
    background: white;
    padding: 1.5rem;
    border: 2px solid #333;
    border-radius: 10px;
    margin-top: 2rem;
}

.author-credentials p {
    margin-bottom: 0.5rem;
    color: #666;
}

.author-credentials strong {
    color: #A020F0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #A020F0 0%, #B840FF 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-section .cta-button {
    border-color: white;
    color: #A020F0;
    background: white;
}

.cta-section .cta-button:hover {
    background: #f0f0f0;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.feature-icon::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #A020F0;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .author-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}