@import url('https://fonts.cdnfonts.com/css/minecraft-4');

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.section {
    min-height: 100vh;
    width: 100%;
    padding: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: auto;
    margin: 0;
    border: none;
    border-top: 0;
    border-bottom: 0;
    overflow: hidden;
}

/* Elimina el espacio entre secciones en Windows */
.section + .section {
    margin-top: -2px;
}

/* Añadimos un contenedor para el contenido */
.section-content {
    position: relative;
    z-index: auto;
    padding: 2rem;
}

/* Sticky header navigation - moved to body level and positioned outside all stacking contexts */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999 !important; /* Maximum z-index */
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    transform: translateY(-100%);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Allow clicks to pass through the container */
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav nav {
    padding: 0.3rem 0;
    width: auto;
}

.sticky-nav nav ul {
    padding: 0.5rem 2rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.sticky-nav nav li {
    position: relative;
    z-index: inherit !important;
}

.sticky-nav nav a {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    margin: 0 0.2rem;
    position: relative;
    pointer-events: auto; /* Re-enable clicks on the links */
}

.sticky-nav nav a:hover {
    background: rgba(0, 0, 0, 1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Responsive para sticky nav */
@media (max-width: 768px) {
    .sticky-nav {
        padding: 0.3rem 0;
    }
    
    .sticky-nav nav ul {
        padding: 0.4rem 0.5rem;
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sticky-nav nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
        margin: 0.1rem;
    }
}

/* Estilos mejorados para el header y la primera sección */
#header-section {
    background-image: url('assets/overworld.png');
    position: relative;
    background-size: cover;
    background-position: center center;
    position: relative;
    padding: 0;
    margin-bottom: -2px;
}

#header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

header {
    padding: 1rem; /* Reducido de 2rem para compactar el header */
    margin-bottom: 1rem; /* Reducido de 2rem */
    color: white;
    text-align: center;
    position: relative;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

header h1 {
    font-family: 'Minecraft', sans-serif;
    font-size: 5rem;
    font-weight: normal;
    text-transform: none;
    color: #6495ED !important; /* Azul acero, color cielo nocturno */
    text-shadow: 
        3px 3px 0px #191970, /* Azul medianoche - primera capa */
        6px 6px 0px #191970, /* Segunda capa */
        9px 9px 0px #0C0C47, /* Azul más oscuro - tercera capa */
        12px 12px 0px #0C0C47, /* Cuarta capa */
        -3px -3px 0px #191970,
        3px -3px 0px #191970,
        -3px 3px 0px #191970;
    margin-bottom: 1rem; /* Reducido de 2.5rem para juntar con el menú */
    letter-spacing: 2px;
    padding: 15px; /* Aumentado el padding */
    background: none;
    -webkit-text-stroke: none;
}

nav {
    max-width: 800px;
    margin: 0 auto;
}

nav ul {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 2rem; /* Reducido el padding vertical de 1rem a 0.8rem */
    background: rgba(0, 0, 0, 0.85);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 100px;
    transition: all 0.2s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Mejorar el estilo de la descripción */
.description {
    max-width: 800px;
    margin: 5rem auto 3rem; /* Aumentado el margen superior de 2rem a 5rem para separar del menú */
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #555555;
    border-radius: 8px;
    position: relative;
    color: white;
    text-align: center;
}

.description p {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
}

/* Añadir bordes estilo Minecraft */
.description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    margin: -4px;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .description {
        margin: 1rem 1rem !important;
        padding: 0.8rem !important;
        max-width: 90% !important;
    }
    
    .description p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    .description {
        margin: 0.8rem auto !important;
        padding: 0.6rem !important;
        max-width: 95% !important;
    }
    
    .description p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.featured-content {
    margin-top: 4rem; /* Aumentado de 2rem a 4rem para separar más de la descripción */
    padding: 2rem;
}

.videos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.top-row {
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem; /* Añadir espacio adicional entre las filas para los indicadores */
}

.bottom-row {
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem; /* Espacio para los indicadores de abajo */
}

.text-content {
    flex: 0 0 45%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.text-content p {
    color: #666;
    line-height: 1.6;
}

/* Estilos responsive */
@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .videos-row {
        flex-direction: column;
        gap: 2rem;
    }

    .text-content {
        flex: 0 0 100%;
        padding: 1rem;
    }

    header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    nav ul {
        padding: 0.8rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    nav a {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .featured-content {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 2.2rem;
    }
    
    /* Ajustes adicionales para el contenedor flip en móviles */
    .flip-container {
        padding-bottom: 56.25%; /* Proporción 16:9 para videos */
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Ajustes específicos para tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .flip-container {
        padding-bottom: 30%;
    }
}

/* Segunda sección - YouTube Shorts - Estilos mejorados */
#shorts-section {
    background-image: url('assets/cave.png');
    background-size: cover;
    background-position: center center;
    position: relative;
    margin-top: -2px;
    margin-bottom: -2px;
    padding: 0;
}

/* Título de sección mejorado */
#shorts-section h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 4.5rem;
    font-weight: normal;
    color: #00FFFF; /* Azul aqua */
    text-shadow: 
        3px 3px 0px #008B8B, /* Azul aqua oscuro (Dark Cyan) - primera capa */
        6px 6px 0px #008B8B, /* Segunda capa */
        9px 9px 0px #005555, /* Azul aqua muy oscuro - tercera capa */
        12px 12px 0px #005555, /* Cuarta capa */
        -3px -3px 0px #008B8B,
        3px -3px 0px #008B8B,
        -3px 3px 0px #008B8B;
    margin-bottom: 3rem;
    text-align: center;
    padding-top: 30px;
}

@media (max-width: 768px) {
    #shorts-section {
        min-height: 45vh !important;
        padding: 1rem 0.6rem !important;
    }

    #shorts-section .section-content {
        padding-top: 1rem !important;
    }

    #shorts-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        padding-top: 10px !important;
        text-shadow: 
            2px 2px 0px #008B8B,
            3px 3px 0px #008B8B,
            4px 4px 0px #005555,
            5px 5px 0px #005555,
            -1px -1px 0px #008B8B,
            1px -1px 0px #008B8B,
            -1px 1px 0px #008B8B !important;
    }

    .shorts-container {
        max-width: 90% !important;
        padding: 0.4rem !important;
        margin: 0.8rem auto !important;
    }

    .shorts-row {
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    #shorts-section {
        min-height: 35vh !important;
        padding: 0.8rem 0.4rem !important;
    }

    #shorts-section .section-content {
        padding-top: 0.8rem !important;
    }

    #shorts-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
        padding-top: 8px !important;
        text-shadow: 
            1px 1px 0px #008B8B,
            2px 2px 0px #008B8B,
            3px 3px 0px #005555,
            4px 4px 0px #005555,
            -1px -1px 0px #008B8B,
            1px -1px 0px #008B8B,
            -1px 1px 0px #008B8B !important;
    }

    .shorts-container {
        max-width: 95% !important;
        padding: 0.3rem !important;
        margin: 0.6rem auto !important;
    }

    .shorts-row {
        gap: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    .youtube-shorts-button {
        max-width: 160px !important;
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
        margin: 0.8rem auto !important;
    }
    
    .youtube-shorts-button i {
        font-size: 0.9rem !important;
        margin-right: 6px !important;
    }
}

@media (max-width: 480px) {
    #shorts-section h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
        padding-top: 20px !important;
        text-shadow: 
            1px 1px 0px #008B8B,
            2px 2px 0px #008B8B,
            3px 3px 0px #005555,
            4px 4px 0px #005555,
            -1px -1px 0px #008B8B,
            1px -1px 0px #008B8B,
            -1px 1px 0px #008B8B !important;
    }

    .youtube-shorts-button {
        max-width: 180px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin: 1rem auto !important;
    }
    
    .youtube-shorts-button i {
        font-size: 1rem !important;
        margin-right: 8px !important;
    }
}

/* Nuevo contenedor para los shorts */
.shorts-container {
    max-width: 1200px; /* Reducido para mejor control del layout */
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: auto;
}

/* Filas de shorts - aplicando gap mayor para dar más espacio */
.shorts-row {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Reducido ligeramente para acomodar shorts más grandes */
    margin-bottom: 4rem; /* Aumentado para dar más espacio vertical */
    margin-top: 2rem;
    flex-wrap: wrap; /* Permitir que los shorts se ajusten a la pantalla */
}

/* Estilo específico para el botón de precio en shorts */
.short-flip .price-tab {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-width: 2px;
}

.short-flip .price-tab i,
.short-flip .price-tab span {
    color: #FFFFFF;
}

