/* =========================================================
   ESTILOS DE BITKRONO
   Se carga DESPUÉS de Bootstrap y de cards.css.
   Breakpoints de Bootstrap: sm 576px · md 768px · lg 992px · xl 1200px
   ========================================================= */

/* ---------- 1. COLORES (salen del logo y de las cartas) ---------- */
:root {
  --ink:  #0a0e1a;   /* azul casi negro del contorno del logo */
  --s1:   #111733;   /* superficie 1 */
  --s2:   #1a2147;   /* superficie 2 */
  --line: rgba(255, 255, 255, .14);
  --txt:  #e9ecff;
  --mut:  #a9b0d6;
  --cyan: #00e5ff;
  --yel:  #ffc400;
  --cor:  #ff6f61;
  --grn:  #3dff8a;
  --pur:  #bf7bff;
  /* un color por era (los mismos de las cartas) */
  --e1: #f5b800; --e2: #5fbf6a; --e3: #ef6a5e; --e4: #a078d8; --e5: #38c6ee;
  --bs-body-bg: var(--ink);
  --bs-body-color: var(--txt);
}
.e1 { --c: var(--e1); } .e2 { --c: var(--e2); } .e3 { --c: var(--e3); }
.e4 { --c: var(--e4); } .e5 { --c: var(--e5); }

