/* ============================================
   ROYAL HISTORY — HOME
   Estilos específicos de la página de inicio
   ============================================ */

/* ─── SPLASH / INTRO ─────────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash-logo {
  width: min(260px, 60vw);
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.35));
  opacity: 0;
  animation: splash-fade-in 1.2s ease forwards;
}

@keyframes splash-fade-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

#splash-tagline {
  margin-top: 1.5rem;
  font-family: var(--font-tagline);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--gold);
  width: 0;
  animation: typewriter 2s steps(30, end) 1s forwards,
             blink-cursor 0.75s step-end infinite;
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink-cursor {
  from, to { border-color: transparent; }
  50%      { border-color: var(--gold); }
}

/* ─── NAVBAR + MENÚ SÁNDWICH ────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform var(--transition-medium);
}

#navbar.visible { transform: translateY(0); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 42px;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.nav-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: cover;
}

.nav-user span {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* Botón hamburguesa */
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Panel del menú desplegable, efecto vidrio */
#menu-panel {
  position: fixed;
  top: 76px;
  right: 2rem;
  width: 280px;
  border-radius: 14px;
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 999;
}

#menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#menu-panel ul {
  list-style: none;
  padding: 0.5rem;
}

#menu-panel li a {
  display: block;
  padding: 0.85rem 1rem;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

#menu-panel li a:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  padding-left: 1.3rem;
}

#menu-panel .menu-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.4rem 0.5rem;
  opacity: 0.3;
}

/* ─── HERO PARTIDO ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-fondo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-fondo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10,10,10,0.97) 0%,
    rgba(10,10,10,0.85) 42%,
    rgba(10,10,10,0.4) 62%,
    rgba(10,10,10,0) 75%
  );
  z-index: 1;
}

.hero-izquierda {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 700px;
  padding: 8rem 3rem 4rem;
}

/* Video como fondo, sin marco, fundido con el lado izquierdo */
.hero-video-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%);
  mask-image: linear-gradient(90deg, transparent 0%, black 22%);
}

.hero-video-bg video,
.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-label {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  max-width: 200px;
  text-align: right;
}

.hero-eyebrow {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
}

.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--gold-dark);
  color: transparent;
}

.hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--grey);
  max-width: 420px;
  margin-top: 1.25rem;
  line-height: 1.7;
}

/* Línea fina dorada decorativa */
.gold-divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  margin: 1.5rem 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Flecha de scroll */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 30px;
  height: 30px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
  animation: bounce-arrow 1.8s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { margin-top: 0; opacity: 0.5; }
  50%      { margin-top: 10px; opacity: 1; }
}

/* ─── RELOJ MUNDIAL ESTILO AEROPUERTO ───────────────────── */
#reloj-mundial {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.reloj-titulo {
  text-align: center;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.reloj-tablero {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.pais-item {
  background: var(--black-card);
  padding: 1rem 0.75rem;
  text-align: center;
  transition: background var(--transition-fast);
}

.pais-item.activo {
  background: rgba(201, 168, 76, 0.12);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 20px rgba(201, 168, 76, 0.25);
}

.pais-bandera { font-size: 1.4rem; margin-bottom: 0.4rem; }

.pais-nombre {
  font-family: var(--font-tech);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.pais-item.activo .pais-nombre { color: var(--gold); }

.pais-hora {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  color: var(--white);
  margin-top: 0.35rem;
}

.pais-item.activo .pais-hora { color: var(--gold-light); }

.pais-diferencia {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--grey);
  margin-top: 0.2rem;
}

/* ─── JERARQUÍA ──────────────────────────────────────────── */
#jerarquia { padding: 6rem 2rem; text-align: center; }

.lider-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.lider-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.35);
}

.lider-nombre {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  color: var(--white);
}

.lider-rango {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 0.3rem;
}

.sublideres-fila {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.sublider-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-dark);
}

.sublider-nombre {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--white);
  margin-top: 0.6rem;
}

/* ─── RANKING PREVIEW / LOGROS / EVENTO DESTACADO ───────── */
.mini-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.mini-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  #hero { grid-template-columns: 1fr; }
  .hero-derecha { padding-top: 0; }
  .hero-izquierda { padding-top: 7rem; text-align: center; align-items: center; }
}


