/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3, h4, p{
    color: white !important;
}

body {
    background-image: url('assets/back.png');
    background-attachment: fixed;
    color: black;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos para el logo principal */
.logo-container {
    width: 300px;
    height: 150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
}

.program-img-container {
    width: 150px; /* Tamaño aumentado para mejor visualización */
    height: 150px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Imágenes de programas */
.program-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block; /* Asegura que no haya espacio adicional */
    margin: 0 auto; /* Centrado horizontal */
    transition: transform 0.3s ease;
}

/* Efecto hover */
.program-card:hover .program-img-container {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.program-card:hover .program-img {
    transform: scale(1.1);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .program-img-container {
        width: 120px;
        height: 120px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .program-img-container {
        width: 100px;
        height: 100px;
    }
}

/* Asegurar que las imágenes se carguen correctamente */
img {
    display: block; /* Elimina espacio fantasma debajo de las imágenes */
    backface-visibility: hidden; /* Soluciona problemas de parpadeo */
    image-rendering: -webkit-optimize-contrast; /* Mejor renderizado */
    image-rendering: optimizeQuality;
}

/* Estilos del widget Twitch */
.twitch-widget {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
}

/* Sección de video */
.video-section {
    margin-bottom: 30px;
}

.video-container {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: none;
}

/* Sección de programas */
.programs-section {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.program-card {
    position: relative;
    background: rgba(145, 70, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.program-card h3 {
    margin-bottom: 10px;
}

.program-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.program-card:hover .program-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Estilos de los enlaces sociales */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 50px;
}

.social-link i {
    margin-right: 10px;
    font-size: 20px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Colores específicos para cada red social */
.youtube { background-color: #FF0000; }
.youtube:hover { background-color: #cc0000;
                box-shadow:0 5px 15px #cc0000; }

.twitch { background-color: #9146FF; }
.twitch:hover { background-color: #7a3acc;
                box-shadow:0 5px 15px #7a3acc;}

.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.instagram:hover { opacity: 0.9;
                box-shadow:0 5px 15px #C13584 }

.x { background-color: #000000; }
.x:hover { background-color: #222222;
            box-shadow:0 5px 15px #222222;}
           /* Estilo para Kick */
.kick { 
    background: linear-gradient(45deg, #00ff00, #008000);
}
.kick:hover { 
    background: linear-gradient(45deg, #00cc00, #006600);
    box-shadow: 0 5px 15px rgba(0, 128, 0, 0.4);
}

/* Estilo para el botón de TikTok */
.tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #000000 50%, #FE2C55 100%);
    color: white;
}
.tiktok:hover {
    background: linear-gradient(135deg, #25F4EE 0%, #000000 40%, #FE2C55 90%);
    box-shadow: 0 5px 15px rgba(254, 44, 85, 0.4);
}

/* Estilo para el botón de Spotify */
.spotify {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
    color: white;
}
.spotify:hover {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 90%);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.4);
}

/* Estilo para el botón de PayPal */
.paypal {
    background: linear-gradient(135deg, #003087 0%, #009CDE 50%, #012169 100%);
    color: white;
}
.paypal:hover {
    background: linear-gradient(135deg, #003087 0%, #009CDE 40%, #012169 90%);
    box-shadow: 0 5px 15px rgba(0, 108, 183, 0.4);
}

/* Estilos generales que aplican a todos los botones (asegúrate de tener estos) */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 50px;
    margin: 5px;
}

.social-link i {
    margin-right: 10px;
    font-size: 20px;
}

.social-link:hover {
    transform: translateY(-3px);
}
/* Formulario para pollos */
.chicken-form-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
}

#chicken-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.8);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: #9146FF;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    align-self: center;
    width: 200px;
}

.submit-btn:hover {
    background-color: #7a3acc;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
    text-align: center; /* Centra el texto */
    gap: 15px; /* Espacio entre elementos */
    padding: 20px 0; /* Espaciado vertical */
}

.powered-by {
    max-width: 200px; /* Ajusta según el tamaño de tu imagen */
    height: auto;
    display: block; /* Elimina espacio extra debajo de la imagen */
}
/* Responsive */
@media (max-width: 768px) {
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-tooltip {
        width: 250px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    .main-logo {
        max-width: 200px;
    }
}

/* Animaciones */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

.video-info {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #7f8c8d;
}

.error-message {
    color: #e74c3c;
    text-align: center;
    padding: 15px;
}

/* Nuevos estilos para la sección de marca */
.brand-header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

.brand-header h1 {
    font-size: 2.5rem;
    margin: 20px 0 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.mission, .vision {
    background: rgba(145, 70, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #9146FF;
}

.mission h3, .vision h3 {
    color: #9146FF;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Estilos mejorados para tooltips de programas */
.program-mission-vision {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.program-mission-vision h4 {
    color: #9146FF;
    margin: 10px 0 5px;
    font-size: 1rem;
}

/* Estilos mejorados para el formulario */
.form-description {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
}



/* Responsive para mision/vision */
@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .brand-description {
        font-size: 1rem;
    }
}
/* Sección de programas */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Mostrar 3 columnas */
    gap: 20px;
    margin-top: 20px;
}

/* Ajustes responsivos */
@media (max-width: 900px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
    
    .program-card {
        margin-bottom: 20px;
    }
}

/* Ajustar tamaño de los tooltips para pantallas grandes */
@media (min-width: 1200px) {
    .program-tooltip {
        width: 350px;
    }
}
