/* ==========================================================================
   SOCIOS FIXERS XITERS — Store
   Sistema de diseño "Drip" (inspiración cubanhacks.com / dripclientofficial.dev)
   adaptado a la identidad violeta/magenta de la marca.
   ========================================================================== */
:root {
  --bg-deep: #0b0614;
  --bg-panel: #120a21;
  --bg-card: #1a1228;
  --bg-card-2: #23173a;
  --bg-input: #10081e;
  --border: #3a2a56;
  --border-strong: #5a4380;
  --text-main: #faf6ff;
  --text-muted: #b9aed0;
  --accent: #e84fff;
  --accent-2: #ff6ad5;
  --accent-hover: #ff6bff;
  --purple: #c084fc;
  --green: #00e676;
  --red: #ff4d6d;
  --orange: #ffc107;
  --radius: 14px;
  --radius-lg: 20px;
  --gradient-primary: linear-gradient(135deg, #c084fc 0%, #e84fff 45%, #ff6ad5 100%);
  --gradient-bg: linear-gradient(180deg, #0b0614 0%, #110a21 55%, #0c071a 100%);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(58, 42, 86, 0.35);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gradient-bg);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
main { min-height: calc(100vh - 320px); }
/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  border-bottom: 1px solid rgba(58, 42, 86, 0.55);
  background: rgba(11, 6, 20, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: 15px; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--text-main);
}
.logo:hover { text-decoration: none; }
.logo .brand-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; font-weight: 900;
  box-shadow: 0 0 22px rgba(232, 79, 255, 0.45);
}
.logo .brand-line { display: flex; flex-direction: column; line-height: 1.15; }
.logo .brand-main {
  font-size: 15px; letter-spacing: 1.1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 900;
}
.logo .brand-sub { font-size: 10.5px; font-weight: 600; color: var(--text-muted); letter-spacing: 2.4px; }
/* Nav escritorio: pastillas tipo la referencia (NAVEGACIÓN / botones de acceso) */
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links.mobile { display: none; }
.nav-link {
  padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text-muted); transition: color 160ms, background 160ms, box-shadow 160ms;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main); background: rgba(232, 79, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(232, 79, 255, 0.25);
  text-decoration: none;
}
.nav-link.active { background: rgba(232, 79, 255, 0.18); color: #fff; }
/* Botones de cuenta: escritorio → pills a la derecha; móvil → dentro del overlay */
.nav-account { display: none; align-items: center; gap: 9px; margin-left: 12px; }
@media (min-width: 761px) {
  .nav-account { display: inline-flex; }
  .nav-account .hidden { display: none; }
  .nav-account .btn { padding: 8px 18px; font-size: 13px; border-radius: 999px; font-weight: 700; }
  .nav-account .btn-outline { border-width: 1.5px; }
}
@media (max-width: 760px) {
  .nav-account { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 14px 0 4px; padding-top: 14px; border-top: 1px solid var(--border); }
  .nav-account .hidden { display: none; }
  .nav-account .btn { padding: 14px; justify-content: center; font-size: 15px; }
}
/* ---------- Menú hamburguesa móvil (overlay a pantalla completa) ---------- */
.nav-toggle {
  display: none; position: relative; z-index: 80; margin: 0 0 0 10px; padding: 0;
  width: 46px; height: 46px; border-radius: 13px; line-height: 0;
  background: #2a1b45; border: 1px solid rgba(232, 79, 255, 0.45); color: #ffffff;
  cursor: pointer; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(232, 79, 255, 0.35);
  flex-shrink: 0;
}
.nav-toggle .nav-toggle-svg {
  width: 22px; height: 22px; overflow: visible;
  transition: transform 200ms var(--ease-out);
}
.nav-toggle .nav-icon-bars line,
.nav-toggle .nav-icon-close line {
  stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round;
  transition: opacity 180ms ease;
}
.nav-toggle.open .nav-icon-bars { opacity: 0; }
.nav-toggle.open .nav-icon-close { opacity: 1; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links.desktop { display: none; }
  .nav-links.mobile {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 75;
    flex-direction: column; align-items: stretch; gap: 7px;
    background: rgba(8, 4, 15, 0.985);
    border-top: 1px solid rgba(58, 42, 86, 0.7);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
    padding: 96px 22px 26px;
    overflow-y: auto;
  }
  .nav-links.mobile.open { display: flex; animation: kvnav-in 240ms var(--ease-out); }
  @keyframes kvnav-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
  .nav-links.mobile .nav-link { padding: 14px 16px; border-radius: 13px; font-size: 15px; font-weight: 700; background: rgba(232, 79, 255, 0.06); border: 1px solid rgba(58, 42, 86, 0.55); }
  .nav-links.mobile .nav-link:hover { text-decoration: none; }
  .nav-links.mobile .nav-link.active {
    background: var(--gradient-primary); border-color: transparent;
    color: #fff; box-shadow: 0 0 20px rgba(232, 79, 255, 0.4);
  }
  body.kvmenu-open { overflow: hidden; }
  .logo .brand-sub { display: none; }
  .site-header .inner { height: 60px; }
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; font-size: 14px; font-weight: 700;
  border: 1.5px solid transparent; cursor: pointer; letter-spacing: 0.2px;
  transition: transform 140ms var(--ease-out), background 160ms, border-color 160ms, box-shadow 160ms, filter 160ms;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(232, 79, 255, 0.38);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 0 32px rgba(232, 79, 255, 0.55); text-decoration: none; color: #fff; }
.btn-outline {
  background: transparent; border-color: rgba(90, 67, 128, 0.8); color: var(--text-main);
}
.btn-outline:hover { border-color: var(--accent); box-shadow: 0 0 18px rgba(232, 79, 255, 0.28); text-decoration: none; }
.btn-danger { background: rgba(255, 77, 109, 0.12); border-color: rgba(255, 77, 109, 0.35); color: var(--red); }
.btn-danger:hover { background: rgba(255, 77, 109, 0.2); text-decoration: none; }
.btn-ghost { background: rgba(232, 79, 255, 0.1); border-color: rgba(232, 79, 255, 0.4); color: var(--accent); }
.btn-ghost:hover { background: rgba(232, 79, 255, 0.2); text-decoration: none; }
.btn-pill { border-radius: 999px; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
/* ---------- Cards / panels ---------- */
.card {
  background: linear-gradient(180deg, #23173a, #1a1228);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: border-color 180ms, transform 180ms var(--ease-out);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.card-title { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 11.5px; font-weight: 800; color: var(--text-muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 1.1px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  background: var(--bg-input); border: 1.5px solid var(--border);
  color: var(--text-main); font-size: 14.5px; font-family: inherit;
  transition: border-color 150ms, box-shadow 150ms;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 79, 255, 0.16);
}
.form-input::placeholder, .form-textarea::placeholder { color: #7d6f9c; }
.form-textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 720px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
/* ---------- Inputs con icono ---------- */
.form-row-ico { position: relative; margin-bottom: 16px; }
.form-row-ico .ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 15px; color: var(--text-muted); pointer-events: none;
}
.form-row-ico .form-input { padding-left: 42px; }
.form-row-ico .eye-btn {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 15px;
}
/* ---------- Auth 2 columnas (estilo referencia) ---------- */
.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  display: grid; width: 100%; max-width: 940px;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(58, 42, 86, 0.7);
  background: linear-gradient(180deg, #23173a, #160e26);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 79, 255, 0.08);
}
@media (min-width: 840px) {
  .auth-card { grid-template-columns: 44% 1fr; }
}
/* Panel izquierdo: marca + pills */
.auth-brand-panel {
  display: none; flex-direction: column; justify-content: space-between;
  padding: 34px 30px;
  background:
    linear-gradient(160deg, rgba(192, 132, 252, 0.16), rgba(232, 79, 255, 0.08) 55%, rgba(11, 6, 20, 0.85)),
    linear-gradient(180deg, #1a1228, #0f081c);
  border-right: 1px solid rgba(58, 42, 86, 0.6);
}
@media (min-width: 840px) { .auth-brand-panel { display: flex; } }
.auth-brand-panel .abp-top { display: flex; flex-direction: column; gap: 18px; }
.auth-brand-panel .brand-icon-xl {
  width: 68px; height: 68px; border-radius: 18px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; font-weight: 900;
  box-shadow: 0 0 36px rgba(232, 79, 255, 0.55);
}
.auth-brand-panel .brand-name-xl {
  font-size: 21px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.25;
}
.auth-brand-panel .brand-tagline { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.abp-pills { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.abp-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px;
  background: rgba(232, 79, 255, 0.07); border: 1px solid rgba(58, 42, 86, 0.55);
  font-size: 13px; font-weight: 600; color: var(--text-main);
}
.abp-pill .pill-ico { font-size: 15px; }
.auth-brand-panel .abp-bottom { color: #8d7fae; font-size: 12px; margin-top: 26px; }
/* Panel derecho: formulario */
.auth-form-panel { padding: 34px 28px; }
.auth-form-panel .auth-title {
  font-size: 26px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 6px;
}
.auth-form-panel .auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.auth-form-panel .auth-brand-mob { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.auth-form-panel .auth-brand-mob .brand-icon-lg {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; font-weight: 900;
  box-shadow: 0 0 24px rgba(232, 79, 255, 0.5);
}
.auth-form-panel .auth-brand-mob .brand-name {
  font-size: 15px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 18px 0;
  color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-misc { text-align: center; font-size: 13.5px; color: var(--text-muted); margin-top: 18px; }
.auth-misc a, .auth-forgot { color: var(--accent); font-weight: 700; }
.auth-forgot { display: block; text-align: right; font-size: 12.5px; color: var(--text-muted); margin: -6px 0 16px; }
.auth-social-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
/* Compatibilidad: card única pequeña para otros contextos */
.auth-card.auth-single { max-width: 440px; display: block; }
.auth-single .auth-form-panel { padding: 30px 26px; }
/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--bg-card); }
table.data-table th {
  text-align: left; padding: 12px 14px; color: var(--text-muted); font-weight: 700;
  background: var(--bg-panel); border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
table.data-table tr:last-child td { border-bottom: none; }
/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.badge-green { background: rgba(0, 230, 118, 0.12); color: var(--green); border: 1px solid rgba(0, 230, 118, 0.3); }
.badge-red { background: rgba(255, 77, 109, 0.12); color: var(--red); border: 1px solid rgba(255, 77, 109, 0.3); }
.badge-orange { background: rgba(255, 193, 7, 0.12); color: var(--orange); border: 1px solid rgba(255, 193, 7, 0.3); }
.badge-blue { background: rgba(192, 132, 252, 0.12); color: var(--purple); border: 1px solid rgba(192, 132, 252, 0.3); }
.badge-purple { background: rgba(232, 79, 255, 0.14); color: var(--accent); border: 1px solid rgba(232, 79, 255, 0.35); }
/* ---------- Balance highlight ---------- */
.balance-card {
  background:
    linear-gradient(135deg, rgba(232, 79, 255, 0.18), rgba(255, 106, 213, 0.09)),
    linear-gradient(180deg, #23173a, #1a1228);
  border: 1px solid rgba(232, 79, 255, 0.4);
}
.balance-label { font-size: 13px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.balance-amount { font-size: 34px; font-weight: 900; letter-spacing: -1px; margin-top: 2px; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ---------- Stats pills ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(232, 79, 255, 0.05);
  border: 1px solid rgba(58, 42, 86, 0.6);
  border-radius: 999px;
  padding: 12px 20px;
}
.stat-ico {
  width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
  box-shadow: 0 0 14px rgba(232, 79, 255, 0.35);
}
.stat-value { font-size: 20px; font-weight: 900; letter-spacing: -0.3px; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat-label { font-size: 11.5px; color: var(--text-muted); font-weight: 700; }
/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card:hover { border-color: rgba(232, 79, 255, 0.55); transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 79, 255, 0.3); }
.product-image {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}
.product-image-placeholder {
  width: 100%; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 46px;
  background: linear-gradient(135deg, rgba(232, 79, 255, 0.1), rgba(255, 106, 213, 0.06)), var(--bg-panel);
}
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }
.product-desc { color: var(--text-muted); font-size: 13.5px; margin: 6px 0 12px; flex: 1; }
.product-price { font-size: 23px; font-weight: 900; letter-spacing: -0.6px; margin-bottom: 12px; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-muted); }
/* ---------- Hero (landing) ---------- */
.hero { padding: 88px 0 52px; text-align: center; }
.hero-logo {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 22px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff; font-weight: 900;
  box-shadow: 0 0 44px rgba(232, 79, 255, 0.5);
}
.hero h1 {
  font-size: clamp(34px, 5.8vw, 58px); font-weight: 900;
  letter-spacing: -1.2px; line-height: 1.1;
}
.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--text-muted); font-size: 17.5px; max-width: 620px; margin: 18px auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { border-radius: 999px; padding: 12px 26px; }
.hero-stats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-stats .stat-card { padding: 10px 22px; }
.hero-scroll {
  margin-top: 38px; color: var(--text-muted); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
}
.hero-scroll span { display: block; font-size: 18px; margin-top: 4px; animation: kvbounce 1.6s ease-in-out infinite; }
@keyframes kvbounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 8px 0 64px; }
.feature { padding: 20px; }
.feature-icon { font-size: 20px; margin-bottom: 10px; }
.feature h3 { font-size: 15px; font-weight: 800; margin-bottom: 5px; }
.feature p { color: var(--text-muted); font-size: 13.5px; }
/* ---------- Section titles ---------- */
.section-title { text-align: center; margin: 64px 0 8px; font-size: 28px; font-weight: 900; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }
/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding: 0 0 24px; }
.step-card { position: relative; }
.step-number {
  position: absolute; top: -14px; left: 18px;
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--gradient-primary);
  color: #fff; font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(232, 79, 255, 0.5);
}
/* Payments / recargas */
.payments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.payment-card { padding: 20px; }
.payment-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.payment-icon { font-size: 22px; }
.payment-country { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.payment-instructions { font-size: 13px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }
/* ---------- Alerts ---------- */
.alert {
  padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert-error { background: rgba(255, 77, 109, 0.10); border-color: rgba(255, 77, 109, 0.3); color: var(--red); }
.alert-success { background: rgba(0, 230, 118, 0.10); border-color: rgba(0, 230, 118, 0.3); color: var(--green); }
.alert-info { background: rgba(192, 132, 252, 0.10); border-color: rgba(192, 132, 252, 0.3); color: var(--purple); }
.alert-warning { background: rgba(255, 193, 7, 0.10); border-color: rgba(255, 193, 7, 0.3); color: var(--orange); }
/* ---------- Misc ---------- */
.muted { color: var(--text-muted); }
.key-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg-input); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 8px; font-size: 13px; letter-spacing: 0.3px;
  word-break: break-all;
}
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 14px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 840px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
/* ---------- Footer completo (estilo referencia: columnas) ---------- */
footer {
  border-top: 1px solid rgba(58, 42, 86, 0.55);
  background: linear-gradient(180deg, rgba(11, 6, 20, 0.4), rgba(11, 6, 20, 0.85));
  padding: 44px 0 30px; margin-top: 72px;
  color: var(--text-muted); font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 800; color: var(--text-main); }
.footer-brand .brand-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }
.footer-desc { margin-bottom: 14px; max-width: 340px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--text-main);
  border: 1px solid var(--border); background: rgba(232, 79, 255, 0.06);
  transition: border-color 160ms, color 160ms, background 160ms;
}
.social-link:hover { border-color: var(--accent); background: rgba(232, 79, 255, 0.14); text-decoration: none; }
.social-link .s-ico { font-size: 15px; }
.footer-col .footer-col-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--text-main); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: var(--text-muted); font-weight: 600; transition: color 160ms; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(58, 42, 86, 0.4); font-size: 12.5px;
}
.footer-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.footer-secure .fsec-ico { color: var(--green); }
/* ---------- Ajustes móviles (375px+) ---------- */
@media (max-width: 760px) {
  .hero { padding: 52px 0 32px; }
  .hero p { font-size: 15px; margin-top: 14px; margin-bottom: 22px; }
  .hero-stats { margin-top: 22px; }
  .hero-stats .stat-card { padding: 9px 16px; }
  .img-banners .img-slide { flex-basis: 88%; }
  .img-banners .img-slide img { height: 140px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-title { font-size: 23px; margin: 48px 0 6px; }
  .features-grid, .steps-grid, .payments-grid { padding-bottom: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  footer { margin-top: 40px; }
  .support-fab { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .support-popover { right: 12px; left: 12px; min-width: auto; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .nav-links { padding: 10px 14px 16px; }
  .auth-form-panel { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .btn { transition: none; }
}
/* ---------- Banners promocionales (carrusel) ---------- */
.promo-banners { margin: 18px 0 40px; }
.banners-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 6px; -webkit-overflow-scrolling: touch;
}
.banners-track::-webkit-scrollbar { height: 6px; }
.banners-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.banner-slide {
  flex: 0 0 86%; scroll-snap-align: center; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(135deg, #2c1a4c, #1d1230);
  min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; position: relative;
}
@media (min-width: 760px) { .banner-slide { flex-basis: 46%; } }
@media (min-width: 1000px) { .banner-slide { flex-basis: 30%; } }
.banner-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232, 79, 255, 0.24), rgba(255, 106, 213, 0.05));
  pointer-events: none;
}
.banner-slide .banner-tag {
  display: inline-flex; align-self: flex-start; gap: 6px;
  background: var(--gradient-primary); color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.banner-slide h3 { font-size: 18px; font-weight: 900; letter-spacing: -0.3px; }
.banner-slide p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
/* ---------- Store header con contador y filtros ---------- */
.store-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.store-count { color: var(--text-muted); font-size: 14px; font-weight: 700; }
.store-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 20px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 17px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1.5px solid var(--border); background: transparent; color: var(--text-muted);
  cursor: pointer; transition: all 160ms; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--accent); color: var(--text-main); text-decoration: none; }
.filter-chip.active {
  background: var(--gradient-primary); border-color: transparent;
  color: #fff; box-shadow: 0 0 18px rgba(232, 79, 255, 0.4);
}
/* ---------- Badges de producto ---------- */
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-badge.best { background: var(--gradient-primary); color: #fff; box-shadow: 0 0 14px rgba(232, 79, 255, 0.5); }
.product-badge.hot { background: linear-gradient(135deg, #ffc107, #ff8a3d); color: #231a04; box-shadow: 0 0 14px rgba(255, 193, 7, 0.45); }
.product-image-box { position: relative; }
.product-badges-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.product-category { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700;
  color: var(--text-muted); background: rgba(255, 193, 7, 0.10); border: 1px solid rgba(255, 193, 7, 0.25);
  padding: 3px 9px; border-radius: 999px;
}
.star-gold { color: #ffc107; font-size: 12px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-group-title {
  font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); margin: 26px 0 4px;
}
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  color: var(--text-main); font-size: 14.5px; font-weight: 700; font-family: inherit;
  padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background 160ms;
}
.faq-q:hover { background: rgba(232, 79, 255, 0.06); }
.faq-q .faq-toggle { font-size: 18px; color: var(--accent); transition: transform 200ms var(--ease-out); flex-shrink: 0; }
.faq-item.open .faq-q .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 260ms var(--ease-out);
}
.faq-item.open .faq-a { max-height: 420px; }
.faq-a-inner { padding: 0 18px 16px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
/* ---------- Botón flotante de soporte ---------- */
.support-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gradient-primary); color: #fff; font-size: 23px;
  box-shadow: 0 8px 30px rgba(232, 79, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: transform 160ms var(--ease-out);
}
.support-fab:hover { transform: translateY(-2px) scale(1.04); }
.support-fab:active { transform: scale(0.95); }
.support-popover {
  position: fixed; bottom: 82px; right: 20px; z-index: 60;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.6); padding: 14px; min-width: 210px;
  display: none;
}
.support-popover.open { display: block; animation: fab-in 200ms var(--ease-out); }
@keyframes fab-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
.support-popover h4 { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.support-popover a {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--text-main);
}
.support-popover a:hover { background: rgba(232, 79, 255, 0.1); text-decoration: none; }
.support-popover a span.s-ico { font-size: 17px; }
/* ---------- Páginas legales ---------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 36px 0 60px; }
.legal-wrap h1 { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 6px; }
.legal-wrap .legal-updated { color: var(--text-muted); font-size: 13px; margin-bottom: 26px; }
.legal-wrap h2 { font-size: 18px; font-weight: 800; margin: 28px 0 8px; color: var(--accent); }
.legal-wrap p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 14px; }
.legal-wrap ul { color: var(--text-muted); font-size: 14.5px; margin: 0 0 14px 22px; }
.legal-wrap li { margin-bottom: 7px; }
/* ---------- Páginas de políticas (footer links) ---------- */
.pol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.pol-link {
  display: block; padding: 10px 14px; border-radius: 9px; border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-muted); background: var(--bg-panel);
  transition: border-color 160ms, color 160ms;
}
.pol-link:hover { border-color: var(--accent); color: var(--text-main); text-decoration: none; }
/* ==========================================================================
   Modal de login (blur detrás)
   ================================================================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 4, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: backdrop-in 240ms var(--ease-out);
}
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.login-modal {
  position: relative; width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #23173a, #1a1228);
  border: 1px solid rgba(232, 79, 255, 0.5);
  border-radius: 18px;
  box-shadow: 0 0 38px rgba(232, 79, 255, 0.32), 0 24px 68px rgba(0, 0, 0, 0.7);
  animation: modal-in 260ms var(--ease-out);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.login-modal .lm-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.login-modal .lm-close:hover { color: var(--text-main); border-color: var(--accent); }
.lm-head {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 24px 0;
}
.lm-head .brand-icon-lg {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: #fff; font-weight: 900;
  box-shadow: 0 0 24px rgba(232, 79, 255, 0.55);
}
.lm-head .lm-title {
  font-size: 16px; font-weight: 900; letter-spacing: 0.6px; text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lm-head .lm-sub { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.lm-body { padding: 18px 24px 24px; }
.lm-divider {
  display: flex; align-items: center; gap: 12px; margin: 16px 0;
  color: var(--text-muted); font-size: 12px;
}
.lm-divider::before, .lm-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.lm-form-row { position: relative; margin-bottom: 14px; }
.lm-form-row .lm-ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  font-size: 15px; color: var(--text-muted); pointer-events: none;
}
.lm-form-row .form-input { padding-left: 40px; }
.lm-form-row .lm-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 15px;
}
.lm-misc {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; margin: 4px 0 18px;
}
.lm-misc label { display: flex; align-items: center; gap: 7px; color: var(--text-muted); cursor: pointer; }
.lm-misc label input { accent-color: #c084fc; }
.lm-misc a { color: var(--accent); }
.lm-footer { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.lm-footer a { color: var(--accent); font-weight: 800; }
@media (max-width: 480px) {
  .login-modal { max-width: 100%; }
  .lm-head, .lm-body { padding-left: 18px; padding-right: 18px; }
}
/* ---------- Banners con imagen (carrusel de portada) ---------- */
.img-banners { position: relative; margin: 24px 0 44px; }
.img-banners .img-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px; -webkit-overflow-scrolling: touch; }
.img-banners .img-track::-webkit-scrollbar { height: 6px; }
.img-banners .img-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.img-banners .img-slide {
  flex: 0 0 88%; scroll-snap-align: center;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  position: relative;
}
.img-banners .img-slide img { display: block; width: 100%; height: 170px; object-fit: cover; }
.img-banners .img-slide .img-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff; font-size: 13px; font-weight: 700;
}
@media (min-width: 760px) { .img-banners .img-slide { flex-basis: 47%; } }
@media (min-width: 1020px) { .img-banners .img-slide { flex-basis: 31%; } }
/* ---------- Badge ROJO bestseller/popular ---------- */
.product-badge.red { background: linear-gradient(135deg, #ff4d6d, #ff7a5e); color: #fff; box-shadow: 0 0 14px rgba(255, 77, 109, 0.55); }
/* ---------- Verified + reviews ---------- */
.verified-chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800;
  color: var(--green); border: 1px solid rgba(0, 230, 118, 0.3); background: rgba(0, 230, 118, 0.08);
  padding: 3px 9px; border-radius: 999px;
}
.reviews-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700;
  color: var(--text-muted);
}
/* ---------- Precio "Desde $X" ---------- */
.product-price .from { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-right: 5px; -webkit-text-fill-color: var(--text-muted); }
/* ---------- Portada: tarjetas de sección (feature-cards) ---------- */
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; text-align: left;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(232, 79, 255, 0.2), 0 0 0 1px rgba(232, 79, 255, 0.45); text-decoration: none; }
.feature-icon { font-size: 30px; }
.feature-card .card-title { margin-top: 4px; }
.feature-cta { color: var(--accent); font-weight: 800; font-size: 13px; margin-top: auto; }
.feature-card:hover .feature-cta { text-decoration: underline; }
.cta-box {
  text-align: center; padding: 26px; border-radius: var(--radius);
  background: rgba(232, 79, 255, 0.07); border: 1px solid var(--border);
}
.cta-box p { margin-bottom: 14px; color: var(--text-muted); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cta-box { text-align: left; }
}
/* ---------- Storex: chips de duraciones + selector dentro de la tarjeta ---------- */
.dur-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.dur-chip {
  padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.3px;
  background: rgba(192, 132, 252, 0.1); color: var(--purple);
  border: 1px solid rgba(192, 132, 252, 0.3);
  white-space: nowrap;
}
.dur-chip.best { background: rgba(232, 79, 255, 0.16); color: var(--accent); border-color: rgba(232, 79, 255, 0.45); }
.duration-list { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.duration-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-radius: 11px;
  background: rgba(42, 31, 61, 0.55); border: 1px solid var(--border);
  transition: border-color 150ms;
}
.duration-row:hover { border-color: var(--accent); }
.duration-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.duration-name { font-weight: 800; font-size: 12.5px; color: var(--text-main); white-space: nowrap; }
.duration-stock { font-size: 10.5px; color: var(--text-muted); }
.duration-right { display: flex; align-items: center; gap: 10px; }
.duration-price { font-weight: 900; font-size: 13.5px; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
@media (max-width: 760px) {
  .duration-row { flex-wrap: wrap; }
  .duration-right { width: 100%; justify-content: space-between; padding-top: 5px; border-top: 1px solid rgba(58, 42, 86, 0.4); }
}