/* Mejorando el aspecto de los shorts con la nueva proporción */
.short-flip .video-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.short-flip .video-info .precio {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.short-flip .duration-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.short-flip .duration-info p {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

/* Contenedor de cada short - reducir altura significativamente */
.short-container {
    position: relative;
    padding-bottom: 35%;
    height: 0;
    flex: 0 0 calc(30% - 1.5rem);
    border: 3px solid #555555;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.3);
}

/* Borde estilo Minecraft */
.short-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #2d2d2d;
    border-radius: 6px;
    margin: -5px;
    z-index: -1;
}

.short-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(0,0,0,0.3) 0%, 
                rgba(0,0,0,0) 20%, 
                rgba(0,0,0,0) 80%, 
                rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.short-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* Ajustar el responsive también */
@media (max-width: 1400px) {
    .short-container {
        flex: 0 0 calc(18% - 2rem);
        padding-bottom: 28%; /* Ajustado proporcionalmente */
    }
}

@media (max-width: 1200px) {
    .short-container {
        flex: 0 0 calc(22% - 2rem);
        padding-bottom: 26%; /* Ajustado proporcionalmente */
    }
}

@media (max-width: 992px) {
    .top-row, .bottom-row {
        flex-wrap: wrap;
    }
    
    .shorts-row {
        gap: 2rem;
    }
    
    .short-flip .video-info h3 {
        font-size: 1.4rem;
    }
    
    .short-flip .video-info .precio {
        font-size: 2.7rem;
        margin-bottom: 0.3rem;
    }
    
    .short-container {
        flex: 0 0 calc(45% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .shorts-container {
        max-width: 90%;
    }
    
    .shorts-row {
        flex-direction: column;
        align-items: center;
        gap: 4rem; /* Mayor espacio entre shorts en móvil */
    }
    
    .flip-container.short-flip {
        width: 80%;
        flex: 0 0 80%;
        padding-bottom: 32%;
        margin-top: 40px;
        max-width: 340px;
    }
    
    .short-flip .tabs-container {
        top: -38px;
    }
    
    .short-flip .tab {
        min-width: 110px;
    }
    
    /* Ajustes específicos para pantallas muy pequeñas */
    @media (max-width: 480px) {
        .flip-container.short-flip {
            width: 90%;
            flex: 0 0 90%;
            padding-bottom: 36%;
        }
        
        .short-flip .tabs-container {
            top: -35px;
        }
        
        .short-flip .tab {
            min-width: 110px;
            padding: 6px 14px;
        }
        
        .short-flip .tab span {
            font-size: 0.9rem;
        }
    }
}

/* Tercera sección - Miniaturas - Estilos mejorados */
#thumbnails-section {
    background-image: url('assets/nether.png');
    background-size: cover;
    background-position: center center;
    position: relative;
    margin-top: -2px;
    margin-bottom: -2px;
    padding: 0;
}

/* Título de sección mejorado */
#thumbnails-section h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 5rem;
    font-weight: normal;
    color: #FFFF99;
    text-shadow: 
        3px 3px 0px #B8860B, /* Dorado - primera capa */
        6px 6px 0px #B8860B, /* Segunda capa */
        9px 9px 0px #8B6508, /* Dorado oscuro - tercera capa */
        12px 12px 0px #8B6508, /* Cuarta capa */
        -3px -3px 0px #B8860B,
        3px -3px 0px #B8860B,
        -3px 3px 0px #B8860B;
    margin-bottom: 6rem;
    text-align: center;
    letter-spacing: 2px;
}

/* Contenedor de miniaturas */
.thumbnails-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 1rem;
    position: relative;
}

/* Grid mejorado para miniaturas */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Contenedor de cada miniatura */
.thumbnail {
    position: relative;
    overflow: hidden;
    border: 3px solid #555555;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.3);
    z-index: 1; /* Lower z-index to not interfere with sticky nav */
    transition: all 0.3s ease;
    cursor: pointer;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: #FFFF55;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 85, 0.4);
    z-index: 2;
}

.thumbnail:hover::before {
    border-color: #FFFF55;
    margin: -5px;
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Quitar los títulos de las miniaturas */
.thumbnail-title {
    display: none;
}

/* Responsive design para miniaturas */
@media (max-width: 1200px) {
    .thumbnails-container {
        max-width: 1000px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .thumbnails-grid {
        grid-template-columns: 1fr;
    }
    
    #thumbnails-section h2 {
        font-size: 2.5rem;
    }
}

/* Cuarta sección */
#spacer-section {
    background-image: url('assets/nether_spacer.png');
    background-size: cover;
    background-position: center center;
    position: relative;
    margin-top: -2px;
    margin-bottom: -2px;
    padding: 0;
}

/* Responsive para la sección spacer */
@media (max-width: 768px) {
    #spacer-section {
        min-height: 30vh !important;
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    #spacer-section {
        min-height: 25vh !important;
        background-size: cover;
        background-position: center center;
    }
}

/* Quinta sección - Eventos - Estilos mejorados */
#events-section {
    background-image: url('assets/end.png');
    position: relative;
    background-position: center center;
    padding: 0;
    margin-top: -2px;
    background-size: cover;
}

#events-section .section-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 60px; /* Aumentar padding inferior para separar del footer */
}

/* Título de sección mejorado con colores morados */
#events-section h2 {
    font-size: 5rem; /* Igual que h2 de miniaturas */
    text-align: center;
    margin-bottom: 30px;
    color: #D8BFD8; /* Un violeta lavanda suave */
    font-family: 'Minecraft', sans-serif;
    font-weight: normal;
    text-shadow: 
        3px 3px 0px #483D8B, /* Un morado oscuro - primera capa */
        6px 6px 0px #483D8B, /* Segunda capa */
        9px 9px 0px #2E2B5F, /* Morado más oscuro - tercera capa */
        12px 12px 0px #2E2B5F; /* Cuarta capa */
    letter-spacing: 2px;
}

/* Compactación por poca altura (laptops 13-14") sin romper el 4×2 */
@media (max-height: 820px) {
    #events-section .section-content {
        padding-top: 12px;
        padding-bottom: 22px;
    }

    #events-section h2 {
        font-size: clamp(1.4rem, 4.2vh, 2.6rem);
        margin-bottom: 12px;
    }

    .events-container {
        max-width: 980px;
        margin: 0.8rem auto;
        padding: 0.4rem;
    }

    .events-grid {
        max-width: 980px;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }

    .event-post {
        border-width: 2px;
        padding: 1px;
    }

    .event-post::before {
        border-width: 1px;
        margin: -4px;
    }

    #events-section .contact-center {
        margin-top: 0.6rem;
    }
}

@media (max-height: 720px) {
    #events-section .section-content {
        padding-top: 8px;
        padding-bottom: 16px;
    }

    .events-container,
    .events-grid {
        max-width: 900px;
    }

    .events-grid {
        gap: 0.45rem;
    }
}

/* Contenedor de eventos - exactamente igual que miniaturas */
.events-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    position: relative;
}

/* Grid de eventos: matriz 4×2 (8 imágenes) */
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 1.25rem;
    margin: 0 auto 2rem auto;
    max-width: 1200px;
    width: 100%;
    align-items: stretch;
}

/* Estilos para las filas de eventos - mantener para compatibilidad */
.events-row {
    display: flex;
    justify-content: center;
    gap: 1.8rem; /* Reducido de 2.5rem para acomodar más contenido */
    margin-bottom: 1.8rem; /* Reducido de 2.5rem */
    width: 100%;
}

/* Primera fila de eventos */
.events-row.first-row {
    justify-content: center;
    gap: 1.8rem; /* Mismo gap que las demás filas para consistencia */
}

/* Segunda fila de eventos - centrada */
.events-row.second-row {
    justify-content: center;
    gap: 1.8rem; /* Reducido para consistencia */
}

/* Tercera fila de eventos - centrada */
.events-row.third-row {
    justify-content: center;
    gap: 1.8rem;
}

/* Celda de la cuadrícula de eventos */
.event-post {
    background: transparent;
    padding: 2px;
    border-radius: 8px;
    border: 3px solid #8A2BE2;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    cursor: default;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
}

.event-post:hover {
    transform: scale(1.05);
    border-color: #D8BFD8;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(216, 191, 216, 0.4);
    z-index: 2;
}

.event-post:hover::before {
    border-color: #D8BFD8;
    margin: -5px;
}

/* Segunda fila: ajustar tamaño para que coincida con la primera */
.events-row.second-row .event-post {
    width: 26%; /* Reducido para consistencia */
}

/* Tercera fila: mismo tamaño que las anteriores */
.events-row.third-row .event-post {
    width: 26%;
}

/* Mantener el borde estilo Minecraft */
.event-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #4B0082; /* Borde interior morado más oscuro */
    border-radius: 6px;
    margin: -5px;
    z-index: 2;
    pointer-events: none;
}

