* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0b0b0f;
    color: #e8e8ea;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* HEADER */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    background: linear-gradient(to bottom, rgba(6,6,10,0.95), rgba(6,6,10,0));
    transition: background 0.3s;
}
header.scrolled { background: #0b0b0f; box-shadow: 0 2px 12px rgba(0,0,0,0.5); }

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #ff4d5e, #ff8a5b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul { display: flex; list-style: none; gap: 28px; }
nav a { font-size: 15px; color: #cfcfd4; transition: color 0.2s; }
nav a:hover, nav a.active { color: #fff; }

.header-right { display: flex; align-items: center; gap: 22px; }
.icon-btn { font-size: 18px; color: #cfcfd4; cursor: pointer; }
.avatar {
    width: 32px; height: 32px; border-radius: 6px;
    background: linear-gradient(135deg, #ff4d5e, #6a5bff);
}

.menu-icon { display: none; }

/* HERO */
.hero {
    position: relative;
    height: 92vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 30%;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, #0b0b0f 5%, rgba(11,11,15,0.35) 45%, rgba(11,11,15,0.1) 100%),
                linear-gradient(to right, rgba(11,11,15,0.75) 0%, rgba(11,11,15,0.1) 55%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5% 6%;
    max-width: 640px;
}
.hero-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,77,94,0.15);
    border: 1px solid rgba(255,77,94,0.4);
    color: #ff8a93;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.hero-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #b8b8be;
    font-size: 14px;
    margin-bottom: 16px;
}
.hero-meta .rating { color: #4ade80; font-weight: 700; }
.hero-content p {
    font-size: 16px;
    color: #d4d4d8;
    line-height: 1.55;
    margin-bottom: 26px;
}
.hero-buttons { display: flex; gap: 14px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}
.btn-primary { background: #fff; color: #0b0b0f; }
.btn-primary:hover { background: #e0e0e0; }
.btn-secondary { background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(6px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* ROWS */
.rows { position: relative; z-index: 3; margin-top: -60px; padding-bottom: 60px; }
.row-block { padding: 0 5% 34px; }
.row-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}
.row-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.card {
    position: relative;
    flex: 0 0 auto;
    width: 230px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #17171d;
    transition: transform 0.25s ease;
}
.card:hover { transform: scale(1.05); z-index: 5; }
.card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
}
.card:hover img { filter: brightness(1.05); }
.card-info { padding: 10px 12px 12px; }
.card-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.card-info span { font-size: 12px; color: #8a8a92; }

.badge-soon {
    position: absolute; top: 8px; right: 8px;
    background: #2a2a33;
    color: #b8b8be;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #3a3a44;
}
.play-overlay {
    position: absolute; inset: 0 0 40% 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    background: rgba(0,0,0,0.25);
}
.card:hover .play-overlay { opacity: 1; }
.play-overlay .circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: #0b0b0f;
}

/* MODAL PLAYER */
.modal {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.modal.open { display: flex; }
.modal-inner {
    width: min(1100px, 92vw);
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.modal-inner video { width: 100%; display: block; max-height: 78vh; background: #000; }
.modal-close {
    position: absolute;
    top: 24px; right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 210;
    background: rgba(30,30,35,0.7);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.modal-meta { padding: 18px 24px 22px; }
.modal-meta h3 { font-size: 20px; margin-bottom: 8px; }
.modal-meta p { color: #b8b8be; font-size: 14px; line-height: 1.5; }

/* FOOTER */
footer {
    padding: 40px 5% 50px;
    border-top: 1px solid #1e1e24;
    color: #7a7a82;
    font-size: 13px;
}
.footer-cols {
    display: flex;
    gap: 60px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.footer-cols h5 { color: #cfcfd4; font-size: 13px; margin-bottom: 12px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a:hover { color: #cfcfd4; }

@media (max-width: 900px) {
    nav { display: none; }
    .hero-content h1 { font-size: 34px; }
    .hero { height: 78vh; }
    .card { width: 170px; }
    .card img { height: 96px; }
}
