/* ==========================================================================
   MOROCOPLAY THEME - MAIN STYLESHEET (CINEMATIC DARK, GLASSMORPHISM & MOBILE APP EXP)
   ========================================================================== */

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

body.morocoplay-body {
    background-color: var(--bg-primary, #07090e);
    color: var(--text-primary, #f8fafc);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ---------------- Layout & Sidebar ---------------- */
.morocoplay-layout {
    display: flex;
    min-height: 100vh;
}

.morocoplay-sidebar {
    width: 260px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.05));
    transition: padding 0.3s ease;
}

.morocoplay-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.brand-highlight {
    color: var(--accent-blue, #00d2ff);
}

.sidebar-collapse-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.sidebar-collapse-btn:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #00d2ff;
}

/* ================= Estado Colapsado (Modo Mini / Solo Iconos) ================= */
.morocoplay-sidebar.collapsed {
    width: 72px;
}

.morocoplay-sidebar.collapsed .sidebar-header {
    padding: 24px 10px;
    justify-content: center;
}

.morocoplay-sidebar.collapsed .brand-text {
    display: none;
}

.morocoplay-sidebar.collapsed .sidebar-collapse-btn {
    margin: 0 auto;
}

.morocoplay-sidebar.collapsed .nav-section-title {
    display: none;
}

.morocoplay-sidebar.collapsed .nav-platforms {
    display: none;
}

.morocoplay-sidebar.collapsed .nav-label {
    display: none;
}

.morocoplay-sidebar.collapsed .sidebar-nav {
    padding: 20px 8px;
}

.morocoplay-sidebar.collapsed .nav-list li a {
    justify-content: center;
    padding: 12px 0;
    border-radius: 12px;
}

.morocoplay-sidebar.collapsed .nav-icon {
    margin-right: 0;
    font-size: 1.4rem;
}

.morocoplay-sidebar.collapsed .sidebar-user-footer {
    padding: 12px 8px;
    display: flex;
    justify-content: center;
}

.morocoplay-sidebar.collapsed .user-pill {
    padding: 4px;
    justify-content: center;
    background: none;
    border: none;
}

.morocoplay-sidebar.collapsed .user-avatar {
    width: 38px;
    height: 38px;
    margin: 0;
}

.morocoplay-sidebar.collapsed .user-meta,
.morocoplay-sidebar.collapsed .user-logout-btn {
    display: none;
}

.morocoplay-sidebar.collapsed .btn-sidebar-login {
    padding: 10px 0;
    justify-content: center;
}

.morocoplay-sidebar.collapsed .btn-sidebar-login span {
    display: none;
}

.morocoplay-sidebar.collapsed .btn-sidebar-login i {
    margin: 0;
    font-size: 1.25rem;
}

.morocoplay-main-area {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.morocoplay-main-area.sidebar-collapsed {
    margin-left: 72px;
}

.sidebar-close-mobile {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 14px;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-dim, #64748b);
    padding: 0 12px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm, 8px);
    color: var(--text-muted, #94a3b8);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: color 0.2s;
}

.nav-list a:hover, .nav-list a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.nav-list a.active {
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.15) 0%, transparent 100%);
    border-left: 3px solid var(--accent-blue, #00d2ff);
    color: #ffffff;
    font-weight: 600;
}

.nav-list a.active .nav-icon {
    color: var(--accent-blue, #00d2ff);
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim, #64748b);
    transition: background 0.2s;
}

.nav-list a:hover .nav-dot {
    background: var(--accent-blue, #00d2ff);
}

.sidebar-user-footer {
    padding: 16px 14px;
    border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.05));
    background: rgba(0,0,0,0.2);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 210, 255, 0.4);
}

.user-meta {
    flex: 1;
    overflow: hidden;
}

/* ---------------- Layout & Guest Modes ---------------- */
.morocoplay-layout.is-guest-visitor .morocoplay-main-area,
.guest-main-area {
    margin-left: 0 !important;
}

.btn-topbar-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    transition: all 0.2s;
}

.btn-landing-primary,
.btn-landing-primary span,
.btn-landing-primary i {
    color: #ffffff !important;
}

/* ---------------- Plataformas: Logos Blancos Puros sin Fondo ---------------- */
.platform-toolbar-white-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 8px 0 28px;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.platform-toolbar-white-logos::-webkit-scrollbar {
    display: none;
}

.platform-white-logos-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.platform-white-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    text-decoration: none;
    opacity: 0.85;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.platform-white-logo-item:hover {
    transform: scale(1.15);
    opacity: 1;
}

