/* ═══════════════════════════════════════════════════════════════
   OTILIA PELÁEZ — ANIMACIONES PREMIUM v2
   Canvas particles · 3D tilt · HUD · Parallax · Shimmer
═══════════════════════════════════════════════════════════════ */

/* ── KEYFRAMES PREMIUM ─────────────────────────────────────── */
@keyframes ap-floatUp    { 0%{transform:translateY(0)}  50%{transform:translateY(-14px)} 100%{transform:translateY(0)} }
@keyframes ap-orbitRing  { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes ap-orbitRingR { from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }
@keyframes ap-goldPulse  { 0%,100%{box-shadow:0 0 0 0 rgba(212,175,55,.6)} 60%{box-shadow:0 0 0 22px rgba(212,175,55,0)} }
@keyframes ap-scanLine   { 0%{top:-10%} 100%{top:110%} }
@keyframes ap-shimmerFlow{ 0%{background-position:-200% center} 100%{background-position:200% center} }
@keyframes ap-glitch1    { 0%,100%{clip-path:inset(0 0 98% 0)} 25%{clip-path:inset(15% 0 60% 0)} 50%{clip-path:inset(50% 0 30% 0)} 75%{clip-path:inset(80% 0 5% 0)} }
@keyframes ap-glitch2    { 0%,100%{clip-path:inset(0 0 98% 0);transform:translateX(0)} 25%{clip-path:inset(20% 0 55% 0);transform:translateX(-4px)} 50%{clip-path:inset(55% 0 25% 0);transform:translateX(4px)} 75%{clip-path:inset(85% 0 2% 0);transform:translateX(-2px)} }
@keyframes ap-fadeInUp   { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
@keyframes ap-fadeInLeft { from{opacity:0;transform:translateX(-50px)} to{opacity:1;transform:translateX(0)} }
@keyframes ap-fadeInRight{ from{opacity:0;transform:translateX(50px)} to{opacity:1;transform:translateX(0)} }
@keyframes ap-zoomIn     { from{opacity:0;transform:scale(.8)} to{opacity:1;transform:scale(1)} }
@keyframes ap-flipIn     { from{opacity:0;transform:perspective(600px) rotateY(-30deg)} to{opacity:1;transform:perspective(600px) rotateY(0)} }
@keyframes ap-borderSpin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes ap-logoGlow   { 0%,100%{filter:drop-shadow(0 0 8px rgba(212,175,55,.5))} 50%{filter:drop-shadow(0 0 24px rgba(212,175,55,.95)) drop-shadow(0 0 48px rgba(212,175,55,.4))} }
@keyframes ap-countUp    { from{opacity:0;transform:translateY(20px) scale(.7)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes ap-hudBlink   { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes ap-waveText   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes ap-particleFade{ 0%{opacity:0;transform:scale(0)} 20%{opacity:1} 80%{opacity:1} 100%{opacity:0;transform:scale(1.5) translateY(-30px)} }
@keyframes ap-typewrite  { from{width:0} to{width:100%} }
@keyframes ap-blink      { 0%,100%{border-color:transparent} 50%{border-color:var(--gold)} }
@keyframes ap-slideCard  { from{opacity:0;transform:translateY(30px) scale(.96)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes ap-haloRing   { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.8);opacity:0} }
@keyframes ap-navGold    { from{width:0;left:50%} to{width:100%;left:0} }
@keyframes ap-imgReveal  { from{clip-path:inset(0 100% 0 0)} to{clip-path:inset(0 0% 0 0)} }
@keyframes ap-cloudDrift { 0%{transform:translateX(0)} 100%{transform:translateX(12px)} }

/* ── CANVAS HERO ────────────────────────────────────────────── */
#ap-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
}

/* ── SCAN LINE EFFECT ───────────────────────────────────────── */
#ap-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.15) 30%, rgba(212,175,55,.35) 50%, rgba(212,175,55,.15) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  animation: ap-scanLine 5s linear infinite;
  box-shadow: 0 0 12px rgba(212,175,55,.3);
}

/* ── HUD CORNERS en secciones ───────────────────────────────── */
.ap-hud-section {
  position: relative;
}
.ap-hud-section::before,
.ap-hud-section::after,
.ap-hud-tl,
.ap-hud-br {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(212,175,55,.45);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
  transition: border-color .4s;
}
.ap-hud-section:hover::before,
.ap-hud-section:hover::after { border-color: rgba(212,175,55,.85); }
.ap-hud-section::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.ap-hud-section::after  { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

/* ── LOGO ORBIT RING ────────────────────────────────────────── */
.ap-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
}
.ap-logo-wrap .hero-badge-logo {
  width: 80px !important;
  height: 80px !important;
  position: relative;
  z-index: 3;
  animation: ap-logoGlow 3s ease-in-out infinite, ap-floatUp 6s ease-in-out infinite !important;
}
.ap-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  animation: ap-orbitRing 4s linear infinite;
}
.ap-orbit-1 {
  border-top-color: rgba(212,175,55,.8);
  border-right-color: rgba(212,175,55,.4);
}
.ap-orbit-2 {
  inset: 8px;
  border-bottom-color: rgba(212,175,55,.6);
  border-left-color: rgba(212,175,55,.3);
  animation: ap-orbitRingR 6s linear infinite;
}
.ap-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.4);
  animation: ap-haloRing 2.5s ease-out infinite;
}
.ap-halo-2 {
  animation-delay: 1.25s;
}

