/* SISTEMA DE TIPOGRAFÍA CINÉTICA IMPERIAL VALIDO (NEGRO · DORADO · AMARILLO + CRYSTAL BLACK BLEND + TECHNOLOGY BRAND) */
/* Cero parches negros opacos · Blend cristalino total sobre Roma Azul · Efecto Technology en cada "Valido Enterprises" */

/* 0) Efecto TECHNOLOGY PCB/Láser Dorado obligatorio en cada mención de "Valido Enterprises" */
.ve-tech-brand {
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #b8860b 0%, #ffd84d 20%, #fff7c2 38%, #d4af37 56%, #ffcf33 74%, #fff3a8 90%, #d4af37 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: veTechShimmer 3.8s linear infinite;
  text-shadow: 0 0 22px rgba(255, 216, 77, 0.28);
  padding: 0 2px;
}
.ve-tech-brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffd84d 30%, #fff8c6 50%, #d4af37 70%, transparent 100%);
  background-size: 200% 100%;
  animation: veTechScanLine 2.4s ease-in-out infinite;
  opacity: 0.92;
  box-shadow: 0 0 10px rgba(255, 216, 77, 0.72);
}
.ve-tech-brand::before {
  content: "⚡";
  font-size: 0.72em;
  margin-right: 4px;
  color: #ffd84d;
  -webkit-text-fill-color: #ffd84d;
  filter: drop-shadow(0 0 6px rgba(255, 216, 77, 0.85));
  vertical-align: 0.06em;
}
@keyframes veTechShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 280% 50%; }
}
@keyframes veTechScanLine {
  0% { background-position: 100% 0; opacity: 0.45; }
  50% { background-position: 0% 0; opacity: 1; }
  100% { background-position: -100% 0; opacity: 0.45; }
}

/* Superficie Crystal Black Blend (SIN parches negros opacos: el fondo Roma Azul respira a través del cristal oscuro) */
.crystal-black-surface {
  background: linear-gradient(155deg, rgba(10, 14, 24, 0.30) 0%, rgba(5, 7, 13, 0.44) 55%, rgba(12, 16, 28, 0.32) 100%);
  backdrop-filter: blur(22px) saturate(175%) contrast(1.04);
  -webkit-backdrop-filter: blur(22px) saturate(175%) contrast(1.04);
  border: 1px solid rgba(255, 216, 77, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 195, 0.24),
    inset 0 -1px 0 rgba(212, 175, 55, 0.14),
    0 24px 64px rgba(0, 0, 0, 0.42);
}

