/**
 * Filmibee Modern Theme CSS - Premium Cinematic Edition
 * Mobile-First, Ultra-Lightweight, Visually Stunning Entertainment & Movie Portal
 */

:root {
    /* 1. Theme Brand Variables */
    --fb-primary: #e50914;
    --fb-primary-hover: #ff1f2d;
    --fb-primary-glow: rgba(229, 9, 20, 0.35);
    --fb-accent: #f5c518;
    --fb-accent-glow: rgba(245, 197, 24, 0.35);
    
    /* Cinematic Dark Theme Palette */
    --fb-body-bg: #0b0e14;
    --fb-surface: #12141c;
    --fb-card-bg: #161b22;
    --fb-card-hover: #1c2129;
    
    --fb-text: #ffffff;
    --fb-text-body: #cbd5e1;
    --fb-text-muted: #8492a6;
    
    --fb-border: rgba(255, 255, 255, 0.08);
    --fb-border-hover: rgba(229, 9, 20, 0.45);
    
    --fb-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --fb-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    --fb-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --fb-glow: 0 0 25px rgba(229, 9, 20, 0.25);
    
    --fb-radius-sm: 6px;
    --fb-radius: 12px;
    --fb-radius-lg: 18px;
    
    --fb-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --fb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fb-container: 1440px;

    /* 2. Bootstrap 5 Seamless Integration & Theme Harmonization */
    --bs-primary: #e50914;
    --bs-primary-rgb: 229, 9, 20;
    --bs-body-bg: #0b0e14;
    --bs-body-bg-rgb: 11, 14, 20;
    --bs-body-color: #cbd5e1;
    --bs-body-color-rgb: 203, 213, 225;
    --bs-body-font-family: var(--fb-font);
    --bs-link-color: #e50914;
    --bs-link-color-rgb: 229, 9, 20;
    --bs-link-hover-color: #ff3b30;
    --bs-link-hover-color-rgb: 255, 59, 48;
    --bs-link-decoration: none;
    --bs-border-color: rgba(255, 255, 255, 0.08);
    --bs-border-color-translucent: rgba(255, 255, 255, 0.08);
    --bs-heading-color: #ffffff;
    --bs-card-bg: #161b22;
    --bs-card-color: #cbd5e1;
    --bs-card-border-color: rgba(255, 255, 255, 0.08);
    --bs-card-border-radius: 12px;
    --bs-modal-bg: #161b22;
    --bs-modal-color: #cbd5e1;
    --bs-modal-border-color: rgba(255, 255, 255, 0.12);
    --bs-modal-header-border-color: rgba(255, 255, 255, 0.08);
    --bs-modal-footer-border-color: rgba(255, 255, 255, 0.08);
    --bs-modal-border-radius: 16px;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* ==========================================================================
   Base & Reset (Harmonized with Bootstrap 5 Reboot)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--fb-body-bg);
}

body {
    font-family: var(--fb-font);
    background-color: var(--fb-body-bg);
    color: var(--fb-text-body);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-bottom: 64px; /* Space for mobile app bottom bar */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--fb-transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Bootstrap Container & Grid Harmonization (Desktop 80%, Mobile 100%)
   ========================================================================== */
.container,
.container-xxl,
.fb-container {
    width: 80%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 1199px) {
    .container,
    .container-xxl,
    .fb-container {
        width: 88%;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .container,
    .container-xxl,
    .fb-container {
        width: 94%;
        max-width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 576px) {
    .container,
    .container-xxl,
    .fb-container {
        width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* ==========================================================================
   Bootstrap Component Harmonization (Buttons, Forms, Cards, Modals)
   ========================================================================== */
/* Buttons */
.btn-primary,
.fb-btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--fb-primary);
    --bs-btn-border-color: var(--fb-primary);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--fb-primary-hover);
    --bs-btn-hover-border-color: var(--fb-primary-hover);
    --bs-btn-focus-shadow-rgb: 229, 9, 20;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #b80710;
    --bs-btn-active-border-color: #b80710;
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: var(--fb-primary);
    --bs-btn-disabled-border-color: var(--fb-primary);
    font-weight: 700;
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
}

.btn-secondary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #21262d;
    --bs-btn-border-color: rgba(255, 255, 255, 0.12);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #30363d;
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border-radius: var(--fb-radius-sm);
}

.btn-outline-primary {
    --bs-btn-color: var(--fb-primary);
    --bs-btn-border-color: var(--fb-primary);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--fb-primary);
    --bs-btn-hover-border-color: var(--fb-primary);
    --bs-btn-focus-shadow-rgb: 229, 9, 20;
    font-weight: 700;
    border-radius: var(--fb-radius-sm);
}

/* Forms & Inputs */
.form-control,
.form-select {
    background-color: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: #1a202c;
    border-color: var(--fb-primary);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: #64748b;
}