/* Imagen de evento en cuadrícula */
.event-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .events-container {
        max-width: 1000px;
    }

    .events-grid {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .events-grid {
        gap: 0.75rem;
    }

    .event-post {
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .events-grid {
        gap: 0.4rem;
    }
}

/* Footer - solución definitiva para centrado vertical */
#footer-section {
    background-image: url('assets/obsidian.png');
    background-size: cover;
    background-position: center center;
    position: relative;
    min-height: 450px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: -2px;
}

#footer-section .section-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    padding: 2rem 0;
}

.footer-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

/* Nuevo estilo para footer vertical */
.footer-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.social-icons-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.social-icons-center .icons-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-icons-center .icon-link {
    width: 200px;
    height: 200px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.social-icons-center .icon-link:hover {
    transform: scale(1.1);
}

.social-icons-center .social-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.contact-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-top: -20px;
}

.contact-center p {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    color: #AAA;
    margin: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(40, 40, 40, 0.8);
    border: 2px solid #444;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 0 #000;
}

/* Estilos para el botón de email */
.email-button {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    color: #AAA;
    margin: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(40, 40, 40, 0.8);
    border: 2px solid #444;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 0 #000;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.email-button:hover {
    color: #fff;
    background: rgba(60, 60, 60, 0.8);
    border-color: #666;
    transform: translateY(-2px);
}

/* Mismo ancho que .prices-button / .youtube-events-button (width 100% + max-width) */
.email-button.more-projects-link {
    display: block;
    margin: 1rem auto 0;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-width: 3px;
    border-style: solid;
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #FFD700; /* Gold (como miniaturas móvil) */
    color: #FFFFFF;
    border-color: #B8860B; /* Dark goldenrod */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.4);
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.email-button.more-projects-link:hover {
    background-color: #B8860B; /* Dark goldenrod */
    border-color: #B8860B;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.6);
}

.email-button.more-projects-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.4);
}

.contact-center .more-projects-link {
    margin-top: 0;
}

.social-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    #footer-section {
        min-height: 80px; /* Reducido de 100px */
        padding: 5px 0; /* Añadir padding mínimo */
    }
    
    .footer-horizontal {
        flex-direction: column;
        gap: 0.5rem; /* Reducido de 2rem */
        text-align: center;
    }
    
    .footer-vertical {
        gap: 0.3rem; /* Reducido de 0.8rem */
    }
    
    .social-icons-center .icons-container {
        gap: 0.8rem; /* Reducido de 1.2rem */
    }
    
    .social-icons-center .icon-link,
    .social-icons-center .social-icon {
        width: 40px; /* Reducido de 150px */
        height: 40px; /* Reducido de 150px */
    }
    
    #footer-section .section-content {
        width: 95%;
        padding: 5px 0; /* Añadir padding mínimo */
    }
    
    /* Reducir tamaño del email para tabletas (solo footer) */
    #footer-section .contact-center p {
        font-size: 0.8rem; /* Reducido de 1rem */
        padding: 0.4rem 0.8rem; /* Reducido */
        margin-top: 0.2rem; /* Añadir margen mínimo */
    }
    
    /* Estilos para el botón de email en tabletas (solo footer) */
    #footer-section .email-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.2rem;
    }
    
    /* Reducir tamaño del botón de términos para tabletas */
    .terms-button {
        font-size: 0.75rem; /* Reducido de 0.9rem */
        padding: 0.3rem 0.6rem; /* Reducido */
        margin-top: 0.3rem; /* Reducido de 0.8rem */
    }
}

@media (max-width: 480px) {
    #footer-section {
        min-height: 60px;
        padding: 5px 0;
        height: auto !important;
    }
    
    /* Cambiar la dirección a horizontal */
    .footer-vertical {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.2rem;
        padding: 0 5px;
    }
    
    /* Ajustar los iconos sociales a la izquierda en una fila */
    .social-icons-center {
        margin-bottom: 0;
        width: auto;
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .social-icons-center .icons-container {
        gap: 0.4rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
        display: flex;
    }
    
    .social-icons-center .icon-link,
    .social-icons-center .social-icon {
        width: 35px;
        height: 35px;
        margin: 0;
    }
    
    /* Ajustar el email y términos a la derecha (solo footer) */
    #footer-section .contact-center {
        margin-top: 0;
        flex: 0 0 50%;
        max-width: 50%;
        align-items: flex-end;
    }
    
    /* Reducir aún más el tamaño del email para móviles (solo footer) */
    #footer-section .contact-center p {
        font-size: 0.45rem;
        padding: 0.15rem 0.3rem;
        white-space: normal;
        max-width: 100%;
        border-width: 1px;
        margin-top: 0.1rem;
        border-radius: 3px;
        line-height: 1.1;
        margin-bottom: 0;
        text-align: right;
    }
    
    /* Estilos para el botón de email en móviles (solo footer) */
    #footer-section .email-button {
        font-size: 0.45rem;
        padding: 0.15rem 0.3rem;
        white-space: normal;
        max-width: 100%;
        border-width: 1px;
        margin-top: 0.1rem;
        border-radius: 3px;
        line-height: 1.1;
        margin-bottom: 0;
        text-align: right;
        margin: 0 0 0 auto;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    }
    
    /* Reducir aún más el tamaño del botón de términos para móviles */
    .terms-button {
        font-size: 0.4rem;
        padding: 0.1rem 0.2rem;
        margin-top: 0.15rem;
        max-width: 100%;
        border-width: 1px;
        border-radius: 3px;
        line-height: 1.1;
        text-align: right;
    }
}

/* Iconos a la izquierda */
.social-icons-left {
    flex: 0 0 auto;
}

.icons-container {
    display: flex;
    gap: 0.8rem; /* Reducido el gap entre iconos */
}

.icon-link {
    width: 65px;
    height: 65px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-link i {
    color: #AAA;
    font-size: 16px; /* Ajustar tamaño del icono */
}

.icon-link:hover i {
    color: #FFF;
}

/* Título en el medio */
.follow-center {
    flex: 0 0 auto;
}

.follow-center h3 {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.3rem;
    color: #AAA;
    margin: 0;
    text-shadow: 2px 2px 0px #000000;
    white-space: nowrap;
}

/* Contacto a la derecha */
.contact-right {
    flex: 0 0 auto;
}

.contact-right p {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    color: #AAA;
    margin: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(40, 40, 40, 0.8);
    border: 2px solid #444;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 0 #000;
}

.terms-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    color: #AAA;
    text-decoration: none;
    text-shadow: 2px 2px 0 #000;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #fff;
}

/* Estilos para la sección de Términos y Condiciones */
#terms-section {
    background-color: #000;
    padding: 4rem 0;
}

#terms-section h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 3px 3px 0 #333;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    border: 4px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.terms-content {
    color: #fff;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}

.terms-content p {
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 #000;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.terms-content .highlight {
    color: #FF0000;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
}

@media (max-width: 768px) {
    #terms-section h2 {
        font-size: 2.5rem;
    }

    .terms-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .terms-content {
        font-size: 1rem;
    }

    .terms-content h3 {
        font-size: 1.3rem;
    }
}

/* Eliminar las clases que ya no se usan */
.icon {
    background-image: none;
}

.youtube, .twitter, .instagram, .twitch, .discord {
    background-image: none;
}

/* Estilos generales */
h1, h2, h3 {
    margin-bottom: 1rem;
}

section h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-shadow: 
        3px 3px 0px rgba(0, 0, 0, 0.8),
        6px 6px 0px rgba(0, 0, 0, 0.8),
        9px 9px 0px rgba(0, 0, 0, 0.5),
        12px 12px 0px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-bottom: 3rem;
}

.content-row {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

/* Eliminar por completo el efecto de brillo */
/* Reglas .video-container::before eliminadas */

/* Eliminar la animación shine y el hover effect */
/* Reglas .video-container:hover::before eliminadas */

/* Simplificar el hover de los enlaces de navegación */
nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Simplificar el header-section */
#header-section {
    background-image: url('assets/overworld.png');
    position: relative;
}

#header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

/* Eliminar las transiciones de los contenedores de video */
/* Reglas .video-container eliminadas */

/* Actualizar las asignaciones de fondos */
#spacer-section {
    background-image: url('assets/nether_spacer.png');
}

#thumbnails-section {
    background-image: url('assets/nether.png');
    position: relative;
}

/* Reducir espacio superior en la sección de miniaturas */
#thumbnails-section .section-content {
    padding-top: 4rem; /* Reducido de 16rem a 4rem */
}

#thumbnails-section h2 {
    margin-bottom: 3rem; /* Reducido de 6rem a 3rem */
}

/* Ajustar el contenedor de miniaturas */
.thumbnails-container {
    margin-top: 1rem; /* Reducido de 4rem a 1rem */
}