/* ── GLITCH HERO TITLE ──────────────────────────────────────── */
#hero h1 { position: relative; }
.ap-glitch::before,
.ap-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  pointer-events: none;
}
.ap-glitch::before {
  color: #f5c518;
  opacity: .7;
  animation: ap-glitch1 8s steps(1) infinite;
  transform: translateX(-2px);
}
.ap-glitch::after {
  color: #3af;
  opacity: .5;
  animation: ap-glitch2 8s steps(1) infinite;
  transform: translateX(2px);
}

/* ── SHIMMER GRADIENT TEXT ──────────────────────────────────── */
.ap-shimmer-text {
  background: linear-gradient(90deg, #F5C518 0%, #fff8dc 35%, #F5C518 50%, #C9A000 65%, #F5C518 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ap-shimmerFlow 3s linear infinite;
}

/* ── REVEAL ANIMATIONS (reemplazan las existentes) ──────────── */
.ap-reveal {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.ap-reveal.ap-up     { transform: translateY(50px); }
.ap-reveal.ap-left   { transform: translateX(-50px); }
.ap-reveal.ap-right  { transform: translateX(50px); }
.ap-reveal.ap-scale  { transform: scale(.85); }
.ap-reveal.ap-flip   { transform: perspective(600px) rotateY(-20deg); opacity: 0; }
.ap-reveal.ap-done   { opacity: 1 !important; transform: none !important; }

/* Delays en stagger */
.ap-reveal[data-delay="1"] { transition-delay: .08s; }
.ap-reveal[data-delay="2"] { transition-delay: .16s; }
.ap-reveal[data-delay="3"] { transition-delay: .24s; }
.ap-reveal[data-delay="4"] { transition-delay: .32s; }
.ap-reveal[data-delay="5"] { transition-delay: .40s; }

/* ── 3D TILT CARD ───────────────────────────────────────────── */
.ap-tilt {
  transform-style: preserve-3d;
  transition: transform .1s ease, box-shadow .3s ease;
  will-change: transform;
}
.ap-tilt:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.25), 0 0 30px rgba(212,175,55,.15) !important;
}
.ap-tilt .ap-tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
}
.ap-tilt:hover .ap-tilt-shine { opacity: 1; }

/* ── VALOR CARDS UPGRADE ────────────────────────────────────── */
.valor-card {
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease !important;
}
.valor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
.valor-card:hover::before { opacity: 1; }
.valor-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5C518, transparent);
  transform: scaleX(0);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.valor-card:hover::after { transform: scaleX(1); }

.valor-icon {
  font-size: 2.4rem !important;
  margin-bottom: 12px !important;
  display: block;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  z-index: 1;
}
.valor-card:hover .valor-icon { transform: scale(1.25) rotate(-5deg); }

/* ── NIVEL CARDS UPGRADE ────────────────────────────────────── */
.nivel-card {
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s !important;
}
.nivel-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.8), transparent);
  transform: scaleX(0);
  transition: transform .4s;
}
.nivel-card:hover::after { transform: scaleX(1); }
.nivel-card:hover { transform: translateY(-8px) !important; box-shadow: 0 24px 48px rgba(0,0,0,.35) !important; }

