/* ==========================================================================
   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: 14px 12px;
    border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 8px 10px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.user-profile-summary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.3);
}

.user-avatar-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.user-avatar-wrap:hover {
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.5);
}

.user-avatar-img,
.user-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-meta {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.user-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.2;
}

.user-role {
    font-size: 0.72rem;
    color: #94a3b8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.user-badge-pill {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.user-actions-cluster {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.btn-switch-profile-action,
.user-logout-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-switch-profile-action:hover {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.4);
}

.user-logout-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

/* ---------------- Layout & Sidebar CTA ---------------- */
.guest-sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 6px 4px;
}

.btn-sidebar-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
    transition: all 0.2s ease;
}

.btn-sidebar-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    color: #fff !important;
}

.guest-sidebar-reg-link {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: 2px;
}

.guest-sidebar-reg-link:hover {
    color: #00d2ff;
    text-decoration: underline;
}

.morocoplay-sidebar.collapsed .guest-sidebar-reg-link {
    display: none;
}

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

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

.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;
}

/* ---------------- 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 presente en el sidebar), visible solo en móvil */
.morocoplay-topbar .morocoplay-brand {
    display: none;
}

.morocoplay-topbar .brand-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
}

.morocoplay-topbar .brand-highlight {
    color: #00d2ff;
    background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.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: 10px 18px;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-server-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-report-player-icon:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
    color: #f87171;
    transform: scale(1.05);
}

.morocoplay-info-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: #0f172a;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.78rem;
    color: #e2e8f0;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 100;
}

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