/* ============================================
   FIN DE ESTILOS ESPECÍFICOS DE LA PÁGINA DE INICIO
   ============================================ */

/* ─── NAVBAR EN PÍLDORAS (nuevo estilo) ──────────────────── */
#navbar-pills {
  position: fixed;
  top: 1.25rem;
  left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
  pointer-events: none;
}

#navbar-pills.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pill {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  display: flex;
  align-items: center;
}

.pill-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Píldora del logo */
.pill-logo {
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.pill-logo img {
  height: 34px;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.4));
}

/* Píldora del menú central */
.pill-menu {
  padding: 0.3rem;
  gap: 0.2rem;
  position: relative;
}

.pill-menu a {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.pill-menu a:hover,
.pill-menu a.active {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}

/* Botón "MÁS" con desplegable */
.pill-mas-wrapper { position: relative; }

.pill-mas-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.97);
  min-width: 220px;
  border-radius: 14px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.pill-mas-wrapper:hover .pill-mas-panel,
.pill-mas-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.pill-mas-panel a {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
}

.pill-mas-panel a:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}

.pill-mas-panel .mas-tag {
  font-size: 0.5rem;
  color: var(--gold-dark);
  margin-left: 0.4rem;
}

/* ── Nav active ─────────────────────────────── */
.pill-menu a.nav-active {
    color: var(--gold) !important;
    background: rgba(201, 168, 76, 0.12);
    border-radius: 100px;
    padding: 0.3rem 0.85rem;
    position: relative;
}

.pill-menu a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(201, 168, 76, 0.8);
}

/* Píldora derecha: perfil / login */
.pill-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pill-profile {
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  gap: 0.6rem;
  cursor: pointer;
  position: relative;
}

.pill-profile img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: cover;
}

.pill-profile span {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* Panel desplegable del perfil */
.profile-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 250px;
  border-radius: 14px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.profile-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.profile-panel-header img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: cover;
}

.profile-panel-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--white);
}

.profile-panel-role {
  font-family: var(--font-tech);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-top: 0.15rem;
}

.profile-panel-medallas {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.medalla-slot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(201, 168, 76, 0.25);
}

.profile-panel ul {
  list-style: none;
  margin-top: 0.85rem;
}

.profile-panel li a {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 0.4rem;
  border-radius: 6px;
}

.profile-panel li a:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
}

/* Píldora del botón hamburguesa (se queda igual, solo redondeamos el contenedor) */
.pill-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  justify-content: center;
  cursor: pointer;
}

/* ─── RESPONSIVE navbar píldoras ──────────────────────────── */
@media (max-width: 960px) {
  .pill-menu { display: none; } /* en móvil el menú central se oculta, todo vive en el sándwich */
}

/* ─── WIDGET RELOJ FLOTANTE ──────────────────────────────── */
#reloj-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

#reloj-widget.visible {
  opacity: 1;
  transform: translateY(0);
}

.reloj-widget-liston {
  display: flex;
  align-items: center;
  gap: 0.5px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  overflow: hidden;
  max-width: 100px;
  transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reloj-widget-liston.open {
  max-width: 1000px;
}

.reloj-widget-pais {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
  border-right: 1px solid rgba(201, 168, 76, 0.1);
}

.reloj-widget-pais:last-child { border-right: none; }

.reloj-widget-pais .bandera { font-size: 1.10rem; }

.reloj-widget-pais .hora {
  font-family: var(--font-tech);
  font-size: 0.80rem;
  color: var(--white);
}

.reloj-widget-pais.principal .hora { color: var(--gold); }

.reloj-widget-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold);
  font-family: var(--font-tech);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.reloj-widget-toggle:hover { transform: scale(1.08); }
.reloj-widget-toggle.rotated { transform: rotate(180deg); }

@media (max-width: 600px) {
  #reloj-widget { bottom: 1rem; right: 1rem; }
  .reloj-widget-liston.open { max-width: 260px; overflow-x: auto; }
}


