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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #C41E3A 0%, #165B33 50%, #FFD700 100%);
    color: #333;
    overflow-x: hidden;
}

/* Floating cookies and Christmas elements */
.cookies {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cookie {
    position: absolute;
    font-size: 2em;
    opacity: 0.7;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #C41E3A;
}

h1 {
    font-size: 3.5em;
    color: #C41E3A;
    text-shadow: 3px 3px 0 #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    font-size: 1.5em;
    color: #165B33;
    font-weight: 600;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.3em;
    color: #666;
    font-style: italic;
    font-weight: 500;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.book-cover {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.book-cover img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.book-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.book-info h2 {
    color: #C41E3A;
    font-size: 2em;
    margin-bottom: 20px;
}

.book-info p {
    line-height: 1.8;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.features {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.features h2 {
    color: #165B33;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFAF0 100%);
    border-radius: 15px;
    border: 3px solid #C41E3A;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #165B33;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.feature-item p {
    color: #666;
    font-size: 0.95em;
}

/* Index Section */
.index-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.index-section h2 {
    color: #C41E3A;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

.index-chapter {
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFEF8 100%);
    border-radius: 15px;
    border-left: 5px solid #165B33;
}

.index-chapter h3 {
    color: #165B33;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.index-chapter ol {
    margin-left: 20px;
    line-height: 1.8;
}

.index-chapter li {
    color: #555;
    font-size: 1.05em;
    margin-bottom: 8px;
}

/* Author Note Section */
.author-note {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF9E6 100%);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFD700;
}

.author-note h2 {
    color: #C41E3A;
    font-size: 2em;
    text-align: center;
    margin-bottom: 25px;
}

.author-note p {
    line-height: 1.8;
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
}

.author-note .highlight {
    font-size: 1.15em;
    font-weight: 600;
    color: #165B33;
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border-left: 4px solid #C41E3A;
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.cta-section h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.3em;
    color: white;
    background: #165B33;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #0F4525;
    transform: scale(1.05);
}

/* Author Meetings Section */
.author-meetings {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.author-meetings h2 {
    color: #165B33;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
}

.meetings-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.meetings-intro p {
    font-size: 1.15em;
    color: #555;
    line-height: 1.8;
}

.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.meeting-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF4D6 100%);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #FFD700;
    text-align: center;
    transition: all 0.3s ease;
}

.meeting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.meeting-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.meeting-card h3 {
    color: #C41E3A;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.meeting-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    color: #165B33;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    font-size: 1.15em;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C41E3A;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.2em;
    color: white;
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.submit-button:hover {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 25px rgba(196, 30, 58, 0.4);
}

footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    color: #666;
}

/* Form Messages */
.form-message {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 2px solid #165B33;
    color: #0F4525;
}

.form-message.error {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    border: 2px solid #C41E3A;
    color: #8B0000;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5em;
    }

    .subtitle {
        font-size: 1.2em;
    }

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

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

    .contact-form {
        padding: 0 10px;
    }
}
