@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background: #0A0C12; 
    font-family: 'Inter', sans-serif; 
    color: #F0F3FA; 
    overflow-x: hidden; 
}

.app-container { max-width: 1400px; margin: 0 auto; padding: 1.5rem 2rem 3rem; }
.main-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.logo h1 { font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, #FF4D6D, #FFB347); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.5px; margin:0; }
.nav-menu { display: flex; gap: 1.8rem; align-items: center; }
.nav-menu a { color: #CBD5E6; text-decoration: none; font-weight: 700; font-size: .9rem; transition: .2s; }
.nav-menu a:hover, .nav-menu a.active { color: #FF4D6D; }
.user-area { display: flex; align-items: center; gap: 16px; background: #121520; padding: 6px 18px 6px 12px; border-radius: 50px; }
.avatar { width: 24px; height: 24px; background: linear-gradient(145deg, #FF4D6D, #FF9F4A); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: .75rem; }
.user-name { font-weight: 700; font-size: .65rem; }
.user-handle { font-size: .5rem; color: #8E9AAF; }

.trending-hero { background: linear-gradient(105deg, #0F1322, #0A0D18); border-radius: 16px; padding: 1.8rem; margin: 2rem 0 2rem; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; border: 1px solid rgba(255,77,109,.2); }
.marvel-info { flex: 2; }
.marvel-info h2 { font-size: 1.8rem; font-weight: 800; margin-top:0.5rem; }
.marvel-desc { margin: .8rem 0 1rem; color: #C7D0EC; max-width: 550px; line-height: 1.5; }
.badge-trailer { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,77,109,.18); padding: 5px 16px; border-radius: 40px; font-size: .75rem; font-weight: 800; letter-spacing: .3px; color: #FFB347; margin-bottom: 1rem; border: .5px solid rgba(255,77,109,.4); }

.poster-mock { flex: 1; display: flex; justify-content: center; }
.mock-thumb { background: radial-gradient(circle at 30% 20%, #292F4A, #0B0E1A); width: 160px; height: 210px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 12px 25px rgba(0,0,0,.5); overflow: hidden; }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.btn-watch { border: none; padding: 10px 24px; border-radius: 40px; font-weight: 800; font-family: inherit; cursor: pointer; color: white; background: #FF4D6D; transition: 0.2s; }
.btn-watch:hover { transform: scale(1.05); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; flex-wrap: wrap; }
.section-head h3 { font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.see-all { font-size: .75rem; color: #FF4D6D; cursor: pointer; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin: 1rem 0 1.2rem; }
.filter-chip { background: #181E2C; padding: 6px 18px; border-radius: 40px; font-size: .8rem; font-weight: 800; cursor: pointer; transition: .2s; }
.filter-chip.active, .filter-chip:hover { background: #FF4D6D; color: white; }

.movies-scroll { display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: .8rem; scrollbar-width: thin; }
.movie-card { min-width: 180px; width: 180px; background: #10131F; border-radius: 16px; transition: .2s; cursor: pointer; border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.movie-card:hover { transform: translateY(-5px); border-color: #FF4D6D; }
.card-img { height: 150px; background: linear-gradient(145deg, #1C2137, #0B0E19); display: flex; align-items: center; justify-content: center; font-size: 1rem; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { font-size: 2rem; opacity: .8; color: white; }
.thumb-status { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(0,0,0,.75); border-radius: 20px; padding: 4px 8px; text-align: center; font-size: .6rem; color: #fff; }
.card-info { padding: 12px; }
.card-title { font-weight: 800; font-size: .85rem; margin-bottom: 4px;}
.card-sub { font-size: .65rem; color: #9AA3C5; margin-top: 5px; white-space: normal; word-break: break-word; }
.action-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap:wrap;}
.genre-tag { background: #FF4D6D20; padding: 2px 8px; border-radius: 20px; font-size: .6rem; }
.footer-note { text-align: center; margin-top: 3rem; font-size: .7rem; color: #6E7696; }

/* Override default bootstrap nav link color so layout doesn't override our theme */
.nav-link.text-dark { color: #CBD5E6 !important; }