.btn-fullscreen-bottom {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-fullscreen-bottom:hover {
    background: var(--accent-blue, #00d2ff);
    color: #07090e;
    border-color: var(--accent-blue, #00d2ff);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    transform: translateY(-1px);
}

/* ================= MODAL POPUP DE REPORTE ================= */
.morocoplay-report-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.morocoplay-report-modal .report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 13, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.morocoplay-report-modal .report-modal-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #0f172a 0%, #172033 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.15);
    border-radius: 18px;
    padding: 30px;
    max-width: 480px;
    width: 100%;
    color: #fff;
    animation: reportModalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes reportModalPopIn {
    0% { opacity: 0; transform: scale(0.92) translateY(15px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.report-modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.report-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

.report-modal-header {
    margin-bottom: 20px;
}

.report-modal-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.report-modal-header h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.report-modal-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* ---------------- 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;
}

/* ==========================================================================
   SECCIÓN TENDENCIAS (HOY / ESTA SEMANA)
   ========================================================================== */
.trends-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.trends-tab-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 99px;
    padding: 3px;
    gap: 3px;
    margin-left: 12px;
}

.trends-tab-btn {
    padding: 5px 15px;
    border-radius: 99px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.trends-tab-btn:hover {
    color: #fff;
}

.trends-tab-btn.active {
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #07090e;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.45);
}

/* ==========================================================================
   SECCIÓN ÚLTIMOS TRÁILERS (TARJETAS HORIZONTALES 16:9)
   ========================================================================== */
.trailers-showcase-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(7, 10, 19, 0.85) 100%);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

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

.trailers-tab-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(244, 63, 94, 0.35);
    border-radius: 99px;
    padding: 3px;
    gap: 3px;
    margin-left: 12px;
    flex-wrap: wrap;
}

.trailers-tab-btn {
    padding: 5px 14px;
    border-radius: 99px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.trailers-tab-btn:hover {
    color: #fff;
}

.trailers-tab-btn.active {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(244, 63, 94, 0.45);
}

.trailers-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 2px 14px;
    scrollbar-width: none;
}

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

.trailer-card-horizontal {
    flex: 0 0 290px;
    width: 290px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.trailer-card-horizontal:hover {
    transform: translateY(-4px);
}

.trailer-thumbnail-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.trailer-card-horizontal:hover .trailer-thumbnail-wrap {
    border-color: rgba(244, 63, 94, 0.55);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.25);
}

.trailer-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trailer-card-horizontal:hover .trailer-thumb-img {
    transform: scale(1.06);
}

.trailer-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(244, 63, 94, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.6);
    transition: all 0.25s ease;
}

.trailer-card-horizontal:hover .trailer-play-badge {
    transform: translate(-50%, -50%) scale(1.14);
    background: #f43f5e;
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.9);
}

.trailer-quality-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.trailer-rating-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.trailer-card-info {
    padding: 10px 4px 4px;
}

.trailer-card-title {
    margin: 0 0 3px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trailer-card-sub {
    margin: 0;
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ==========================================================================
   MODAL DE VIDEO PARA TRÁILERS HD
   ========================================================================== */
.trailer-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 7, 13, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.trailer-modal-dialog {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(244, 63, 94, 0.3);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(244, 63, 94, 0.2);
    border-radius: 18px;
    padding: 24px;
    max-width: 820px;
    width: 100%;
    color: #fff;
    animation: trailerModalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes trailerModalPopIn {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

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

.trailer-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.5);
}

.trailer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-right: 42px;
    flex-wrap: wrap;
    gap: 10px;
}

.trailer-modal-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fb7185;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#trailer-modal-title {
    margin: 2px 0 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.btn-trailer-view-post {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #07090e;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-trailer-view-post:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.trailer-video-responsive {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.trailer-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   TARJETAS HORIZONTALES DE CATÁLOGO (16:9)
   ========================================================================== */
.movie-card-horizontal {
    flex: 0 0 280px;
    width: 280px;
    position: relative;
    border-radius: 14px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.movie-card-horizontal:hover {
    transform: translateY(-4px);
}

.card-media-horizontal {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-horizontal:hover .card-media-horizontal {
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.25);
}

.card-img-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-play-hover-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.movie-card-horizontal:hover .card-play-hover-btn {
    opacity: 1;
}

.card-play-hover-btn i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #07090e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.7);
    transition: transform 0.2s ease;
}

.card-play-hover-btn:hover i {
    transform: scale(1.12);
}

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

.btn-fav-horizontal:hover, .btn-fav-horizontal.active {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.25);
    border-color: rgba(255, 71, 87, 0.5);
    transform: scale(1.1);
}

.card-rating-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
}

.card-type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #00d2ff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    text-transform: uppercase;
}

.card-info-horizontal {
    padding: 10px 4px 4px;
}

.card-title-horizontal {
    margin: 0 0 3px;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.card-meta-horizontal {
    margin: 0;
    font-size: 0.78rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   SELECTOR MÓVIL PARA TRÁILERS & MENÚ INFERIOR
   ========================================================================== */
.mobile-only-select {
    display: none;
}

.desktop-only-tabs {
    display: inline-flex;
}

.center-btn-mascot-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   PANTALLA DE LOGIN CINEMÁTICA
   ========================================================================== */
.morocoplay-login-body {
    min-height: 100vh;
    background: #07090e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    overflow-x: hidden;
    color: #fff;
}

.login-screen-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.login-glow-1 {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(50px);
}

.login-glow-2 {
    position: absolute;
    bottom: -10%;
    right: 20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(50px);
}

.login-modal-box {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 24px;
    padding: 38px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.15);
}

.login-brand-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-mascot-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.25);
}

.login-mascot-wrap svg,
.login-mascot-logo {
    width: 44px;
    height: 44px;
    fill: #ffffff;
    color: #ffffff;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(0, 210, 255, 0.7));
}

.login-brand-header h2 {
    font-size: 1.65rem;
    font-weight: 900;
    margin: 0 0 4px;
    letter-spacing: 0.05em;
}

.login-tagline {
    color: #94a3b8;
    font-size: 0.86rem;
    margin: 0;
}

.login-error-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

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

