:root {
  --negro:      #000000;
  --oro:        #d4af37;
  --oro-claro:  #f3d789;
  --oro-oscuro: #8f6b1a;
  --blanco:     #ffffff;
  --gris:       #b9b9b9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--oro); color: #000; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at 50% 25%, #141414 0%, var(--negro) 70%);
  color: var(--blanco);
  text-align: center;
  padding: 2rem 1.25rem 5.5rem;
  overflow-x: hidden;
}

.contenedor { display: flex; flex-direction: column; align-items: center; }

/* ---------- LOGO ---------- */
.logo {
  width: min(320px, 72vw);
  filter: drop-shadow(0 0 28px rgba(212, 175, 55, .25));
  animation: aparecer .9s ease both,
             flotar 6s ease-in-out 1.2s infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ---------- TEXTOS ---------- */
.titulo {
  margin-top: 2.6rem;
  font-size: clamp(1.4rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  animation: aparecer .9s ease .2s both;
}

.titulo .oro {
  background: linear-gradient(90deg, var(--oro-oscuro), var(--oro-claro), var(--oro));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitulo {
  margin-top: 1.1rem;
  color: var(--gris);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .05em;
  animation: aparecer .9s ease .35s both;
}

.subtitulo strong { color: var(--oro); font-weight: 600; }

/* ---------- BARRA DE CARGA ---------- */
.barra-carga {
  margin: 2.2rem auto 2.4rem;
  width: min(260px, 60vw);
  height: 3px;
  background: rgba(255, 255, 255, .08);
  border-radius: 99px;
  overflow: hidden;
  animation: aparecer .9s ease .5s both;
}

.barra-carga span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--oro), var(--oro-claro));
  animation: cargar 2.2s ease-in-out infinite;
}

@keyframes cargar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- BOTÓN ---------- */
.boton {
  display: inline-block;
  padding: .95rem 2.6rem;
  border: 1px solid var(--oro);
  border-radius: 99px;
  background: transparent;
  color: var(--oro);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .35s ease;
  animation: aparecer .9s ease .65s both;
}

.boton:hover {
  background: linear-gradient(90deg, var(--oro-oscuro), var(--oro), var(--oro-claro));
  color: #000;
  box-shadow: 0 0 30px rgba(212, 175, 55, .4);
  transform: translateY(-2px);
}

/* ---------- PIE ---------- */
.pie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7c7c7c;
}

/* ---------- PARTÍCULAS DORADAS ---------- */
.particulas span {
  position: fixed;
  bottom: -10px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 8px rgba(212, 175, 55, .8);
  opacity: 0;
  animation: subir linear infinite;
}

.particulas span:nth-child(1) { left: 8%;  width: 4px; height: 4px; animation-duration: 10s; animation-delay: 0s; }
.particulas span:nth-child(2) { left: 25%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 2s; }
.particulas span:nth-child(3) { left: 45%; width: 3px; height: 3px; animation-duration: 9s;  animation-delay: 4s; }
.particulas span:nth-child(4) { left: 65%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: 1s; }
.particulas span:nth-child(5) { left: 80%; width: 4px; height: 4px; animation-duration: 13s; animation-delay: 3s; }
.particulas span:nth-child(6) { left: 92%; width: 6px; height: 6px; animation-duration: 10s; animation-delay: 5s; }

@keyframes subir {
  0%   { transform: translateY(0);      opacity: 0; }
  10%  { opacity: .5; }
  90%  { opacity: .15; }
  100% { transform: translateY(-105vh); opacity: 0; }
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE / ACCESIBILIDAD ---------- */
@media (max-width: 480px) {
  .titulo { letter-spacing: .18em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}