/* ─── SPLASH ANIMADO (logo trazado) ──────────────────────── */
#splash .stage {
  position: relative;
  width: min(70vw, 480px);
  height: min(70vw, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#splash .aura {
  position: absolute;
  width: 145%;
  height: 145%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,175,80,0.45) 0%, rgba(214,175,80,0.14) 35%, rgba(0,0,0,0) 70%);
  filter: blur(16px);
  opacity: 0;
  animation: auraPulse 4.2s ease-in-out infinite;
  animation-play-state: paused;
}
#splash .aura.active { animation-play-state: running; }
@keyframes auraPulse {
  0%,100% { opacity: 0.25; transform: scale(0.95); }
  50%     { opacity: 0.8;  transform: scale(1.1); }
}

#splash svg.logo-svg { position: relative; width: 100%; height: 100%; overflow: visible; }

#splash #logo-path {
  fill: none;
  stroke: url(#goldGradient);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(214,175,80,0.8)) drop-shadow(0 0 14px rgba(180,130,30,0.5));
}
#splash #logo-path.drawing { animation: splashDraw var(--draw-ms) linear forwards; }
@keyframes splashDraw { to { stroke-dashoffset: 0; } }

#splash #logo-path.ignite {
  animation: splashIgniteFlash 1.1s ease-out forwards, splashGlowPulse 2.6s ease-in-out 1.1s infinite;
}
@keyframes splashIgniteFlash {
  0%   { stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(214,175,80,0.8)) drop-shadow(0 0 14px rgba(180,130,30,0.5)); }
  35%  { stroke-width: 3.8; filter: drop-shadow(0 0 20px rgba(255,235,160,1)) drop-shadow(0 0 44px rgba(255,205,90,0.95)); }
  100% { stroke-width: 2.3; filter: drop-shadow(0 0 12px rgba(214,175,80,0.95)) drop-shadow(0 0 30px rgba(180,130,30,0.65)); }
}
@keyframes splashGlowPulse {
  0%,100% { filter: drop-shadow(0 0 10px rgba(214,175,80,0.8)) drop-shadow(0 0 26px rgba(180,130,30,0.5)); }
  50%     { filter: drop-shadow(0 0 20px rgba(255,230,150,1)) drop-shadow(0 0 50px rgba(214,175,80,0.9)); }
}

#splash .piece {
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(214,175,80,0.9)) drop-shadow(0 0 28px rgba(180,130,30,0.6));
}
#splash .piece.show { animation: splashPieceIn 0.9s ease-out forwards; }
@keyframes splashPieceIn { to { opacity: 1; } }

#splash .sparkle {
  position: absolute; width: 7px; height: 7px;
  background: #fff6d8; border-radius: 50%; opacity: 0;
  box-shadow: 0 0 18px 5px rgba(255,245,190,1);
}
#splash .sparkle.active { animation: splashSparkle 1.6s ease-in-out infinite; }
@keyframes splashSparkle {
  0%,100% { opacity: 0; transform: scale(0.3); }
  50%     { opacity: 1; transform: scale(1.7); }
}
#splash .s1 { top: 12%;  left: 50%; } #splash .s2 { top: 46%;  left: 18%; }
#splash .s3 { top: 46%;  left: 82%; } #splash .s4 { top: 80%;  left: 50%; }
#splash .s5 { top: 28%;  left: 68%; } #splash .s6 { top: 28%;  left: 32%; }
#splash .s7 { top: 60%;  left: 62%; } #splash .s8 { top: 60%;  left: 38%; }

#splash .hint {
  position: absolute; bottom: -34px; left: 0; right: 0; text-align: center;
  color: rgba(214,175,80,0.55); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0; transition: opacity 1s ease;
  font-family: var(--font-tagline);
}
#splash .hint.show { opacity: 1; }

#splash .loading-text {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-tagline);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: rgba(214, 175, 80, 0.5);
  text-transform: uppercase;
  opacity: 0;
  animation: loadingPulse 1.4s ease-in-out infinite;
  transition: opacity 1.5s ease;
}

#splash .loading-text.show { opacity: 1; }
#splash .loading-text.fade-out { opacity: 0 !important; animation: none; }

@keyframes loadingPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.9; }
}

#splash .loading-bar-track {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background: rgba(214, 175, 80, 0.15);
  opacity: 0;
  transition: opacity 1.5s ease;
}

#splash .loading-bar-track.show { opacity: 1; }
#splash .loading-bar-track.fade-out { opacity: 0 !important; }

#splash .loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 8px rgba(214, 175, 80, 0.6);
  transition: width linear;
}