.platform-white-logo-img {
    height: 32px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    drop-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.platform-white-logo-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* ---------------- Botón Favorito Redondo (Solo Corazón) ---------------- */
.btn-fav-round-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-fav-round-icon:hover {
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.5);
    background: rgba(244, 63, 94, 0.12);
    transform: scale(1.1);
}

.btn-fav-round-icon.active {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.2);
    border-color: #f43f5e;
}

/* ---------------- Info Popover del Servidor ---------------- */
.btn-server-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #00d2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-server-info-icon:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    transform: scale(1.05);
}

.morocoplay-info-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #cbd5e1;
    white-space: nowrap;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.morocoplay-info-popover p {
    margin: 0;
    line-height: 1.4;
}

.btn-topbar-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
}
.user-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.user-role {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim, #64748b);
    text-transform: uppercase;
}

.user-logout-btn {
    color: var(--text-dim, #64748b);
    font-size: 1.2rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-logout-btn:hover {
    color: #ef4444;
}

.btn-sidebar-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: var(--radius-sm, 8px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* ---------------- Main Area & Topbar ---------------- */
.morocoplay-topbar {
    height: 68px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(7, 9, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.topbar-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo en Topbar: oculto en escritorio (ya visible en el sidebar), activo solo en versión móvil */
.morocoplay-topbar .morocoplay-brand {
    display: none;
}

.topbar-center-brand {
    display: none;
}

.topbar-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.center-btn-mascot-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.login-mascot-wrap {
    margin: 0 auto 16px;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-mascot-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 210, 255, 0.4));
}

.sidebar-toggle-btn {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sidebar-toggle-btn:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #00d2ff;
}

.topbar-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-search-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.topbar-search-toggle-btn:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #00d2ff;
    transform: scale(1.05);
}

.topbar-search-form {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--accent-blue, #00d2ff);
    padding: 6px 14px;
    border-radius: 999px;
    width: 320px;
    max-width: calc(100vw - 100px);
    box-shadow: 0 4px 25px rgba(0, 210, 255, 0.25);
    animation: searchExpandIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.topbar-search-wrapper.expanded .topbar-search-toggle-btn {
    display: none;
}

.topbar-search-wrapper.expanded .topbar-search-form {
    display: flex;
}

@keyframes searchExpandIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateX(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.topbar-search-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: color 0.2s;
}

.topbar-search-close-btn:hover {
    color: #ef4444;
}

.search-icon {
    font-size: 1.05rem;
    color: #00d2ff;
}

.search-field {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    width: 100%;
}

/* ---------------- Live Search Dropdown ---------------- */
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    max-height: 420px;
    overflow-y: auto;
    backdrop-filter: blur(16px);
}

.live-search-list {
    display: flex;
    flex-direction: column;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: rgba(0, 210, 255, 0.12);
}

.live-search-thumb {
    width: 38px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
}

.live-search-meta {
    flex: 1;
    overflow: hidden;
}

.live-search-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.live-search-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.live-search-type {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.live-search-rating {
    color: #f59e0b;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 2px;
}

.live-search-empty {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

.topbar-admin-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.topbar-admin-badge:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------------- Barra de Filtros AJAX Avanzados ---------------- */
.catalog-filters-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
}

.filter-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select-wrap label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim, #64748b);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.filter-dropdown {
    background: rgba(7, 9, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-dropdown:focus {
    border-color: var(--accent-blue, #00d2ff);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* ---------------- Filtros de Géneros tipo Chips ---------------- */
.genre-filter-chips-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.genre-chip {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--text-muted, #94a3b8);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.genre-chip:hover, .genre-chip.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent-blue, #00d2ff);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

/* ---------------- Paginación Premium ---------------- */
.morocoplay-pagination-box {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.morocoplay-pagination-box .page-numbers {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.morocoplay-pagination-box .page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.morocoplay-pagination-box .page-numbers.current {
    background: var(--accent-blue, #00d2ff);
    border-color: var(--accent-blue, #00d2ff);
    color: #07090e;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.morocoplay-pagination-box .page-numbers.dots {
    background: none;
    border: none;
    color: #64748b;
}

/* ---------------- Platform Toolbar & Dropdown ---------------- */
.platform-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.05));
    margin-bottom: 30px;
    overflow-x: auto;
}

.platform-toolbar-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim, #64748b);
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.platform-chips {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-chip {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--text-muted, #94a3b8);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.platform-chip:hover, .platform-chip.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent-blue, #00d2ff);
    color: #ffffff;
}

.more-platforms-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 100;
    min-width: 180px;
    max-height: 250px;
    overflow-y: auto;
}

.platform-drop-item {
    display: block;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: all 0.2s;
}

.platform-drop-item:hover {
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
}

/* ---------------- Sección: Top 8 Semanales ---------------- */
.morocoplay-top8-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
    scrollbar-width: none;
}

.morocoplay-top8-track::-webkit-scrollbar {
    display: none;
}

.top8-card {
    display: flex;
    align-items: flex-end;
    flex: 0 0 calc((100% - (7 * 20px)) / 8);
    min-width: 160px;
    position: relative;
}

.top8-rank-number {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 3px #334155;
    margin-right: -25px;
    z-index: 2;
    font-style: italic;
    user-select: none;
    transition: all 0.3s;
}

.top8-card:hover .top8-rank-number {
    -webkit-text-stroke: 3px #00d2ff;
    color: rgba(0, 210, 255, 0.2);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.top8-movie-card {
    flex: 1;
    z-index: 3;
}

@media (max-width: 1400px) {
    .top8-card {
        flex: 0 0 calc((100% - (5 * 20px)) / 6);
    }
}
@media (max-width: 1024px) {
    .top8-card {
        flex: 0 0 calc((100% - (3 * 20px)) / 4);
    }
}
@media (max-width: 640px) {
    .top8-card {
        flex: 0 0 calc((100% - (1 * 20px)) / 2.2);
    }
}

/* ---------------- Carruseles Interactivos ---------------- */
.carousel-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-carousel-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-carousel-nav:hover {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

.morocoplay-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.morocoplay-carousel-track::-webkit-scrollbar {
    display: none;
}

.morocoplay-carousel-track .movie-card {
    flex: 0 0 calc((100% - (7 * 16px)) / 8);
    min-width: 135px;
}

@media (max-width: 1400px) {
    .morocoplay-carousel-track .movie-card {
        flex: 0 0 calc((100% - (5 * 16px)) / 6);
    }
}

@media (max-width: 1024px) {
    .morocoplay-carousel-track .movie-card {
        flex: 0 0 calc((100% - (3 * 16px)) / 4);
    }
}

@media (max-width: 640px) {
    .morocoplay-carousel-track .movie-card {
        flex: 0 0 calc((100% - (1 * 16px)) / 2.3);
    }
}

/* ---------------- Movie Card & Hover Overlay (NÍTIDO Y SIN BLUR) ---------------- */
.morocoplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.movie-card {
    position: relative;
    background: #0f172a;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s;
}

.movie-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 210, 255, 0.5);
    z-index: 20;
}

.card-media {
    width: 100%;
    height: 100%;
    position: relative;
}

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

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

.btn-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    z-index: 15;
}

.btn-fav.active, .btn-fav:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 7, 12, 0.98) 0%, rgba(5, 7, 12, 0.75) 50%, rgba(5, 7, 12, 0.15) 80%, transparent 100%);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 10;
}

.movie-card:hover .card-hover-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hover-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.hover-rating {
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
}

.hover-year {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.hover-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-desc {
    font-size: 0.7rem;
    color: #cbd5e1;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-play-btn {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #07090e;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4);
}

.hover-play-btn:hover {
    color: #000;
}

/* ---------------- Modo Cine (Cinema Mode) ---------------- */
.cinema-dimmer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 990;
}

body.cinema-mode-active #morocoplay-player-root {
    position: relative;
    z-index: 1000;
    max-width: 100% !important;
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.4);
}

.btn-player-action-tool {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-player-action-tool:hover, .btn-player-action-tool.active {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
    border-color: var(--accent-blue, #00d2ff);
}

/* ---------------- Widget de Calificación Comunitaria ---------------- */
.community-rating-widget {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    text-align: center;
}

.rating-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.rating-stars-interactive {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-radio-input {
    display: none;
}

.star-label {
    font-size: 1.4rem;
    color: #475569;
    cursor: pointer;
    transition: color 0.15s;
}

.star-label:hover,
.star-label:hover ~ .star-label,
.star-radio-input:checked ~ .star-label {
    color: #f59e0b;
}

.rating-user-feedback {
    display: block;
    font-size: 0.75rem;
    margin-top: 8px;
    font-weight: 600;
}

/* ---------------- Spoilers en Comentarios ---------------- */
.spoiler-text {
    background: #1e293b;
    color: transparent;
    filter: blur(5px);
    user-select: none;
    cursor: pointer;
    border-radius: 4px;
    padding: 0 4px;
    transition: all 0.2s;
}

.spoiler-text.revealed {
    color: inherit;
    filter: none;
    background: rgba(0, 210, 255, 0.1);
}

/* ---------------- Barra de Navegación Inferior Móvil ---------------- */
.morocoplay-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 900;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 600;
}

.bottom-nav-item i {
    font-size: 1.25rem;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--accent-blue, #00d2ff);
}

/* ---------------- Landing Page Styles ---------------- */
.landing-hero-section {
    position: relative;
    padding: 90px 48px 60px;
    text-align: center;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.landing-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00d2ff;
    margin-bottom: 24px;
}

.landing-main-heading {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
}

.landing-text-gradient {
    background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-subheading {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 36px;
}

.landing-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-landing-primary {
    background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
    color: #07090e;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
    transition: all 0.2s;
}

.btn-landing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.6);
    color: #000;
}

.btn-landing-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.landing-lock-badge {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d2ff;
    font-size: 2.2rem;
    opacity: 0;
    transition: all 0.3s;
}

.landing-preview-card:hover .landing-lock-badge {
    opacity: 1;
    background: rgba(7, 9, 14, 0.7);
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 60px 0;
}

.landing-feature-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 24px;
    border-radius: 16px;
    text-align: center;
}

.feature-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    color: #00d2ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}

.landing-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.landing-feature-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

.landing-cta-box {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 20px;
    padding: 48px 30px;
    text-align: center;
    margin-bottom: 40px;
}

.landing-cta-box h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.landing-cta-box p {
    font-size: 1rem;
    color: #94a3b8;
}

/* ---------------- Platform Hero Header ---------------- */
.platform-hero-header {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    padding: 40px 48px;
    margin-bottom: 20px;
}

.platform-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07090e 0%, rgba(7, 9, 14, 0.75) 60%, rgba(7, 9, 14, 0.25) 100%);
}

