/* ==========================================
   1. CONFIGURACIÓN GENERAL Y TRANSICIÓN
   ========================================== */
   @import url('https://googleapis.com');

   :root {
   --card-bg: #1e293b;
   --text-primary: #f8fafc;
   --text-secondary: #94a3b8;
   --accent: #38bdf8; /* Azul Tech moderno */
   --accent-hover: #0ea5e9;
   --text-footer:#F16A10;
   --acent-mini:#3C7ADA;
   }


   body, html {
     margin: 0;
     padding: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
     font-family: 'Poppins', sans-serif;
     color: #ffffff;
     /* Fondo nocturno inicial */
     background: linear-gradient(to bottom, #03030a 0%, #11092c 50%, #1f103a 100%);
     transition: background 1.2s ease-in-out, color 1.2s ease-in-out;
   }
   
   /* --- MODO DÍA --- */
   body.day-mode {
     background: linear-gradient(to bottom, #a1c4fd 0%, #c2e9fb 100%);
     color: #2b2b2b;
   }
   
   /* ==========================================
      2. INTERFAZ TEXTO ERROR 404
      ========================================== */
   .error-container {
     position: absolute;
     top: 12vh;
     left: 8vw;
     max-width: 450px;
     z-index: 20;
     text-shadow: 0 4px 15px rgba(0,0,0,0.6);
     transition: text-shadow 1.2s;
   }
   body.day-mode .error-container {
     text-shadow: 0 2px 5px rgba(255,255,255,0.3);
   }
   
   .error-title {
     font-size: 3.5rem;
     font-weight: 800;
     margin: 0;
     line-height: 1;
     background: linear-gradient(135deg, #ffdd66, #ff7700);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     letter-spacing: -2px;
   }
   body.day-mode .error-title {
     background: linear-gradient(135deg, #ff5500, #ffaa00);
     -webkit-background-clip: text;
   }
   
   .error-subtitle {
     font-size: 2rem;
     font-weight: 600;
     margin: 10px 0 15px 0;
     color: #e0dbec;
     transition: color 1.2s;
   }
   body.day-mode .error-subtitle { color: #1e272c; }
   
   .error-description {
     font-size: 1rem;
     font-weight: 300;
     line-height: 1.6;
     color: #b0a8c3;
     margin-bottom: 30px;
     transition: color 1.2s;
   }
   body.day-mode .error-description { color: #4f5e66; }
   
   .error-button {
     display: inline-block;
     padding: 12px 30px;
     background: linear-gradient(to right, #ff7700, #ffaa00);
     color: #fff;
     text-decoration: none;
     font-weight: 600;
     border-radius: 25px;
     box-shadow: 0 5px 20px rgba(255, 119, 0, 0.4);
     transition: transform 0.2s, box-shadow 0.2s;
   }
   .error-button:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(255, 119, 0, 0.6);
   }
   
   /* ==========================================
      3. CIELO (Estrellas, Cometa y Astro)
      ========================================== */
   .stars {
     position: absolute;
     width: 2px;
     height: 2px;
     background: transparent;
     box-shadow: 
       15vw 15vh #fff, 38vw 8vh #fff, 78vw 12vh #fff, 92vw 6vh #fff,
       25vw 35vh #fff, 58vw 22vh #fff, 68vw 32vh #fff, 88vw 28vh #fff,
       18vw 55vh #fff, 45vw 48vh #fff, 72vw 42vh #fff, 96vw 52vh #fff;
     animation: twinkle 3s ease-in-out infinite alternate;
     transition: opacity 1s;
   }
   body.day-mode .stars { opacity: 0; }
   
   .comet {
     position: absolute;
     top: -50px;
     left: 105%;
     width: 4px;
     height: 4px;
     background: #fff;
     border-radius: 50%;
     box-shadow: 0 0 20px 4px #ffffff, -20px 10px 30px 2px rgba(255,255,255,0.5);
     transform: rotate(-25deg);
     animation: shooting-star 10s linear infinite;
     transition: opacity 1s;
   }
   body.day-mode .comet { opacity: 0; }
   
   @keyframes shooting-star {
     0% { transform: translateX(0) translateY(0) rotate(-25deg); opacity: 0; }
     5% { opacity: 1; }
     15% { transform: translateX(-120vw) translateY(60vh) rotate(-25deg); opacity: 0; }
     100% { transform: translateX(-120vw) translateY(60vh) rotate(-25deg); opacity: 0; }
   }
   
   @keyframes twinkle {
     0% { opacity: 0.3; }
     100% { opacity: 1; }
   }
   
   /* INTERRUPTOR: LUNA -> SOL */
   /* INTERRUPTOR: LUNA -> SOL (Corregido a la derecha) */
/* INTERRUPTOR: LUNA -> SOL */
.celestial-body {
    position: absolute;
    top: 8vh;
    right: 12vw;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 30;
    background: transparent;
    /* El valor positivo '15px' espeja el arco hacia el centro izquierdo */
    box-shadow: 15px 15px 0 0 #fffde6; 
    filter: drop-shadow(0 0 15px rgba(255, 253, 230, 0.5));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 1.2s, background 1.2s, filter 1.2s;
  }
  
  
   .celestial-body:hover {
     transform: scale(1.1) rotate(15deg);
   }
   body.day-mode .celestial-body {
     background: #ffcc00;
     box-shadow: 0 0 40px 10px #ffaa00;
     filter: drop-shadow(0 0 20px rgba(255, 204, 0, 0.6));
   }
   
   /* NUBES DEL DÍA */
   .clouds-container {
     position: absolute;
     width: 100%;
     height: 40vh;
     top: 0;
     left: 0;
     pointer-events: none;
     opacity: 0;
     transition: opacity 1.5s;
   }
   body.day-mode .clouds-container { opacity: 1; }
   
   .cloud {
     position: absolute;
     background: rgba(255, 255, 255, 0.6);
     filter: blur(8px);
     border-radius: 50%;
   }
   .c1 { width: 150px; height: 50px; top: 15vh; left: 40vw; animation: float-cloud 25s linear infinite; }
   .c2 { width: 220px; height: 70px; top: 8vh; left: 70vw; animation: float-cloud 35s linear infinite alternate; }
   .c3 { width: 120px; height: 40px; top: 22vh; left: 15vw; animation: float-cloud 20s linear infinite; }
   
   @keyframes float-cloud {
     0% { transform: translateX(-50px); }
     100% { transform: translateX(100px); }
   }
   
   /* ==========================================
      4. SILUETA DE BOSQUE (Verde de Día)
      ========================================== */
   .forest {
     position: absolute;
     bottom: 24vh;
     width: 100%;
     height: 150px;
     z-index: 5;
   }
   
   .tree {
     position: absolute;
     bottom: 0;
     background: #090518;
     clip-path: polygon(50% 0%, 80% 30%, 65% 30%, 85% 60%, 70% 60%, 90% 90%, 55% 90%, 55% 100%, 45% 100%, 45% 90%, 10% 90%, 30% 60%, 15% 60%, 35% 30%, 20% 30%);
     transition: background 1.2s;
   }
   
   /* Posiciones fijas de los pinos */
   .tree-1 { left: 2vw; width: 60px; height: 110px; z-index: 3; }
   .tree-2 { left: 9vw; width: 80px; height: 140px; opacity: 0.95; z-index: 4; }
   .tree-left-3 { left: 6vw; width: 50px; height: 95px; opacity: 0.75; background: #060312; z-index: 1; }
   .tree-left-4 { left: 15vw; width: 70px; height: 125px; opacity: 0.85; z-index: 2; }
   .tree-left-5 { left: 21vw; width: 85px; height: 150px; z-index: 4; }
   .tree-3 { left: 42vw; width: 90px; height: 160px; background: linear-gradient(to top, #0d0722, #070412); }
   .tree-4 { left: 55vw; width: 75px; height: 130px; }
   .tree-5 { right: 5vw; width: 85px; height: 150px; }
   
   /* Cambios a tonos verdes en Modo Día */
   body.day-mode .tree-1 { background: #2e5c1e; }
   body.day-mode .tree-2 { background: #1e3f13; }
   body.day-mode .tree-left-3 { background: #3b7527; }
   body.day-mode .tree-left-4 { background: #275219; }
   body.day-mode .tree-left-5 { background: #17330e; }
   body.day-mode .tree-3 { background: #132a0b; }
   body.day-mode .tree-4 { background: #224716; }
   body.day-mode .tree-5 { background: #2e5c1e; }
   
   /* ==========================================
      5. SUELO (Césped Verde de Día)
      ========================================== */
   .ground {
     position: absolute;
     bottom: 0;
     width: 100%;
     height: 25vh;
     background: linear-gradient(to bottom, #0a0614, #030206);
     z-index: 10;
     transition: background 1.2s;
   }
   body.day-mode .ground {
     background: linear-gradient(to bottom, #3b7527 0%, #224716 100%);
   }
   
   /* ==========================================
      6. CARAVANA CON AMBIENTACIÓN ADAPTABLE
      ========================================== */
      .caravan-container {
        position: absolute;
        bottom: 19vh; /* 👈 CAMBIA ESTE VALOR (Estaba en 15vh). A mayor número, más sube la caravana */
        left: 62vw;
        width: 260px;
        height: auto;
        z-index: 11;
        display: inline-block;
        background: transparent;
      }
      
   
   .caravan-img {
     width: 100%;
     height: auto;
     display: block;
     background: transparent;
     filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.8)) brightness(0.4) contrast(1.2) hue-rotate(220deg) saturate(0.5);
     transition: filter 1.2s;
   }
   body.day-mode .caravan-img {
     filter: drop-shadow(0 8px 15px rgba(0,0,0,0.2)) brightness(1) contrast(1) hue-rotate(0deg) saturate(1);
   }
   
   .caravan-fire-reflection {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to right, rgba(255, 90, 0, 0.45) 0%, rgba(255, 50, 0, 0.15) 60%, transparent 100%);
     z-index: 12;
     pointer-events: none;
     -webkit-mask-image: url('img/caravan.png');
     mask-image: url('img/caravan.png');
     -webkit-mask-size: cover;
     mask-size: cover;
     mix-blend-mode: color-burn; 
     animation: glow-pulse 0.15s ease-in-out infinite alternate;
     transition: opacity 1s;
   }
   body.day-mode .caravan-fire-reflection { opacity: 0.15; }
   
   /* ==========================================
   7. FOGATA TRIANGULAR, CHISPAS Y HUMO
   ========================================== */
.campfire {
    position: absolute;
    bottom: 22vh; /* Elevada de 12vh a 22vh para no pisarse con el footer */
    left: 52vw;
    width: 60px;
    height: 60px;
    z-index: 12;
  }
  
  
  .logs {
    position: absolute;
    bottom: -2px;
    width: 60px;
    height: 14px;
    background: #2b140b;
    border-radius: 4px;
    transform: rotate(-5deg);
    z-index: 5;
  }
  
  .logs::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 14px;
    background: #1b0c07;
    border-radius: 4px;
    transform: rotate(15deg);
  }
  
  .fire-container {
    position: absolute;
    bottom: 8px;
    left: 12px;
    width: 35px;
    height: 55px;
  }
  
  .flame {
    position: absolute;
    bottom: 0;
    clip-path: polygon(50% 0%, 100% 70%, 80% 100%, 20% 100%, 0% 70%);
    border-radius: 0 0 50% 50%;
    transform-origin: bottom center;
  }
  
  .flame-back { 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to top, #ff2a00 20%, #ff7700 80%); 
    animation: triangle-flicker 0.11s ease-in-out infinite alternate; 
  }
  
  .flame-medium { 
    width: 80%; 
    height: 85%; 
    left: 10%; 
    background: linear-gradient(to top, #ff6600 30%, #ffaa00 90%); 
    animation: triangle-flicker 0.07s ease-in-out infinite alternate-reverse; 
  }
  
  .flame-front { 
    width: 60%; 
    height: 65%; 
    left: 20%; 
    background: linear-gradient(to top, #ffaa00 20%, #ffee55 100%); 
    animation: triangle-flicker 0.14s linear infinite alternate; 
  }
  
  .flame-core { 
    width: 34%; 
    height: 38%; 
    left: 33%; 
    background: linear-gradient(to top, #ffffff, #ffee55); 
    opacity: 0.95; 
  }
  
  @keyframes triangle-flicker {
    0% { transform: scaleX(0.92) scaleY(0.88) skewX(-3deg); }
    50% { transform: scaleX(1.08) scaleY(1.15) skewX(1deg); }
    100% { transform: scaleX(0.96) scaleY(0.93) skewX(4deg); }
  }
  
  .smoke-container { 
    position: absolute; 
    width: 100px; 
    height: 250px; 
    bottom: 40px; 
    left: -20px; 
    overflow: visible; 
    pointer-events: none; 
  }
  
  .smoke { 
    position: absolute; 
    bottom: 0; 
    left: 35px; 
    width: 25px; 
    height: 25px; 
    background: rgba(120, 110, 130, 0.1); 
    border-radius: 50%; 
    filter: blur(12px); 
    opacity: 0; 
    transform-origin: bottom center; 
  }
  
  .cloud-1 { animation: float-smoke 4.5s ease-in-out infinite; animation-delay: 0s; }
  .cloud-2 { animation: float-smoke 4.5s ease-in-out infinite; animation-delay: 1.5s; }
  .cloud-3 { animation: float-smoke 4.5s ease-in-out infinite; animation-delay: 3s; }
  
  @keyframes float-smoke {
    0% { transform: translateY(0) scale(1) translateX(0); opacity: 0; }
    15% { opacity: 0.3; background: rgba(140, 125, 150, 0.15); }
    50% { transform: translateY(-90px) scale(2.2) translateX(-15px); opacity: 0.2; }
    100% { transform: translateY(-220px) scale(4) translateX(25px); opacity: 0; }
  }
  
  .sparks { 
    position: absolute; 
    width: 100%; 
    height: 150px; 
    bottom: 20px; 
    left: 0; 
    overflow: visible; 
    pointer-events: none; 
    transition: opacity 1s; 
  }
  
  body.day-mode .sparks { opacity: 0.3; }
  
  .spark { 
    position: absolute; 
    width: 3px; 
    height: 3px; 
    background: #ffdd44; 
    border-radius: 50%; 
    bottom: 0; 
    opacity: 0; 
    box-shadow: 0 0 5px #ff5500; 
  }
  
  .s1 { left: 25%; animation: rise 2.2s linear infinite; animation-delay: 0s; }
  .s2 { left: 45%; animation: rise 1.8s linear infinite; animation-delay: 0.5s; }
  .s3 { left: 60%; animation: rise 2.5s linear infinite; animation-delay: 1.1s; }
  .s4 { left: 70%; animation: rise 1.9s linear infinite; animation-delay: 1.6s; }
  
  @keyframes rise {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 1; }
    50% { transform: translateY(-70px) translateX(-10px) scale(1.3); opacity: 0.9; }
    100% { transform: translateY(-150px) translateX(6px) scale(0.4); opacity: 0; }
  }
  
  .fire-glow {
    position: absolute;
    bottom: 20vh; /* Elevado de 10vh a 20vh en sincronía con la fogata */
    left: 48vw;
    width: 130px;
    height: 30px;
    background: rgba(255, 55, 0, 0.25);
    border-radius: 50%;
    filter: blur(14px);
    z-index: 9;
    animation: glow-pulse 0.15s ease-in-out infinite alternate;
    transition: opacity 1.2s;
  }
  
  
  @keyframes glow-pulse { 
    0% { opacity: 0.75; transform: scale(0.94); } 
    100% { opacity: 1; transform: scale(1.06); } 
  }
  
  body.day-mode .fire-glow { opacity: 0.1; }
  
  /* ==========================================
     8. ADAPTABILIDAD RESPONSIVE (Móviles)
     ========================================== */
  @media (max-width: 900px) {
    .error-container { left: 5vw; max-width: 380px; }
    .error-title { font-size: 6rem; }
    .caravan-container { left: 55vw; }
    .campfire { left: 45vw; }
    .fire-glow { left: 41vw; }
  }
  
  @media (max-width: 600px) {
    .error-container { 
      top: 5vh; 
      left: 5vw; 
      right: 5vw; 
      max-width: 90vw; 
      text-align: center; 
    }
    .error-title { font-size: 4.5rem; }
    .error-subtitle { font-size: 1.5rem; margin: 5px 0 10px 0; }
    .error-description { font-size: 0.9rem; margin-bottom: 20px; }
  
    .celestial-body { 
        top: 3vh; 
        right: 8vw; 
        width: 45px; 
        height: 45px; 
        /* Espejado también en teléfonos táctiles */
        box-shadow: 10px 10px 0 0 #fffde6; 
      }
    
  
    .forest { height: 100px; bottom: 22vh; }
    .tree-2 { left: 25vw; height: 90px; width: 50px; }
    .tree-left-3, .tree-left-5 { display: none; } 
    .tree-4 { left: 45vw; height: 80px; width: 45px; }
  
    .caravan-container {
        left: 45vw;
        bottom: 19vh; /* 👈 Elévalo también aquí para pantallas móviles */
        width: 160px;
      }
    
    .campfire { 
        left: 20vw; 
        bottom: 21vh; /* Elevada también en celulares */
        transform: scale(0.8); 
      }
      .fire-glow { 
        left: 15vw; 
        bottom: 19vh; /* Elevado también en celulares */
        width: 90px; 
      }
    

  }
  

  /* ==========================================
   9 NUEVO: CONTENEDOR DEL LOGO DE LA RADIO
   ========================================== */
   /* ==========================================
   CONTENEDOR DE MARCA: RADIO MANOUCHE
   ========================================== */
.radio-brand-container {
    position: absolute;
    top: 6vh;
    left: 50%;
    transform: translateX(-50%); /* Centrado horizontal perfecto */
    z-index: 25;
    background: rgba(3, 3, 10, 0.4); /* Fondo oscuro translúcido protector */
    backdrop-filter: blur(4px); /* Suaviza las estrellas que pasan por detrás */
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Organiza logo y textos en vertical */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 200px;
    
    /* MARCO NOCTURNO: Naranja */
    border: 3px solid #F16A10;
    box-shadow: 0 0 20px rgba(241, 106, 16, 0.25);
    
    transition: border-color 1.2s, box-shadow 1.2s, background-color 1.2s;
  }
  
  /* Control del tamaño del logo */
  .radio-logo-img {
    max-width: 110px; /* Tamaño equilibrado para dar espacio a los textos */
    height: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 8px; /* Separación con el H1 */
  }
  
  /* Estilos de los Textos de la Radio */
  .radio-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color:  #ffaa00; /* Blanco nítido de noche */
    letter-spacing: 0.5px;
    transition: color 1.2s;
  }
  
  .radio-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    margin: 2px 0 0 0;
    color: #ffaa00; /* Dorado gitano de noche */
    font-style: italic;
    letter-spacing: 1px;
    transition: color 1.2s;
  }
  
  /* --- ADAPTACIÓN A MODO DÍA --- */
  body.day-mode .radio-brand-container {
    /* MARCO DIURNO: Azul */
    border: 3px solid #0ea5e9;;
    box-shadow: 0 6px 20px rgba(60, 122, 218, 0.15);
    background-color: rgba(255, 255, 255, 0.65); /* Se aclara para contrastar con el cielo celeste */
  }
  
  body.day-mode .radio-main-title {
    color: #11092c; /* Oscuro de día para que se lea perfectamente */
  }
  
  body.day-mode .radio-subtitle {
    color: #2b59a2; /* Azul profundo de día armónico con el marco */
  }
  
  /* ==========================================
     AJUSTE RESPONSIVE DE MARCA (Al final del archivo)
     ========================================== */
  @media (max-width: 600px) {
    .radio-brand-container {
      top: 34vh; /* Se ubica en el centro vertical de la pantalla en celulares */
      left: 50%;
      transform: translateX(-50%);
      padding: 10px 16px;
      border-width: 2px;
      width: 75vw; /* Ocupa el ancho cómodo del teléfono */
    }
    .radio-logo-img {
      max-width: 75px; /* Más compacto en pantallas chicas */
      margin-bottom: 4px;
    }
    .radio-main-title {
      font-size: 1.1rem;
    }
    .radio-subtitle {
      font-size: 0.8rem;
    }
  }



/*********** FOOTER 404 INDEPENDIENTE (DÍA/NOCHE) *************************/
/* ==========================================================================
   COMPONENTE: FOOTER AVANZADO (INTEGRADO NATIVAMENTE EN EL STYLE.CSS)
   ========================================================================== */
   .main-footer {
    position: absolute;   
    bottom: 0;            
    left: 50%;            
    transform: translateX(-50%); 
    width: 100%;
    max-width: 840px;     
    padding: 1.5rem 20px;
    margin-top: 5rem;
    border-top: 1px solid var(--card-bg); /* Línea divisoria usando el fondo de tus tarjetas */ 
    z-index: 50;          
    display: flex;
    flex-direction: column; 
    gap: 20px;
    box-sizing: border-box;

    /* FONDO DE NOCHE (Modifica el rgba si quieres más o menos oscuridad) */
    background: linear-gradient(to top, rgba(3, 3, 10, 0.8) 40%, rgba(3, 3, 10, 0) 100%);
    
    /* LÍNEA DIVISORIA DE NOCHE */
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
    
    transition: background 1.2s ease-in-out, border-color 1.2s ease-in-out;
}

/* Fila Superior: Contenedor de Redes Sociales */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Botones Flotantes de Redes Sociales */
.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    background: transparent;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    
    /* 🎨 COLOR BOTONES REDES (NOCHE) */
    color: #b0a8c3; 
}

/* Hover Redes en la Noche: Tu Naranja Corporativo */
.social-btn:hover {
    color: #F16A10;
    border-color: #F16A10;
    background-color: rgba(241, 106, 16, 0.05); 
    transform: translateY(-2px); 
}

/* Fila Inferior: Contenedor de los dos bloques informativos */
.footer-content-row {
    display: flex;
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center;
    width: 100%;
}

.footer-branding, .footer-engineering {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-engineering { align-items: flex-end; gap: 6px; }

/* 🎨 COLORES DE TEXTO GENERALES (NOCHE) */
.copyright, .tagline, .dev-by {
    color: var(--text-footer);
    /*color: #8a829e;  Puedes cambiar este gris por el que quieras */
}

/* 🎨 COLOR DE ENLACES DESTACADOS (NOCHE) */
.highlight-domain, .main-footer a.highlight-dev {
    color: var(--acent-mini);/* Dorado Manouche nocturno */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 170, 0, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.main-footer a.highlight-dev:hover {
    color: var(--accent);
    border-bottom-style: solid;
    border-color: var(--accent);
}

/* Contenedor de micro-etiquetas de infraestructura */
.footer-stack-badges { display: flex; gap: 6px; }

.badge-mini {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 1.2s, color 1.2s, border-color 1.2s;
    
    /* 🎨 COLORES BADGES DE STREAMING (NOCHE) */
    color: #b0a8c3;
    background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   🎨 MODO DÍA: AQUÍ CONTROLAS EL RECTÁNGULO Y LOS COLORES DEL SOL
   ========================================================================== */
body.day-mode .main-footer {
    /* ¡SOLUCIÓN MAESTRA!: Fondo transparente para que se vea el césped verde continuo */
     background: transparent; 
    

    /* LÍNEA DIVISORIA DE DÍA (Gris muy suave para que no ensucie) */
    /*border-top-color: rgba(0, 0, 0, 0.08); */
    border-top: 1px solid var(--card-bg); /* Línea divisoria usando el fondo de tus tarjetas */
}

/* 🎨 COLOR BOTONES REDES (DÍA) */
body.day-mode .social-btn {
    color: #1e3f13; /* Verde pino oscuro para contrastar con el césped claro */
    border-color: rgba(30, 63, 19, 0.25);
}

/* Hover Redes en el Día: Tu Azul de Día */
body.day-mode .social-btn:hover {
    color: #3C7ADA;
    border-color: #3C7ADA;
    background-color: rgba(60, 122, 218, 0.08);
}

/* 🎨 COLORES DE TEXTO GENERALES (DÍA) */
body.day-mode .copyright,
body.day-mode .tagline,
body.day-mode .dev-by {
    color: #1a330e; /* Un tono oscuro orgánico para lectura perfecta sobre el verde */
}

/* 🎨 COLOR DE ENLACES DESTACADOS (DÍA) */
body.day-mode .highlight-domain,
body.day-mode .main-footer a.highlight-dev {
    color: #2b59a2; /* Tu azul corporativo diurno */
    border-bottom-color: rgba(43, 89, 162, 0.4);
}

body.day-mode .main-footer a.highlight-dev:hover {
    color: #3C7ADA;
    border-color: #3C7ADA;
}

/* 🎨 COLORES BADGES DE STREAMING (DÍA) */
body.day-mode .badge-mini {
    color: #1e3f13;
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(30, 63, 19, 0.15);
}

/* --- RESPONSIVIDAD MÓVIL --- */
@media (max-width: 768px) {
    .main-footer { gap: 24px; max-width: 90%; }
    .footer-content-row { flex-direction: column; gap: 20px; }
    .footer-branding, .footer-engineering { align-items: center; text-align: center; }
    .footer-stack-badges { justify-content: center; }
}

 
/* 🌲 FONDO VERDE TRANSLÚCIDO: Se fusiona perfectamente con el césped */
body.day-mode .main-footer {
    background: linear-gradient(
      to top, 
      rgba(34, 71, 22, 0.85) 0%,    /* Verde oscuro orgánico al 85% abajo */
      rgba(59, 117, 39, 0.3) 100%   /* Verde césped al 30% arriba en la línea */
    );
    
    /* El efecto cristal suaviza la transición de los colores */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    /* Línea divisoria de día (Verde pino sutil) */
    border-top: 1px solid rgba(19, 42, 11, 0.25); 
}



body.day-mode .social-btn {
    color: #4f5e66;
    border-color: rgba(0, 0, 0, 0.2);
}

/* El Hover de las redes cambia a tu Azul de Día al presionar el sol */
body.day-mode .social-btn:hover {
    color: #3C7ADA;
    border-color: #3C7ADA;
    background-color: rgba(60, 122, 218, 0.05);
}

body.day-mode .copyright,
body.day-mode .tagline,
body.day-mode .dev-by {
    color: #4f5e66; /* Oscurece textos de día para que sean legibles */
}

body.day-mode .highlight-domain,
body.day-mode .main-footer a.highlight-dev {
    color: #2b59a2; /* Enlaces azules corporativos diurnos */
}

body.day-mode .main-footer a.highlight-dev:hover {
    color: #3C7ADA;
    border-color: #3C7ADA;
}

body.day-mode .badge-mini {
    color: #4f5e66;
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* --- RESPONSIVIDAD: COMPORTAMIENTO IDENTICO EN CELULARES --- */
@media (max-width: 768px) {
    .main-footer {
        gap: 24px;
        max-width: 90%; /* Evita que toque los bordes del teléfono */
    }
    
    .footer-content-row {
        flex-direction: column; /* Apilado vertical prolijo en móviles */
        gap: 20px;
    }
    
    .footer-branding, 
    .footer-engineering {
        align-items: center;
        text-align: center;
    }

    .footer-stack-badges {
        justify-content: center;
    }
}


/* ==========================================================================
   MUTACIÓN EN MODO DÍA (INTEGRACIÓN CON TU INTERRUPTOR SOL)
   ========================================================================== */
body.day-mode .main-footer {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.7) 100%);
    
    border-top-color: rgba(0, 0, 0, 0.05);
}

body.day-mode .social-btn {
    color: #4f5e66;
    border-color: rgba(0, 0, 0, 0.2);
}

/* Hover pasa a Azul de Día al tocar el Sol */
body.day-mode .social-btn:hover {
    color: #3C7ADA; /* Tu azul de día */
    border-color: #3C7ADA;
    background-color: rgba(60, 122, 218, 0.05);
}

body.day-mode .copyright,
body.day-mode .tagline,
body.day-mode .dev-by {
    color: #4f5e66; /* Textos legibles sobre fondo claro */
}

body.day-mode .highlight-domain,
body.day-mode .main-footer a.highlight-dev {
    color: #2b59a2; /* Enlaces azules de día */
}

body.day-mode .main-footer a.highlight-dev:hover {
    color: #3C7ADA;
    border-color: #3C7ADA;
}

body.day-mode .badge-mini {
    color: #4f5e66;
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* --- RESPONSIVIDAD: COMPORTAMIENTO EN NAVEGADORES MÓVILES --- */
@media (max-width: 768px) {
    .main-footer {
        gap: 15px;
        padding: 1rem 4vw;
    }
    
    .footer-content-row {
        flex-direction: column; 
        gap: 12px;
    }
    
    .footer-branding, 
    .footer-engineering {
        align-items: center;
        text-align: center;
    }

    .footer-stack-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}