.input-group-text {
    background-color: #21262d;
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

/* Modals */
.modal-content {
    background-color: #161b22;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
}

.modal-backdrop.show {
    opacity: 0.75;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.btn-close:hover {
    opacity: 1;
}

/* Dropdowns */
.dropdown-menu {
    background-color: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 6px;
}

.dropdown-item {
    color: #cbd5e1;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.9rem;
    transition: var(--fb-transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(229, 9, 20, 0.15);
    color: #ffffff;
}

.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Cards */
.card {
    background-color: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #f8fafc;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.fb-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.fb-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.fb-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.fb-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fb-logo-img {
    height: 36px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
}

.fb-brand-text {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.fb-brand-text span {
    color: var(--fb-primary);
}

.fb-nav-desktop {
    display: none;
}

@media (min-width: 992px) {
    .fb-nav-desktop {
        display: flex;
        align-items: center;
        gap: 6px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .fb-nav-link {
        font-size: 0.9rem;
        font-weight: 600;
        color: #cbd5e1;
        padding: 8px 14px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .fb-nav-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }

    .fb-nav-link.active,
    .fb-nav-link.current-menu-item {
        color: #ffffff;
        background: rgba(229, 9, 20, 0.15);
        border: 1px solid rgba(229, 9, 20, 0.35);
        font-weight: 700;
    }
}

.fb-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.fb-search-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    height: 38px;
    padding: 0 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fb-search-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.fb-search-trigger-text {
    font-size: 0.82rem;
    font-weight: 500;
}

.fb-search-kbd {
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.08);
    color: #64748b;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fb-btn-header-subscribe {
    height: 38px;
    padding: 0 16px;
    background: var(--fb-primary);
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.35);
}

.fb-btn-header-subscribe:hover {
    background: var(--fb-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.5);
}

.fb-menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (min-width: 992px) {
    .fb-menu-toggle {
        display: none;
    }
}

/* Reading Progress Bar (Single Article Only) */
.fb-reading-progress {
    position: fixed;
    top: 68px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff1e27, #e50914);
    box-shadow: 0 0 10px var(--fb-primary);
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ==========================================================================
   Section Headers & Accents
   ========================================================================== */
.fb-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 44px 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.fb-section-title {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    margin: 0;
}

.fb-title-dot {
    display: inline-block;
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ff2e3a, #e50914);
    box-shadow: 0 0 10px var(--fb-primary-glow);
}

.fb-section-link {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fb-text-muted);
    border: 1px solid var(--fb-border);
    padding: 5px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--fb-transition);
}

.fb-section-link:hover {
    color: #ffffff;
    border-color: var(--fb-primary);
    background: rgba(229, 9, 20, 0.12);
}

/* ==========================================================================
   Hero Spotlight Section
   ========================================================================== */
.fb-hero-section {
    margin-top: 24px;
}

.fb-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .fb-hero-grid {
        grid-template-columns: 1.8fr 1fr;
    }
}

.fb-hero-card {
    position: relative;
    border-radius: var(--fb-radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--fb-shadow-lg);
    border: 1px solid var(--fb-border);
    min-height: 360px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .fb-hero-card {
        min-height: 440px;
    }
}

.fb-hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.fb-hero-link {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.fb-hero-card:hover .fb-hero-img {
    transform: scale(1.04);
}

.fb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(11,12,16,0.5) 40%, rgba(11,12,16,0.98) 100%);
    pointer-events: none;
}

.fb-hero-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
    color: #ffffff;
}

@media (min-width: 768px) {
    .fb-hero-content {
        padding: 32px;
    }
}

.fb-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.fb-badge-breaking {
    background: linear-gradient(135deg, #ff1e27, #b80710);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 0 12px var(--fb-primary-glow);
    animation: fb-pulse 2s infinite;
}

@keyframes fb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.fb-hero-title {
    font-size: clamp(1.3rem, 2.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 14px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.fb-hero-title a:hover {
    color: var(--fb-accent);
}

.fb-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--fb-text-body);
}

.fb-hero-read-btn {
    margin-left: auto;
    background: var(--fb-primary);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 0 12px var(--fb-primary-glow);
    transition: var(--fb-transition);
}

.fb-hero-read-btn:hover {
    background: var(--fb-primary-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.fb-hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   Cards: Grid, Badges & Lists
   ========================================================================== */
.filmibee-card {
    height: 100%;
}

.fb-card-inner {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    overflow: hidden;
    box-shadow: var(--fb-shadow-sm);
    transition: var(--fb-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--fb-border);
}

.fb-card-inner:hover {
    transform: translateY(-5px);
    border-color: var(--fb-border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--fb-primary-glow);
}

.fb-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #11141e;
}

.fb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.fb-card-inner:hover .fb-card-img {
    transform: scale(1.05);
}

/* Category Badges */
.fb-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
}

.fb-badge-cat {
    background: linear-gradient(135deg, #e50914, #b80710);
    color: #ffffff;
}

.fb-badge-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0b0c10;
}

.fb-badge-pink {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: #ffffff;
}

.fb-badge-purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #ffffff;
}

.fb-badge-teal {
    background: linear-gradient(135deg, #06b6d4, #0e7490);
    color: #ffffff;
}

.fb-badge-hero {
    position: static;
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.fb-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fb-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--fb-text-muted);
    margin-bottom: 8px;
}

.fb-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fb-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-card-inner:hover .fb-card-title a {
    color: var(--fb-primary-hover);
}

