/* Variables de color para tema claro */
:root {
    --primary-color: #2563eb;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --bg-light: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-dark: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Variables de color para tema oscuro */
[data-bs-theme="oscuro"] {
    --primary-color: #3b82f6;
    --secondary-color: #fbbf24;
    --accent-color: #34d399;
    --bg-light: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-dark: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #64748b;
    --border-color: #475569;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-heavy: rgba(0, 0, 0, 0.6);
    --gradient-primary: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
    --gradient-secondary: linear-gradient(135deg, #be123c 0%, #dc2626 100%);
}

/* Fondo animado con partículas */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    background-image: 
        radial-gradient(circle at 25% 25%, var(--primary-color)08 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--secondary-color)05 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, var(--accent-color)03 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: floatingBackground 20s ease-in-out infinite;
}

@keyframes floatingBackground {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-10px, -10px) scale(1.02); }
    66% { transform: translate(10px, 5px) scale(0.98); }
}

/* Partículas flotantes */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Estilos del contenido principal */
#main-content {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero section */
.gallery-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 1rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: heroShine 3s ease-in-out infinite;
}

@keyframes heroShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.gallery-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ESTILOS PARA EL MENÚ DE FILTROS */
.filter-menu {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
    white-space: nowrap;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px var(--shadow-medium);
    transform: translateY(-2px);
}

.filter-btn.active:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-heavy);
}

.filter-btn:active {
    transform: translateY(0);
}

/* Icono del botón de filtro */
.filter-btn-icon {
    font-size: 1.1rem;
    opacity: 0.8;
}

.filter-btn.active .filter-btn-icon {
    opacity: 1;
}

/* Contador de elementos (opcional) */
.filter-count {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.3rem;
    font-weight: 600;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}

/* CLASE PARA OCULTAR ELEMENTOS */
.hidden {
    display: none !important;
}

/* Animación para mostrar/ocultar elementos */
.gallery-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-section.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* Secciones de la galería */
.gallery-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.gallery-section:nth-child(odd) {
    animation-delay: 0.1s;
}

.gallery-section:nth-child(even) {
    animation-delay: 0.2s;
}

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

.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* Grid de la galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Elementos de la galería */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

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

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

/* Icono de play para videos */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
    transition: all 0.3s ease;
}

.gallery-item:hover .video-play-icon {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}

/* Overlay con información - MEJORADO CONTRASTE */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 1;
    line-height: 1.4;
    color: #f8f9fa;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 0.3rem;
}

.gallery-overlay .image-date {
    font-size: 0.8rem;
    color: #e9ecef;
    font-style: italic;
}

.gallery-overlay .image-photographer {
    font-size: 0.8rem;
    color: #e9ecef;
    font-weight: 500;
}

.gallery-overlay .image-tags {
    font-size: 0.8rem;
    color: #e9ecef;
    margin-top: 0.3rem;
}

/* Modal para vista ampliada - MEJORADO */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.photo-modal.active {
    display: flex;
}

/* Contenido del modal mejorado con flexbox */
.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px var(--shadow-heavy);
    animation: modalZoomIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

/* Contenido del modal específico para videos */
.modal-content:has(.modal-video) {
    max-height: 95vh;
    min-height: 70vh;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contenedor de medios más flexible - ACTUALIZADO PARA VIDEOS */
.modal-media-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos específicos para imágenes - MANTIENE COMPORTAMIENTO ORIGINAL */
.modal-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Estilos específicos para videos - MEJORADO PARA MEJOR VISUALIZACIÓN */
.modal-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease, transform 0.15s ease;
    min-height: 300px;
}

/* Clases auxiliares para videos con diferentes orientaciones */
.modal-video.smart-fit {
    object-fit: contain;
    max-height: 75vh;
    max-width: 90vw;
}

.modal-video[data-orientation="landscape"] {
    object-fit: cover;
    max-height: 75vh;
    width: 100%;
}

.modal-video[data-orientation="portrait"] {
    object-fit: contain;
    max-width: 60vw;
    height: auto;
}

.modal-video[data-orientation="square"] {
    object-fit: cover;
    max-height: 70vh;
    max-width: 70vw;
}

/* Clase para videos que necesitan ajuste completo */
.modal-video.full-fit {
    object-fit: fill;
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

.modal-nav:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Sección de información mejorada */
.modal-info {
    flex-shrink: 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    max-height: 40vh;
    min-height: auto;
    overflow-y: auto;
    
    /* Mejorar el scroll */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-tertiary);
    position: relative;
}

