/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e50914;
    --dark-bg: #000;
    --card-bg: #111522;
    --text-light: #fff;
    --text-muted: #b3b3b3;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5); }
    80% { transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.floating-svg {
    position: absolute;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}
.float-1 { top: 20%; left: 10%; }
.float-2 { top: 60%; right: 15%; animation-delay: 2s; }

/* Scroll Reveal Classes */
.section-animate {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.section-animate.visible {
    opacity: 1;
}

.slide-up-anim { opacity: 0; }
.visible .slide-up-anim { animation: slideUp 0.8s forwards; }
.slide-right-anim { opacity: 0; }
.visible .slide-right-anim { animation: slideRight 0.8s forwards; }
.pop-in-anim { opacity: 0; }
.visible .pop-in-anim { animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

.delay-1 { animation-delay: 0.2s !important; }
.delay-2 { animation-delay: 0.4s !important; }
.delay-3 { animation-delay: 0.6s !important; }

/* Navbar */
.nav-container {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo svg {
    height: 36px;
    transition: transform 0.3s;
}
.logo svg:hover {
    transform: scale(1.05);
}

.clone-badge {
    background-color: var(--primary-red);
    color: var(--text-light);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.3rem 1.5rem 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border 0.3s;
}
.lang-selector:hover { border-color: var(--text-light); }
.lang-selector option { color: #000; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 20;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(0,0,0,0.95);
    position: absolute;
    top: 100%;
    right: 2rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #222;
    transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--primary-red); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.active { display: flex; animation: popIn 0.3s ease-out; }

/* Hero Section SEO Update */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden; 
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.netflix-curve-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; 
    z-index: 3;
    overflow: hidden;
}

.netflix-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: transparent;
    border-bottom: 100px solid #000;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.5); 
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1rem;
}

.qr-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
.qr-box:hover {
    transform: translateY(-5px);
}
.qr-box svg {
    width: 150px;
    height: 150px;
    display: block;
}

.qr-text {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-contact {
    background-color: #25D366;
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.btn-contact:hover {
    background-color: #1DA851;
    transform: scale(1.05);
}

/* Sections Common */
.section-padding {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    background: var(--dark-bg);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

/* ==================================
   Top 10 Slider with Arrows
   ================================== */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Hide native scrollbars across browsers 
*/
.slider-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth; /* Smooth scrolling for JS buttons */
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;    /* Firefox */
}
.slider-container::-webkit-scrollbar {
    display: none;            /* Chrome, Safari, Opera */
}

/* The Hover Arrows */
.slider-btn {
    position: absolute;
    z-index: 15;
    top: 0;
    bottom: 0;
    width: 50px;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-wrapper:hover .slider-btn {
    opacity: 1; /* Show buttons when hovering over the row */
}

/* Gradient shadows so it doesn't take grid space but is readable */
.left-btn {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), transparent);
    display: none; /* Hidden by default until scrolled via JS */
}

.right-btn {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.8), transparent);
}

.slider-btn:hover {
    font-size: 4rem; /* Slight scale effect on hover */
}

/* Slider Poster Links */
.slider-item {
    flex: 0 0 auto;
    display: block; /* Important for <a> tags */
    width: 180px;
    height: 270px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.slider-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.rank-number {
    position: absolute;
    bottom: -15px;
    left: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: black;
    -webkit-text-stroke: 3px white;
    z-index: 2;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Genres - SEO Images */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.genre-box {
    position: relative;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
}

.seo-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.genre-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
    transition: background 0.4s;
    z-index: 2;
}

.genre-title {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    transition: transform 0.3s;
}

.genre-box:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.3);
    border-color: var(--primary-red);
    z-index: 10;
}

.genre-box:hover .genre-overlay {
    background: linear-gradient(to top, rgba(229,9,20,0.8) 0%, rgba(0,0,0,0.1) 100%);
}

.genre-box:hover .genre-title {
    transform: scale(1.1);
}

/* Reasons to Join */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.reason-card {
    background: linear-gradient(145deg, #192133 0%, #111522 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: relative;
    min-height: 280px;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.reason-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, #1f2940 0%, #111522 100%);
}

.reason-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.card-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.floating-icon {
    animation: float 4s ease-in-out infinite;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background-color: #2d2d2d;
    transition: background-color 0.3s, transform 0.2s;
}

.faq-item:hover {
    background-color: #414141;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question .icon {
    font-size: 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 1.5rem;
    border-top: 1px solid #000;
    font-size: 1.3rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
    color: var(--primary-red);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--text-muted);
    background: var(--dark-bg);
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: var(--text-light);
}

.footer p { margin-bottom: 2rem; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-country {
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* ==================================
   MOBILE RESPONSIVENESS OVERHAUL
   ================================== */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .navbar { padding: 1rem; }
    
    .logo-wrapper { gap: 8px; }
    .logo svg { height: 26px; }
    .clone-badge { width: 35px; height: 35px; font-size: 0.5rem; }
    
    .hero { min-height: auto; padding-bottom: 80px; }
    .hero-content { padding-top: 100px; } 
    .hero h1 { font-size: 2.2rem; }
    .subtitle { font-size: 1.2rem; margin-bottom: 1rem; }
    .cta-text { font-size: 1rem; margin-bottom: 1.5rem; }
    
    .qr-box { padding: 0.8rem; }
    .qr-box svg { width: 100px; height: 100px; }
    .btn-contact { padding: 0.8rem 1.5rem; font-size: 1.1rem; }
    
    .netflix-curve-container { height: 60px; }
    .netflix-curve { border-bottom-width: 60px; height: 100px; }

    .section-padding { padding: 2rem 1rem; }
    h2 { font-size: 1.5rem; margin-bottom: 1rem;}
    
    .slider-item { width: 140px; height: 210px; }
    .rank-number { font-size: 4rem; bottom: -10px; left: -5px; }

    /* Always show buttons on mobile for touch UX, or they can just swipe */
    .slider-btn { opacity: 1; width: 35px; font-size: 2rem; }

    .faq-question { font-size: 1.2rem; padding: 1rem; }
    .faq-answer p { font-size: 1.1rem; padding: 1rem; }
}