.platform-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.platform-hero-badge-box {
    margin-bottom: 12px;
}

.platform-hero-logo {
    height: 52px;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85));
}

.platform-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: 0.04em;
}

.platform-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-hero-tag {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00d2ff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.platform-hero-count {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---------------- Hero Section ---------------- */
.morocoplay-hero {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    padding: 40px 48px;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07090e 0%, rgba(7, 9, 14, 0.6) 50%, rgba(7, 9, 14, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 680px;
}

.hero-meta-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.badge-featured {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.badge-rating {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.badge-year {
    color: var(--text-muted, #94a3b8);
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-overview {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-hero-play {
    background: #ffffff;
    color: #07090e;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: var(--radius-sm, 8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-hero-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-hero-trailer {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm, 8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
}

.btn-hero-trailer:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* ---------------- Catalogs & Containers ---------------- */
.morocoplay-page-container {
    padding: 32px 48px;
    flex: 1;
}

.catalog-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.section-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue, #00d2ff);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-history {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-clear-history:hover {
    color: #ef4444;
    border-color: #ef4444;
}

/* ---------------- Player Skin & Controls ---------------- */
.morocoplay-watch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px 60px;
    position: relative;
    z-index: 10;
}

.movie-backdrop-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.backdrop-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #07090e 100%);
}

.morocoplay-player-container {
    background: rgba(14, 18, 28, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 20px);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.morocoplay-player-controls {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.morocoplay-lang-tabs {
    display: flex;
    gap: 8px;
}

.morocoplay-lang-tab {
    padding: 8px 18px;
    border-radius: var(--radius-sm, 8px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--text-muted, #94a3b8);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.morocoplay-lang-tab.active {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
    border-color: var(--accent-blue, #00d2ff);
}

.morocoplay-servers-group {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
}

.morocoplay-servers-group.active {
    display: flex;
}

.morocoplay-srv-btn {
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-muted, #94a3b8);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.morocoplay-srv-btn.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent-blue, #00d2ff);
    color: #ffffff;
}

.morocoplay-screen-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    width: 100%;
}

.morocoplay-intro-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #111827 0%, #030712 100%);
    z-index: 20;
}

.morocoplay-intro-box {
    text-align: center;
    max-width: 400px;
    padding: 30px;
}

.morocoplay-logo-pulse {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border-radius: 18px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.5);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(0, 210, 255, 0.4); }
    50% { transform: scale(1.06); box-shadow: 0 0 45px rgba(0, 210, 255, 0.8); }
}

.morocoplay-intro-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 6px;
}

.morocoplay-intro-sub {
    font-size: 0.85rem;
    color: var(--text-dim, #64748b);
    margin-bottom: 20px;
}

.morocoplay-btn-play-trigger {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
    transition: all 0.2s;
}

.morocoplay-btn-play-trigger:hover {
    transform: scale(1.05);
}

.morocoplay-iframe-holder {
    width: 100%;
    height: 100%;
}

.morocoplay-iframe-holder iframe {
    width: 100%;
    height: 100%;
}

.morocoplay-server-note-bar {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.morocoplay-server-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted, #94a3b8);
}

.morocoplay-server-note .info-icon {
    color: var(--accent-blue, #00d2ff);
    font-size: 1.1rem;
}

.btn-report-player {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-report-player:hover {
    background: #ef4444;
    color: #fff;
}

/* ---------------- Movie Details Grid ---------------- */
.movie-details-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.poster-card {
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.poster-img {
    width: 100%;
    display: block;
}

.title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.movie-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
}

.btn-fav-large {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.12));
    padding: 8px 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-fav-large.active, .btn-fav-large:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.meta-pills-row {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.pill {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    display: inline-flex;
    align-items: center;
}

.rating-pill {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.genre-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.genre-tag {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--accent-blue, #00d2ff);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.movie-synopsis h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.synopsis-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted, #94a3b8);
}

/* ---------------- TV Show Seasons & Episodes ---------------- */
.season-episode-selector-card {
    background: rgba(14, 18, 28, 0.85);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
    border-radius: var(--radius-md, 14px);
    padding: 20px 24px;
    margin-bottom: 36px;
}

.selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.selector-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
}

.badge-active-ep {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
}

.seasons-tab-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.05));
}

.season-btn {
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted, #94a3b8);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.season-btn.active {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.episode-btn {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all 0.2s;
}

.episode-btn .ep-num {
    font-weight: 800;
    color: var(--accent-blue, #00d2ff);
}

.episode-btn.active, .episode-btn:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent-blue, #00d2ff);
    color: #fff;
}

/* ---------------- Footer ---------------- */
.morocoplay-footer {
    padding: 40px 48px 80px;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.05));
    background: rgba(5, 7, 10, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-title {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim, #64748b);
    margin-bottom: 4px;
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    max-width: 450px;
}

.footer-right {
    text-align: right;
}

.credit-badge {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim, #64748b);
    margin-bottom: 2px;
}

.credit-author {
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d2ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 1024px) {
    body.morocoplay-body {
        overflow-x: clip;
    }
    .morocoplay-layout {
        overflow-x: clip;
    }
    .morocoplay-main-area, .morocoplay-main-area.sidebar-collapsed {
        margin-left: 0 !important;
        min-width: 0;
        overflow: visible;
    }
    .sidebar-collapse-btn {
        display: none !important;
    }
    .morocoplay-topbar .morocoplay-brand,
    .topbar-left-group .morocoplay-brand {
        display: inline-flex !important;
        align-items: center;
    }
    .morocoplay-sidebar, .morocoplay-sidebar.collapsed {
        width: 280px;
        transform: translateX(-100%);
        z-index: 2500 !important;
        box-shadow: none;
    }
    .morocoplay-sidebar.open {
        transform: translateX(0);
        z-index: 2500 !important;
        box-shadow: 15px 0 50px rgba(0, 0, 0, 0.9);
    }
    .sidebar-close-mobile {
        display: block;
    }
    .sidebar-toggle-btn {
        display: flex;
    }
    .morocoplay-topbar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        padding: 0 16px;
        background: rgba(7, 9, 14, 0.75) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        z-index: 990;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .topbar-search-wrapper.expanded .topbar-search-form {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: calc(100vw - 32px);
        max-width: 480px;
        z-index: 1001;
    }
    .movie-details-grid {
        grid-template-columns: 1fr;
    }
    .landing-main-heading {
        font-size: 2.2rem;
    }
    .morocoplay-page-container, .morocoplay-hero, .morocoplay-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .morocoplay-topbar {
        height: 56px;
        padding: 0 14px;
    }
    .btn-report-text {
        display: none !important;
    }
    .morocoplay-mobile-bottom-nav {
        display: flex;
    }
    .morocoplay-footer {
        padding-bottom: 90px;
    }
}

/* ---------------- Menú Inferior Móvil: Botón Central de Plataformas ---------------- */
.bottom-nav-center-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-top: -16px;
}

.center-btn-bubble {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.45);
    border: 3px solid #07090e;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-center-btn:active .center-btn-bubble {
    transform: scale(0.9);
}

.bottom-nav-center-btn span {
    font-size: 0.68rem;
    font-weight: 700;
    color: #00d2ff;
    margin-top: 2px;
}

/* Modal Bottom Sheet de Plataformas */
.mobile-platforms-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: flex-end;
}

.mobile-platforms-sheet {
    width: 100%;
    background: #0b0f19;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px 24px 0 0;
    padding: 16px 20px 32px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    animation: slideSheetUp 0.25s ease-out;
}

@keyframes slideSheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    margin: 0 auto 14px;
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sheet-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sheet-title-wrap h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.sheet-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.platforms-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sheet-platform-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 60px;
    transition: all 0.2s ease;
}

