/* home.css - Home page specific styles (Hero, Features, Stats, Genres) */

/* Modern Hero Section */
.modern-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    background-color: var(--dark-bg);
    overflow: hidden;
    margin-top: -90px;
}

.modern-hero .carousel, .modern-hero .carousel-inner, .modern-hero .carousel-item {
    height: 100%;
}

.modern-hero .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transform: scale(1.05);
    animation: heroZoom 20s infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #fff;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-hero {
    padding: 18px 40px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Features Bar */
.features-bar {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    transition: var(--transition-smooth);
    border-radius: 20px;
}

.feature-item:hover {
    background: #f8fafc;
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #6366f1;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
    background: var(--primary-gradient);
    color: #fff;
    transform: rotate(-10deg);
}

.feature-text h6 { 
    font-weight: 800; 
    margin-bottom: 2px; 
    color: var(--text-primary);
}

.feature-text p { 
    font-size: 0.85rem; 
    color: var(--text-secondary); 
    margin-bottom: 0; 
}

/* Stats Section */
.stats-section {
    background: var(--dark-bg);
    background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%), 
                      radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    color: white;
    padding: 100px 60px;
    border-radius: 50px;
    margin: 80px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 4.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -3px;
    filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.2));
}

.stat-icon-premium {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.stat-item:hover .stat-icon-premium {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Genre Section */
.genre-item {
    transition: var(--transition-smooth);
    padding: 40px 25px;
    border-radius: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.genre-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}

.genre-icon { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.genre-item:hover .genre-icon {
    transform: scale(1.2) rotate(5deg);
}

.genre-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Blog Section Premium Redesign */
.blog-section-premium {
    padding: 100px 0;
    background: #0f172a; /* Slate 900 */
    position: relative;
    overflow: hidden;
}

.blog-section-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Section Title Refinement */
.blog-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
}

.blog-section-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 650px;
    margin: 20px auto 0 !important;
    line-height: 1.6;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-card-premium {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none !important;
}

.blog-card-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.5s ease;
    text-align: center;
}

.blog-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-gradient);
    border-radius: 100px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover Effects */
.blog-card-premium:hover {
    transform: translateY(-15px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.blog-card-premium:hover .blog-card-image {
    transform: scale(1.15) rotate(2deg);
}

.blog-card-premium:hover .blog-card-content {
    transform: translateY(0);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .blog-section-premium { padding: 60px 0; }
    .hero-title { font-size: 3rem; }
}
