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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e50914;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.btn-red {
    background-color: #e50914;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
}

.btn-red:hover {
    background-color: #c11119;
    box-shadow: 0 4px 18px rgba(229, 9, 20, 0.6);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-block {
    width: 100%;
    padding: 13px;
    font-size: 1.05rem;
    margin-top: 15px;
}

.divider {
    height: 8px;
    background-color: #232323;
    width: 100%;
}

.portfolio-disclaimer {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 7px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1002;
}

.portfolio-disclaimer strong {
    color: #38bdf8;
}

.portfolio-disclaimer i {
    color: #38bdf8;
}

.clone-badge {
    background: #e50914;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}

.demo-warning-note {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #fef08a;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.96);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    height: 38px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e5e5e5;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: #e50914;
}

.nav-links li a.active {
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid #e50914;
    padding-bottom: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-search-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    padding: 5px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search-box:focus-within {
    border-color: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.nav-search-box i {
    font-size: 0.85rem;
    color: #bbb;
    margin-right: 8px;
}

.nav-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
    width: 120px;
    transition: width 0.3s ease;
}

.nav-search-box input:focus {
    width: 170px;
}

.nav-search-box input::placeholder {
    color: #888;
}

.lang-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    padding: 5px 12px;
    transition: border-color 0.2s ease;
}

.lang-box:hover {
    border-color: #fff;
}

.lang-box i {
    font-size: 0.85rem;
    margin-right: 8px;
    color: #fff;
}

.lang-box select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.lang-box select option {
    background: #181818;
    color: #fff;
}

.header {
    position: relative;
    min-height: 96vh;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.78) 75%, #000000 100%),
                linear-gradient(to top, rgba(0, 0, 0, 0.85) 0, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.85) 100%),
                url('./image/hero_bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 130px 40px 100px;
}

.hero {
    max-width: 820px;
    margin: auto;
    text-align: center;
    padding: 20px 10px 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #ff5e65;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.4rem);
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

.hero h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 500;
    margin-bottom: 18px;
    color: #f1f1f1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    margin-bottom: 26px;
    color: #d8d8d8;
}

.email-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    margin: auto;
}

.email-form input {
    flex: 1;
    height: 56px;
    padding: 14px 18px;
    font-size: 1.05rem;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
}

.email-form input:focus {
    border-color: #e50914;
    box-shadow: 0 0 14px rgba(229, 9, 20, 0.45);
    background: rgba(10, 10, 10, 0.95);
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: radial-gradient(50% 500% at 50% -420%, rgba(64, 64, 64, 0) 80%, rgba(229, 9, 20, 0.35) 85%, #000 100%);
    border-top: 3.5px solid #e50914;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -10px 25px rgba(229, 9, 20, 0.25);
}

.feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 70px 50px;
    gap: 40px;
}

.feature.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-text p {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #b3b3b3;
    line-height: 1.4;
}

.feature-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-img img {
    border-radius: 8px;
    max-height: 350px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.movies-section {
    max-width: 1250px;
    margin: auto;
    padding: 60px 40px;
}

.movies-title-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.movies-title-bar h2 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.trending-pill {
    background: linear-gradient(135deg, #e50914, #ff5e65);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.movies-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.slider-arrow:hover {
    background: #e50914;
    border-color: #e50914;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.6);
}

.slider-arrow.left-arrow {
    left: -18px;
}

.slider-arrow.right-arrow {
    right: -18px;
}

.movies-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 15px 5px 25px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.movies-row::-webkit-scrollbar {
    display: none;
}

.movie-card {
    position: relative;
    flex: 0 0 200px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}

.movie-card.hidden {
    display: none;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.04);
}

.card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e50914;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

.movie-card img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover img {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9), 0 0 15px rgba(229, 9, 20, 0.4);
    border-color: rgba(229, 9, 20, 0.6);
}

.movie-card .rank {
    position: absolute;
    bottom: -15px;
    left: -12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    line-height: 1;
    font-weight: 900;
    color: #000;
    -webkit-text-stroke: 4px #595959;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    transition: -webkit-text-stroke 0.2s ease;
}