.sheet-platform-card:hover, .sheet-platform-card:active {
    background: rgba(0, 210, 255, 0.12);
    border-color: #00d2ff;
}

.sheet-platform-logo {
    height: 28px;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.sheet-platform-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ---------------- Infinite Scroll & Load More Controls ---------------- */
.catalog-load-more-wrap {
    margin: 40px auto 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-catalog-load-more {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-catalog-load-more i {
    font-size: 1.15rem;
    color: #00d2ff;
    transition: transform 0.3s ease;
}

.btn-catalog-load-more:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(59, 130, 246, 0.25) 100%);
    border-color: #00d2ff;
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.25);
    transform: translateY(-2px);
    color: #fff;
}

.btn-catalog-load-more:hover i {
    transform: rotate(180deg);
}

.btn-catalog-load-more:active {
    transform: translateY(0);
}

.infinite-scroll-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00d2ff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 999px;
    border: 1px solid rgba(0, 210, 255, 0.15);
    backdrop-filter: blur(10px);
}

.infinite-scroll-spinner i {
    font-size: 1.3rem;
}

.animate-fade-in {
    animation: morocoplayCardFadeIn 0.35s ease forwards;
}

@keyframes morocoplayCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= BARRA DE NAVEGACIÓN INFERIOR MÓVIL (NATIVE APP STYLE) ================= */
.morocoplay-mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    .morocoplay-mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(7, 9, 14, 0.88);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        align-items: center;
        justify-content: space-around;
        z-index: 2000;
        padding: 0 8px calc(env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6);
    }

    body.morocoplay-body {
        padding-bottom: 74px;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 600;
        gap: 3px;
        flex: 1;
        height: 100%;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: all 0.2s ease;
    }

    .bottom-nav-item i {
        font-size: 1.25rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .bottom-nav-item.active,
    .bottom-nav-item:hover {
        color: #00d2ff;
    }

    .bottom-nav-item.active i {
        transform: translateY(-2px);
        color: #00d2ff;
    }

    /* Botón Central Especial: Plataformas con Isotipo Mascota */
    .bottom-nav-center-btn {
        position: relative;
        margin-top: -18px;
    }

    .center-btn-bubble {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 18px rgba(0, 210, 255, 0.55), 0 0 0 4px rgba(7, 9, 14, 0.9);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .bottom-nav-center-btn:active .center-btn-bubble {
        transform: scale(0.92);
    }

    .center-btn-mascot-img {
        width: 30px;
        height: 30px;
        object-fit: contain;
        display: block;
        pointer-events: none;
    }
}

/* ==========================================================================
   ESTILOS CINEMÁTICOS PARA EL BLOG & ARTÍCULOS DE MOROCOPLAY
   ========================================================================== */

.blog-page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 24px 80px;
}