.fb-card-excerpt {
    font-size: 0.84rem;
    color: var(--fb-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Horizontal Cards (Sidebars & Lists) */
.fb-card-horizontal {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: var(--fb-card-bg);
    border: 1px solid var(--fb-border);
    border-radius: var(--fb-radius);
    transition: var(--fb-transition);
}

.fb-card-horizontal:hover {
    box-shadow: var(--fb-shadow-sm);
    border-color: var(--fb-border-hover);
    transform: translateX(4px);
    background: var(--fb-card-hover);
}

.fb-h-thumb {
    position: relative;
    width: 110px;
    height: 75px;
    flex-shrink: 0;
    border-radius: var(--fb-radius-sm);
    overflow: hidden;
    background: #11141e;
}

.fb-h-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-h-rank {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: var(--fb-primary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.fb-h-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.fb-h-cat {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fb-primary);
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.fb-h-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-card-horizontal:hover .fb-h-title a {
    color: var(--fb-primary-hover);
}

.fb-h-meta {
    font-size: 0.72rem;
    color: var(--fb-text-muted);
}

/* 2-Column Spotlight Split Grid ("Movies & Gossips") */
.fb-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    .fb-split-grid {
        grid-template-columns: 1.4fr 1fr;
    }
}

.fb-split-featured {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    overflow: hidden;
    border: 1px solid var(--fb-border);
    box-shadow: var(--fb-shadow-sm);
    transition: var(--fb-transition);
}

.fb-split-featured:hover {
    border-color: var(--fb-border-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.fb-split-featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.fb-split-body {
    padding: 20px;
}

.fb-split-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
    color: #ffffff;
}

.fb-split-body h3 a:hover {
    color: var(--fb-primary-hover);
}

.fb-split-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   AJAX Load More & Skeleton Loader
   ========================================================================== */
.fb-load-more-section {
    text-align: center;
    margin: 40px 0 50px;
}

.fb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--fb-transition);
}

.fb-btn-primary {
    background: var(--fb-primary);
    color: #ffffff;
    box-shadow: 0 4px 16px var(--fb-primary-glow);
}

.fb-btn-primary:hover {
    background: var(--fb-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--fb-primary-glow);
}

.fb-btn:disabled,
.fb-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.fb-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: fb-spin 0.7s linear infinite;
    display: none;
}

.fb-btn.loading .fb-spinner {
    display: inline-block;
}

@keyframes fb-spin {
    to { transform: rotate(360deg); }
}

/* Skeleton Loading Animation */
.fb-skeleton-grid {
    display: none;
}

.fb-skeleton-grid.active {
    display: contents;
}

.fb-skeleton-card {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    padding: 14px;
    border: 1px solid var(--fb-border);
}

.fb-skeleton-box {
    background: linear-gradient(90deg, #181b26 25%, #222636 50%, #181b26 75%);
    background-size: 200% 100%;
    animation: fb-shimmer 1.5s infinite;
    border-radius: 4px;
}

.fb-skeleton-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--fb-radius-sm);
    margin-bottom: 12px;
}

.fb-skeleton-title {
    height: 18px;
    width: 85%;
    margin-bottom: 8px;
}

.fb-skeleton-text {
    height: 14px;
    width: 60%;
}

@keyframes fb-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   Newsletter Section (GXL Integration)
   ========================================================================== */
.fb-newsletter-section {
    margin: 50px 0 0;
    position: relative;
    z-index: 5;
}

.fb-newsletter-box {
    background: linear-gradient(135deg, #171924 0%, #0d0f17 100%);
    border: 1px solid var(--fb-border);
    border-radius: var(--fb-radius-lg);
    padding: 36px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 992px) {
    .fb-newsletter-box {
        grid-template-columns: 1.2fr 1fr;
        padding: 44px 40px;
        gap: 36px;
    }
}

.fb-newsletter-badge {
    display: inline-block;
    background: rgba(229, 9, 20, 0.18);
    color: #ff3b45;
    border: 1px solid rgba(229, 9, 20, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.fb-newsletter-title {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 8px;
}

.fb-newsletter-desc {
    font-size: 0.92rem;
    color: var(--fb-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.fb-input-group {
    display: flex;
    align-items: center;
    background: #090a0f;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 4px 4px 4px 18px;
    transition: var(--fb-transition);
}

.fb-input-group:focus-within {
    border-color: var(--fb-primary);
    box-shadow: 0 0 15px var(--fb-primary-glow);
}

.fb-sub-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 0;
}

.fb-sub-input::placeholder {
    color: #64748b;
}

.fb-sub-btn {
    background: var(--fb-primary);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--fb-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 44px;
    box-shadow: 0 0 10px var(--fb-primary-glow);
}

.fb-sub-btn:hover {
    background: var(--fb-primary-hover);
    transform: translateY(-1px);
}

.fb-newsletter-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--fb-text-muted);
    margin-top: 8px;
    padding-left: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.fb-footer {
    background: #080a0f;
    color: #94a3b8;
    padding: 60px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    position: relative;
}

.fb-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .fb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .fb-footer-grid {
        grid-template-columns: 2.2fr 1.2fr 1.2fr 1.4fr;
        gap: 40px;
    }
}

.fb-footer-brand-link {
    display: inline-block;
    margin-bottom: 18px;
}

.fb-footer-brand img {
    height: 38px;
    width: auto;
    max-width: 175px;
    display: block;
}

.fb-footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 22px;
    color: #94a3b8;
    max-width: 380px;
}

.fb-footer-social {
    display: flex;
    gap: 12px;
}

.fb-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--fb-transition);
}

