/**
 * PÁGINA DE VÍDEOS PROFISSIONAL - SISTEMA UNIVERSAL DE CORES
 * Arquivo: css/videos-page.css
 * Responsabilidade: Estilos para página completa de vídeos
 * Padrão: Sistema universal de cores que harmoniza com qualquer cliente
 */

/* ==== VARIÁVEIS CSS UNIVERSAL ==== */
:root {
    /* ==== PALETA AZUL NEUTRO MISTURADO COM CINZA ==== */
    --videos-page-primary: #4a5568;      /* Azul acinzentado escuro */
    --videos-page-secondary: #64748b;    /* Azul acinzentado médio */
    --videos-page-accent: #5b7280;       /* Azul acinzentado suave */
    --videos-page-accent-light: #8b9dc3; /* Azul acinzentado claro */
    --videos-page-accent-soft: #f0f4f8;  /* Azul acinzentado muito claro */
    --videos-page-white: #ffffff;
    --videos-page-gray-50: #f9fafb;
    --videos-page-gray-100: #f3f4f6;
    --videos-page-gray-200: #e5e7eb;
    --videos-page-gray-300: #d1d5db;
    --videos-page-gray-400: #9ca3af;
    --videos-page-gray-500: #5b7280;
    --videos-page-gray-600: #4b5563;
    --videos-page-gray-700: #374151;
    --videos-page-gray-800: #1f2937;
    --videos-page-gray-900: #111827;
    
    /* ==== CORES ESPECÍFICAS PARA VÍDEOS ==== */
    --videos-page-play-primary: #5b7280;
    --videos-page-play-hover: #4a5568;
    --videos-page-play-light: #8b9dc3;
    --videos-page-gradient-primary: linear-gradient(135deg, #5b7280 0%, #4a5568 100%);
    --videos-page-gradient-hover: linear-gradient(135deg, #4a5568 0%, #374151 100%);
    --videos-page-shadow-play: 0 4px 20px rgba(91, 114, 128, 0.3);
    
    /* ==== ESPAÇAMENTOS ==== */
    --videos-page-space-xs: 0.5rem;
    --videos-page-space-sm: 1rem;
    --videos-page-space-md: 1.5rem;
    --videos-page-space-lg: 2rem;
    --videos-page-space-xl: 3rem;
    --videos-page-space-2xl: 4rem;
    --videos-page-space-3xl: 6rem;
    
    /* ==== BORDAS E SOMBRAS ==== */
    --videos-page-radius-sm: 0.375rem;
    --videos-page-radius-md: 0.5rem;
    --videos-page-radius-lg: 0.75rem;
    --videos-page-radius-xl: 1rem;
    --videos-page-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --videos-page-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --videos-page-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --videos-page-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --videos-page-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --videos-page-shadow-glow: 0 0 40px rgba(113, 128, 150, 0.4);
    
    /* ==== TRANSIÇÕES ==== */
    --videos-page-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --videos-page-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==== SEÇÃO PRINCIPAL ==== */
.videos-page-section {
    background: var(--videos-page-white);
    position: relative;
    overflow: visible;
    min-height: 100vh;
}

/* ==== HERO SECTION NEUTRO E ELEGANTE ==== */
.videos-page-hero {
    background: linear-gradient(135deg, var(--videos-page-accent-soft) 0%, var(--videos-page-white) 50%, var(--videos-page-gray-50) 100%);
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    margin: 0;
    border: none;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8), 
        0 4px 30px rgba(91, 114, 128, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.05);
}

.videos-page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(91, 114, 128, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(74, 85, 104, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(91, 114, 128, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 10% 70%, rgba(74, 85, 104, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(91, 114, 128, 0.03) 0%, transparent 50%);
    opacity: 1;
    animation: subtleFloat 20s ease-in-out infinite;
}

.videos-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 20%, rgba(255, 255, 255, 0.4) 50%, transparent 80%),
        linear-gradient(-45deg, transparent 20%, rgba(249, 250, 251, 0.3) 50%, transparent 80%),
        linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: gentleShimmer 15s ease-in-out infinite;
}

.videos-page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--videos-page-gray-800);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--videos-page-space-md);
}

.videos-page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--videos-page-gray-100);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--videos-page-gray-200);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: var(--videos-page-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--videos-page-gray-700);
}