/* 1) Barrido de Letras en Movimiento (Negro · Dorado · Amarillo Oro) */
.kin-sweep {
  position: relative; display: inline-block;
  background: linear-gradient(90deg, #b8860b 0%, #ffd84d 18%, #fff4b2 34%, #d4af37 52%, #ffca28 70%, #8f6510 86%, #ffd84d 100%);
  background-size: 400% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  cursor: pointer;
}
.kin-sweep.on { animation: kinSweepMove 2.2s cubic-bezier(.45, 0, .25, 1) forwards; }
.kin-sweep.settle {
  background-image: linear-gradient(90deg, #d4af37 0%, #ffd84d 30%, #fff6be 50%, #e0a82e 72%, #ffd84d 100%);
  background-size: 240% 100%;
  animation: kinFlowIdle 4.8s ease-in-out infinite alternate;
}
@keyframes kinSweepMove { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes kinFlowIdle { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Escritura carácter por carácter en destello amarillo-oro */
.kin-ch {
  display: inline-block; opacity: 0; color: #ffd84d; transform: translateY(.08em);
  transition: opacity .25s ease, transform .45s cubic-bezier(.2,.8,.2,1), color .9s ease .12s;
}
.kin-ch.in { opacity: 1; color: inherit; transform: none; }

/* 3D rotateX Icon-to-Word Flip en Dorado y Amarillo */
.kin-flip-line {
  font-size: clamp(22px, 3vw, 38px); font-weight: 500; line-height: 1.28;
  letter-spacing: -0.02em; margin: 18px 0 8px; color: #fbf6e8;
}
.kin-flip-slot {
  display: inline-grid; place-items: center; position: relative;
  perspective: 520px; vertical-align: baseline; cursor: pointer; padding: 0 4px;
}
.kin-flip-word {
  grid-area: 1 / 1;
  background: linear-gradient(90deg, #d4af37, #ffd84d, #fff2a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.kin-flip-icon {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: .76em; color: #ffd84d;
  transform: rotateX(90deg); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1) .08s, opacity .35s ease .08s;
}
.kin-flip-slot.flipped .kin-flip-word { transform: rotateX(-90deg); opacity: 0; }
.kin-flip-slot.flipped .kin-flip-icon { transform: rotateX(0deg); opacity: 1; }
.kin-dot { width: 7px; height: 7px; border-radius: 50%; background: #d4af37; animation: kinDotBob 1.1s ease-in-out infinite; }
.kin-dot:nth-child(2) { background: #ffd84d; animation-delay: .18s; }
.kin-dot:nth-child(3) { background: #fff099; animation-delay: .36s; }
@keyframes kinDotBob { 0%,100% { transform: translateY(.15em); } 50% { transform: translateY(-.18em); } }

/* 2) "Create responsive..." — Crystal Black Blend (SIN parche negro opaco); cuadro blanco se despliega DEBAJO */
.kin-create-box {
  position: relative; margin-top: 48px; padding: clamp(26px, 4vw, 44px) clamp(20px, 3.8vw, 40px);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(10, 14, 24, 0.30) 0%, rgba(5, 7, 13, 0.44) 100%);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255, 216, 77, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.24), 0 24px 64px rgba(0, 0, 0, 0.40);
}
.kin-create-kicker {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #ffd84d;
  letter-spacing: .10em; text-transform: uppercase; margin-bottom: 12px;
}
.kin-masked-title {
  margin: 0; font-size: clamp(28px, 4.6vw, 56px); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.025em;
  background: linear-gradient(95deg, #fff4b8 0%, #ffd84d 28%, #d4af37 58%, #fff1a6 84%, #c89b3c 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: kinFlowIdle 5.2s ease-in-out infinite alternate;
  cursor: pointer;
}
.kin-create-bar {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.kin-create-hint { margin: 0; font-size: 14px; color: #ebe2cc; }

/* Cuadro Blanco limpio que se expande DEBAJO en flujo normal (JAMÁS tapa las letras!) */
.kin-white-drawer {
  display: none; margin-top: 22px;
  background: #ffffff; color: #0a0b0f;
  border-radius: 20px; padding: 20px;
  border: 2px solid #d4af37;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  animation: kinDrawerIn .32s cubic-bezier(.2,.8,.2,1);
}
.kin-white-drawer.open { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: center; }
@media (max-width: 760px) { .kin-white-drawer.open { grid-template-columns: 1fr; } }
@keyframes kinDrawerIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kin-white-drawer img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; display: block; border: 1px solid rgba(10,11,15,0.12); }
.kin-white-drawer h4 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: #0a0b0f; }
.kin-white-drawer p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #334155; }
.kin-white-close {
  border: 1px solid #e2e8f0; background: #f8fafc; color: #0a0b0f; padding: 6px 14px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.kin-white-cta {
  display: inline-block; padding: 10px 20px; border-radius: 99px;
  background: #0a0b0f; color: #ffd84d !important; font-size: 13px; font-weight: 700; border: 1px solid #d4af37;
}

/* 3) CLEAR CRYSTAL BLACK BUBBLE (SIN SELLO · SIN PARCHE NEGRO OPACO) — Cristal Negro Ahumado + Reflejo Especular */
.kin-seal-section {
  position: relative; margin-top: 48px; padding: clamp(30px, 4.8vw, 52px) clamp(20px, 4vw, 44px);
  border-radius: 28px;
  background: radial-gradient(ellipse at 25% 15%, rgba(255, 216, 77, 0.08), transparent 55%),
              linear-gradient(155deg, rgba(8, 12, 22, 0.28) 0%, rgba(4, 6, 12, 0.42) 100%);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255, 216, 77, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.24), 0 24px 64px rgba(0, 0, 0, 0.40);
  overflow: hidden; cursor: pointer;
}
.kin-seal-headline {
  position: relative; z-index: 2; margin: 0;
  font-size: clamp(28px, 4.2vw, 52px); font-weight: 500; line-height: 1.14; letter-spacing: -0.02em; color: #fbf6e8;
}
.kin-seal-slot { position: relative; display: inline-flex; align-items: center; vertical-align: middle; min-height: 1.25em; }
.kin-seal-word {
  background: linear-gradient(90deg, #d4af37 0%, #ffd84d 45%, #fff4b8 75%, #d4af37 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(6px); transform: translateX(-.14em) scale(.97);
  transition: opacity .55s ease, filter .55s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.kin-seal-section.settled .kin-seal-word { opacity: 1; filter: blur(0); transform: none; }

.kin-seal-bubbles {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 12px; pointer-events: none;
}
/* Burbujas Cristal Negro Translúcido (Crystal Black Clear Bubble) — SIN imagen dentro, SIN parche sólido */
.kin-clear-bubble {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 216, 77, 0.12) 32%, rgba(5, 7, 12, 0.36) 72%, rgba(255, 216, 77, 0.34) 100%);
  backdrop-filter: blur(8px) saturate(160%) brightness(1.12);
  -webkit-backdrop-filter: blur(8px) saturate(160%) brightness(1.12);
  box-shadow:
    inset 0 2px 10px rgba(255, 255, 255, 0.68),
    inset 0 -8px 16px rgba(0, 0, 0, 0.45),
    0 0 0 1.5px rgba(255, 224, 120, 0.58),
    0 12px 26px rgba(0, 0, 0, 0.38);
  transform: scale(0); opacity: 0;
}
.kin-clear-bubble::after {
  content: ""; position: absolute; top: 10px; left: 12px; width: 16px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.85); transform: rotate(-28deg); filter: blur(0.6px);
}
.kin-seal-bubbles.pop .kin-clear-bubble { animation: kinBubblePop 2.25s cubic-bezier(.34,1.56,.64,1) forwards; }
.kin-seal-bubbles.pop .kin-clear-bubble:nth-child(2) { animation-delay: .22s; width: 68px; height: 68px; }
.kin-seal-bubbles.pop .kin-clear-bubble:nth-child(3) { animation-delay: .44s; width: 46px; height: 46px; }
@keyframes kinBubblePop {
  0% { transform: scale(0); opacity: 0; }
  28% { transform: scale(1.12); opacity: 1; }
  76% { transform: scale(1.0); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

/* Lupa de Cristal Negro Translúcido que sigue el cursor sobre las letras */
.kin-seal-lens {
  position: absolute; z-index: 3; width: 92px; height: 92px; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%) scale(0); opacity: 0;
  background: radial-gradient(circle at 28% 24%, rgba(255,255,255,0.40) 0%, rgba(255,224,115,0.10) 40%, rgba(6,8,14,0.34) 74%, rgba(255,216,77,0.42) 100%);
  backdrop-filter: blur(4px) brightness(1.20) contrast(1.12);
  -webkit-backdrop-filter: blur(4px) brightness(1.20) contrast(1.12);
  border: 1.5px solid rgba(255, 224, 120, 0.78);
  box-shadow: inset 0 2px 14px rgba(255,255,255,0.72), 0 12px 32px rgba(0,0,0,0.42);
  transition: transform .22s cubic-bezier(.34,1.3,.64,1), opacity .22s ease;
}
.kin-seal-lens::after {
  content: ""; position: absolute; top: 14px; left: 18px; width: 24px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.82); transform: rotate(-28deg); filter: blur(0.8px);
}
.kin-seal-lens.active { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* 4) "Solve harder technical..." — Canvas Matriz Sistólica + Scan-Line + Trazas PCB en Crystal Black Blend */
.kin-pcb-wrap {
  margin-top: 48px; padding: 24px 16px; border-radius: 28px;
  background: linear-gradient(155deg, rgba(8, 12, 22, 0.30) 0%, rgba(4, 6, 12, 0.44) 100%);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255, 216, 77, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.22), 0 24px 64px rgba(0, 0, 0, 0.42);
}
.kin-pcb-canvas { display: block; width: 100%; cursor: crosshair; }