.login-form-fields label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.login-form-fields .input-text {
    width: 100%;
    background: rgba(4, 7, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.login-form-fields .input-text:focus {
    border-color: #00d2ff;
    outline: none;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 22px;
}

.remember-row .forgot-link {
    color: #00d2ff;
    text-decoration: none;
    font-weight: 600;
}

.remember-row .forgot-link:hover {
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #07090e;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
    transition: all 0.2s;
}

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

.login-footer-links {
    text-align: center;
    margin-top: 22px;
}

.login-footer-links a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

/* ==========================================================================
   RESPONSIVE MÓVIL
   ========================================================================== */
@media screen and (max-width: 768px) {
    .btn-topbar-matchmaker {
        display: none !important;
    }
    .trailers-showcase-section {
        padding: 16px;
    }
    .desktop-only-tabs {
        display: none !important;
    }
    .mobile-only-select {
        display: block !important;
    }
    .trailers-mobile-select {
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(244, 63, 94, 0.4);
        color: #fff;
        padding: 7px 14px;
        border-radius: 99px;
        font-size: 0.82rem;
        font-weight: 700;
        outline: none;
        cursor: pointer;
    }
    .movie-card-horizontal, .trailer-card-horizontal {
        flex: 0 0 240px;
        width: 240px;
    }
}

/* ==========================================================================
   VENTANA INFERIOR DE INSTALACIÓN PWA (BOTTOM SHEET ANIMADA)
   ========================================================================== */
.pwa-bottom-sheet-backdrop {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    display: flex;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}

.pwa-bottom-sheet-card {
    pointer-events: auto;
    max-width: 520px;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 210, 255, 0.2);
    animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes pwaSlideUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.pwa-sheet-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pwa-sheet-close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.3);
}

.pwa-sheet-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pwa-sheet-icon-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    background: #07090e;
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.pwa-sheet-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pwa-verified-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.pwa-sheet-info {
    flex: 1;
    padding-right: 20px;
}

.pwa-sheet-tag {
    font-size: 10px;
    font-weight: 800;
    color: #00d2ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pwa-sheet-title {
    margin: 2px 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.pwa-sheet-desc {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.35;
}

.pwa-sheet-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-pwa-install-main {
    flex: 1;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #07090e;
    font-weight: 900;
    font-size: 0.9rem;
    border: none;
    padding: 11px 18px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pwa-install-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
}

.btn-pwa-dismiss {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* ==========================================================================
   MATCH SCORE (% DE COINCIDENCIA ESTILO NETFLIX)
   ========================================================================== */
.card-match-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
    z-index: 5;
}

.for-you-badge-indicator {
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 8px;
}

/* ==========================================================================
   CENTRO DE NOTIFICACIONES
   ========================================================================== */
.topbar-notifications-wrap {
    position: relative;
}

.btn-topbar-notif {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.btn-topbar-notif:hover {
    color: #00d2ff;
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.1);
}

.notif-badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: notifPulse 1.5s infinite;
}

@keyframes notifPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(0.9); opacity: 1; }
}