.movie-card:hover .rank {
    -webkit-text-stroke: 4px #e50914;
}

.faq {
    max-width: 900px;
    margin: auto;
    padding: 70px 50px;
    text-align: center;
}

.faq h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 45px;
}

.faq-item {
    background-color: #232323;
    text-align: left;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.faq-item:hover {
    background-color: #303030;
}

.faq-btn {
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-btn i {
    font-size: 1.35rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-btn i {
    transform: rotate(45deg);
}

.faq-ans {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #232323;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.faq-ans p {
    padding: 22px 26px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: #e0e0e0;
    line-height: 1.6;
}

.faq-cta-text {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    margin-bottom: 20px;
    color: #d8d8d8;
}

.signin-section {
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    background: #141414;
}

.signin-box {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 45px 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.signin-box h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.input-group {
    margin-bottom: 16px;
}

.password-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-group input {
    padding-right: 44px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    user-select: none;
}

.toggle-password:hover {
    color: #ffffff;
}

.input-group input {
    width: 100%;
    padding: 13px 16px;
    background: #333333;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #fff;
    font-size: 0.98rem;
    outline: none;
    transition: all 0.2s ease;
}

.input-group input:focus {
    background: #404040;
    border-color: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.form-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 12px;
}

.form-help label {
    cursor: pointer;
}

.form-help a:hover {
    text-decoration: underline;
    color: #fff;
}

.signin-footer {
    margin-top: 28px;
    font-size: 0.92rem;
    color: #888888;
}

.signin-footer a {
    color: #ffffff;
    font-weight: 600;
}

.signin-footer a:hover {
    text-decoration: underline;
}

.footer {
    background: #000000;
    border-top: 8px solid #232323;
    padding: 60px 0 45px;
    color: #737373;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-top-text {
    margin-bottom: 30px;
    font-size: 1rem;
    color: #8c8c8c;
}

.footer-top-text a {
    color: #8c8c8c;
    text-decoration: underline;
}

.footer-top-text a:hover {
    color: #ffffff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 20px;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #737373;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 0.8rem;
    color: #555555;
}

@media (max-width: 960px) {
    .nav-container {
        padding: 0 20px;
        flex-wrap: wrap;
    }
    .nav-links {
        gap: 14px;
    }
    .feature, .feature.reverse {
        flex-direction: column;
        text-align: center;
        padding: 50px 24px;
        gap: 30px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .navbar {
        padding: 10px 0;
    }
    .nav-container {
        padding: 0 14px;
        gap: 10px;
    }
    .nav-left {
        gap: 14px;
    }
    .nav-links {
        gap: 10px;
    }
    .nav-links li a {
        font-size: 0.82rem;
    }
    .logo {
        height: 26px;
    }
    .nav-search-box {
        padding: 4px 8px;
    }
    .nav-search-box input {
        width: 70px;
        font-size: 0.78rem;
    }
    .nav-search-box input:focus {
        width: 100px;
    }
    .lang-box {
        display: none;
    }
    .btn {
        padding: 6px 12px;
        font-size: 0.82rem;
    }
    .header {
        padding: 100px 18px 50px;
    }
    .slider-arrow.left-arrow {
        left: 2px;
    }
    .slider-arrow.right-arrow {
        right: 2px;
    }
    .email-form {
        flex-direction: column;
        width: 100%;
    }
    .email-form input {
        width: 100%;
    }
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    .movies-section, .faq, .footer {
        padding: 40px 20px;
    }
    .footer-container {
        padding: 0 10px;
    }
    .movie-card {
        flex: 0 0 155px;
    }
    .movie-card img {
        height: 225px;
    }
    .movie-card .rank {
        font-size: 4.2rem;
    }
    .faq-btn {
        padding: 16px 18px;
    }
    .faq-ans p {
        padding: 16px 18px;
    }
    .signin-box {
        padding: 30px 20px;
    }
}