/* Estilos para webkit scrollbar */
.modal-info::-webkit-scrollbar {
    width: 8px;
}

.modal-info::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.modal-info::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-info::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Indicador visual cuando hay scroll disponible */
.modal-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-info:hover::before {
    opacity: 1;
}

/* Mejorar tipografía y espaciado en el modal */
.modal-image-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.modal-image-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.modal-image-meta {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.modal-image-meta p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.modal-image-meta strong {
    color: var(--text-secondary);
    margin-right: 0.5rem;
    min-width: 80px;
}

.modal-image-tags {
    margin-top: 0.5rem;
}

.modal-image-tags strong {
    color: var(--text-secondary);
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Estados de carga */
.gallery-item.loading {
    background: var(--bg-tertiary);
    position: relative;
}

.gallery-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Estado de carga para el modal */
.modal-info.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.modal-info.loading::after {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Botones de acción */
.gallery-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-gallery {
    padding: 0.8rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.btn-gallery:active {
    transform: translateY(0);
}

/* Animación suave para cambios de contenido */
.modal-info-transition {
    transition: all 0.3s ease-in-out;
}

/* Responsive Design - MEJORADO PARA VIDEOS Y FILTROS */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* Filtros responsivos */
    .filter-menu {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        flex: 1 1 auto;
        min-width: 120px;
        max-width: 200px;
    }
    
    .filter-btn-icon {
        font-size: 1rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .modal-content:has(.modal-video) {
        max-height: 90vh;
        min-height: 60vh;
    }
    
    .modal-media-container {
        min-height: 50vh;
    }
    
    .modal-video {
        min-height: 250px;
        object-fit: contain;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .video-play-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-info {
        max-height: 35vh;
        padding: 1rem;
    }
    
    .modal-image-title {
        font-size: 1.2rem;
    }
    
    .modal-image-description {
        font-size: 0.9rem;
    }
    
    .modal-image-meta {
        font-size: 0.85rem;
    }
    
    .modal-image-meta strong {
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .gallery-title {
        font-size: 1.8rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
    }
    
    /* Filtros para móviles pequeños */
    .filter-menu {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 100%;
        max-width: none;
        justify-content: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .video-play-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .modal-content:has(.modal-video) {
        min-height: 55vh;
    }
    
    .modal-media-container {
        min-height: 45vh;
    }
    
    .modal-video {
        min-height: 200px;
    }
    
    .modal-info {
        max-height: 30vh;
        padding: 0.8rem;
    }
    
    .modal-image-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .modal-image-description {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .modal-image-meta {
        font-size: 0.8rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .modal-image-meta p {
        margin-bottom: 0.4rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-image-meta strong {
        margin-right: 0;
        margin-bottom: 0.2rem;
        min-width: auto;
    }
}

/* Mejorar la experiencia táctil en móviles */
@media (hover: none) and (pointer: coarse) {
    .modal-info {
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn:hover {
        transform: none;
        box-shadow: 0 4px 15px var(--shadow-light);
    }
    
    .filter-btn:active {
        transform: scale(0.98);
    }
}

/* Animaciones adicionales */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.gallery-item:hover {
    animation: none;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .filter-btn,
    .gallery-item {
        transition: none;
    }
}

/* Focus styles para accesibilidad */
.gallery-item:focus,
.modal-close:focus,
.modal-nav:focus,
.filter-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

p+p {
    margin: 0px;
}

/* ========================================
   ESTILOS ADICIONALES PARA VIDEOS DE GITHUB
   ======================================== */

/* Estilos para placeholder de videos de GitHub */
.github-video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 10px;
}

.video-download-info {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-download-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-download-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.download-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
    text-decoration: none;
    color: white;
}

.file-info {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Modificar icono de play para videos de GitHub */
.gallery-item[data-type="video"] .video-play-icon {
    background: rgba(0, 0, 0, 0.8);
    font-size: 18px;
}

.gallery-item[data-type="video"]:hover .video-play-icon {
    background: rgba(0, 0, 0, 1);
}

/* Responsive para placeholder */
@media (max-width: 768px) {
    .video-download-info {
        padding: 1rem;
    }
    
    .download-icon {
        font-size: 3rem;
    }
    
    .video-download-info h3 {
        font-size: 1.2rem;
    }
    
    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .github-video-placeholder {
        min-height: 250px;
    }
    
    .video-download-info {
        padding: 0.8rem;
    }
    
    .download-icon {
        font-size: 2.5rem;
    }
    
    .video-download-info h3 {
        font-size: 1.1rem;
    }
    
    .download-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}