/* =========================================
   footer.css | THE PUCK GAMES
   ========================================= */

/* --- VARIABLES GLOBALES DEL FOOTER (Respaldo) --- */
:root {
    --footer-bg: #0a0e17;
    --footer-card: #131a26;
    --footer-border: #2a3441;
    --footer-text: #8892b0;
    --footer-text-light: #ffffff;
    --footer-neon: #00f2ff;
    --footer-neon-glow: rgba(0, 242, 255, 0.4);
}

/* --- CONTENEDOR PRINCIPAL --- */
.global-footer {
    background: linear-gradient(to bottom, var(--footer-card), var(--footer-bg));
    border-top: 1px solid var(--footer-border);
    padding: 50px 20px 30px;
    margin-top: 60px; /* Separación del contenido principal */
    color: var(--footer-text);
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap; 
}

/* --- COLUMNAS Y ALINEACIÓN GENERAL --- */
.footer-col {
    flex: 1;
    min-width: 260px; 
}

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- MARCA Y TEXTOS --- */
.footer-logo {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--footer-text-light);
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.footer-logo .highlight {
    color: var(--footer-neon);
    text-shadow: 0 0 10px var(--footer-neon-glow);
}

.brand-col p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 320px;
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--footer-text-light);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   GRID DE JUEGOS Y PRIVACIDAD EN PUNTA
   ========================================= */
.footer-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 300px; /* Evita que las columnas se separen demasiado */
}

.footer-games-grid a {
    color: var(--footer-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-games-grid a:hover {
    color: var(--footer-neon);
}

/* Estilo simétrico en punta para la Privacy Policy (7º elemento) */
.privacy-item-centered {
    grid-column: 1 / -1; /* Ocupa las 2 columnas del grid */
    text-align: center;
    margin-top: 25px; 
}

.privacy-item-link {
    font-size: 0.85rem !important;
    color: var(--footer-text) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    font-style: italic;
    opacity: 0.8;
}

.privacy-item-link:hover {
    color: var(--footer-text-light) !important;
    opacity: 1;
}

/* =========================================
   REDES SOCIALES (Usando etiquetas IMG simples)
   ========================================= */
.social-icons-large {
    display: flex;
    gap: 20px; /* Espaciado simétrico entre iconos */
    justify-content: center;
    margin-bottom: 25px;
}

.social-icons-large a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/* Estilo para las imágenes de los iconos */
.social-icons-large img {
    width: 32px;  /* Tamaño más pequeño y simple */
    height: 32px;
    object-fit: contain; /* Asegura que la imagen no se deforme */
    transition: transform 0.2s ease, opacity 0.2s ease;
    
    /* Si tus iconos son negros y quieres que sean grises en el fondo oscuro: */
    /* filter: grayscale(1) brightness(0.7); */
}

/* Efecto simple al pasar el ratón */
.social-icons-large a:hover img {
    transform: scale(1.1);
    /* filter: grayscale(0) brightness(1); /* Vuelve a color original si usaste filtros */
}

.contact-text {
    font-size: 0.95rem;
    color: var(--footer-text-light);
}

.contact-text a {
    color: var(--footer-text-light);
    text-decoration: none;
    font-weight: 400;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE DESIGN (Móviles) --- */
@media (max-width: 850px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .footer-col {
        width: 100%;
        text-align: center;
    }

    .brand-col p {
        margin: 0 auto 10px auto;
    }

    .footer-games-grid {
        margin: 0 auto;
    }
}

/* Contenedor principal */
.puck-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-dark, #0a0e17); /* Adaptalo a tu variable de fondo oscuro */
    border-top: 1px solid var(--border-dark, #2a3441);
    margin-top: 40px;
}

.contact-title {
    color: var(--text-secondary, #8892b0);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Botón interactivo */
.neon-email-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg, #131a26);
    border: 2px solid var(--neon-blue, #00f2ff);
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--neon-blue-glow, rgba(0, 242, 255, 0.2));
}

.email-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Efectos al pasar el ratón */
.neon-email-btn:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px var(--neon-blue-glow, rgba(0, 242, 255, 0.6)), 
                inset 0 0 10px rgba(0, 242, 255, 0.2);
    transform: translateY(-3px);
}

.neon-email-btn:hover .email-icon {
    transform: scale(1.2) rotate(-10deg);
}

.neon-email-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px var(--neon-blue-glow, rgba(0, 242, 255, 0.4));
}