/* Ajustar el espacio superior en la sección de eventos para evitar superposición con footer */
#events-section .section-content {
    padding-top: 12rem; /* Aumentado de 8rem a 12rem para bajar más la sección */
    padding-bottom: 4rem; /* Añadir padding inferior para separar del footer */
}

#events-section h2 {
    margin-bottom: 3rem; /* Reducido de 8rem a 3rem */
}

/* Ajustar el contenedor de ambas secciones */
.thumbnails-container {
    margin-top: 4rem; /* Reducido de 8rem a 4rem */
}

.events-container {
    margin-top: 2rem; /* Aumentado para bajar un poco más el contenido */
    margin-bottom: 2rem; /* Añadir margen inferior */
}

/* Ajustar la sección del footer en general */
.section.footer-section {
    padding-bottom: 0;
}

.footer-horizontal {
    padding-bottom: 0;
    /* Centrar verticalmente todos los elementos */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Aumentar espacio entre elementos */
    padding: 1rem 0;
}

/* Iconos más grandes */
.icon-link {
    width: 65px;
    height: 65px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-link i {
    color: #AAA;
    font-size: 22px; /* Aumentado de 16px */
}

/* Título "Sígueme" más grande */
.follow-center h3 {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.8rem; /* Aumentado de 1.3rem */
    color: #AAA;
    margin: 0;
    text-shadow: 2px 2px 0px #000000;
    white-space: nowrap;
}

/* Email más grande */
.contact-right p {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    color: #AAA;
    margin: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(40, 40, 40, 0.8);
    border: 2px solid #444;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 0 #000;
}

.x-icon {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 22px; /* Aumentado para que coincida con los otros iconos */
    font-style: normal;
    display: inline-block;
    color: #AAA;
    line-height: 1;
}

.icon-link:hover .x-icon {
    color: #FFF;
}

/* Ajustar espaciado entre iconos */
.icons-container {
    display: flex;
    gap: 1.2rem; /* Aumentado de 0.8rem */
    align-items: center;
}

/* Estilos para el botón de términos */
.terms-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    color: #AAA;
    background: rgba(40, 40, 40, 0.8);
    border: 2px solid #444;
    border-radius: 8px;
    cursor: pointer;
    text-shadow: 2px 2px 0 #000;
    transition: all 0.3s ease;
}

.terms-button:hover {
    color: #fff;
    background: rgba(60, 60, 60, 0.8);
    border-color: #666;
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99900;
    justify-content: center;
    align-items: center;
}

/* Estilos específicos para el modal de precios */
.prices-content {
    color: #fff;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
}

.price-section {
    margin-bottom: 2rem;
}

.price-section h3 {
    color: #00FF41; /* Neon green */
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 0 #000;
    border-bottom: 2px solid #00FF41;
    padding-bottom: 0.5rem;
}

.price-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.price-item h4 {
    color: #00FF41;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    text-shadow: 1px 1px 0 #000;
}

.price-value {
    color: #00FF41;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0.5rem 0;
    text-shadow: 2px 2px 0 #000;
}

.price-description {
    color: #ccc;
    font-size: 1rem;
    margin: 0.5rem 0 0;
    line-height: 1.4;
    text-shadow: 1px 1px 0 #000;
}

.price-separator {
    height: 2px;
    background: linear-gradient(to right, transparent, #00FF41, transparent);
    margin: 2rem 0;
}

/* Estilos específicos para las secciones de precios mejoradas */

/* Grid para edición de video */
.video-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Grid para edición de shorts */
.shorts-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Contenedor mejorado para miniaturas */
.thumbnails-pricing-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.thumbnails-pricing-container .thumbnail-price-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

#thumbnails-prices-modal .thumbnails-pricing-container,
#events-prices-modal .thumbnails-pricing-container {
    grid-template-columns: 1fr;
}

/* Grid para miniaturas (mantener para compatibilidad) */
.thumbnails-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Tarjetas de precios base */
.video-price-card,
.shorts-price-card,
.thumbnail-price-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(40, 40, 40, 0.6));
    border: 2px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Efectos de hover para todas las tarjetas */
.video-price-card::before,
.shorts-price-card::before,
.thumbnail-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-price-card:hover,
.shorts-price-card:hover,
.thumbnail-price-card:hover {
    transform: translateY(-5px);
    border-color: #00FF41;
    box-shadow: 0 8px 25px rgba(0, 255, 65, 0.3);
}

.video-price-card:hover::before,
.shorts-price-card:hover::before,
.thumbnail-price-card:hover::before {
    opacity: 1;
}

/* Todas las tarjetas ahora tienen el mismo estilo verde */

/* Tarjetas de miniaturas con el mismo estilo que las otras secciones */
.thumbnail-price-card.standard {
    border-color: #333;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(40, 40, 40, 0.6));
}

.thumbnail-price-card.standard:hover {
    border-color: #00FF41;
    box-shadow: 0 8px 25px rgba(0, 255, 65, 0.3);
}

/* Iconos eliminados - ya no se usan */

/* Características de miniaturas */
.thumbnail-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    font-size: 0.8rem;
}

.feature-tag i {
    color: #00FF41;
    font-size: 0.7rem;
}

.feature-tag span {
    color: #fff;
    font-weight: 500;
}

/* Todos los tags ahora son verdes */

/* Estilos premium eliminados - ahora todo es verde */

/* Headers para todas las tarjetas */
.video-price-header,
.shorts-price-header,
.thumbnail-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-price-header h4,
.shorts-price-header h4,
.thumbnail-price-header h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

.price-badge {
    background: linear-gradient(135deg, #00FF41, #00CC33);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 255, 65, 0.3);
    border: 2px solid #00CC33;
}

.price-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFA500;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Todos los badges ahora son verdes */

/* Contenido para todas las tarjetas */
.video-price-content,
.shorts-price-content,
.thumbnail-price-content {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.4;
    text-shadow: 1px 1px 0 #000;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.thumbnail-price-content p {
    margin: 0;
    text-align: center;
    font-style: italic;
}

/* Listas de características */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #00FF41;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: #00FF41;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 1px 1px 0 #000;
}

/* Todas las características ahora son verdes */