.blog-header-section {
    margin-bottom: 30px;
}

.blog-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #00d2ff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-page-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
    font-family: 'Outfit', sans-serif;
}

.blog-page-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 700px;
    line-height: 1.6;
    margin: 0;
}

/* Featured Hero Banner */
.blog-featured-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07090e 0%, rgba(7, 9, 14, 0.8) 50%, rgba(7, 9, 14, 0.2) 100%);
}

.featured-hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.featured-meta-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero-cat-badge {
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    text-transform: uppercase;
}

.hero-time-badge, .hero-date-badge {
    color: #cbd5e1;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.featured-hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 12px;
    font-family: 'Outfit', sans-serif;
}

.featured-hero-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-hero-title a:hover {
    color: #00d2ff;
}

.featured-hero-excerpt {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.featured-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-read-featured {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-read-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 210, 255, 0.6);
    color: #fff;
}

/* Category Chips */
.blog-category-nav-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 30px;
    scrollbar-width: thin;
}

.blog-cat-chip {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.blog-cat-chip:hover, .blog-cat-chip.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #00d2ff;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.blog-card-item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 210, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.blog-card-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-item:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
    font-family: 'Outfit', sans-serif;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #00d2ff;
}

.blog-card-excerpt {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 18px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
}

.blog-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.blog-read-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    color: #00d2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-read-more:hover {
    background: #00d2ff;
    color: #07090e;
    transform: scale(1.1);
}

