:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #c62828;
    --secondary-color: #4a5568;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-serif: 'Libre Franklin', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.8s forwards;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Hero */
header {
    padding: 4rem 0 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.brand-logo {
    width: 100px;
    height: auto;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    letter-spacing: 1px;
    color: var(--accent-color);
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin: 4rem 0 2rem;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
}

/* Shorts Section */
.shorts-section {
    margin-bottom: 5rem;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.short-card {
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.short-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.book-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.book-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.book-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    image-rendering: -webkit-optimize-contrast;
    display: block;
}

.book-card:hover img {
    transform: scale(1.03);
}

.book-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
}

.book-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background: #a01d1d;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

/* Video Section */
.video-section {
    background: #111;
    color: white;
    padding: 5rem 0;
    margin-top: 4rem;
}

.video-section .section-title {
    color: white;
    margin-top: 0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    text-align: center;
    margin-top: 2rem;
}

.video-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.video-link:hover {
    color: white;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    h1 {
        font-size: 2.8rem;
        letter-spacing: 0.5px;
    }

    .books-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}