/* ============================================
   STREAMFLIX HOME PAGE CSS - PURPLE/TEAL THEME
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e0e0e0;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    max-width: 1920px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #9d4edd 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.tagline {
    font-size: 11px;
    color: #00d4ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: rgba(224, 224, 224, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9d4edd 0%, #00d4ff 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.user-section {
    display: flex;
    gap: 25px;
    align-items: center;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: rgba(157, 78, 221, 0.1);
    padding: 10px 40px 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(157, 78, 221, 0.3);
    color: #e0e0e0;
    outline: none;
    width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(157, 78, 221, 0.15);
    border-color: #9d4edd;
    width: 300px;
}

.search-input::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

.search-container i {
    position: absolute;
    right: 15px;
    color: #00d4ff;
}

.notifications-btn {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    padding: 10px 15px;
    border-radius: 50%;
    color: #00d4ff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.notifications-btn:hover {
    background: rgba(157, 78, 221, 0.2);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #9d4edd;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    background: rgba(157, 78, 221, 0.1);
}

.user-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #9d4edd;
}

.user-avatar i {
    color: #00d4ff;
    font-size: 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 85vh;
    margin-top: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.7) 50%, transparent 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 700px;
}

.content-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge.trending {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
}

.badge.new {
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
    color: #fff;
}

.badge.rating {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: #9d4edd;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    color: rgba(224, 224, 224, 0.7);
    font-size: 15px;
}

.separator {
    color: #9d4edd;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(224, 224, 224, 0.8);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    color: #fff;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(157, 78, 221, 0.6);
}

.btn-secondary {
    background: rgba(157, 78, 221, 0.1);
    color: #fff;
    padding: 15px 35px;
    border: 2px solid rgba(157, 78, 221, 0.5);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.2);
    border-color: #9d4edd;
}

.btn-icon {
    background: rgba(157, 78, 221, 0.1);
    border: 2px solid rgba(157, 78, 221, 0.5);
    padding: 15px;
    border-radius: 50%;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: #9d4edd;
    color: #fff;
    transform: rotate(360deg);
}

.progress-indicator {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-bar {
    width: 400px;
    height: 5px;
    background: rgba(157, 78, 221, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9d4edd 0%, #00d4ff 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: rgba(224, 224, 224, 0.7);
}

/* ============================================
   QUICK CATEGORIES
   ============================================ */
.quick-categories {
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.category-chips {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.chip {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    color: #e0e0e0;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chip:hover,
.chip.active {
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    border-color: #9d4edd;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 50px 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.see-all {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.see-all:hover {
    gap: 12px;
}

.content-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.content-carousel::-webkit-scrollbar {
    height: 8px;
}

.content-carousel::-webkit-scrollbar-track {
    background: rgba(157, 78, 221, 0.1);
    border-radius: 10px;
}

.content-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #9d4edd 0%, #00d4ff 100%);
    border-radius: 10px;
}

/* ============================================
   CONTENT CARDS
   ============================================ */
.content-card {
    min-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.3);
    border-color: #9d4edd;
}

.card-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .card-image img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.content-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 60px;
    color: #00d4ff;
}

.progress-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent);
}

.progress-bar-small {
    width: 100%;
    height: 4px;
    background: rgba(157, 78, 221, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-small {
    height: 100%;
    background: linear-gradient(90deg, #9d4edd 0%, #00d4ff 100%);
    border-radius: 10px;
}

.card-info {
    padding: 15px;
}

.card-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
}

.card-info p {
    font-size: 14px;
    color: rgba(224, 224, 224, 0.7);
}

.card-info i {
    color: #00d4ff;
    margin-right: 5px;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 5px 15px;
    border-radius: 8px;
    z-index: 2;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
}

/* ============================================
   ORIGINALS SECTION
   ============================================ */
.featured-originals {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.05) 0%, rgba(15, 52, 96, 0.05) 100%);
    padding: 60px;
    border-radius: 20px;
    margin: 0 60px 50px;
}

.originals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.original-card {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(157, 78, 221, 0.2);
}

.original-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(157, 78, 221, 0.4);
    border-color: #9d4edd;
}

.original-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.original-card:hover img {
    transform: scale(1.1);
}

.original-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.original-card:hover .original-overlay {
    opacity: 1;
}

.original-badge {
    background: linear-gradient(135deg, #9d4edd 0%, #00d4ff 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 15px;
}

.original-overlay h4 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.play-btn {
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: rgba(26, 26, 46, 0.8);
    padding: 60px 60px 30px;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(224, 224, 224, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #00d4ff;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #9d4edd;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(157, 78, 221, 0.1);
    color: rgba(224, 224, 224, 0.6);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .navigation {
        padding: 20px 30px;
    }
    
    .hero-content-wrapper,
    .content-section,
    .quick-categories {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .hero-title {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .navigation {
        padding: 15px 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-content-wrapper,
    .content-section,
    .quick-categories {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .content-card {
        min-width: 200px;
    }
    
    .originals-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 200px;
    }
}