/* ================= SINGLE BLOG ARTICLE ================= */
.single-blog-article {
    width: 100%;
}

.single-article-hero {
    position: relative;
    background-size: cover;
    background-position: center top;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    padding: 60px 24px 40px;
}

.single-article-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07090e 0%, rgba(7, 9, 14, 0.85) 60%, rgba(7, 9, 14, 0.4) 100%);
}

.single-article-hero-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.single-article-breadcrumbs {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-article-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
}

.single-article-breadcrumbs a:hover {
    color: #00d2ff;
}

.single-article-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.article-cat-badge {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00d2ff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    text-decoration: none;
    text-transform: uppercase;
}

.article-reading-badge {
    color: #cbd5e1;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.single-article-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px;
    font-family: 'Outfit', sans-serif;
}

.single-article-meta-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-author-pill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00d2ff;
}

.author-name {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-role {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.article-date-info, .article-comments-count {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-article-layout-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Typography Body */
.typography-content {
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.8;
}

.typography-content p {
    margin-bottom: 24px;
}

.typography-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 36px 0 16px;
    font-family: 'Outfit', sans-serif;
    border-left: 4px solid #00d2ff;
    padding-left: 14px;
}

.typography-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 28px 0 12px;
}

.typography-content blockquote {
    margin: 30px 0;
    padding: 20px 26px;
    background: rgba(0, 210, 255, 0.06);
    border-left: 4px solid #00d2ff;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #e2e8f0;
}

.typography-content ul, .typography-content ol {
    margin: 0 0 24px 20px;
}

.typography-content li {
    margin-bottom: 8px;
}

.typography-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 24px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tags-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.tags-title {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.85rem;
}

.tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.article-tag-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-tag-item:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
    color: #00d2ff;
}

