* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
}

/* Capas */
.background {
  position: fixed;
  inset: 0;
  background: url("img/FondoMinero.jpg") center/cover no-repeat;
  z-index: -4;
}

.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,.55), rgba(0,0,0,.9));
  z-index: -3;
}

#scene-container {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* UI */
.ui {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.logo {
  width: 180px;
  background: #fff;
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 25px 60px rgba(0,0,0,.9);
}

/* Título dorado metálico */
.title-gold {
  margin-top: 1.4rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;

  background: linear-gradient(
    120deg,
    #7a5c1d,
    #d4af37,
    #f5e08e,
    #d4af37,
    #7a5c1d
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 2px 6px rgba(0,0,0,0.8),
    0 0 25px rgba(212,175,55,0.35);

  animation: goldShine 6s ease-in-out infinite;
}

@keyframes goldShine {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Slogan */
.slogan-orbit {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #22d3ee;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #22d3ee; }
  to   { text-shadow: 0 0 30px #67e8f9; }
}

p {
  margin-top: 1.2rem;
  max-width: 900px;
  color: #d1d5db;
}

nav {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  padding: 0.8rem 1.4rem;
  background: linear-gradient(145deg, #22d3ee, #06b6d4);
  color: #000;
  font-weight: 800;
  border-radius: 14px;
  text-decoration: none;
  transition: all .3s ease;
}

nav a:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(34,211,238,.5);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  text-align: center;
  z-index: 3;
}

.certs {
  color: #22d3ee;
  font-weight: 600;
}

.copy {
  color: #aaa;
  margin-top: 0.2rem;
}