.videos-page-hero-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--videos-page-gray-300);
    background: var(--videos-page-gray-50);
}

.videos-page-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--videos-page-primary) 0%, var(--videos-page-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    cursor: default;
}

.videos-page-hero:hover .videos-page-hero-title {
    transform: translateY(-1px);
}

.videos-page-title-main {
    display: block;
}

.videos-page-title-accent {
    background: linear-gradient(45deg, #5b7280, #8b9dc3, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    animation: accentPulse 2s ease-in-out infinite;
}

.videos-page-title-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #5b7280, #8b9dc3);
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

.videos-page-hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--videos-page-gray-600);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.videos-page-hero:hover .videos-page-hero-description {
    transform: translateY(-0.5px);
}

.videos-page-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 24px rgba(91, 114, 128, 0.15);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.videos-page-hero-stats:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(91, 114, 128, 0.25),
        0 4px 16px rgba(91, 114, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(91, 114, 128, 0.3);
}

.videos-page-stat-item {
    text-align: center;
    position: relative;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.videos-page-stat-item:hover {
    transform: translateY(-2px) scale(1.05);
}

.videos-page-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--videos-page-gray-800);
    position: relative;
    transition: all 0.3s ease;
}

.videos-page-stat-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(91, 114, 128, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: numberPulse 3s ease-in-out infinite;
}

.videos-page-stat-item:hover .videos-page-stat-number::before {
    animation: numberPulseHover 1.5s ease-in-out infinite;
}

.videos-page-stat-label {
    font-size: 0.9rem;
    color: var(--videos-page-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.videos-page-stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(91, 114, 128, 0.3) 20%, 
        #5b7280 50%, 
        rgba(91, 114, 128, 0.3) 80%, 
        transparent 100%);
    position: relative;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.videos-page-stat-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #5b7280;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(91, 114, 128, 0.4);
}

/* ==== SEPARADOR ELEGANTE ==== */
.videos-page-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--videos-page-white) 0%, var(--videos-page-gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.videos-page-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(91, 114, 128, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(74, 85, 104, 0.02) 0%, transparent 50%);
    animation: subtleFloat 15s ease-in-out infinite;
}

.videos-page-separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--videos-page-accent), transparent);
    position: relative;
    margin: 0 20px;
}

.videos-page-separator-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--videos-page-accent), transparent);
    animation: separatorGlow 3s ease-in-out infinite;
}

.videos-page-separator-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--videos-page-accent) 0%, var(--videos-page-accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    box-shadow: 0 4px 20px rgba(91, 114, 128, 0.3);
    position: relative;
    z-index: 2;
    transition: var(--videos-page-transition);
}

.videos-page-separator-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(91, 114, 128, 0.4);
}

.videos-page-separator-icon i {
    font-size: 24px;
    color: var(--videos-page-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ==== SEÇÃO DE CONTEÚDO ==== */
.videos-page-content-section {
    padding: 1.5rem 0 var(--videos-page-space-3xl) 0;
    background: var(--videos-page-gray-50);
    position: relative;
}

.videos-page-content-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--videos-page-space-md);
    margin-bottom: var(--videos-page-space-xl);
    padding: 0 var(--videos-page-space-md);
    text-align: center;
}

.videos-page-content-header-icon {
    width: 60px;
    height: 60px;
    background: var(--videos-page-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--videos-page-shadow-play);
}

.videos-page-content-header-icon i {
    font-size: 24px;
    color: var(--videos-page-white);
}

.videos-page-content-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--videos-page-primary) 0%, var(--videos-page-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
}

.videos-page-content-subtitle {
    font-size: 1.1rem;
    color: var(--videos-page-gray-600);
    margin: var(--videos-page-space-xs) 0 0 0;
    font-weight: 500;
}

/* ==== GRID DE VÍDEOS ==== */
.videos-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--videos-page-space-xl);
    margin-bottom: 1rem;
    padding: 0;
}

/* ==== CARD DE VÍDEO ==== */
.videos-page-card {
    background: var(--videos-page-white);
    border-radius: var(--videos-page-radius-xl);
    box-shadow: var(--videos-page-shadow-lg);
    overflow: hidden;
    transition: var(--videos-page-transition);
    border: 1px solid var(--videos-page-gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.videos-page-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--videos-page-shadow-2xl), var(--videos-page-shadow-glow);
}

