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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f9fa;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.card {
    max-width: 48rem;
    width: 100%;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
    padding: 3rem 2rem 0;
}

.hero-image img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.content {
    text-align: center;
    padding: 2rem 2.5rem 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-family: 'Lora', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: -0.025em;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 2rem;
}

.divider {
    width: 3rem;
    height: 2px;
    background: #d1d5db;
    margin: 0 auto 2rem;
}

.bio {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.8;
    max-width: 34rem;
    margin: 0 auto 2.5rem;
}

.book-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}

.book-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.book-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.book-type {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: #1e3a5f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.book-link:hover {
    background: #2d5a8e;
}

h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.25rem;
}

.adaptations-intro {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.books-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.book-card {
    display: block;
    text-decoration: none;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.book-card img {
    width: auto;
    height: 8rem;
    object-fit: contain;
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.book-card-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.125rem;
}

.book-card-author {
    font-size: 0.8125rem;
    color: #6b7280;
}

.footer-text {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .page-wrapper {
        padding: 0;
        align-items: flex-start;
    }

    .card {
        border-radius: 0;
        box-shadow: none;
        border: none;
        min-height: 100vh;
    }

    .hero-image {
        padding: 2rem 1.5rem 0;
    }

    .hero-image img {
        width: 9rem;
        height: 9rem;
    }

    .content {
        padding: 1.5rem 1.25rem 2rem;
    }

    h1 {
        font-size: 1.875rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .bio {
        font-size: 0.9375rem;
    }

    .book-section {
        padding: 1.25rem 1rem;
    }

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

    h2 {
        font-size: 1.375rem;
    }

    h3 {
        font-size: 1.0625rem;
    }

    .books-gallery {
        gap: 1rem;
    }

    .book-card {
        padding: 1rem;
    }

    .book-card img {
        height: 6rem;
    }

    .book-card-title {
        font-size: 0.875rem;
    }

    .book-card-author {
        font-size: 0.75rem;
    }
}

@media (max-width: 374px) {
    h1 {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 0.875rem;
    }

    .books-gallery {
        flex-wrap: wrap;
    }
}