.fb-social-btn:hover {
    background: var(--fb-primary);
    border-color: var(--fb-primary);
    color: #ffffff;
    box-shadow: 0 0 14px var(--fb-primary-glow);
    transform: translateY(-3px);
}

.fb-footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-footer-title-bar {
    width: 3px;
    height: 14px;
    background: var(--fb-primary);
    border-radius: 2px;
    display: inline-block;
}

.fb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.fb-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.fb-footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.fb-footer-coverage-text {
    font-size: 0.86rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 16px;
}

.fb-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.fb-footer-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: fbPulse 2s infinite;
}

@keyframes fbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.fb-footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

@media (min-width: 768px) {
    .fb-footer-bottom-inner {
        flex-direction: row;
        text-align: left;
    }
}

.fb-footer-copyright {
    margin: 0;
    color: #94a3b8;
}

.fb-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
}

.fb-footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.fb-footer-legal-links span {
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (App-like UX)
   ========================================================================== */
.fb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--fb-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .fb-bottom-nav {
        display: none;
    }
}

.fb-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 4px;
    padding: 6px 10px;
    transition: var(--fb-transition);
}

.fb-bottom-nav-item:hover,
.fb-bottom-nav-item.active {
    color: var(--fb-primary);
}

.fb-bottom-nav-item svg {
    width: 20px;
    height: 20px;
}

/* Mobile Drawer */
.fb-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: none;
    transition: opacity 0.3s ease;
}

.fb-mobile-drawer.active {
    display: block;
}

.fb-drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    background: #0f1118;
    border-right: 1px solid var(--fb-border);
    padding: 24px 20px;
    overflow-y: auto;
    color: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.fb-mobile-drawer.active .fb-drawer-content {
    transform: translateX(0);
}

.fb-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fb-border);
    margin-bottom: 20px;
}

.fb-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fb-drawer-link {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    display: block;
    padding: 6px 0;
}

.fb-drawer-link:hover {
    color: var(--fb-primary);
}

/* ==========================================================================
   Live Instant Search Modal
   ========================================================================== */
.fb-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 20px;
}

.fb-search-modal.active {
    display: flex;
}

.fb-search-dialog {
    background: #141724;
    border: 1px solid var(--fb-border);
    border-radius: var(--fb-radius-lg);
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    animation: fb-slide-down 0.25s ease;
}

@keyframes fb-slide-down {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fb-search-input-wrap {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--fb-border);
    background: #0f111a;
}

.fb-search-input-wrap svg {
    color: var(--fb-text-muted);
    margin-right: 12px;
}

.fb-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.15rem;
    font-family: inherit;
    color: #ffffff;
}

.fb-search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--fb-text-muted);
    padding: 4px;
    line-height: 1;
}

.fb-search-results {
    max-height: 380px;
    overflow-y: auto;
    padding: 12px 16px;
}

.fb-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--fb-radius-sm);
    transition: var(--fb-transition);
}

.fb-search-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.fb-search-thumb {
    width: 65px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.fb-search-item-info h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.fb-search-item-meta {
    font-size: 0.75rem;
    color: var(--fb-text-muted);
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */
.fb-single-wrapper {
    margin-top: 28px;
}

.fb-single-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .fb-single-grid {
        grid-template-columns: 2.3fr 1fr;
    }
}

.fb-article-card {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    border: 1px solid var(--fb-border);
    padding: 24px;
    box-shadow: var(--fb-shadow-sm);
}

@media (min-width: 768px) {
    .fb-article-card {
        padding: 36px;
    }
}

.fb-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--fb-text-muted);
    margin-bottom: 16px;
}

.fb-breadcrumb-sep {
    opacity: 0.5;
}

.fb-post-headline {
    font-size: clamp(1.4rem, 3.5vw, 2.3rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 16px;
}

.fb-post-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fb-border);
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--fb-text-muted);
}

.fb-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.fb-featured-media-box {
    margin-bottom: 24px;
    border-radius: var(--fb-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #11141e;
}

.fb-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-img-caption {
    font-size: 0.78rem;
    color: var(--fb-text-muted);
    text-align: center;
    margin-top: 6px;
}

/* Social Share Bar */
.fb-share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--fb-border);
    border-radius: var(--fb-radius);
}

.fb-share-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--fb-text-muted);
    margin-right: 6px;
}

.fb-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    transition: var(--fb-transition);
}

