/**
 * ESTILOS DE LA PORTADA TEMPORAL — GRUPO INDUSTRIAL FRONTERA
 * Pantalla oficial en desarrollo: Ultra-limpia, elegante y con imagen de fondo oficial.
 */

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

body.temporal-mode {
  min-height: 100vh;
  background-color: #071324;
  background-image: 
    linear-gradient(135deg, rgba(7, 19, 36, 0.86) 0%, rgba(11, 29, 58, 0.80) 50%, rgba(4, 10, 20, 0.92) 100%),
    url('../assets/hero_gif_oficial.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #F8FAFC;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
  position: relative;
}

/* Efecto de luz ambiental sutil */
.temporal-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(198, 146, 20, 0.07) 0%, rgba(11, 29, 58, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Tarjeta Principal con efecto Glassmorphism elegante */
.temporal-container {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 56px 44px;
  background: rgba(7, 19, 36, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: temporalFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Contenedor del Logotipo Oficial */
.temporal-logo-wrapper {
  display: block;
  margin: 0 auto 24px auto;
  text-align: center;
}

.temporal-logo-box {
  background: radial-gradient(circle, #0B2244 0%, #051226 100%);
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 18px 45px -8px rgba(0, 0, 0, 0.7), 0 0 32px rgba(37, 99, 235, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 140px;
  height: 140px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.temporal-logo-box:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 24px 56px -8px rgba(0, 0, 0, 0.8), 0 0 44px rgba(37, 99, 235, 0.55), 0 0 0 2px rgba(212, 175, 55, 0.5);
}

.temporal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Badge de República Dominicana centrado */
.temporal-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.temporal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E0AB31;
}

.temporal-badge-dot {
  width: 7px;
  height: 7px;
  background-color: #E0AB31;
  border-radius: 50%;
  box-shadow: 0 0 8px #E0AB31;
}

/* Nombre de la Empresa */
.temporal-company-name {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Divisor Dorado */
.temporal-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #C69214, #E0AB31);
  margin: 0 auto 24px auto;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(224, 171, 49, 0.5);
}

/* Mensaje Oficial de Desarrollo */
.temporal-heading {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 600;
  color: #F1F5F9;
  line-height: 1.5;
  margin-bottom: 10px;
}

.temporal-submessage {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  color: #CBD5E1;
  line-height: 1.6;
}

/* Pie de la Portada */
.temporal-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

@keyframes temporalFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enlace discreto de acceso interno */
.temporal-dev-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.temporal-dev-link:hover {
  color: #E0AB31;
}

/* Redes Sociales Oficiales en Portada Temporal */
.temporal-social-wrapper {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.temporal-social-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #E0AB31;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  display: block;
}

.temporal-social-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.temporal-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.temporal-social-btn:hover {
  background: rgba(225, 48, 108, 0.12);
  border-color: rgba(225, 48, 108, 0.5);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(225, 48, 108, 0.25);
}

.temporal-social-btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .temporal-container {
    padding: 40px 24px;
    border-radius: 18px;
  }

  .temporal-logo-box {
    padding: 16px 24px;
    max-width: 220px;
  }
}