/* ==== THUMBNAIL DO VÍDEO ==== */
.videos-page-card-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.videos-page-card-thumbnail-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.videos-page-card-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--videos-page-transition);
}

.videos-page-card:hover .videos-page-card-thumbnail-image {
    transform: scale(1.02);
}

.videos-page-card:hover .videos-page-card-thumbnail-placeholder {
    transform: scale(1.02);
}

/* ==== BOTÃO DE PLAY ==== */
.videos-page-card-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5b7280 0%, #8b9dc3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--videos-page-transition);
    box-shadow: 0 4px 20px rgba(91, 114, 128, 0.3);
    border: 4px solid var(--videos-page-white);
    z-index: 2;
}

.videos-page-card-play-button i {
    font-size: 32px;
    color: var(--videos-page-white);
    margin-left: 4px;
}

.videos-page-card-play-button:hover {
    background: linear-gradient(135deg, #4a5568 0%, #64748b 100%);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(91, 114, 128, 0.4);
}

/* ==== BADGE DE DURAÇÃO ==== */
.videos-page-card-duration-badge {
    position: absolute;
    bottom: var(--videos-page-space-sm);
    right: var(--videos-page-space-sm);
    background: rgba(0, 0, 0, 0.8);
    color: var(--videos-page-white);
    padding: var(--videos-page-space-xs) var(--videos-page-space-sm);
    border-radius: var(--videos-page-radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--videos-page-space-xs);
    z-index: 2;
}

/* ==== ANIMAÇÕES KEYFRAMES ==== */
@keyframes numberPulseHover {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes gentleShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.6;
        transform: translateX(100%);
    }
}

@keyframes accentPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.2;
    }
}

@keyframes modalBackdropFadeOut {
    0% {
        opacity: 1;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}

@keyframes modalContentFadeIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes modalContentFadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}


/* ==== PADRÃO INDEX.PHP - APENAS ZOOM E SOMBRA ==== */

/* ==== CONTEÚDO DO CARD ==== */
.videos-page-card-content {
    padding: var(--videos-page-space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.videos-page-card-content-header {
    margin-bottom: var(--videos-page-space-md);
}

.videos-page-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--videos-page-gray-800);
    margin: 0 0 var(--videos-page-space-sm) 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.videos-page-card-platform {
    display: flex;
    align-items: center;
    gap: var(--videos-page-space-xs);
    font-size: 0.875rem;
    color: var(--videos-page-gray-600);
    font-weight: 500;
}

.videos-page-card-platform i {
    color: #ff0000;
    font-size: 16px;
}

/* ==== AÇÕES DO CARD ==== */
.videos-page-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
}

.videos-page-card-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--videos-page-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--videos-page-transition);
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    flex: 1;
    background: linear-gradient(135deg, #5b7280 0%, #8b9dc3 100%);
    color: var(--videos-page-white);
}

.videos-page-card-play-btn:hover {
    background: linear-gradient(135deg, #4a5568 0%, #64748b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(91, 114, 128, 0.3);
}


.videos-page-back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--videos-page-space-sm);
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: var(--videos-page-white);
    padding: var(--videos-page-space-md) var(--videos-page-space-xl);
    border-radius: var(--videos-page-radius-lg);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--videos-page-transition);
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.videos-page-back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.videos-page-back-btn:hover::before {
    left: 100%;
}

.videos-page-back-btn:hover {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 114, 128, 0.4);
    color: var(--videos-page-white);
    text-decoration: none;
    border-color: #9ca3af;
}

.videos-page-back-btn i {
    font-size: 1.2rem;
    transition: var(--videos-page-transition);
}

.videos-page-back-btn:hover i {
    transform: scale(1.1);
    color: #9ca3af;
}

/* ==== ESTADO VAZIO ==== */
.videos-page-empty-section {
    margin-bottom: 3rem;
    margin-top: -3rem;
}

.videos-page-empty {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    margin-bottom: -1rem;
}

.videos-page-empty-icon {
    font-size: 3rem;
    color: var(--videos-page-gray-400);
    margin-bottom: 1rem;
}

.videos-page-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--videos-page-gray-700);
    margin-bottom: 0.5rem;
}