.fb-share-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.fb-share-wa { background: #25d366; }
.fb-share-fb { background: #1877f2; }
.fb-share-x  { background: #000000; border: 1px solid #333; }
.fb-share-tg { background: #229ed9; }
.fb-share-copy {
    background: #374151;
    border: none;
    cursor: pointer;
}

/* Post Content Typography */
.fb-post-body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.fb-post-body p {
    margin-bottom: 1.4rem;
}

.fb-post-body h2,
.fb-post-body h3,
.fb-post-body h4 {
    color: #ffffff;
    font-weight: 800;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.fb-post-body blockquote {
    border-left: 4px solid var(--fb-primary);
    padding: 14px 20px;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.03);
    font-style: italic;
    color: #cbd5e1;
    border-radius: 0 var(--fb-radius-sm) var(--fb-radius-sm) 0;
}

.fb-post-body img {
    border-radius: var(--fb-radius-sm);
    margin: 1.5rem auto;
}

/* Source Box */
.fb-source-box {
    margin-top: 24px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--fb-primary);
    font-size: 0.85rem;
    border-radius: 0 var(--fb-radius-sm) var(--fb-radius-sm) 0;
}

/* Author Bio Card */
.fb-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--fb-radius);
    border: 1px solid var(--fb-border);
}

.fb-author-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fb-author-info h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.fb-author-info p {
    font-size: 0.85rem;
    color: var(--fb-text-muted);
}

/* ==========================================================================
   Contact Us & Unsubscribe Forms
   ========================================================================== */
.fb-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .fb-contact-grid {
        grid-template-columns: 1.8fr 1fr;
    }
}

.fb-contact-card,
.fb-unsub-card {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    border: 1px solid var(--fb-border);
    padding: 28px 24px;
    box-shadow: var(--fb-shadow-sm);
}

@media (min-width: 768px) {
    .fb-contact-card,
    .fb-unsub-card {
        padding: 36px;
    }
}

.fb-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .fb-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.fb-form-group {
    margin-bottom: 18px;
}

.fb-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.fb-input,
.fb-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--fb-border);
    border-radius: var(--fb-radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: #ffffff;
    background: #090b10;
    transition: var(--fb-transition);
}

.fb-input:focus,
.fb-textarea:focus {
    outline: none;
    border-color: var(--fb-primary);
    box-shadow: 0 0 12px var(--fb-primary-glow);
}

.fb-info-card {
    background: var(--fb-card-bg);
    border-radius: var(--fb-radius);
    border: 1px solid var(--fb-border);
    padding: 24px;
    box-shadow: var(--fb-shadow-sm);
    margin-bottom: 20px;
}

.fb-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.fb-info-item:last-child {
    margin-bottom: 0;
}

.fb-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.15);
    color: var(--fb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fb-info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--fb-text-muted);
    text-transform: uppercase;
    font-weight: 800;
}

.fb-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.fb-newsletter-mini-card {
    background: linear-gradient(135deg, #181924 0%, #10121b 100%);
    border-radius: var(--fb-radius);
    padding: 24px;
    border: 1px solid var(--fb-border);
    box-shadow: var(--fb-shadow-sm);
}

.fb-unsub-header {
    text-align: center;
    margin-bottom: 28px;
}

.fb-unsub-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.15);
    color: var(--fb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.fb-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #090b10;
    padding: 18px;
    border-radius: var(--fb-radius-sm);
    border: 1px solid var(--fb-border);
}

.fb-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
    cursor: pointer;
}

.fb-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--fb-primary);
    cursor: pointer;
}

.fb-form-alert {
    padding: 12px 16px;
    border-radius: var(--fb-radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 14px 0;
}

.fb-form-alert.success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.fb-form-alert.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.fb-form-alert.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Grid Layouts */
.fb-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .fb-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .fb-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Filmibee Entertainment Revamp - Homepage & Feature Section Styles
   ========================================================================== */

/* 1. Breaking News Ticker Bar */
.fb-ticker-bar {
    background: #0d1117;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.fb-ticker-wrap {
    display: flex;
    align-items: center;
    height: 42px;
    position: relative;
}

.fb-ticker-badge {
    background: var(--fb-primary);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    margin-right: 16px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.35);
    flex-shrink: 0;
}

.fb-ticker-track-wrap {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.fb-ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: fbTickerScroll 35s linear infinite;
}

.fb-ticker-track:hover {
    animation-play-state: paused;
}

.fb-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    margin-right: 36px;
    transition: color 0.2s ease;
}

.fb-ticker-item:hover {
    color: var(--fb-primary);
}

.fb-ticker-bullet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--fb-primary);
    display: inline-block;
}

@keyframes fbTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. Bento Hero Billboard & Mosaic */
.fb-bento-hero {
    margin: 24px 0 44px;
}

.fb-bento-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 20px;
    align-items: stretch;
}

.fb-bento-lead {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 480px;
    background: #161b22;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fb-bento-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fb-bento-link {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-bento-lead:hover .fb-bento-img {
    transform: scale(1.04);
}

.fb-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0.1) 0%, rgba(11, 14, 20, 0.55) 45%, rgba(11, 14, 20, 0.96) 100%);
    pointer-events: none;
}

.fb-bento-content {
    position: relative;
    z-index: 2;
    padding: 34px;
}

.fb-bento-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.fb-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(229, 9, 20, 0.22);
    border: 1px solid rgba(229, 9, 20, 0.5);
    color: #ff5252;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.fb-bento-cat {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fb-bento-cat:hover {
    background: var(--fb-primary);
    color: #ffffff;
}

.fb-bento-title {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 12px;
    color: #ffffff;
}

.fb-bento-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-bento-title a:hover {
    color: var(--fb-primary);
}

.fb-bento-excerpt {
    color: #cbd5e1;
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 18px;
    max-width: 640px;
}

