/* ============================================================
   F2movies – Custom Stylesheet
   ============================================================ */

:root {
    --primary:     #c8f000;   /* lime-yellow (F2movies brand) */
    --primary-dark:#9ab800;
    --bg-dark:     #0d0d0d;
    --bg-card:     #161616;
    --bg-header:   #111111;
    --text:        #e0e0e0;
    --text-muted:  #888;
    --border:      #2a2a2a;
}

/* ---- SEO hidden element ---- */
.seo-hidden { display: none; }

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

/* ---- Header ---- */
#xheader {
    background: var(--bg-header);
    border-bottom: 2px solid var(--primary);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#xheader .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---- Logo ---- */
#xlogo, .hero-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.logo-f        { color: #fff; }
.logo-2        { color: var(--primary); font-size: 1.1em; }
.logo-movies   { color: #fff; }

.hero-logo {
    font-size: 3.5rem;
    margin-bottom: 6px;
}

/* ---- Navigation ---- */
#xheader_menu { display: block; }

.header_menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}

.header_menu-list .nav-item a {
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.header_menu-list .nav-item a:hover {
    background: var(--primary);
    color: #000;
    text-decoration: none;
}

.header-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    #xheader_menu {
        display: none;
        width: 100%;
    }
    #xheader_menu.active {
        display: block;
    }
    .header_menu-list {
        flex-direction: column;
        gap: 2px;
        padding: 10px 0;
    }
}

/* ---- Hero Banner ---- */
#xhero {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    display: block;
}

#hero-banner {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

#hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.65) 55%,
        rgba(13,13,13,0.97) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    text-align: center;
    padding: 20px 16px;
    width: 100%;
    max-width: 720px;
}

/* ---- Main Content ---- */
#xmain-wrapper {
    padding: 40px 0 60px;
}

#mw-home { max-width: 900px; margin: 0 auto; }

.mw-sitename {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 4px 0 22px;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    #hero-banner  { height: 320px; }
    #xhero       { max-height: 320px; }
}

/* ---- Search Box ---- */
.home-search { margin: 20px auto; max-width: 680px; }

.search-form {
    display: flex;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(200,240,0,0.15);
}

.search-input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 1rem;
    outline: none;
    color: #222;
    background: #fff;
}

.search-icon {
    background: var(--primary);
    border: none;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #000;
    transition: background 0.2s;
}

.search-icon:hover { background: var(--primary-dark); }

/* ---- CTA Button ---- */
.btn-cta {
    background: var(--primary);
    color: #000 !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 36px;
    border-radius: 50px;
    border: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 18px rgba(200,240,0,0.3);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---- Article / SEO Content ---- */
.mw-body {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 36px 40px;
    border: 1px solid var(--border);
}

.mw-body h1 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
}

.mw-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 14px;
}

.mw-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.mw-body p {
    color: #ccc;
    margin-bottom: 14px;
}

.mw-body ul, .mw-body ol {
    color: #ccc;
    padding-left: 22px;
    margin-bottom: 16px;
}

.mw-body ul li, .mw-body ol li {
    margin-bottom: 8px;
}

.mw-body strong { color: #fff; }

/* ---- FAQ ---- */
.faq-section { display: flex; flex-direction: column; gap: 18px; }

.faq-item {
    background: #1e1e1e;
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
}

.faq-item p { margin: 0; }

/* ---- Footer ---- */
#xfooter {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 24px 0 10px;
}

#xfooter a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.2s;
}

#xfooter a:hover { color: var(--primary); text-decoration: none; }

#xfooter-about {
    background: #060606;
    padding: 18px 0 24px;
}

.about-text {
    color: #666;
    font-size: 0.85rem;
    max-width: 760px;
    margin: 0 auto 8px;
    line-height: 1.6;
}

.copyright {
    color: #555;
    font-size: 0.82rem;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .mw-body { padding: 22px 18px; }
    .mw-body h1 { font-size: 1.4rem; }
    .mw-body h2 { font-size: 1.15rem; }
    .hero-logo  { font-size: 2.4rem; }
}