.article-author-bio-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 40px;
}

.bio-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #00d2ff;
    flex-shrink: 0;
}

.bio-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.bio-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

/* Related Articles */
.related-articles-section {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.related-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.related-section-header h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.related-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: #00d2ff;
}

.related-card-thumb {
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
}

.related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    border: none;
}

.related-card-info {
    padding: 12px 14px;
}

.related-date {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    margin-bottom: 4px;
}

.related-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.related-title a {
    color: #fff;
    text-decoration: none;
}

.related-title a:hover {
    color: #00d2ff;
}

/* Comments Section */
.article-comments-wrapper {
    margin-top: 40px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
}

.article-comments-wrapper h3, .article-comments-wrapper h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.article-comments-wrapper input[type="text"],
.article-comments-wrapper input[type="email"],
.article-comments-wrapper textarea {
    width: 100%;
    background: rgba(7, 9, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.article-comments-wrapper input[type="submit"] {
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    .single-article-title {
        font-size: 1.8rem;
    }
    .blog-featured-hero {
        height: auto;
        padding: 24px;
    }
    .featured-hero-title {
        font-size: 1.4rem;
    }
    .blog-page-title {
        font-size: 1.7rem;
    }
}

.hero-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #00d2ff;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
}

.blog-read-label {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
}

.morocoplay-article-cta-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.6) !important;
}

/* ==========================================================================
   ESTILOS PARA QUIÉNES SOMOS, CONTACTO Y PÁGINAS LEGALES
   ========================================================================== */

/* Footer Links */
.footer-top-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-top-links a:hover {
    color: #00d2ff;
}

.footer-link-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ================= PÁGINA QUIÉNES SOMOS ================= */
.about-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.about-hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.about-tag, .contact-tag, .legal-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #00d2ff;
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-title, .contact-title, .legal-page-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.25;
}

.about-subtitle, .contact-subtitle, .legal-page-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #00d2ff 0%, #38bdf8 50%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-identity-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(7, 9, 14, 0.95) 100%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.identity-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.about-mascot-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 210, 255, 0.5));
}

.identity-text h2 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 8px;
    font-family: 'Outfit', sans-serif;
}

.identity-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.pillar-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.4);
}

.pillar-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.pillar-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 10px;
    font-family: 'Outfit', sans-serif;
}

.pillar-card p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.about-metrics-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.metric-item {
    text-align: center;
}

.metric-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #00d2ff;
    font-family: 'Outfit', sans-serif;
}

.metric-lbl {
    font-size: 0.82rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* ================= PÁGINA CONTACTO ================= */
.contact-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.contact-header-section {
    margin-bottom: 36px;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.contact-form-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.form-header-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-header-bar h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 1.1rem;
    pointer-events: none;
}

.input-with-icon input, .input-with-icon select, .contact-form-card textarea {
    width: 100%;
    background: rgba(7, 9, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    color: #fff;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-card textarea {
    padding: 14px;
    border-radius: 10px;
    resize: vertical;
}

.input-with-icon input:focus, .input-with-icon select:focus, .contact-form-card textarea:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
}

.btn-submit-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.6);
}

.contact-response-box {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-response-box.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.contact-response-box.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.info-card h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
    font-family: 'Outfit', sans-serif;
}

.info-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ================= PÁGINA LEGAL ================= */
.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.legal-header-section {
    margin-bottom: 30px;
}

.legal-content-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.legal-body-content h2 {
    color: #fff;
    font-size: 1.35rem;
    margin: 28px 0 12px;
    border-left: 3px solid #00d2ff;
    padding-left: 12px;
}

