/* Importamos la fuente 'Poppins' desde Google Fonts para un look más premium */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Configuraciones base */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { 
    color: #ffffff; 
    line-height: 1.6; 
    position: relative; 
    min-height: 100vh;
}

/* --- SECCIÓN PARA EL FONDO DIFUMINADO --- */
.background-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('imagen-fondo.jpg'); 
    background-size: cover; background-position: center; background-repeat: no-repeat;
    filter: blur(15px); -webkit-filter: blur(15px); transform: scale(1.1); z-index: -2; 
}

.background-overlay::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(12, 12, 12, 0.65); z-index: -1;
}

/* Navegación Superior */
.top-nav { padding: 20px; max-width: 1100px; margin: 0 auto; }
.btn-back { color: #aaaaaa; text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); padding: 8px 15px; border-radius: 8px; transition: 0.3s; }
.btn-back:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.1); }

/* Encabezado Principal */
.hero { text-align: center; padding: 60px 20px; max-width: 800px; margin: 0 auto; }

.logo-container { 
    width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 30px; 
    overflow: hidden; display: flex; justify-content: center; align-items: center; 
    border: 3px solid rgba(255,255,255,0.8); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); background-color: transparent; 
}
.group-logo { width: 100%; height: 100%; object-fit: cover; }

/* Títulos y Subtítulos */
h1 { font-size: 40px; margin-bottom: 15px; color: #ffffff; font-weight: 800; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* Estilos para el título con el logo de Telegram (Solo en la página principal) */
.title-with-logo { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.tg-title-icon { width: 38px; height: auto; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); transition: transform 0.3s ease; }
.title-with-logo:hover .tg-title-icon { transform: translateY(-4px) scale(1.1); }

h2 { font-size: 30px; margin-bottom: 20px; color: #ffffff; text-align: center; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.subtitle { color: #dddddd; font-size: 18px; margin-bottom: 45px; font-weight: 400; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }

/* Resaltado SEO en color mostaza */
.subtitle strong { color: #eab308; font-weight: 600; }

.section-desc { text-align: center; color: #cccccc; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ESTADÍSTICAS DEL GRUPO */
.stats { display: flex; justify-content: center; gap: 50px; margin-bottom: 40px; }
.stat-box { display: flex; flex-direction: column; align-items: center; }
.number { font-size: 38px; font-weight: 800; color: #eab308; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.label { font-size: 13px; color: #aaaaaa; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-top: 5px; }

/* HUB DE NAVEGACIÓN (Página Principal) */
.hub-section { padding: 20px; max-width: 900px; margin: 0 auto 60px; }
.hub-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }

.hub-card { 
    background-color: rgba(20, 20, 20, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    padding: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); 
    text-decoration: none; color: white; width: 100%; max-width: 400px; 
    transition: all 0.4s ease; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hub-card:hover { transform: translateY(-8px); border-color: #eab308; box-shadow: 0 15px 40px rgba(234, 179, 8, 0.2); background-color: rgba(30, 30, 30, 0.6); }
.hub-card h2 { font-size: 24px; margin-bottom: 15px; font-weight: 700; }
.hub-card p { color: #cccccc; margin-bottom: 30px; font-size: 15px; }
.hub-btn { display: inline-block; padding: 12px 25px; border: 1px solid rgba(255,255,255,0.5); border-radius: 8px; font-weight: 600; transition: 0.3s; }
.hub-card:hover .hub-btn { background-color: #eab308; color: #121212; border-color: #eab308; }

/* Botones Generales */
.btn-telegram { 
    display: inline-block; padding: 16px 32px; border-radius: 10px; 
    font-weight: 700; text-decoration: none; font-size: 16px; transition: 0.3s ease; margin: 10px; 
    background-color: rgba(255,255,255,0.1); color: #ffffff; border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(5px);
}
.btn-telegram:hover { background-color: #eab308; color: #121212; border-color: #eab308; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3); }
.btn-massive { font-size: 20px; padding: 20px 40px; }

.section { padding: 60px 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

/* TARJETAS DE REGLAS MEJORADAS (Ahora con Flexbox para centrar la última) */
.grid-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.card { 
    background-color: rgba(20, 20, 20, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    padding: 35px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.4s ease; color: white; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    width: 100%; max-width: 330px; /* Asegura que mantengan el tamaño de tarjeta */
}
.card:hover { border-color: #eab308; transform: translateY(-5px); background-color: rgba(30, 30, 30, 0.6); box-shadow: 0 15px 40px rgba(234, 179, 8, 0.15); }
.card h3 { color: #ffffff; margin-bottom: 18px; font-size: 22px; font-weight: 700; transition: color 0.3s; } 
.card:hover h3 { color: #eab308; }
.card p { color: #dddddd; font-size: 15px; line-height: 1.7; }

/* FAQ MEJORADO */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { 
    background-color: rgba(20, 20, 20, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 25px; border-radius: 15px; margin-bottom: 20px; border-left: 4px solid #eab308; color: white;
    border-top: 1px solid rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-item h3 { margin-bottom: 12px; font-size: 19px; color: #ffffff; font-weight: 600; }
.faq-item p { color: #cccccc; font-size: 15px; }

/* Footer */
footer { text-align: center; padding: 40px; color: #aaaaaa; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 50px; position: relative; z-index: 1; }