.videos-page-empty-description {
    color: var(--videos-page-gray-500);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.videos-page-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--videos-page-primary);
    color: var(--videos-page-white);
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--videos-page-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.videos-page-empty-btn:hover {
    background: var(--videos-page-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--videos-page-white);
    text-decoration: none;
}

/* ==== MODAL DE VÍDEO (REUTILIZADO DO includeVideos.php) ==== */
.videos-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: modalBackdropFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.videos-modal.closing {
    animation: modalBackdropFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.videos-modal.closing .videos-modal-content {
    animation: modalContentFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.videos-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 1000px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: modalContentFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.videos-modal-header {
    background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 60px;
    gap: 1rem;
}

.videos-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a5568, #5b7280, #8b9dc3, #4a5568);
    animation: gradientShift 3s ease-in-out infinite;
}

.videos-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    grid-column: 2;
    justify-self: center;
}

.videos-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    grid-column: 3;
    justify-self: end;
}

.videos-modal-close:hover {
    background: rgba(231, 76, 60, 0.8);
    border-color: #e74c3c;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.videos-modal-body {
    padding: 0;
    background: #000000;
    position: relative;
}

.videos-modal-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000000;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.videos-modal-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(91, 114, 128, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.videos-modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

/* ==== BOTÕES DE COMPARTILHAMENTO NO MODAL ==== */
.videos-modal-share-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    grid-column: 1;
    justify-self: start;
}

.videos-modal-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.videos-modal-share-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Hover específico para cada rede social */
.videos-modal-share-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.8);
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.videos-modal-share-btn.twitter:hover {
    background: rgba(29, 161, 242, 0.8);
    border-color: #1da1f2;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

.videos-modal-share-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.videos-modal-share-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.8);
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.videos-modal-share-btn.linkedin:hover {
    background: rgba(0, 119, 181, 0.8);
    border-color: #0077b5;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.videos-modal-share-btn.link:hover {
    background: rgba(184, 134, 11, 0.7);
    border-color: #b8860b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.videos-modal-share-btn.link:focus,
.videos-modal-share-btn.link:active,
.videos-modal-share-btn.link:focus:not(:hover) {
    outline: none !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: none !important;
}

.videos-modal-share-btn.link:focus:hover,
.videos-modal-share-btn.link:active:hover {
    background: rgba(184, 134, 11, 0.7) !important;
    border-color: #b8860b !important;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3) !important;
}

/* ==== ANIMAÇÕES ==== */
@keyframes subtleFloat {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 1;
    }
    50% { 
        transform: translateY(-3px);
        opacity: 0.95;
    }
}

@keyframes shimmerWave {
    0%, 100% { 
        opacity: 0.3;
        transform: translateX(0px);
    }
    25% { 
        opacity: 0.6;
        transform: translateX(10px);
    }
    50% { 
        opacity: 0.4;
        transform: translateX(-5px);
    }
    75% { 
        opacity: 0.8;
        transform: translateX(5px);
    }
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
    100% { text-shadow: 0 4px 30px rgba(91, 114, 128, 0.2); }
}

@keyframes accentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes underlineGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(91, 114, 128, 0.5);
        opacity: 0.8;
    }
    50% { 
        box-shadow: 0 0 15px rgba(91, 114, 128, 0.8);
        opacity: 1;
    }
}

@keyframes numberGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(91, 114, 128, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(91, 114, 128, 0.6));
    }
}

