/* ========================================================================== */
/* Hero (landing section and mobile hero variants)                             */
/* Load order: 4                                                               */
/* Styles for cover preview, title, stats, and action buttons.                 */
/* ========================================================================== */
/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.hero h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mobile styles for hero title */
@media (max-width: 768px) {
    .hero {
        padding: 1rem 0;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.75rem 0;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}

.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 40px 0;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.manga-preview { flex-shrink: 0; }

.manga-cover {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}
.manga-cover:hover { transform: translateY(-5px); }

.cover-image { width: 300px; height: 400px; object-fit: cover; display: block; }

.manga-info { flex: 1; padding-top: 20px; }

.manga-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.manga-stats { display: flex; gap: 20px; margin-bottom: 20px; }

.chapter-count,
.manga-status,
.follow-link { background: var(--bg-tertiary); padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; }
.chapter-count { color: var(--accent-color); }
.manga-status { color: var(--secondary-color); }
.follow-link {
    color: var(--accent-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.follow-link:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}
.follow-link.followed {
    color: var(--secondary-color);
}
.follow-link.followed:hover {
    background: var(--secondary-color);
    color: var(--bg-primary);
}

.manga-description { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; max-width: 600px; line-height: 1.7; }

.action-buttons { display: flex; gap: 15px; }

/* Mobile hero-specific overrides */
@media (max-width: 768px) {
    .hero-content .manga-info { display: none !important; }
    .mobile-layout { text-align: center; padding: 20px 0; display: block !important; width: 100%; }
    .mobile-manga-title { font-size: 2.2rem; font-weight: 800; margin: 0 0 20px 0; color: var(--text-primary); text-shadow: 2px 2px 4px rgba(0,0,0,0.3); display: block !important; }
    .mobile-manga-stats { display: flex !important; justify-content: center; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
    .mobile-chapter-count,
    .mobile-manga-status,
    .mobile-follow-link { background: var(--bg-tertiary); padding: 6px 12px; border-radius: 15px; font-weight: 600; font-size: 0.85rem; }
    .mobile-chapter-count { color: var(--accent-color); }
    .mobile-manga-status { color: var(--secondary-color); }
    .mobile-follow-link {
        color: var(--accent-color);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: inherit;
    }
    .mobile-follow-link:hover {
        background: var(--accent-color);
        color: var(--bg-primary);
        transform: translateY(-2px);
    }
    .mobile-follow-link.followed {
        color: var(--secondary-color);
    }
    .mobile-follow-link.followed:hover {
        background: var(--secondary-color);
        color: var(--bg-primary);
    }
    .mobile-manga-cover { margin: 25px auto; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform 0.3s ease; display: inline-block !important; }
    .mobile-manga-cover:hover { transform: translateY(-3px); }
    .mobile-cover-image { width: 220px; height: 300px; object-fit: cover; display: block; }
    .mobile-manga-description { font-size: 1rem; color: var(--text-secondary); margin: 25px 0; line-height: 1.6; max-width: 100%; display: block !important; }
    .mobile-action-buttons { display: flex !important; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
    .mobile-action-buttons .btn { min-width: 140px; padding: 10px 20px; font-size: 0.9rem; }
}