.fb-bento-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 0.84rem;
    color: #94a3b8;
}

.fb-btn-read-lead {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--fb-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.86rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
}

.fb-btn-read-lead:hover {
    background: var(--fb-primary-hover);
    transform: translateX(3px);
}

/* Bento Mosaic Grid */
.fb-bento-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fb-mosaic-card {
    position: relative;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.fb-mosaic-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.fb-mosaic-media,
.fb-mosaic-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0d1117;
}

.fb-mosaic-link {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-mosaic-img,
.fb-mosaic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fb-mosaic-card:hover .fb-mosaic-img,
.fb-mosaic-card:hover .fb-mosaic-thumb img {
    transform: scale(1.06);
}

.fb-mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0) 50%, rgba(11, 14, 20, 0.8) 100%);
    pointer-events: none;
}

.fb-mosaic-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 3px 8px;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff5252;
    text-transform: uppercase;
    text-decoration: none;
}

.fb-mosaic-content,
.fb-mosaic-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #161b22;
}

.fb-mosaic-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.fb-mosaic-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-mosaic-card:hover .fb-mosaic-title,
.fb-mosaic-card:hover .fb-mosaic-title a {
    color: var(--fb-primary);
}

.fb-mosaic-date,
.fb-mosaic-meta {
    font-size: 0.78rem;
    color: #64748b;
}

/* 3. Web Stories Reel (Portrait Neon Rings) */
.fb-stories-section {
    margin: 36px 0 44px;
    background: linear-gradient(180deg, rgba(22, 27, 34, 0.6) 0%, rgba(13, 17, 23, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 22px 24px;
}

.fb-stories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.fb-stories-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.fb-stories-badge {
    font-size: 0.68rem;
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.fb-stories-sub {
    font-size: 0.84rem;
    color: #94a3b8;
}

.fb-story-track-wrap {
    position: relative;
    overflow: hidden;
}

.fb-story-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.fb-story-track::-webkit-scrollbar {
    height: 5px;
}

.fb-story-track::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

.fb-story-card {
    flex: 0 0 148px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-story-card:hover {
    transform: translateY(-4px);
}

.fb-story-poster {
    width: 100%;
    aspect-ratio: 9/16;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #161b22;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    border: 2px solid transparent;
    background-image: linear-gradient(#161b22, #161b22), linear-gradient(135deg, #f09433, #dc2743, #bc1888);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.fb-story-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fb-story-card:hover .fb-story-poster img {
    transform: scale(1.08);
}

.fb-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}

.fb-story-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 2px 7px;
    background: rgba(11, 14, 20, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ff5252;
    text-transform: uppercase;
}

.fb-story-play-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.6rem;
    backdrop-filter: blur(4px);
}

.fb-story-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: #e2e8f0;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.fb-story-card:hover .fb-story-name {
    color: var(--fb-primary);
}

.fb-stories-arrows {
    display: flex;
    gap: 8px;
}

.fb-story-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fb-story-nav:hover {
    background: var(--fb-primary);
    color: #ffffff;
    border-color: var(--fb-primary);
}

/* 4. Box Office Hub */
.fb-boxoffice-section {
    margin: 44px 0 52px;
}

.fb-bo-gold-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fb-bo-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 24px;
    align-items: stretch;
}

.fb-bo-lead {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #161b22;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 184, 0, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.fb-bo-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d1117;
}

.fb-bo-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-bo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.fb-bo-lead:hover .fb-bo-media img {
    transform: scale(1.05);
}

.fb-bo-ticket-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #ffb800 0%, #ff8800 100%);
    color: #000000;
    font-weight: 900;
    font-size: 0.72rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.fb-bo-lead-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #161b22;
    flex-grow: 1;
}

.fb-bo-stat-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 184, 0, 0.12);
    color: #ffb800;
    font-weight: 800;
    font-size: 0.76rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 184, 0, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-bo-lead-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: #ffffff;
}

.fb-bo-lead-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-bo-lead-title a:hover {
    color: #ffb800;
}

.fb-bo-excerpt {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

.fb-bo-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: auto;
    padding-top: 6px;
}

.fb-bo-read-btn {
    color: #ffb800 !important;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.fb-bo-read-btn:hover {
    transform: translateX(3px);
}

/* Box Office Ranked Cards List */
.fb-bo-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fb-bo-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.fb-bo-card:hover {
    transform: translateX(5px);
    background: #1c2129;
    border-color: rgba(255, 184, 0, 0.35);
}

.fb-bo-rank {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffb800;
    min-width: 36px;
    text-align: center;
    font-family: monospace;
    flex-shrink: 0;
}

.fb-bo-card-thumb {
    width: 104px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0d1117;
}

.fb-bo-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-bo-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.fb-bo-card:hover .fb-bo-card-thumb img {
    transform: scale(1.08);
}

.fb-bo-card-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fb-bo-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #ffb800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-bo-card-title {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-bo-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-bo-card-title a:hover {
    color: #ffb800;
}

.fb-bo-card-date {
    font-size: 0.76rem;
    color: #64748b;
}

/* 5. Category Tabs Hub */
.fb-cat-hub-section {
    margin: 44px 0 52px;
}