.legal-body-content p {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-footer-disclaimer {
    margin-top: 36px;
    padding: 20px 24px;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 14px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-icon {
    color: #00d2ff;
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.disclaimer-text strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.disclaimer-text p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 860px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
    }
    .form-row-2col {
        grid-template-columns: 1fr;
    }
    .about-identity-banner {
        padding: 24px;
    }
    .identity-content {
        flex-direction: column;
        text-align: center;
    }
    .legal-content-card, .contact-form-card {
        padding: 24px;
    }
}

/* ==========================================================================
   MATCHMAKER "¿QUÉ VER HOY?" (CINEBOT IA)
   ========================================================================== */
.morocoplay-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #f87171;
    transform: rotate(90deg);
}

.btn-topbar-matchmaker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(0, 210, 255, 0.2) 100%);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #fff;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-topbar-matchmaker:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.4);
    border-color: #00d2ff;
}

.matchmaker-modal {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 20px;
    width: 92%;
    max-width: 580px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    color: #fff;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.matchmaker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #00d2ff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.matchmaker-modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.matchmaker-modal-sub {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0 0 20px;
    line-height: 1.5;
}

.matchmaker-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.matchmaker-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mm-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mm-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.mm-chip.active {
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
}

.btn-matchmaker-find {
    width: 100%;
    margin-top: 24px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    transition: transform 0.2s ease;
}

.btn-matchmaker-find:hover {
    transform: translateY(-2px);
}

.match-card {
    background: rgba(7, 9, 14, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
}

.match-backdrop-wrap {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.match-backdrop-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-overlay-badge {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #00d2ff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
}

.match-details {
    padding: 18px;
}

.match-details h4 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.match-reason {
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.match-overview {
    color: #94a3b8;
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0 0 16px;
}

.match-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-match-play {
    flex: 1;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-match-retry {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ==========================================================================
   CINEBOT IA (CHATBOT FLOTANTE DE STREAMING)
   ========================================================================== */
.cinebot-floating-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cinebot-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(0, 210, 255, 0.5);
    border-radius: 99px;
    padding: 6px 16px 6px 6px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinebot-trigger-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.4);
    border-color: #00d2ff;
}

.cinebot-trigger-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4);
}

.cinebot-trigger-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cinebot-trigger-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.cinebot-chat-box {
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 480px;
    max-height: calc(100vh - 120px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 12px;
    animation: modalPop 0.25s ease;
}

.cinebot-header {
    background: rgba(7, 9, 14, 0.9);
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cinebot-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cinebot-avatar-wrap {
    position: relative;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00d2ff, #0072ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinebot-avatar-wrap img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.cinebot-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border: 2px solid #0f172a;
    border-radius: 50%;
}

.cinebot-header-text h4 {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

.cinebot-header-text span {
    font-size: 0.72rem;
    color: #00d2ff;
}

.cinebot-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.cinebot-close-btn:hover {
    color: #fff;
}

.cinebot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cinebot-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.cinebot-msg-bot {
    align-self: flex-start;
}

.cinebot-msg-user {
    align-self: flex-end;
}

.cinebot-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cinebot-msg-bot .cinebot-msg-bubble {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.cinebot-msg-user .cinebot-msg-bubble {
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.cinebot-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.cinebot-card-item {
    background: rgba(7, 9, 14, 0.9);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.cinebot-card-item:hover {
    transform: translateY(-2px);
    border-color: #00d2ff;
}

.cinebot-card-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.cinebot-card-info {
    padding: 6px 8px;
}

.cinebot-card-info strong {
    display: block;
    color: #fff;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cinebot-card-info span {
    color: #00d2ff;
    font-size: 0.7rem;
    font-weight: 700;
}

.cinebot-typing-dots {
    display: inline-flex;
    gap: 4px;
    padding: 8px 12px;
}

.cinebot-typing-dots span {
    width: 6px;
    height: 6px;
    background: #00d2ff;
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.cinebot-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.cinebot-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

.cinebot-input-area {
    padding: 10px 14px;
    background: rgba(7, 9, 14, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
}

.cinebot-input-area input {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    padding: 8px 14px;
    color: #fff;
    font-size: 0.84rem;
}

.cinebot-send-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= WATCH PARTY & PWA BUTTONS ================= */
.btn-watch-party-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fb7185;
    padding: 8px 14px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-watch-party-trigger:hover {
    background: rgba(244, 63, 94, 0.3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.btn-topbar-pwa-install {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #fff;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease;
}

.btn-topbar-pwa-install:hover {
    transform: translateY(-2px);
}

.user-badge-pill {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: block;
    margin-top: 2px;
}