.notifications-dropdown-menu {
    position: absolute;
    top: 48px;
    right: 0;
    width: 320px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.15);
    z-index: 10000;
    overflow: hidden;
    animation: notifPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notifPopIn {
    0% { opacity: 0; transform: translateY(8px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notif-menu-header h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}

.notif-live-tag {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.notif-items-list {
    max-height: 280px;
    overflow-y: auto;
}

.notif-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: background 0.2s;
}

.notif-item-row:hover {
    background: rgba(0, 210, 255, 0.1);
}

.notif-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.notif-item-info h5 {
    margin: 0 0 2px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.notif-item-info span {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* ==========================================================================
   MINI-PLAYER FLOTANTE (PICTURE-IN-PICTURE)
   ========================================================================== */
.morocoplay-pip-player {
    position: fixed;
    bottom: 85px;
    right: 24px;
    width: 320px;
    aspect-ratio: 16 / 9;
    z-index: 9999;
    background: #07090e;
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 210, 255, 0.25);
    animation: pipFadeIn 0.25s ease;
}

@keyframes pipFadeIn {
    0% { transform: scale(0.9) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.pip-player-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pip-player-title {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.pip-player-controls button {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 14px;
    cursor: pointer;
    padding: 2px 4px;
}

.pip-player-controls button:hover {
    color: #00d2ff;
}

.pip-player-video-slot {
    width: 100%;
    height: 100%;
}

.pip-player-video-slot iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   MULTI-PERFILES Y COLECCIONES
   ========================================================================== */
.profiles-grid-list {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.profile-card-item {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.2s;
    width: 90px;
}

.profile-card-item:hover {
    transform: translateY(-4px);
}

.profile-card-item.active .profile-avatar-circle {
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

.profile-avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.15);
    font-size: 24px;
    color: #fff;
    overflow: hidden;
}

.profile-name-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.profile-kids-badge {
    font-size: 9px;
    font-weight: 800;
    background: #f59e0b;
    color: #000;
    padding: 1px 4px;
    border-radius: 4px;
    margin-top: 2px;
    display: inline-block;
}

/* Etiqueta 'Basado en tus gustos' sutil, blanca y con menor opacidad */
.for-you-badge-indicator {
    color: rgba(255, 255, 255, 0.65) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    letter-spacing: 0.02em !important;
    margin-left: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   PORTADA DE REPRODUCTOR INTERACTIVA Y MODAL DE REGISTRO PARA INVITADOS
   ========================================================================== */
.guest-player-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-player-cover:hover {
    border-color: rgba(0, 210, 255, 0.4);
    transform: scale(1.005);
}

.guest-cover-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(7, 9, 14, 0.4) 0%, rgba(7, 9, 14, 0.85) 100%);
    transition: background 0.3s ease;
}

.guest-player-cover:hover .guest-cover-gradient {
    background: radial-gradient(circle at center, rgba(7, 9, 14, 0.3) 0%, rgba(7, 9, 14, 0.75) 100%);
}

.guest-cover-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding: 20px;
}

.guest-play-button-pulse {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 0 35px rgba(0, 210, 255, 0.5), 0 0 0 0 rgba(0, 210, 255, 0.6);
    animation: playPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: transform 0.25s ease;
}

.guest-player-cover:hover .guest-play-button-pulse {
    transform: scale(1.1);
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 25px rgba(0, 210, 255, 0.5), 0 0 0 0 rgba(0, 210, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 35px rgba(0, 210, 255, 0.4), 0 0 0 22px rgba(0, 210, 255, 0);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 210, 255, 0.5), 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

.guest-play-label {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.guest-cover-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-pill-hd, .badge-pill-audio {
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-pill-hd i {
    color: #00d2ff;
}

.badge-pill-audio i {
    color: #10b981;
}

/* Modal de Registro Requerido */
.guest-gate-modal {
    max-width: 520px !important;
    padding: 36px 30px !important;
    text-align: center;
}

.guest-gate-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.guest-gate-modal-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00d2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
    margin-bottom: 4px;
    animation: lockPulse 2.5s infinite alternate;
}

@keyframes lockPulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); }
    100% { transform: scale(1.06); box-shadow: 0 0 35px rgba(0, 210, 255, 0.45); }
}

.guest-gate-modal-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 3px 12px;
    border-radius: 99px;
}

.guest-gate-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

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

.guest-gate-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 24px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    border-radius: 14px;
}

.guest-gate-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.guest-gate-benefit-item i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.guest-gate-actions-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-guest-gate-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 13px 20px;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.35);
    transition: all 0.25s ease;
}

.btn-guest-gate-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5);
    color: #fff;
}

.btn-guest-gate-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 11px 20px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-guest-gate-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}