@keyframes numberPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes modalBackdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(15px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes separatorGlow {
    0%, 100% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ==== ANIMAÇÃO DOS CARDS ==== */
.videos-page-card {
    animation: fadeInUp 0.6s ease-out;
}

.videos-page-card:nth-child(1) { animation-delay: 0.1s; }
.videos-page-card:nth-child(2) { animation-delay: 0.2s; }
.videos-page-card:nth-child(3) { animation-delay: 0.3s; }
.videos-page-card:nth-child(4) { animation-delay: 0.4s; }
.videos-page-card:nth-child(5) { animation-delay: 0.5s; }
.videos-page-card:nth-child(6) { animation-delay: 0.6s; }

/* ==== RESPONSIVIDADE ==== */

/* Desktop Grande */
@media (min-width: 1400px) {
    .videos-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
    .videos-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 1199px) and (min-width: 768px) {
    .videos-page-hero-title {
        font-size: 2.8rem;
    }
    
    .videos-page-hero-stats {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem 0;
    }
    
    .metric-item {
        padding: 1rem 2rem;
    }
    
    .videos-page-stat-divider {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
    
    .videos-page-stat-number {
        font-size: 2rem;
    }
    
    .videos-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--videos-page-space-lg);
    }
    
    .videos-page-content-header {
        flex-direction: column;
        text-align: center;
        gap: var(--videos-page-space-lg);
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .videos-page-hero {
        padding: 30px 0 20px 0;
        min-height: 240px;
    }
    
    .videos-page-hero-title {
        font-size: 2rem;
    }
    
    .videos-page-separator {
        padding: 1.5rem 0;
    }
    
    .videos-page-separator-line {
        flex: 1;
        margin: 0 15px;
    }
    
    .videos-page-separator-icon {
        width: 50px;
        height: 50px;
        margin: 0 1.5rem;
    }
    
    .videos-page-separator-icon i {
        font-size: 20px;
    }
    
    .videos-page-hero-description {
        font-size: 1rem;
    }
    
    .videos-page-hero-stats {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem 0;
    }
    
    .metric-item {
        padding: 1rem 1.5rem;
    }
    
    .videos-page-stat-divider {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
    
    .videos-page-content-section {
        padding: var(--videos-page-space-2xl) 0;
    }
    
    .videos-page-content-header {
        flex-direction: column;
        text-align: center;
        gap: var(--videos-page-space-lg);
    }
    
    .videos-page-grid {
        grid-template-columns: 1fr;
        gap: var(--videos-page-space-lg);
        padding: 0;
    }
    
    .videos-page-card-thumbnail {
        height: 200px;
    }
    
    .videos-page-card-play-button {
        width: 60px;
        height: 60px;
    }
    
    .videos-page-card-play-button i {
        font-size: 24px;
    }
    
    .videos-modal-content {
        width: 98%;
        margin: 1% auto;
        border-radius: 15px;
    }
    
    .videos-modal-header {
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        min-height: auto;
    }
    
    .videos-modal-title {
        font-size: 1.1rem;
        order: 1;
        position: static;
        grid-column: unset;
        justify-self: unset;
        text-align: center;
        margin: 0.5rem 0;
        max-width: 100%;
    }
    
    .videos-modal-share-buttons {
        order: 2;
        grid-column: unset;
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .videos-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        order: 3;
        grid-column: unset;
        justify-self: center;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }
    
    /* Reduzir badges em mobile grande */
    .videos-platform-badge {
        padding: 3px 6px;
        border-radius: 10px;
        top: 14px;
        right: 12px;
        max-width: calc(100% - 20px);
    }
    
    .videos-platform-badge i {
        font-size: 0.65rem;
    }
    
    .videos-platform-badge-text {
        font-size: 0.58rem;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .videos-page-hero {
        padding: 30px 0;
        min-height: 250px;
    }
    
    .videos-page-hero-title {
        font-size: 1.8rem;
    }
    
    .videos-page-hero-stats {
        padding: 1rem 0;
        margin: 0 0.5rem 1.5rem 0.5rem;
    }
    
    .metric-item {
        padding: 0.8rem 1rem;
    }
    
    .videos-page-stat-divider {
        transform: rotate(90deg);
        padding: 0.3rem 0;
    }
    
    .videos-page-hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .videos-page-content-section {
        padding: var(--videos-page-space-xl) 0;
    }
    
    .videos-page-card-thumbnail {
        height: 180px;
    }
    
    .videos-page-card-content {
        padding: var(--videos-page-space-sm);
    }
    
    .videos-page-card-title {
        font-size: 1.1rem;
    }
    
    .videos-page-card-play-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .videos-modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }
    
    .videos-modal-video-container {
        border-radius: 0;
        height: calc(100vh - 80px);
        padding-bottom: 0;
    }
    
    .videos-modal-video-container iframe {
        border-radius: 0;
    }
    
    .videos-modal-share-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    /* Reduzir ainda mais badges em mobile pequeno */
    .videos-platform-badge {
        padding: 2px 5px;
        border-radius: 8px;
        top: 10px;
        right: 8px;
        max-width: calc(100% - 16px);
    }
    
    .videos-platform-badge i {
        font-size: 0.6rem;
    }
    
    .videos-platform-badge-text {
        font-size: 0.55rem;
    }
}

/* ==== ACESSIBILIDADE ==== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==== PLACEHOLDER GENÉRICO PARA OUTRAS PLATAFORMAS ==== */
.videos-page-card-thumbnail-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--videos-page-radius-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.videos-platform-badge {
    position: absolute;
    top: 14px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    max-width: calc(100% - 24px);
}

.videos-platform-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.videos-platform-badge i {
    font-size: 0.7rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.videos-platform-badge-text {
    font-size: 0.6rem;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
    letter-spacing: 0.1px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==== ÍCONES DE PLATAFORMA CLICÁVEIS ==== */
.platform-clickable {
    transition: all 0.2s ease;
    border-radius: var(--videos-page-radius-sm);
    padding: 4px 8px;
    margin: -4px -8px;
    display: inline-block;
}

.platform-clickable:hover {
    background-color: var(--videos-page-gray-100);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.platform-clickable:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--videos-page-gray-200);
}

.platform-clickable i {
    transition: transform 0.2s ease;
}

.platform-clickable:hover i {
    transform: scale(1.1);
}

.platform-clickable:active i {
    transform: scale(0.95);
}

/* ==== PRINT STYLES ==== */
@media print {
    .videos-page-hero,
    .videos-page-card-actions,
    .videos-modal {
        display: none !important;
    }
    
    .videos-page-section {
        background: white !important;
    }
    
    .videos-page-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* ==== SEÇÃO DE BUSCA DE VÍDEOS (baseado no padrão das notícias) ==== */
.videos-search-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
    border: 1px solid #dee2e6;
}

.videos-search-container {
    position: relative;
    margin-bottom: 0;
    display: flex;
    gap: 0.5rem;
}

.videos-search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.videos-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    border: 2px solid #dee2e6;
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    height: 48px;
    box-sizing: border-box;
    font-family: inherit;
}

.videos-search-input:focus {
    outline: none;
    border-color: #2c3e50;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.videos-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.25rem;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
}

.videos-search-btn {
    background: #2c3e50;
    color: #ffffff;
    border: 2px solid #2c3e50;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
}

.videos-search-btn:hover {
    background: #34495e;
    border-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.videos-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.videos-search-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* ==== MENSAGENS DE VALIDAÇÃO DISCRETAS ==== */
.videos-validation-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.5rem 0.75rem;
    background: rgba(249, 211, 156, 0.15);
    border: 1px solid rgba(249, 211, 156, 0.4);
    border-radius: var(--videos-page-radius-sm);
    color: #8b6914;
    font-size: 0.8rem;
    font-weight: 500;
    animation: fadeInMessage 0.3s ease-out;
}

.videos-validation-message.hide {
    animation: fadeOutMessage 0.3s ease-out forwards;
}

.videos-validation-message i {
    color: #f9d39c;
    font-size: 0.9rem;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutMessage {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* ==== NOTIFICAÇÕES ELEGANTES ==== */
.videos-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    min-width: 300px;
    background: var(--videos-page-white);
    border-radius: var(--videos-page-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--videos-page-primary);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInNotification 0.4s ease-out forwards;
}

.videos-notification-warning {
    border-left-color: #f39c12;
}

.videos-notification-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
}

.videos-notification i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.videos-notification-warning i {
    color: #f39c12;
}

.videos-notification span {
    flex: 1;
    color: var(--videos-page-gray-800);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.videos-notification-close {
    background: none;
    border: none;
    color: var(--videos-page-gray-400);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.videos-notification-close:hover {
    background: var(--videos-page-gray-100);
    color: var(--videos-page-gray-600);
}

.videos-notification-close i {
    font-size: 0.875rem;
}

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

/* ==== BOTÕES DE FILTRO (EXATAMENTE como notícias) ==== */
.videos-filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.videos-filter-tab {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--videos-page-gray-200);
    border-radius: 1rem;
    background: var(--videos-page-white);
    color: var(--videos-page-gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.videos-filter-tab:hover,
.videos-filter-tab.active {
    border-color: var(--videos-page-primary);
    background: var(--videos-page-primary);
    color: var(--videos-page-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ==== RESPONSIVIDADE PARA BUSCA DE VÍDEOS ==== */
@media (max-width: 768px) {
    .videos-search-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .videos-search-input-wrapper {
        position: relative;
        width: 100%;
    }
    
    .videos-search-input {
        height: 48px;
        box-sizing: border-box;
    }
    
    .videos-search-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
        line-height: 1;
    }
    
    .videos-search-btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .videos-search-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .videos-search-input-wrapper {
        position: relative;
        width: 100%;
    }
    
    .videos-search-input {
        width: 100%;
        height: 48px;
        box-sizing: border-box;
    }
    
    .videos-search-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        pointer-events: none;
        line-height: 1;
    }
    
    .videos-search-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ======================================================
   PAGINAÇÃO - EXATAMENTE COMO NOTÍCIAS
   ====================================================== */
.videos-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--videos-page-space-sm);
    margin-top: var(--videos-page-space-md);
    margin-bottom: -48px !important;
}

.videos-pagination-btn {
    padding: var(--videos-page-space-sm) var(--videos-page-space-md);
    border: 2px solid var(--videos-page-gray-200);
    border-radius: 0.5rem;
    background: var(--videos-page-white);
    color: var(--videos-page-gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.videos-pagination-btn:focus-visible {
    outline: 2px solid var(--videos-page-primary);
    outline-offset: 2px;
}

.videos-pagination-btn:focus {
    outline: none;
}

.videos-pagination-btn:hover,
.videos-pagination-btn.active {
    border-color: var(--videos-page-primary);
    background: var(--videos-page-primary);
    color: var(--videos-page-white);
    transform: translateY(-2px);
}

.videos-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.videos-pagination-numbers {
    display: flex;
    gap: var(--videos-page-space-xs);
    align-items: center;
}

.videos-pagination-number {
    padding: var(--videos-page-space-sm) var(--videos-page-space-sm);
    border: 2px solid var(--videos-page-gray-200);
    border-radius: 0.5rem;
    background: var(--videos-page-white);
    color: var(--videos-page-gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videos-pagination-number:hover,
.videos-pagination-number.active {
    border-color: var(--videos-page-primary);
    background: var(--videos-page-primary);
    color: var(--videos-page-white);
    transform: translateY(-2px);
}

.videos-pagination-number:focus-visible {
    outline: 2px solid var(--videos-page-primary);
    outline-offset: 2px;
}

.videos-pagination-number:focus {
    outline: none;
}

/* Responsividade da paginação */
@media (max-width: 768px) {
    .videos-pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: -1rem !important;
        margin-bottom: -28px !important;
    }
    
    .videos-pagination-numbers {
        gap: 2px;
    }
    
    .videos-pagination-number {
        font-size: 0.8rem;
        padding: 6px 8px;
        min-width: 32px;
    }
    
    .videos-pagination-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ==== PAGINAÇÃO COMPACTA INTEGRADA ==== */

.videos-pagination-compact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.5rem;
    background: var(--videos-page-gray-50);
    border-radius: 8px;
    border: 1px solid var(--videos-page-gray-200);
    margin-left: auto;
}

.videos-pagination-btn-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--videos-page-gray-300);
    background: var(--videos-page-white);
    color: var(--videos-page-gray-600);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.videos-pagination-btn-compact:hover:not(:disabled) {
    background: var(--videos-page-gray-100);
    border-color: var(--videos-page-gray-400);
    color: var(--videos-page-gray-700);
    transform: translateY(-1px);
}

.videos-pagination-btn-compact:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--videos-page-gray-100);
    color: var(--videos-page-gray-400);
}

.videos-pagination-numbers-compact {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.videos-pagination-number-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--videos-page-gray-300);
    background: var(--videos-page-white);
    color: var(--videos-page-gray-600);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.videos-pagination-number-compact:hover,
.videos-pagination-number-compact.active {
    border-color: var(--videos-page-primary);
    background: var(--videos-page-primary);
    color: var(--videos-page-white);
    transform: translateY(-1px);
}

.videos-pagination-number-compact:focus-visible {
    outline: 2px solid var(--videos-page-primary);
    outline-offset: 2px;
}

/* Responsividade da paginação compacta */
@media (max-width: 768px) {
    .videos-pagination-compact {
        gap: 0.25rem;
        padding: 0.25rem;
        margin: 0.5rem 0;
    }
    
    .videos-pagination-btn-compact {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .videos-pagination-number-compact {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