.nivel-icon {
  font-size: 2.2rem !important;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.nivel-card:hover .nivel-icon { transform: scale(1.3) rotate(8deg); }

/* ── NAV LINKS GOLD HOVER UNDERLINE ─────────────────────────── */
.pub-nav-links a {
  position: relative;
  overflow: hidden;
}
.pub-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s cubic-bezier(.16,1,.3,1), left .3s cubic-bezier(.16,1,.3,1);
}
.pub-nav-links a:hover::after { width: 100%; left: 0; }

/* ── LOGO NAV PULSE ─────────────────────────────────────────── */
.nav-logo-img {
  animation: ap-logoGlow 3.5s ease-in-out infinite;
  border-radius: 50%;
}

/* ── STATS BAR UPGRADE ──────────────────────────────────────── */
.stat-item {
  position: relative;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.stat-item:hover { transform: translateY(-4px) scale(1.08); }
.stat-item .num {
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #F5C518, #fff8dc 40%, #C9A000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

/* ── IMAGES UPGRADE ─────────────────────────────────────────── */
.ap-img-frame {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
}
.ap-img-frame img,
.ap-img-frame svg {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .5s cubic-bezier(.16,1,.3,1), filter .5s;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.ap-img-frame:hover img,
.ap-img-frame:hover svg { transform: scale(1.04); filter: brightness(1.08) contrast(1.05); }
.ap-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(212,175,55,.5);
  pointer-events: none;
  transition: box-shadow .3s;
}
.ap-img-frame:hover::after { box-shadow: inset 0 0 0 2px rgba(212,175,55,.9), 0 0 30px rgba(212,175,55,.25); }

/* ── BANNER SVG SECTION UPGRADE ─────────────────────────────── */
.ap-banner-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 2px rgba(212,175,55,.3);
  transition: box-shadow .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.ap-banner-wrap:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 2px rgba(212,175,55,.7), 0 0 40px rgba(212,175,55,.15);
  transform: translateY(-4px);
}
.ap-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,19,40,.7) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.ap-banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px 24px;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

/* ── DIRECTORA IMAGE UPGRADE ────────────────────────────────── */
.ap-directora-wrap {
  position: relative;
  display: inline-block;
  border-radius: 50%;
}
.ap-directora-wrap img,
.ap-directora-wrap svg {
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212,175,55,.7), 0 8px 32px rgba(0,0,0,.35);
  transition: box-shadow .4s, transform .4s;
}
.ap-directora-wrap:hover img,
.ap-directora-wrap:hover svg {
  box-shadow: 0 0 0 6px rgba(212,175,55,.9), 0 0 40px rgba(212,175,55,.35), 0 16px 48px rgba(0,0,0,.4);
  transform: scale(1.04);
}
.ap-directora-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(212,175,55,.5);
  animation: ap-orbitRing 12s linear infinite;
  pointer-events: none;
}

/* ── SECTION TITLE UPGRADE ──────────────────────────────────── */
.section-title h2 {
  position: relative;
  display: inline-block;
}
.section-title h2 span {
  background: linear-gradient(135deg, #F5C518, #fff8dc 40%, #C9A000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HUD BADGE ──────────────────────────────────────────────── */
.ap-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(212,175,55,.8);
  text-transform: uppercase;
  padding: 4px 14px;
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 4px;
  background: rgba(212,175,55,.05);
  position: relative;
  overflow: hidden;
}
.ap-hud-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.15), transparent);
  animation: ap-shimmerFlow 2.5s linear infinite;
  width: 200%;
}
.ap-hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: ap-hudBlink 1.5s ease-in-out infinite;
}

/* ── BOTONES UPGRADE ─────────────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  letter-spacing: .5px;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(.97) !important; }

/* ── HERO BOTTOM WAVE ───────────────────────────────────────── */
#ap-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  line-height: 0;
}
#ap-hero-wave svg { display: block; width: 100%; }

/* ── FLOATING SHAPES ────────────────────────────────────────── */
.ap-float-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: .06;
  animation: ap-floatUp 7s ease-in-out infinite;
}
.ap-float-shape:nth-child(2) { animation-delay: -2.3s; animation-duration: 9s; }
.ap-float-shape:nth-child(3) { animation-delay: -4.7s; animation-duration: 11s; }