/* ---------- 2. GENERAL ---------- */
html { scroll-padding-top: 80px; }
body {
  font-family: 'Figtree', system-ui, 'Segoe UI', Arial, sans-serif;
  background: var(--ink);
  color: var(--txt);
  line-height: 1.65;
}
h1, h2, h3, h4, .navbar, .btn, .fuente-titulo { font-family: 'Chakra Petch', 'Segoe UI', Arial, sans-serif; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-weight: 600; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
section { padding: 72px 0; }
.alt { background: var(--s1); border-block: 1px solid var(--line); }
.mut { color: var(--mut); }
.limite { max-width: 62ch; }
.cab-seccion { margin-bottom: 2rem; }
.cab-seccion p { color: var(--mut); margin: .5rem 0 0; max-width: 62ch; }

/* ---------- 3. MENÚ ---------- */
.bk-nav { background: rgba(10, 14, 26, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bk-nav .navbar-brand img { height: 45px; width: auto; }
.bk-nav .nav-link { color: var(--mut); font-weight: 600; padding: .55rem .95rem; border-bottom: 3px solid transparent; }
.bk-nav .nav-link:hover { color: #fff; }
.bk-nav .nav-link.active { color: #fff; border-bottom-color: var(--yel); }
.bk-nav .navbar-toggler { border: 2px solid var(--line); }

/* ---------- 4. BOTONES (contorno oscuro + sombra dura, como el logo) ---------- */
.btn-bk {
  background: var(--yel); color: var(--ink); font-weight: 700;
  border: 2px solid var(--ink); border-radius: 10px; padding: .65rem 1.4rem;
  box-shadow: 4px 4px 0 var(--cyan); transition: transform .12s, box-shadow .12s;
}
.btn-bk:hover { background: #ffd23d; color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--cyan); }
.btn-bk:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--cyan); }
.btn-bk-o {
  background: transparent; color: #fff; font-weight: 700; border: 2px solid var(--line);
  border-radius: 10px; padding: .65rem 1.4rem;
}
.btn-bk-o:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-pill {
  background: transparent; color: var(--txt); border: 2px solid var(--line);
  border-radius: 999px; padding: .3rem 1rem; font-weight: 600; font-size: .92rem;
}
.btn-pill:hover { border-color: var(--yel); color: #fff; }
.btn-pill.on { background: var(--yel); border-color: var(--yel); color: var(--ink); }

/* ---------- 5. SLIDER DE INICIO ---------- */
.slide {
  min-height: 560px; padding: 56px 0 84px; display: flex; align-items: center;
  background:
    radial-gradient(55% 75% at 78% 45%, color-mix(in srgb, var(--acc, var(--cyan)) 30%, transparent), transparent 70%),
    var(--ink);
}
.slide .etiqueta-era { color: var(--acc); font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.slide p { color: var(--mut); font-size: 1.1rem; max-width: 46ch; }
.carousel-indicators { margin-bottom: 1.4rem; gap: 8px; }
.carousel-indicators [data-bs-target] {
  width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 4px;
  opacity: .5; background-color: var(--c); margin: 0;
}
.carousel-indicators .active { opacity: 1; }
.carousel-control-prev, .carousel-control-next { width: 6%; }
@media (max-width: 991.98px) { .carousel-control-prev, .carousel-control-next { display: none; } .slide { padding-bottom: 96px; } }

/* abanico de cartas */
.fan { position: relative; height: 430px; --dx: 118px; --rot: 8deg; --w-fan: 200px; }
.fan.cinco { --dx: 80px; --rot: 6deg; --w-fan: 180px; }
.fan .bkc {
  --w: var(--w-fan); position: absolute; top: 34px; left: 50%; margin-left: calc(var(--w-fan) / -2);
  transform: translateX(calc(var(--i) * var(--dx))) translateY(calc(var(--i) * var(--i) * 8px)) rotate(calc(var(--i) * var(--rot)));
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)) var(--glow); cursor: default;
}
@media (max-width: 575.98px) {
  .fan { height: 330px; --dx: 78px; --w-fan: 150px; }
  .fan.cinco { --dx: 52px; --w-fan: 120px; }
}

/* ---------- 6. CARTAS EN REJILLA Y VENTANA ---------- */
.slot { container-type: inline-size; width: 100%; max-width: 300px; margin-inline: auto; }
.slot .bkc { width: 100%; height: auto; aspect-ratio: 275 / 385; font-size: calc(100cqw / 275 * 13px); }
.slot.abre { cursor: pointer; transition: transform .15s; }
.slot.abre:hover { transform: translateY(-4px); }
.slot.chico { max-width: 190px; margin-inline: 0; }
.bk-modal .modal-content { background: var(--s1); border: 2px solid var(--line); border-radius: 16px; }
.bk-modal .modal-header, .bk-modal .modal-footer { border-color: var(--line); }
.dato-edu { background: var(--ink); border: 2px solid var(--line); border-left: 6px solid var(--c, var(--cyan)); border-radius: 10px; padding: 1rem 1.2rem; }
.dato-edu h4 { font-size: 1rem; margin-bottom: .3rem; color: var(--c, var(--cyan)); }
.chip { display: inline-block; border: 2px solid var(--line); border-radius: 999px; padding: .1rem .8rem; font-size: .9rem; font-weight: 600; }
.chip.era { background: var(--c); border-color: var(--c); color: var(--ink); }
.buscador { background: var(--ink); border: 2px solid var(--line); color: #fff; border-radius: 999px; padding: .4rem 1.1rem; width: 280px; max-width: 100%; }
.buscador:focus { border-color: var(--yel); background: var(--ink); color: #fff; box-shadow: none; }
.pagination { gap: 6px; }
.pagination .page-link { background: var(--s1); border: 2px solid var(--line); color: #fff; border-radius: 8px !important; font-weight: 700; min-width: 42px; text-align: center; }
.pagination .page-link:hover { border-color: var(--yel); }
.pagination .active .page-link { background: var(--yel); border-color: var(--yel); color: var(--ink); }
.pagination .disabled .page-link { opacity: .4; }

/* ---------- 7. BLOQUES DE CONTENIDO ---------- */
.panel { background: var(--s1); border: 2px solid var(--line); border-radius: 14px; padding: 1.5rem; height: 100%; }
.panel h3 { font-size: 1.25rem; }
.panel p { color: var(--mut); margin-bottom: 0; }
.era-tile { display: block; height: 100%; background: var(--s1); border: 2px solid var(--line); border-top: 6px solid var(--c); border-radius: 14px; overflow: hidden; color: var(--txt); transition: transform .15s, border-color .15s; }
.era-tile:hover { transform: translateY(-4px); border-color: var(--c); color: var(--txt); }
.era-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #fff; }
.era-tile .cuerpo { padding: 1rem 1.1rem 1.2rem; }
.era-tile .anios { color: var(--c); font-weight: 700; font-size: .95rem; }
.era-tile h3 { font-size: 1.1rem; margin: .1rem 0 .3rem; }
.era-tile p { color: var(--mut); font-size: .92rem; margin: 0; line-height: 1.45; }
.cuenta { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--yel); }
.pila { position: relative; height: 300px; max-width: 460px; margin-inline: auto; }
.pila img { position: absolute; width: 78%; border-radius: 10px; box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }
.pila img:nth-child(1) { top: 0; left: 0; transform: rotate(-6deg); }
.pila img:nth-child(2) { bottom: 0; right: 0; transform: rotate(5deg); }
.pila-mini { position: relative; height: 130px; margin-bottom: 1rem; }
.pila-mini img { position: absolute; width: 60%; border-radius: 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.pila-mini img:nth-child(1) { left: 0; top: 0; transform: rotate(-5deg); }
.pila-mini img:nth-child(2) { left: 20%; top: 14px; }
.pila-mini img:nth-child(3) { left: 40%; top: 28px; transform: rotate(5deg); }
.cta { background: linear-gradient(135deg, var(--s2), var(--s1)); border: 2px solid var(--line); border-radius: 18px; padding: 3rem 1.5rem; text-align: center; }

/* ---------- 8. CÓMO JUGAR ---------- */
.paso { display: flex; gap: 1rem; }
.paso .num {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 8px; border: 2px solid var(--ink);
  display: grid; place-items: center; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 1.25rem;
  background: var(--c); color: var(--ink); box-shadow: 3px 3px 0 rgba(255, 255, 255, .18);
}
.paso h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.paso p { color: var(--mut); margin: 0; }
.p1 { --c: var(--yel); } .p2 { --c: var(--cyan); } .p3 { --c: var(--grn); } .p4 { --c: var(--cor); }
.nex-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; }
.nex-item img { display: block; width: 100%; border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.nex-item .x2 { position: absolute; top: -10px; right: -6px; background: var(--yel); color: var(--ink); font-weight: 800; border-radius: 999px; padding: 1px 11px; border: 2px solid var(--ink); font-size: .9rem; }
.aviso { border: 2px dashed var(--grn); border-radius: 12px; padding: 1rem 1.25rem; background: rgba(61, 255, 138, .06); }

/* ---------- 9. TIENDA ---------- */
.producto { background: var(--s1); border: 2px solid var(--line); border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.producto .foto { background: var(--s2); aspect-ratio: 1 / 1; }
.producto .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.producto .cuerpo { padding: 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.producto .precio { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--yel); }
.producto .btn { margin-top: auto; }
.beneficio { display: flex; gap: 1rem; align-items: flex-start; }
.beneficio svg { flex: 0 0 auto; width: 40px; height: 40px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.beneficio h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.beneficio p { margin: 0; color: var(--mut); font-size: .95rem; }
.form-select.bk, .form-control.bk { background-color: var(--ink); border: 2px solid var(--line); color: #fff; }
.form-select.bk { border-radius: 999px; padding-inline: 1.1rem; }
.form-control.bk { border-radius: 10px; }
.form-control.bk:focus, .form-select.bk:focus { border-color: var(--yel); box-shadow: none; background-color: var(--ink); color: #fff; }
.form-label { font-weight: 600; }

/* ---------- 10. CONTACTO Y PIE ---------- */
.dato-contacto { display: flex; gap: 1rem; align-items: center; padding: .7rem 0; }
.dato-contacto .ico { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: 0 0 auto; }
.dato-contacto small { display: block; color: var(--mut); line-height: 1.2; }
.redes { display: flex; gap: .6rem; }
.redes a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .15s, background .15s; }
.redes a:hover { border-color: var(--yel); background: var(--s2); }
.redes img { width: 22px; height: 22px; }
.pie { background: var(--s1); border-top: 2px solid var(--line); padding: 56px 0 24px; }
.pie h4 { font-size: 1rem; margin-bottom: .8rem; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: .4rem; }
.pie a { color: var(--mut); }
.pie a:hover { color: #fff; }
.pie .derechos { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; color: var(--mut); font-size: .88rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.text-center .slot.chico { margin-inline: auto; }

/* ---- sitio de una sola página ---- */
.sec-titulo { font-size: clamp(2rem, 4.5vw, 3rem); }
h3.sub { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.15; }
.cab-seccion { margin-bottom: 1.6rem; }
section > .container.cab-seccion { margin-bottom: 2.4rem; }
#inicio { scroll-margin-top: 0; }

/* ---- cartas especiales que se voltean ---- */
#especiales .slot { cursor: pointer; border-radius: 14px; }
#especiales .slot:focus-visible { outline: 3px solid var(--yel); outline-offset: 6px; }
/* ---- tienda: 3 productos ---- */
.producto .sello { align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--ink); background: var(--grn); border-radius: 999px; padding: .1rem .8rem; }
/* ---- contacto simple ---- */
.red-card { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.2rem 1.4rem; background: var(--s1); border: 2px solid var(--line); border-radius: 14px; color: var(--txt); transition: transform .15s, border-color .15s; }
.red-card:hover { transform: translateY(-3px); border-color: var(--c); color: var(--txt); }
.red-card img { width: 52px; height: 52px; flex: 0 0 auto; }
.red-card strong { display: block; font-family: 'Chakra Petch', sans-serif; font-size: 1.25rem; }
.red-card span { color: var(--mut); font-size: .95rem; }
.red-card.wa { --c: #25d366; } .red-card.ig { --c: #e1306c; } .red-card.fb { --c: #1877f2; }

/* ---- testimonios (carrusel) ---- */
#testimonios .carousel-inner { padding-block: 6px; }
#carruselTestimoniosPC { padding-inline: 68px; }
.testi { display: flex; flex-direction: column; gap: 1rem; height: 100%; padding: 1.5rem; background: var(--s1); border: 2px solid var(--line); border-radius: 14px; }
.testi .estrellas { color: var(--yel); letter-spacing: 3px; font-size: 1.1rem; }
.testi .estrellas .vacias { color: rgba(255, 255, 255, .22); }
.testi blockquote { margin: 0; color: rgba(233, 236, 255, .88); font-style: italic; }
.testi .persona { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.testi .persona strong { display: block; }
.testi .persona small { color: var(--mut); }
.foto-perfil { width: 56px; height: 56px; flex: 0 0 auto; border: 2px solid var(--yel); border-radius: 50%; object-fit: cover; }
.foto-perfil.ini { display: grid; place-items: center; background: var(--s2, #1a2147); color: var(--yel); font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 1.15rem; }
.flecha { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: rgba(11, 13, 26, .9); border: 2px solid var(--line); border-radius: 50%; opacity: 1; }
.flecha span { width: 1.2rem; height: 1.2rem; }
.carousel-control-prev.flecha, .carousel-control-next.flecha { top: 50%; bottom: auto; transform: translateY(-50%); }
.carousel-control-prev.flecha { left: 0; } .carousel-control-next.flecha { right: 0; }
.flechas-movil { display: flex; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
@media (hover: hover) { .flecha:hover { background: var(--yel); border-color: var(--yel); } .flecha:hover span { filter: invert(1); } }
/* los carruseles de testimonios no heredan el estilo del héroe (.slide) */
#testimonios .carousel.slide { min-height: 0; display: block; padding-block: 0; background: none; }
#testimonios .flecha, #testimonios .flecha span { filter: none; }
@media (hover: hover) { #testimonios .flecha:hover span { filter: invert(1); } }