.premium-note {
    color: #00FF41;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    margin: 1rem 0 0 0;
    padding: 0.5rem;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

/* Responsive para todas las grids de precios */
@media (max-width: 768px) {
    .video-pricing-grid,
    .shorts-pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .thumbnails-pricing-container {
        gap: 1rem;
    }
    
    .thumbnails-pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .video-price-card,
    .shorts-price-card,
    .thumbnail-price-card {
        padding: 1rem;
    }
    
    .video-price-header h4,
    .shorts-price-header h4,
    .thumbnail-price-header h4 {
        font-size: 1.1rem;
    }
    
    .price-badge {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
    
    .video-price-content,
    .shorts-price-content,
    .thumbnail-price-content {
        font-size: 0.85rem;
    }
    
    .feature-item {
        padding: 0.4rem;
        gap: 0.6rem;
    }
    
    .feature-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .video-pricing-grid,
    .shorts-pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .thumbnails-pricing-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .thumbnails-pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .video-price-card,
    .shorts-price-card,
    .thumbnail-price-card {
        padding: 0.8rem;
    }
    
    .video-price-header,
    .shorts-price-header,
    .thumbnail-price-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .video-price-header h4,
    .shorts-price-header h4,
    .thumbnail-price-header h4 {
        font-size: 1rem;
    }
    
    .price-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 0.3rem;
        gap: 0.5rem;
    }
    
    .feature-item span {
        font-size: 0.75rem;
    }
    
    .feature-item i {
        font-size: 1rem;
    }
    
    /* Ajustes específicos para miniaturas */
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

.modal-content {
    background-color: #000;
    border: 4px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 2px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.title-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.modal-header h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin: 0;
    text-shadow: 
        1px 1px 0 #333,
        3px 3px 0 #333,
        5px 5px 0 #111,
        7px 7px 0 #111;
}

.close-button {
    background: none;
    border: none;
    color: #AAA;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.close-button:hover {
    color: #fff;
}

.modal-body {
    padding: 2rem;
    background: url('assets/obsidian.png') repeat;
}

.terms-content {
    color: #fff;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
}

.terms-content h3 {
    color: #FF0000;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-shadow: 2px 2px 0 #000;
}

.terms-content p {
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 #000;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.terms-content .highlight {
    color: #FF0000;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
}

/* Estilos para la barra de desplazamiento */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #333;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #888;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1rem;
        text-align: center;
    }

    .title-container {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
    }

    .title-icon {
        width: 32px;
        height: 32px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
    }

    .terms-content {
        font-size: 1rem;
    }

    .terms-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 0.5rem;
    }

    .modal-header {
        padding: 0.8rem;
        text-align: center;
    }

    .title-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }

    .title-icon {
        width: 28px;
        height: 28px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
        text-align: center;
        margin: 0;
        line-height: 1.2;
    }

    .close-button {
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Estilos para la animación de volteo de los videos */
.flip-container {
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    padding-bottom: 25%; /* Aumentado de 20% para dar más espacio vertical */
    height: 0;
    flex: 0 0 calc(30% - 1rem);
    margin-top: 40px; /* Espacio para las pestañas */
    z-index: 1; /* Lower z-index to not interfere with sticky nav */
}

.top-row .flip-container {
    flex: 0 0 calc(45% - 1rem);
    max-width: 500px;
}

.bottom-row .flip-container {
    flex: 0 0 calc(45% - 1rem);
    max-width: 500px;
}

.flip-container.flipped .flipper {
    transform: rotateY(180deg);
}

/* Estilos para las pestañas de los videos */
.tabs-container {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5; /* Lower z-index to not interfere with sticky nav */
}

.flip-container .tab {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: auto;
    min-width: 120px;
    top: 0;
    transform: none;
    left: 0;
    z-index: 5; /* Lower z-index to not interfere with sticky nav */
}

.flip-container .tab.price-tab {
    border-color: rgba(255, 255, 255, 0.6);
}

.flip-container .tab.info-tab {
    border-color: rgba(30, 144, 255, 0.4); /* Azul para la pestaña de información */
}

.flip-container .tab i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.flip-container .tab.price-tab i,
.flip-container .tab.price-tab span {
    color: #FFFFFF;
}

.flip-container .tab.info-tab i {
    color: rgba(30, 144, 255, 0.8); /* Azul para el icono de información */
}

.flip-container .tab span {
    font-family: 'Minecraft', sans-serif;
    font-size: 0.9rem;
    color: white;
    white-space: nowrap;
}

.flip-container:hover .tab {
    transform: none;
    background-color: rgba(0, 0, 0, 0.85);
}

.flip-container:hover .tab.price-tab {
    border-color: rgba(255, 255, 255, 0.8);
}

.flip-container:hover .tab.info-tab {
    border-color: rgba(30, 144, 255, 0.6);
}

.flip-container:hover .tab i,
.flip-container:hover .tab span {
    color: rgba(255, 255, 255, 1);
}

.flip-container:hover .tab.price-tab i {
    color: #FFFFFF;
}

.flip-container:hover .tab.info-tab i {
    color: rgba(30, 144, 255, 1);
}

.flip-container.flipped .tabs-container {
    opacity: 0;
}

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    z-index: 2; /* Maintain visibility but below sticky nav */
}

.front {
    transform: rotateY(0deg);
    border: none;
    box-shadow: none;
}

.front iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
}

.back {
    transform: rotateY(180deg);
    background: rgba(0, 0, 0, 0.85);
    border: 3px solid #555555;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem; /* Aumentado de 1rem para dar más espacio al contenido */
    overflow-y: auto; /* Permitir scroll si el contenido es demasiado grande */
}

.video-info {
    text-align: center;
    color: white;
    font-family: 'Minecraft', sans-serif;
    width: 100%;
}

.video-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 
        2px 2px 0px #333333,
        -2px -2px 0px #333333,
        2px -2px 0px #333333,
        -2px 2px 0px #333333;
}

.video-info .precio {
    font-family: 'Minecraft', sans-serif;
    font-size: 3.4rem;
    font-weight: normal;
    color: #5dff7e;
    margin: 0.5rem 0;
    text-shadow: 3px 3px 0px #006400;
}

.video-info .descripcion {
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 1px 1px 0 #000;
}

/* Estilos para la información de duración en la parte trasera */
.duration-info {
    margin-top: 0.8rem; /* Reducido de 1rem para ahorrar espacio vertical */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.8rem; /* Reducido de 1rem */
}

.duration-info h4 {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem; /* Reducido de 1.6rem */
    color: #FFFFFF;
    margin-bottom: 0.6rem; /* Reducido de 0.8rem */
    text-shadow: 
        1px 1px 0px #333333,
        -1px -1px 0px #333333,
        1px -1px 0px #333333,
        -1px 1px 0px #333333;
}

.duration-info p {
    font-family: 'Minecraft', sans-serif;
    font-size: 0.9rem; /* Reducido de 1.1rem */
    color: #FFFFFF;
    margin-bottom: 0.4rem; /* Reducido de 0.5rem */
    text-shadow: 1px 1px 0px #000000;
}

.duration-info .price-value {
    color: #00FF00; /* Verde chillón */
    font-weight: bold;
    text-shadow: 
        1px 1px 0px #006400, /* Verde oscuro */
        -1px -1px 0px #006400,
        1px -1px 0px #006400,
        -1px 1px 0px #006400;
}

/* Responsive para la animación de flip */
@media (max-width: 768px) {
    .video-info h3 {
        font-size: 1.8rem;
    }
    
    .video-info .precio {
        font-size: 2.7rem;
    }
    
    .video-info .descripcion {
        font-size: 0.9rem;
    }
}

/* Responsive para el flip container */
@media (max-width: 992px) {
    .top-row .flip-container,
    .bottom-row .flip-container {
        flex: 0 0 calc(45% - 1rem);
    }
    
    .tabs-container {
        top: -35px;
        gap: 8px;
    }
    
    .flip-container .tab {
        padding: 6px 12px;
        min-width: 100px;
    }
    
    .flip-container .tab i {
        font-size: 1.3rem;
    }
    
    .flip-container .tab span {
        font-size: 0.8rem;
    }
    
    .duration-info h4 {
        font-size: 0.9rem; /* Reducido de 1.1rem */
    }
    
    .duration-info p {
        font-size: 0.7rem; /* Reducido de 0.8rem */
    }
}

@media (max-width: 768px) {
    .flip-container {
        padding-bottom: 65%; /* Aumentado de 56.25% para dar más espacio */
        margin-top: 35px;
    }
    
    .videos-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .top-row .flip-container,
    .bottom-row .flip-container {
        flex: 0 0 100%;
    }
    
    .tabs-container {
        top: -30px;
        gap: 6px;
    }
    
    .flip-container .tab {
        padding: 5px 10px;
        min-width: 90px;
    }
    
    .flip-container .tab i {
        font-size: 1.2rem;
    }
    
    .flip-container .tab span {
        font-size: 0.7rem;
    }
    
    .duration-info h4 {
        font-size: 0.8rem; /* Reducido de 1rem */
    }
    
    .duration-info p {
        font-size: 0.6rem; /* Reducido de 0.75rem */
        margin-bottom: 0.3rem;
    }
}

/* Ajustes para la visualización de shorts y sus pestañas */
.flip-container.short-flip {
    position: relative;
    padding-bottom: 40%; /* Mantener la proporción */
    border-radius: 8px;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-top: 40px;
    width: 32%; /* Aumentado de 22% */
    flex: 0 0 32%;
    max-width: 340px; /* Aumentado de 240px */
    margin-left: auto;
    margin-right: auto;
    z-index: 1; /* Lower z-index to not interfere with sticky nav */
}

.short-flip .front,
.short-flip .back {
    border-radius: 6px;
    overflow: hidden; /* Mantener para contener el contenido */
    box-shadow: none;
}

.short-flip .front iframe {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: 1; /* Lower z-index to not interfere with sticky nav */
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
    border: none;
    box-shadow: none;
}

.short-flip .tabs-container {
    position: absolute;
    top: -38px; /* Posición ajustada */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 5; /* Lower z-index to not interfere with sticky nav */
}

.short-flip .price-tab {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    padding: 7px 15px;
    border-width: 2px;
}

/* Ajustes para las proporciones en diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .flip-container.short-flip {
        width: 40%; /* Aumentado de 28% */
        flex: 0 0 40%;
        padding-bottom: 16%; /* 40% * 0.4 */
        max-width: 320px; /* Aumentado de 220px */
    }
}

@media (max-width: 992px) {
    .flip-container.short-flip {
        width: 45%; /* Aumentado de 40% */
        flex: 0 0 45%;
        padding-bottom: 18%; /* 40% * 0.45 */
        max-width: 300px; /* Aumentado de 200px */
    }
}

@media (max-width: 768px) {
    .flip-container.short-flip {
        width: 80%; /* Aumentado de 70% */
        flex: 0 0 80%;
        padding-bottom: 32%; /* 40% * 0.8 */
        margin-top: 40px;
        max-width: 340px; /* Aumentado de 240px */
    }
    
    .short-flip .tabs-container {
        top: -40px;
    }
}

