/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, #fff 40%, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-box {
    position: relative;
    max-width: 650px;
    margin: 0 auto 60px;
    display: flex;
    gap: 12px;
}

.hero-search-box input {
    flex: 1;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 20px;
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
    backdrop-filter: blur(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.hero-search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.hero-search-btn {
    background: var(--accent-color);
    color: white;
    padding: 0 32px;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.hero-search-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Featured Section */
.featured-section {
    padding-bottom: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.view-all {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-hover);
}

/* Manga Grid Cards */
.manga-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    cursor: pointer;
}

.manga-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--shadow-lg);
}

.manga-thumb-container {
    position: relative;
    padding-bottom: 140%;
    overflow: hidden;
}

.manga-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.manga-card:hover .manga-thumb {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(11, 14, 20, 0.95) 20%, transparent);
}

.manga-card-info {
    padding: 16px;
    background: var(--card-bg);
}

.manga-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: white;
}

.manga-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.manga-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
    font-weight: 600;
}

.manga-card-chapter {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .hero-stats { gap: 30px; }
    .hero-search-btn span { display: none; }
    .hero-search-btn { padding: 0 20px; }
    .hero-search-box { margin-bottom: 40px; }
}