.fb-tab-header-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.fb-tab-nav-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.fb-tab-nav {
    display: flex;
    gap: 8px;
}

.fb-tab-btn {
    padding: 8px 18px;
    border-radius: 999px;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fb-tab-btn:hover {
    background: #21262d;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.fb-tab-btn.active {
    background: var(--fb-primary);
    color: #ffffff;
    border-color: var(--fb-primary);
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.35);
}

/* 6. Magazine Split (Full-Bleed Editorial Cover + Real-Time Wire) */
.fb-mag-section {
    margin: 44px 0 52px;
}

.fb-mag-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.65fr;
    gap: 24px;
    align-items: stretch;
}

.fb-mag-spotlight {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 480px;
    background: #161b22;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.fb-mag-cover-link {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.fb-mag-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-mag-spotlight:hover .fb-mag-cover-img {
    transform: scale(1.04);
}

.fb-mag-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0.05) 0%, rgba(11, 14, 20, 0.35) 35%, rgba(11, 14, 20, 0.94) 80%, rgba(11, 14, 20, 1) 100%);
    pointer-events: none;
}

.fb-mag-content {
    position: relative;
    z-index: 2;
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
}

.fb-mag-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-badge-pink {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

.fb-mag-date-chip {
    font-size: 0.78rem;
    color: #94a3b8;
}

.fb-mag-title {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 2px 0;
    color: #ffffff;
}

.fb-mag-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-mag-title a:hover {
    color: #ec4899;
}

.fb-mag-quote {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-mag-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fb-mag-author {
    font-size: 0.78rem;
    color: #94a3b8;
}

.fb-mag-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ec4899 !important;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.fb-mag-read-more:hover {
    transform: translateX(4px);
}

/* Quick News Wire List */
.fb-mag-wire {
    display: flex;
    flex-direction: column;
    background: #161b22;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 20px;
}

.fb-wire-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    color: #ff5252;
    letter-spacing: 0.5px;
}

.fb-wire-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fb-wire-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.fb-wire-item:hover {
    transform: translateX(4px);
    background: #1c2129;
    border-color: rgba(229, 9, 20, 0.3);
}

.fb-wire-thumb {
    width: 90px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0d1117;
}

.fb-wire-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-wire-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.fb-wire-item:hover .fb-wire-thumb img {
    transform: scale(1.08);
}

.fb-wire-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fb-wire-cat {
    font-size: 0.68rem;
    font-weight: 800;
    color: #ff5252;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-wire-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-wire-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-wire-item:hover .fb-wire-title a,
.fb-wire-item:hover .fb-wire-title {
    color: var(--fb-primary);
}

.fb-wire-time {
    font-size: 0.76rem;
    color: #64748b;
}

/* 7. Reviews Showcase */
.fb-reviews-section {
    margin: 44px 0 52px;
}

.fb-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fb-review-card {
    background: #161b22;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.fb-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.fb-review-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0d1117;
}

.fb-review-poster a {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-review-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.fb-review-card:hover .fb-review-poster img {
    transform: scale(1.06);
}

.fb-review-verdict {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffb800;
    color: #000000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.fb-review-stars {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(6px);
    color: #ffb800;
    font-size: 0.78rem;
    font-weight: 800;
}

.fb-review-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.fb-review-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-review-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-review-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-review-card:hover .fb-review-title a,
.fb-review-card:hover .fb-review-title {
    color: #ffb800;
}

.fb-review-quote {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-review-meta {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: auto;
    padding-top: 6px;
}

.fb-review-verdict.blockbuster {
    background: #ffb800;
    color: #000000;
}

.fb-review-verdict.hit {
    background: #10b981;
    color: #ffffff;
}

.fb-review-verdict.average {
    background: #f59e0b;
    color: #000000;
}

.fb-review-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.fb-review-stars {
    color: #ffb800;
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.fb-review-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-review-card:hover .fb-review-title {
    color: #ffb800;
}

.fb-review-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 8px;
}

/* 8. Mobile App Bottom Navigation Bar */
.fb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    padding: 6px 12px;
    height: 60px;
}

.fb-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fb-bottom-nav-item.active,
.fb-bottom-nav-item:hover {
    color: var(--fb-primary);
}

.fb-bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Mobile-First App UI Refinements (< 991px & < 768px)
   ========================================================================== */
@media (max-width: 991px) {
    .fb-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .fb-bo-grid {
        grid-template-columns: 1fr;
    }
    
    .fb-mag-grid {
        grid-template-columns: 1fr;
    }
    
    .fb-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header on Mobile */
    .fb-header-bar {
        height: 58px;
        gap: 12px;
    }

    .fb-logo-img {
        height: 30px;
        max-width: 135px;
    }

    .fb-search-trigger {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
    }

    .fb-search-trigger-text,
    .fb-search-kbd {
        display: none !important;
    }

    .fb-btn-header-subscribe {
        display: none !important;
    }

    .fb-menu-toggle {
        padding: 4px;
        color: #ffffff;
    }

    /* Breaking Ticker on Mobile */
    .fb-ticker-bar {
        height: 34px;
    }

    .fb-ticker-wrap {
        height: 34px;
    }

    .fb-ticker-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
        margin-right: 10px;
        letter-spacing: 0.5px;
    }

    .fb-ticker-item {
        font-size: 0.78rem;
        margin-right: 24px;
    }

    /* Section Spacing & Titles */
    .fb-section-header {
        margin: 28px 0 16px;
        padding-bottom: 10px;
    }

    .fb-section-title {
        font-size: 1.12rem;
        gap: 8px;
    }

    .fb-title-dot {
        width: 3.5px;
        height: 18px;
    }

    .fb-section-link {
        font-size: 0.78rem;
    }

    /* Bento Hero on Mobile */
    .fb-bento-hero {
        margin: 14px 0 28px;
    }

    .fb-bento-lead {
        min-height: 320px;
        border-radius: 14px;
    }

    .fb-bento-content {
        padding: 16px;
    }

    .fb-bento-title {
        font-size: 1.18rem;
        line-height: 1.3;
        margin: 8px 0 10px;
    }

    .fb-bento-excerpt {
        display: none !important;
    }

    .fb-bento-meta {
        font-size: 0.74rem;
        gap: 8px;
    }

    .fb-btn-read-lead {
        padding: 5px 12px;
        font-size: 0.76rem;
        margin-left: 0;
        margin-top: 4px;
    }

    .fb-bento-mosaic {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px 2px 14px;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .fb-mosaic-card {
        min-width: 220px;
        max-width: 230px;
        flex-shrink: 0;
        scroll-snap-align: start;
        border-radius: 10px;
    }

    .fb-mosaic-content {
        padding: 10px 12px;
    }

    .fb-mosaic-title {
        font-size: 0.85rem;
    }

    /* Web Stories Reel on Mobile */
    .fb-stories-section {
        margin: 24px 0 32px;
        padding: 14px 12px 16px;
        border-radius: 12px;
    }

    .fb-stories-header {
        margin-bottom: 12px;
    }

    .fb-stories-title {
        font-size: 1.05rem;
    }

    .fb-story-card {
        flex: 0 0 115px;
        border-radius: 10px;
    }

    .fb-story-name {
        font-size: 0.75rem;
        line-height: 1.25;
    }

    .fb-story-pill {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    /* Box Office Hub on Mobile */
    .fb-boxoffice-section {
        margin: 28px 0 36px;
    }

    .fb-bo-lead {
        border-radius: 12px;
    }

    .fb-bo-lead-body {
        padding: 16px;
    }

    .fb-bo-lead-title {
        font-size: 1.1rem;
    }

    .fb-bo-excerpt {
        font-size: 0.82rem;
    }

    .fb-bo-card {
        padding: 10px 12px;
        gap: 12px;
        border-radius: 10px;
    }

    .fb-bo-rank {
        font-size: 1.2rem;
        min-width: 26px;
    }

    .fb-bo-card-thumb {
        width: 80px;
        height: 60px;
        border-radius: 6px;
    }

    .fb-bo-card-title {
        font-size: 0.86rem;
        line-height: 1.3;
    }

    /* Interactive Category Tabs on Mobile */
    .fb-cat-hub-section {
        margin: 28px 0 36px;
    }

    .fb-tab-header-wrap {
        margin-bottom: 14px;
        gap: 10px;
    }

    .fb-tab-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    /* Celebrity Gossip & Exclusives on Mobile */
    .fb-mag-section {
        margin: 28px 0 36px;
    }

    .fb-mag-spotlight {
        border-radius: 12px;
    }

    .fb-mag-body {
        padding: 16px;
    }

    .fb-mag-title {
        font-size: 1.1rem;
    }

    .fb-mag-wire {
        padding: 14px 12px;
        border-radius: 12px;
    }

    .fb-wire-item {
        padding: 8px 10px;
        gap: 12px;
    }

    .fb-wire-thumb {
        width: 80px;
        height: 60px;
        border-radius: 6px;
    }

    .fb-wire-title {
        font-size: 0.86rem;
    }

    /* Reviews Showcase on Mobile */
    .fb-reviews-section {
        margin: 28px 0 36px;
    }

    .fb-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Infinite Wire Feed Grid on Mobile */
    .fb-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Footer Newsletter Box on Mobile */
    .fb-newsletter-box {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .fb-newsletter-content {
        text-align: center;
        margin-bottom: 16px;
    }

    .fb-newsletter-title {
        font-size: 1.25rem;
    }

    .fb-newsletter-desc {
        font-size: 0.85rem;
    }

    .fb-newsletter-form .fb-input-group {
        flex-direction: column;
        gap: 10px;
        background: transparent;
        border: none;
        padding: 0;
    }

    .fb-newsletter-form .fb-sub-input {
        width: 100%;
        height: 46px;
        background: #161b22;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        padding: 0 16px;
    }

    .fb-newsletter-form .fb-sub-btn {
        width: 100%;
        height: 46px;
        border-radius: 8px;
        justify-content: center;
    }

    /* Mobile App Bottom Bar */
    body {
        padding-bottom: 66px !important;
    }

    .fb-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 56px;
        padding: 4px 8px;
        background: rgba(11, 14, 20, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .fb-bottom-nav-item {
        font-size: 0.68rem;
        gap: 2px;
    }

    .fb-bottom-nav-item svg {
        width: 19px;
        height: 19px;
    }
}