@media (max-width: 480px) {
    .flip-container.short-flip {
        width: 90%; /* Aumentado de 80% */
        flex: 0 0 90%;
        padding-bottom: 36%; /* 40% * 0.9 */
        max-width: 300px; /* Aumentado de 220px */
    }
    
    .short-flip .tabs-container {
        top: -35px;
    }
    
    .short-flip .tab {
        min-width: 110px; /* Aumentado para mejor visibilidad */
        padding: 6px 14px; /* Aumentado para mejor visibilidad */
    }
    
    .short-flip .tab span {
        font-size: 0.9rem; /* Aumentado para mejor visibilidad */
    }
}

/* Fix iframe z-index issues */
iframe {
    position: relative;
    z-index: 1;
}

.front iframe, .back iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
    z-index: 1;
}

.short-flip .front iframe {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: 1;
}

@media (max-width: 480px) {
    .social-icons-center .icons-container {
        gap: 0.5rem; /* Reducido de 1rem */
    }
    
    .social-icons-center .icon-link,
    .social-icons-center .social-icon {
        width: 50px;
        height: 50px;
    }
}

/* Fix for the very small screen where we wrap icons (solo footer) */
@media (max-width: 480px) {
    #footer-section .contact-center {
        margin-top: 0;
        width: auto;
        padding: 0;
        flex: 0 0 50%;
        max-width: 50%;
        align-items: flex-end;
    }
    
    #footer-section .contact-center p {
        font-size: 0.45rem;
        padding: 0.15rem 0.3rem;
        white-space: normal;
        max-width: 100%;
        border-width: 1px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
        text-shadow: 1px 1px 0 #000;
        margin: 0 0 0 auto;
        line-height: 1.1;
        border-radius: 3px;
        margin-bottom: 0;
        text-align: right;
    }
    
    /* Estilos para el botón de email en pantallas muy pequeñas (solo footer) */
    #footer-section .email-button {
        font-size: 0.45rem;
        padding: 0.15rem 0.3rem;
        white-space: normal;
        max-width: 100%;
        border-width: 1px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
        text-shadow: 1px 1px 0 #000;
        margin: 0 0 0 auto;
        line-height: 1.1;
        border-radius: 3px;
        margin-bottom: 0;
        text-align: right;
    }
    
    .terms-button {
        font-size: 0.4rem;
        padding: 0.1rem 0.2rem;
        margin: 0.15rem 0 0 auto;
        max-width: 100%;
        border-width: 1px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
        text-shadow: 1px 1px 0 #000;
        line-height: 1.1;
        border-radius: 3px;
        text-align: right;
    }
    
    /* Ajustar los iconos sociales */
    .social-icons-center {
        margin-bottom: 0;
        width: auto;
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .social-icons-center .icons-container {
        gap: 0.4rem;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .social-icons-center .icon-link,
    .social-icons-center .social-icon {
        width: 35px;
        height: 35px;
        margin: 0;
    }
}

/* Eliminamos esta regla duplicada que causa conflictos */
/* @media (max-width: 480px) {
    .social-icons-center .icons-container {
        gap: 0.5rem;
    }
    
    .social-icons-center .icon-link,
    .social-icons-center .social-icon {
        width: 50px;
        height: 50px;
    }
} */

.price-overlay, .event-price-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 12px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 3;
    font-family: 'Minecraft', sans-serif;
}

.price-overlay {
    font-size: 2rem;
    color: #FFFF55;
    border: 2px solid #FFFF55;
    text-shadow: 
        2px 2px 0px #B8860B, /* Dorado - primera capa */
        4px 4px 0px #B8860B, /* Segunda capa */
        6px 6px 0px #8B6508, /* Dorado oscuro - tercera capa */
        8px 8px 0px #8B6508, /* Cuarta capa */
        -2px -2px 0px #B8860B,
        2px -2px 0px #B8860B,
        -2px 2px 0px #B8860B;
}

.event-price-overlay {
    font-size: 2.2rem;
    color: #D8BFD8;
    border: 2px solid #D8BFD8;
    text-shadow: 
        2px 2px 0px #483D8B, /* Morado oscuro - primera capa */
        4px 4px 0px #483D8B, /* Segunda capa */
        6px 6px 0px #27225A, /* Morado muy oscuro - tercera capa */
        8px 8px 0px #27225A, /* Cuarta capa */
        -2px -2px 0px #483D8B,
        2px -2px 0px #483D8B,
        -2px 2px 0px #483D8B;
}

.thumbnail:hover .price-overlay,
.event-post:hover .event-price-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .price-overlay, .event-price-overlay {
        font-size: 1.8rem;
        padding: 4px 10px;
    }
}

@media (max-width: 768px) {
    .price-overlay, .event-price-overlay {
        font-size: 1.6rem;
        padding: 4px 10px;
        bottom: 8px;
        right: 8px;
    }
}

@media (max-width: 576px) {
    .price-overlay, .event-price-overlay {
        font-size: 1.3rem;
        padding: 3px 8px;
        bottom: 5px;
        right: 5px;
    }
}

/* Borde estilo Minecraft */
.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #2d2d2d;
    border-radius: 6px;
    margin: -5px;
    z-index: -1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.thumbnail-row-price {
    font-family: 'Minecraft', sans-serif;
    font-size: 3.4rem;
    font-weight: normal;
    color: #FFFF55;
    margin: 0 auto 1.5rem;
    text-shadow: 
        3px 3px 0px #B8860B, /* Dorado - primera capa */
        6px 6px 0px #B8860B, /* Segunda capa */
        9px 9px 0px #8B6508, /* Dorado oscuro - tercera capa */
        12px 12px 0px #8B6508, /* Cuarta capa */
        -3px -3px 0px #B8860B,
        3px -3px 0px #B8860B,
        -3px 3px 0px #B8860B;
    text-align: center;
}

.title-overlay, .event-title-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 12px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 3;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    text-align: center;
}

.title-overlay {
    color: #FFFF55;
    border: 2px solid #FFFF55;
    text-shadow: 
        1px 1px 0px #B8860B, /* Dorado - primera capa */
        2px 2px 0px #B8860B, /* Segunda capa */
        3px 3px 0px #8B6508, /* Dorado oscuro - tercera capa */
        4px 4px 0px #8B6508, /* Cuarta capa */
        -1px -1px 0px #B8860B,
        1px -1px 0px #B8860B,
        -1px 1px 0px #B8860B;
}

.event-title-overlay {
    color: #D8BFD8;
    border: 2px solid #D8BFD8;
    text-shadow: 
        1px 1px 0px #483D8B, /* Morado oscuro - primera capa */
        2px 2px 0px #483D8B, /* Segunda capa */
        3px 3px 0px #27225A, /* Morado muy oscuro - tercera capa */
        4px 4px 0px #27225A, /* Cuarta capa */
        -1px -1px 0px #483D8B,
        1px -1px 0px #483D8B,
        -1px 1px 0px #483D8B;
}

.thumbnail:hover .title-overlay,
.event-post:hover .event-title-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .title-overlay, .event-title-overlay {
        font-size: 0.9rem;
        padding: 4px 10px;
    }
}

@media (max-width: 768px) {
    .title-overlay, .event-title-overlay {
        font-size: 0.8rem;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
        right: auto;
    }
}

@media (max-width: 576px) {
    .title-overlay, .event-title-overlay {
        font-size: 0.7rem;
        padding: 2px 6px;
        top: 5px;
        left: 5px;
        right: auto;
    }
}

/* Individual price buttons styling */
.prices-button {
    display: block;
    margin: 1rem auto 2rem;
    background-color: #00FF41; /* Neon green */
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid #00CC33;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 65, 0.6);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    cursor: pointer;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 280px;
}


/* Specific button styles - all green */
.video-prices-btn {
    background-color: #00FF41; /* Neon green */
    border-color: #00CC33;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 65, 0.6);
}

.shorts-prices-btn {
    background-color: #00FF41; /* Neon green */
    border-color: #00CC33;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 65, 0.6);
}

.thumbnails-prices-btn {
    background-color: #00FF41; /* Neon green */
    border-color: #00CC33;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 65, 0.6);
}

.events-prices-btn {
    background-color: #00FF41; /* Neon green */
    border-color: #00CC33;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 65, 0.6);
}

.prices-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 65, 0.8);
}

.video-prices-btn:hover {
    background-color: #00CC33;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 65, 0.8);
}

.shorts-prices-btn:hover {
    background-color: #00CC33;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 65, 0.8);
}

.thumbnails-prices-btn:hover {
    background-color: #00CC33;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 65, 0.8);
}

.events-prices-btn:hover {
    background-color: #00CC33;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 65, 0.8);
}

.prices-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 255, 65, 0.4);
}


/* YouTube button for tablets and mobile devices */
.youtube-button {
    display: none;
    margin: 1rem auto 2rem;
    background-color: #FF0000;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid #CC0000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    cursor: pointer;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 280px;
}