/* ── PAGE-LOADER UPGRADE ────────────────────────────────────── */
#page-loader {
  background: radial-gradient(ellipse at center, #071a38 0%, #030d1e 100%) !important;
}
.loader-spinner {
  width: 52px !important;
  height: 52px !important;
  border: 3px solid rgba(212,175,55,.2) !important;
  border-top-color: #F5C518 !important;
  border-right-color: rgba(212,175,55,.6) !important;
  border-radius: 50% !important;
  animation: ap-orbitRing .8s linear infinite !important;
  box-shadow: 0 0 20px rgba(212,175,55,.3);
}
#page-loader p {
  font-size: 13px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: rgba(212,175,55,.9) !important;
  margin-top: 20px !important;
}

/* ── CARD APPEAR ANIMATION ──────────────────────────────────── */
@keyframes ap-cardAppear {
  from { opacity:0; transform:translateY(24px) scale(.97); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.ap-card-animate {
  animation: ap-cardAppear .5s cubic-bezier(.16,1,.3,1) both;
}

/* ── ABOUT PAGE IMAGE MEJORA ────────────────────────────────── */
.about-logo {
  position: relative;
  filter: drop-shadow(0 8px 24px rgba(212,175,55,.5));
  animation: ap-logoGlow 4s ease-in-out infinite, ap-floatUp 6s ease-in-out infinite;
}

/* ── TOP BAR SHIMMER ─────────────────────────────────────────── */
#top-bar-public {
  position: relative;
  overflow: hidden;
}
#top-bar-public::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.6), transparent);
  animation: ap-shimmerFlow 4s linear infinite;
  background-size: 200% auto;
}

/* ── SCROLL PROGRESS BAR ────────────────────────────────────── */
#ap-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #C9A000, #F5C518, #FFE066, #F5C518);
  background-size: 200% auto;
  z-index: 99998;
  pointer-events: none;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(245,197,24,.6);
  animation: ap-shimmerFlow 2s linear infinite;
}

/* ── FLOATING BACK-TO-TOP ───────────────────────────────────── */
#ap-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5C518, #C9A000);
  color: #071328;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212,175,55,.45), 0 2px 8px rgba(0,0,0,.25);
  z-index: 8990;
  opacity: 0;
  transform: translateY(20px) scale(.8);
  transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), box-shadow .3s;
  pointer-events: none;
}
#ap-back-top.ap-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#ap-back-top:hover {
  box-shadow: 0 8px 24px rgba(212,175,55,.6), 0 2px 8px rgba(0,0,0,.3);
  transform: translateY(-3px) scale(1.08) !important;
}
#ap-back-top:active { transform: scale(.95) !important; }

/* ── HERO COUNTER BADGE ─────────────────────────────────────── */
.ap-stat-glow .num {
  animation: ap-countUp .6s cubic-bezier(.16,1,.3,1) both;
}

/* ── MAESTRO / ANUNCIO CARD STAGGER ─────────────────────────── */
.maestro-card.ap-reveal,
.anuncio-card.ap-reveal {
  transition-timing-function: cubic-bezier(.16,1,.3,1) !important;
}

/* ── HERO BADGE PULSE (override) ────────────────────────────── */
.ap-hud-badge {
  animation: ap-goldPulse 3s ease-in-out infinite;
}

/* ── NAV LOGO BORDER UPGRADE ────────────────────────────────── */
#public-navbar .nav-logo-img {
  border: 2px solid rgba(212,175,55,.6) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 12px rgba(212,175,55,.3) !important;
}

/* ── HERO STATS BAR GLASSMORPHISM ───────────────────────────── */
.stats-bar {
  background: rgba(255,255,255,.06) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(212,175,55,.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.2) !important;
}

/* ── SECTION DIVIDER GOLD LINE ──────────────────────────────── */
.section-title .divider {
  background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
  height: 2px !important;
  border: none !important;
  border-radius: 2px !important;
  width: 120px !important;
  margin: 12px auto 0 !important;
  box-shadow: 0 0 8px rgba(212,175,55,.4);
}

/* ── HERO BUTTONS UPGRADE ───────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #F5C518 0%, #C9A000 100%) !important;
  color: #071328 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(212,175,55,.4) !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease !important;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 8px 28px rgba(212,175,55,.55) !important;
}

/* ── MOBILE TWEAKS ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 768px) {
  .ap-orbit, .ap-orbit-2 { display: none; }
  .ap-hud-section::before, .ap-hud-section::after { display: none; }
  #ap-back-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 16px; }
  .stats-bar { border-radius: 12px !important; }
}
