* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

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

header {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0e6ff 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #6b5b95;
    font-weight: 300;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1.4em;
    color: #8b7aa8;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.author-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    margin: 80px 0;
}

.author-image {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(107, 91, 149, 0.15);
}

.author-bio {
    padding: 20px 0;
}

.author-bio h2 {
    color: #6b5b95;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 300;
}

.author-bio p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #5a6c7d;
    line-height: 1.9;
}

.section {
    margin: 100px 0;
}

h2 {
    color: #6b5b95;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 300;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #8b7aa8;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.book-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    display: block;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 91, 149, 0.15);
}

.book-cover {
    width: 100%;
    background: linear-gradient(135deg, #f0e6ff 0%, #e8f4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b7aa8;
    font-size: 0.9em;
    position: relative;
}

.book-cover-image {
    width: 100%;
    object-fit: cover;
}

.book-info {
    padding: 20px;
}

.book-title {
    color: #6b5b95;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
    min-height: 2.6em;
}

.book-series {
    color: #8b7aa8;
    font-size: 0.85em;
    margin-bottom: 10px;
    font-style: italic;
}

/* Event Section */
.event-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f0ff 0%, #fff 100%);
    border-radius: 12px;
}

.event-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(147, 51, 234, 0.1);
    border: 2px solid #e9d5ff;
    margin-top: 1.5rem;
}

.event-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.event-info {
    flex: 1;
    min-width: 300px;
}

.event-image-container {
    flex: 0 0 auto;
    max-width: 400px;
}

.event-card h3 {
    color: #7c3aed;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.calendar-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 24px;
    background: #7c3aed;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.calendar-btn:hover {
    background: #6b21a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.4);
}

.event-details {
    background: #faf5ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.event-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.event-details strong {
    color: #6b21a8;
}

.event-highlight {
    color: #7c3aed;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem !important;
}

.cta-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0e6ff 100%);
    border-radius: 30px;
    margin: 100px 0 60px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    color: #8b7aa8;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: #6b5b95;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(107, 91, 149, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 91, 149, 0.4);
}

/* Responsive Design for Event Section */
@media (max-width: 768px) {
    .event-content {
        flex-direction: column;
    }
    
    .event-image-container {
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .event-info {
        min-width: auto;
    }
}

footer {
    text-align: center;
    padding: 60px 20px;
    color: #8b7aa8;
    border-top: 1px solid #e3e8ff;
}

footer a {
    color: #8b7aa8;
    text-decoration: none;
}

.education-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.education-section h3 {
    color: #6b5b95;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 300;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    
    .author-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    header {
        padding: 60px 20px;
    }
}