.youtube-button:hover {
    background-color: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 0, 0, 0.6);
}

.youtube-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 0, 0, 0.4);
}

.youtube-button i {
    margin-right: 12px;
    font-size: 1.6rem;
}

/* Media query for mobile devices and tablets */
@media (max-width: 992px) {
    /* Hide videos in the main page */
    .featured-content .videos-row,
    .featured-content .top-row,
    .featured-content .bottom-row {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Show YouTube button */
    .youtube-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        max-width: 300px;
    }
    
    /* Prices button responsive */
    .prices-button {
        max-width: 300px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .email-button.more-projects-link {
        max-width: 300px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    /* Additional spacing adjustments */
    .description {
        margin-bottom: 2rem;
    }
    
    .featured-content {
        margin-top: 1rem;
        padding: 0;
    }
}

/* Media query for mobile devices - individual buttons */
@media (max-width: 768px) {
    .prices-button {
        display: block;
        max-width: 200px;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        margin: 1rem auto 1.5rem;
    }

    .email-button.more-projects-link {
        max-width: 200px;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        margin: 1rem auto 1.5rem;
    }
    
    .youtube-button {
        display: flex !important;
        max-width: 200px;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        margin: 1rem auto 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .youtube-shorts-button,
    .youtube-thumbnails-button,
    .youtube-events-button {
        display: flex !important;
        max-width: 200px;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        margin: 1rem auto 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .youtube-button i,
    .youtube-shorts-button i,
    .youtube-thumbnails-button i,
    .youtube-events-button i {
        font-size: 1.1rem;
        margin-right: 8px;
    }
}

/* Media query for tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .prices-button {
        display: block;
        max-width: 250px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        margin: 1.5rem auto 2rem;
    }

    .email-button.more-projects-link {
        max-width: 250px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        margin: 1.5rem auto 2rem;
    }
    
    .youtube-button {
        display: flex !important;
        max-width: 250px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        margin: 1.5rem auto 2rem;
        align-items: center;
        justify-content: center;
    }
    
    .youtube-shorts-button,
    .youtube-thumbnails-button,
    .youtube-events-button {
        display: flex !important;
        max-width: 250px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        margin: 1.5rem auto 2rem;
        align-items: center;
        justify-content: center;
    }
    
    .youtube-button i,
    .youtube-shorts-button i,
    .youtube-thumbnails-button i,
    .youtube-events-button i {
        font-size: 1.3rem;
        margin-right: 10px;
    }
}

/* Media query for smaller screens */
@media (max-width: 480px) {
    .prices-button {
        display: block;
        max-width: 180px;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
        margin: 0.8rem auto 1.2rem;
    }

    .email-button.more-projects-link {
        max-width: 180px;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
        margin: 0.8rem auto 1.2rem;
    }
    
    .youtube-button {
        display: flex !important;
        max-width: 180px;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
        margin: 0.8rem auto 1.2rem;
        align-items: center;
        justify-content: center;
    }
    
    .youtube-shorts-button,
    .youtube-thumbnails-button,
    .youtube-events-button {
        display: flex !important;
        max-width: 180px;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
        margin: 0.8rem auto 1.2rem;
        align-items: center;
        justify-content: center;
    }
    
    .youtube-button i,
    .youtube-shorts-button i,
    .youtube-thumbnails-button i,
    .youtube-events-button i {
        font-size: 1rem;
        margin-right: 6px;
    }
}

/* YouTube Shorts button for tablets and mobile devices */
.youtube-shorts-button {
    display: none;
    margin: 1rem auto 2rem;
    background-color: #00BFFF; /* Deep Sky Blue */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid #008B8B; /* Dark Cyan */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 191, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    cursor: pointer;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 280px;
}

.youtube-shorts-button:hover {
    background-color: #008B8B; /* Dark Cyan */
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 191, 255, 0.6);
}

.youtube-shorts-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 191, 255, 0.4);
}

.youtube-shorts-button i {
    margin-right: 12px;
    font-size: 1.6rem;
}

/* Media query for shorts in tablets and mobile devices */
@media (max-width: 992px) {
    /* Hide shorts in the main page */
    #shorts-section .shorts-row,
    #shorts-section .shorts-container .flip-container {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Show YouTube Shorts button */
    .youtube-shorts-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        max-width: 300px;
    }
    
    /* Additional spacing adjustments */
    #shorts-section .section-content {
        padding-bottom: 2rem;
    }
}

/* Media query for tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .youtube-shorts-button {
        max-width: 360px;
        font-size: 1.5rem;
        padding: 1.3rem 2.8rem;
        margin: 3rem auto 4rem;
    }
    
    .youtube-shorts-button i {
        font-size: 1.8rem;
        margin-right: 15px;
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .youtube-shorts-button {
        max-width: 300px;
        font-size: 1.3rem;
        padding: 1.2rem 2.2rem;
    }
} 

/* YouTube Thumbnails button for tablets and mobile devices */
.youtube-thumbnails-button {
    display: none;
    margin: 1rem auto 2rem;
    background-color: #FFD700; /* Gold */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid #B8860B; /* Dark goldenrod */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    cursor: pointer;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 280px;
}

.youtube-thumbnails-button:hover {
    background-color: #B8860B; /* Dark goldenrod */
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.6);
}

.youtube-thumbnails-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.4);
}

.youtube-thumbnails-button i {
    margin-right: 12px;
    font-size: 1.6rem;
}

/* Media query for thumbnails in tablets and mobile devices */
@media (max-width: 992px) {
    /* Hide thumbnails in the main page */
    #thumbnails-section .thumbnails-grid,
    #thumbnails-section .thumbnails-container .thumbnail {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Show YouTube Thumbnails button */
    .youtube-thumbnails-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        max-width: 350px;
    }
    
    /* Additional spacing adjustments */
    #thumbnails-section .section-content {
        padding-bottom: 2rem;
    }
}

/* Media query for tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .youtube-thumbnails-button {
        max-width: 400px;
        font-size: 1.5rem;
        padding: 1.3rem 2.8rem;
        margin: 3rem auto 4rem;
    }
    
    .youtube-thumbnails-button i {
        font-size: 1.8rem;
        margin-right: 15px;
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .youtube-thumbnails-button {
        max-width: 300px;
        font-size: 1.3rem;
        padding: 1.2rem 2.2rem;
    }
} 

/* YouTube Events button for tablets and mobile devices */
.youtube-events-button {
    display: none;
    margin: 1rem auto 2rem;
    background-color: #8A2BE2; /* BlueViolet */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid #483D8B; /* SlateBlue */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
    cursor: pointer;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 280px;
}

.youtube-events-button:hover {
    background-color: #483D8B; /* SlateBlue */
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 0 25px rgba(138, 43, 226, 0.6);
}

.youtube-events-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(138, 43, 226, 0.4);
}

.youtube-events-button i {
    margin-right: 12px;
    font-size: 1.6rem;
}

/* Tablets y móvil: ocultar galería en la home; "Ver todos los eventos" abre events/events.html */
@media (max-width: 992px) {
    #events-section .events-container,
    #events-section .events-grid,
    #events-section .events-container .event-post {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .youtube-events-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        max-width: 350px;
    }

    #events-section .section-content {
        padding-bottom: 1.5rem;
    }
}

/* Media query for tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .youtube-events-button {
        max-width: 400px;
        font-size: 1.5rem;
        padding: 1.3rem 2.8rem;
        margin: 3rem auto 4rem;
    }
    
    .youtube-events-button i {
        font-size: 1.8rem;
        margin-right: 15px;
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .youtube-events-button {
        max-width: 300px;
        font-size: 1.3rem;
        padding: 1.2rem 2.2rem;
    }
} 

/* Ajustes para móviles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem !important;
        letter-spacing: 1px !important;
        padding: 10px !important;
        margin-bottom: 0.5rem !important;
        text-shadow: 
            2px 2px 0px #191970,
            4px 4px 0px #191970,
            6px 6px 0px #0C0C47,
            8px 8px 0px #0C0C47,
            -2px -2px 0px #191970,
            2px -2px 0px #191970,
            -2px 2px 0px #191970;
    }

    nav ul {
        padding: 0.6rem !important;
        gap: 0.4rem !important;
    }

    nav a {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem !important;
    }

    .youtube-button {
        max-width: 250px !important;
        font-size: 1.1rem !important;
        padding: 0.8rem 1.8rem !important;
    }

    .youtube-button i {
        font-size: 1.3rem !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem !important;
        letter-spacing: 0px !important;
        padding: 8px !important;
        margin-bottom: 0.4rem !important;
        text-shadow: 
            1px 1px 0px #191970,
            2px 2px 0px #191970,
            3px 3px 0px #0C0C47,
            4px 4px 0px #0C0C47,
            -1px -1px 0px #191970,
            1px -1px 0px #191970,
            -1px 1px 0px #191970;
    }

    nav ul {
        padding: 0.4rem !important;
        gap: 0.3rem !important;
    }

    nav a {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem !important;
    }

    .youtube-button {
        max-width: 200px !important;
        font-size: 0.9rem !important;
        padding: 0.6rem 1.4rem !important;
    }

    .youtube-button i {
        font-size: 1.1rem !important;
        margin-right: 8px !important;
    }
}

@media (max-width: 768px) {
    .youtube-button {
        max-width: 220px !important;
        font-size: 1rem !important;
        padding: 0.7rem 1.5rem !important;
        margin: 1.5rem auto !important;
    }
    
    .youtube-button i {
        font-size: 1.2rem !important;
        margin-right: 10px !important;
    }

    .youtube-shorts-button,
    .youtube-thumbnails-button,
    .youtube-events-button {
        max-width: 220px !important;
        font-size: 1rem !important;
        padding: 0.7rem 1.5rem !important;
        margin: 1.5rem auto !important;
    }
    
    .youtube-shorts-button i,
    .youtube-thumbnails-button i,
    .youtube-events-button i {
        font-size: 1.2rem !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 480px) {
    .youtube-button {
        max-width: 180px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin: 1rem auto !important;
    }
    
    .youtube-button i {
        font-size: 1rem !important;
        margin-right: 8px !important;
    }

    .youtube-shorts-button,
    .youtube-thumbnails-button,
    .youtube-events-button {
        max-width: 180px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin: 1rem auto !important;
    }
    
    .youtube-shorts-button i,
    .youtube-thumbnails-button i,
    .youtube-events-button i {
        font-size: 1rem !important;
        margin-right: 8px !important;
    }
}

@media (max-width: 768px) {
    #header-section {
        min-height: 60vh !important;
        padding: 1.5rem 0.8rem !important;
    }

    #header-section .section-content {
        padding-top: 1.5rem !important;
    }

    header {
        padding: 0.6rem !important;
        margin-bottom: 0.6rem !important;
    }

    header h1 {
        font-size: 2rem !important;
        letter-spacing: 0px !important;
        padding: 8px !important;
        margin-bottom: 0.4rem !important;
        text-shadow: 
            2px 2px 0px #191970,
            3px 3px 0px #191970,
            4px 4px 0px #0C0C47,
            5px 5px 0px #0C0C47,
            -1px -1px 0px #191970,
            1px -1px 0px #191970,
            -1px 1px 0px #191970 !important;
    }

    .description {
        margin: 0.8rem 0.8rem !important;
        padding: 0.6rem !important;
        max-width: 95% !important;
    }

    .description p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    nav ul {
        padding: 0.4rem !important;
        gap: 0.3rem !important;
    }

    nav a {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    #header-section {
        min-height: 50vh !important;
        padding: 1rem 0.6rem !important;
    }

    #header-section .section-content {
        padding-top: 1rem !important;
    }

    header {
        padding: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }

    header h1 {
        font-size: 1.8rem !important;
        padding: 6px !important;
        margin-bottom: 0.3rem !important;
        text-shadow: 
            1px 1px 0px #191970,
            2px 2px 0px #191970,
            3px 3px 0px #0C0C47,
            4px 4px 0px #0C0C47,
            -1px -1px 0px #191970,
            1px -1px 0px #191970,
            -1px 1px 0px #191970 !important;
    }

    .description {
        margin: 0.6rem auto !important;
        padding: 0.4rem !important;
        max-width: 95% !important;
    }

    .description p {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }

    nav ul {
        padding: 0.3rem !important;
        gap: 0.2rem !important;
    }

    nav a {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 768px) {
    #thumbnails-section {
        min-height: 45vh !important;
        padding: 1rem 0.6rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #thumbnails-section .section-content {
        padding-top: 1rem !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #thumbnails-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        padding-top: 10px !important;
        text-align: center !important;
        width: 100% !important;
        text-shadow: 
            2px 2px 0px #B8860B,
            3px 3px 0px #B8860B,
            4px 4px 0px #8B6508,
            5px 5px 0px #8B6508,
            -1px -1px 0px #B8860B,
            1px -1px 0px #B8860B,
            -1px 1px 0px #B8860B !important;
    }

    .thumbnails-container {
        max-width: 90% !important;
        padding: 0.4rem !important;
        margin: 0.8rem auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .thumbnails-grid {
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }

    .youtube-thumbnails-button {
        max-width: 220px !important;
        font-size: 1rem !important;
        padding: 0.7rem 1.5rem !important;
        margin: 1.5rem auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .youtube-thumbnails-button i {
        font-size: 1.2rem !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 480px) {
    #thumbnails-section {
        min-height: 35vh !important;
        padding: 0.8rem 0.4rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #thumbnails-section .section-content {
        padding-top: 0.8rem !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #thumbnails-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
        padding-top: 8px !important;
        text-align: center !important;
        width: 100% !important;
        text-shadow: 
            1px 1px 0px #B8860B,
            2px 2px 0px #B8860B,
            3px 3px 0px #8B6508,
            4px 4px 0px #8B6508,
            -1px -1px 0px #B8860B,
            1px -1px 0px #B8860B,
            -1px 1px 0px #B8860B !important;
    }

    .thumbnails-container {
        max-width: 95% !important;
        padding: 0.3rem !important;
        margin: 0.6rem auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .thumbnails-grid {
        gap: 0.8rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
    }

    .youtube-thumbnails-button {
        max-width: 180px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin: 1rem auto !important;
    }
    
    .youtube-thumbnails-button i {
        font-size: 1rem !important;
        margin-right: 8px !important;
    }
}

@media (max-width: 768px) {
    #events-section {
        min-height: 35vh !important;
        padding: 0.8rem 0.6rem !important;
        margin-bottom: 0 !important;
    }

    #events-section .section-content {
        padding-top: 0.5rem !important;
        padding-bottom: 3rem !important; /* espacio para "Más proyectos" */
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    #events-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
        padding-top: 5px !important;
        text-align: center !important;
        width: 100% !important;
        text-shadow: 
            2px 2px 0px #483D8B,
            3px 3px 0px #483D8B,
            4px 4px 0px #2E2B5F,
            5px 5px 0px #2E2B5F,
            -1px -1px 0px #483D8B,
            1px -1px 0px #483D8B,
            -1px 1px 0px #483D8B !important;
    }

    .events-container {
        max-width: 90% !important;
        padding: 0.3rem !important;
        margin: 0.3rem auto !important;
        display: block !important;
    }

    .events-row {
        gap: 0.8rem !important;
        margin-bottom: 0.5rem !important;
        width: 100% !important;
    }

    .event-post {
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 0 !important;
    }

    #events-section .contact-center {
        margin-top: 1rem !important;
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        align-items: center !important;
    }

    .youtube-events-button {
        max-width: 220px !important;
        font-size: 1rem !important;
        padding: 0.7rem 1.5rem !important;
        margin: 0.5rem auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .youtube-events-button i {
        font-size: 1.2rem !important;
        margin-right: 10px !important;
    }
}

@media (max-width: 480px) {
    #events-section {
        min-height: 25vh !important;
        padding: 0.5rem 0.4rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
    }

    #events-section .section-content {
        padding-top: 0.3rem !important;
        padding-bottom: 3rem !important; /* espacio para "Más proyectos" + separación del footer */
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 0 !important;
    }

    #events-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.4rem !important;
        padding-top: 3px !important;
        text-align: center !important;
        width: 100% !important;
        text-shadow: 
            1px 1px 0px #483D8B,
            2px 2px 0px #483D8B,
            3px 3px 0px #2E2B5F,
            4px 4px 0px #2E2B5F,
            -1px -1px 0px #483D8B,
            1px -1px 0px #483D8B,
            -1px 1px 0px #483D8B !important;
    }

    .events-container {
        max-width: 95% !important;
        padding: 0.2rem !important;
        margin: 0.2rem auto !important;
        display: block !important;
    }

    .events-row {
        gap: 0.6rem !important;
        margin-bottom: 0.4rem !important;
        width: 100% !important;
    }

    .event-post {
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 0 !important;
    }

    #events-section .contact-center {
        margin-top: 0.9rem !important;
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        align-items: center !important;
    }

    .youtube-events-button {
        max-width: 180px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin: 0.4rem auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .youtube-events-button i {
        font-size: 1rem !important;
        margin-right: 8px !important;
    }
}

.events-title-container {
    margin-top: 0;
}

@media (max-width: 768px) {
    .events-title-container {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .events-title-container {
        margin-top: 0;
    }
}