/* DRACOV SHOP — tienda pública (tema Lords Mobile: reino, oro y acero) */
:root {
  --bg: #070b16;
  --panel: #0d1424;
  --card: #121a2e;
  --card2: #1a2340;
  --line: #26324e;
  --text: #eef2fb;
  --dim: #8b96b0;
  --gold: #f0c419;
  --gold2: #c8930a;
  --royal: #3b6ef0;
  --royal2: #6a4ff0;
  --green: #2fce82;
  --red: #f0525f;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --serif: "Cinzel", Georgia, "Times New Roman", serif;
  --hero-h: clamp(300px, 46vh, 500px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px; line-height: 1.6;
  background-image:
    radial-gradient(1100px 620px at 85% -10%, rgba(59,110,240,.09), transparent 60%),
    radial-gradient(900px 560px at -10% 18%, rgba(106,79,240,.07), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(240,196,25,.05), transparent 60%);
  background-attachment: fixed;
}

html { scroll-padding-top: 140px; overflow-anchor: none; }

/* BANNER PEGADO ARRIBA (se encoge al hacer scroll) */
.sticky-top { position: sticky; top: 0; z-index: 40; }

/* BANNER (a pantalla completa) */
.hero-pin {
  position: relative; height: var(--hero-h); overflow: hidden; background: #070b16;
  transition: height .28s ease;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,11,22,.35), transparent 22%, transparent 58%, rgba(7,11,22,.55));
}

/* BOTONES DE SERVICIOS + CONTACTAR SOBRE EL BANNER */
.hero-btns {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 8px 12px;
}
.hero-btns .svc-nav { margin: 0; }
.svc-btn { text-decoration: none; }

/* BANNER ENCOGIDO AL HACER SCROLL: nombre arriba + botones debajo */
#topbar.scrolled .hero-pin { height: 132px; }
#topbar.scrolled .hero-shade { background: linear-gradient(180deg, rgba(7,11,22,.05), rgba(7,11,22,.5)); }
#topbar.scrolled .hero-btns { top: auto; bottom: 6px; padding: 0 12px; gap: 10px; }
#topbar.scrolled .svc-btn { min-width: 48px; gap: 0; padding: 0; }
#topbar.scrolled .svc-btn-ic {
  width: 46px; height: 46px; border-width: 1.5px;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.7), inset 0 0 10px rgba(0,0,0,.5), 0 0 12px -6px rgba(240,196,25,.35);
}
#topbar.scrolled .svc-btn-ic img { width: 22px; height: 22px; }
#topbar.scrolled .svc-btn-name { display: none; }
@media (max-width: 560px) {
  #topbar.scrolled .hero-pin { height: 108px; }
  #topbar.scrolled .svc-btn { min-width: 40px; }
  #topbar.scrolled .svc-btn-ic { width: 38px; height: 38px; }
  #topbar.scrolled .svc-btn-ic img { width: 18px; height: 18px; }
}

.page { position: relative; z-index: 1; }
.page::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(240,196,25,.7), transparent);
}

/* SECCIONES */
.section { max-width: 1100px; margin: 0 auto; padding: 70px 20px; }
.section.dark { max-width: none; background: linear-gradient(180deg, var(--panel), #0b0f1e); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 70px 20px; }
.sec-title { font-family: var(--serif); font-size: 34px; font-weight: 700; margin: 0 0 8px; text-align: center; text-transform: uppercase; letter-spacing: 1.5px; }
.sec-title span { color: var(--gold); }
.sec-title::after {
  content: ''; display: block; width: 74px; height: 2px; margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sec-ico { width: 30px; height: 30px; vertical-align: -5px; margin-right: 6px; }
.sec-sub { text-align: center; color: var(--dim); margin: 0 0 34px; }
.orn { text-align: center; color: var(--gold); font-size: 13px; letter-spacing: 12px; margin: -4px 0 22px; opacity: .7; }

/* BOTONES DE SERVICIOS */
.svc-nav { display: flex; justify-content: center; align-items: flex-start; gap: 12px; flex-wrap: wrap; max-width: 920px; margin: 0 auto; }
.svc-btn { display: flex; flex-direction: column; align-items: center; gap: 7px; background: transparent; border: none; cursor: pointer; padding: 4px 3px; min-width: 92px; color: var(--text); font-family: inherit; }
.svc-btn-ic {
  width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #26355f, #121b33 70%);
  border: 2px solid rgba(240,196,25,.55);
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.75), inset 0 0 16px rgba(0,0,0,.55), 0 0 18px -6px rgba(240,196,25,.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-btn-ic img { width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.svc-btn:hover .svc-btn-ic { transform: translateY(-4px) scale(1.04); border-color: #ffd84a; box-shadow: 0 18px 34px -12px rgba(240,196,25,.55), 0 0 0 6px rgba(240,196,25,.10), 0 0 26px -4px rgba(240,196,25,.5); }
.svc-btn-name { font-size: 12.5px; font-weight: 700; letter-spacing: .3px; text-shadow: 0 2px 6px rgba(0,0,0,.85); }
.svc-btn:hover .svc-btn-name { color: var(--gold); }
@media (max-width: 560px) {
  .svc-btn { min-width: 56px; }
  .svc-btn-ic { width: 48px; height: 48px; border-width: 1.5px; }
  .svc-btn-ic img { width: 22px; height: 22px; }
  .svc-btn-name { font-size: 10px; }
  .hero-btns { gap: 6px; padding: 4px 8px; bottom: 4px; }
}

/* SECCIONES DE CUENTAS Y BOTS */
.svc-sec { text-align: center; max-width: 640px; margin: 0 auto; padding: 6px 0; }
.svc-sec-ic { width: 56px; height: 56px; filter: drop-shadow(0 8px 18px rgba(240,196,25,.35)); }
.svc-sec .sec-title { margin-top: 10px; font-size: 30px; }
.svc-sec .s-badge { display: inline-block; margin: 6px 0 22px; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: rgba(47,206,130,.12); color: var(--green); border: 1px solid rgba(47,206,130,.3); }
.svc-sec .s-badge.off { background: rgba(139,147,167,.12); color: var(--dim); border-color: var(--line); }
.svc-sec-cta { margin-top: 4px; }

/* FULL BANK */
.fb-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; text-align: center; }
.fb-head .sec-sub { margin-bottom: 0; }
.fb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.fb {
  background: linear-gradient(180deg, var(--card2), #151d38); border: 1px solid var(--line); border-radius: 14px; padding: 20px 16px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.fb:hover { border-color: var(--gold); transform: translateY(-2px); }
.fb.selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 10px 26px -14px rgba(240,196,25,.55); }
.fb .f-emoji { font-size: 30px; }
.fb .f-name { font-weight: 700; font-size: 15px; margin-top: 8px; }
.fb .f-desc { color: var(--dim); font-size: 11.5px; line-height: 1.35; min-height: 30px; }
.fb .f-price { font-family: var(--mono); font-size: 19px; font-weight: 800; color: var(--gold); margin-top: 10px; }
.fb-note { text-align: center; color: var(--dim); font-size: 13px; margin-bottom: 22px; }
.btn-big { font-size: 16px; padding: 14px 30px; }
#fb-open-form { display: block; margin: 0 auto; }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { background: linear-gradient(180deg, var(--card), #0f1628); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-align: center; }
.contact-card .cc-icon { display: flex; justify-content: center; }
.contact-card .cc-icon img { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px rgba(240,196,25,.3)); }
.contact-card h3 { margin: 10px 0 6px; font-size: 17px; font-family: var(--serif); }
.contact-card p { font-size: 13.5px; margin: 0 0 14px; word-break: break-all; }
.mono { font-family: var(--mono); }
.muted { color: var(--dim); }

/* BOTONES */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 11px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all .15s; border: 1px solid var(--line); background: var(--card2); color: var(--text);
}
.btn-gold { background: linear-gradient(135deg, #f8d74a, var(--gold), var(--gold2)); color: #1a1400; border: 1px solid rgba(255,235,150,.6); box-shadow: 0 6px 22px -8px rgba(240,196,25,.55); }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(240,196,25,.7); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* FOOTER */
.foot { border-top: 1px solid var(--line); text-align: center; padding: 34px 20px; background: var(--panel); }
.foot .brand { display: flex; justify-content: center; margin-bottom: 8px; }
.foot .brand-ico { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(240,196,25,.55); box-shadow: 0 0 16px rgba(240,196,25,.28); }

/* MODAL */
.modal { position: fixed; inset: 0; background: rgba(4,6,12,.78); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal.hidden { display: none; }
.modal-box { background: linear-gradient(180deg, var(--card), #0e1526); border: 1px solid var(--line); border-radius: 18px; padding: 28px; width: 100%; max-width: 560px; position: relative; max-height: 92vh; overflow-y: auto; box-shadow: 0 26px 80px -20px rgba(0,0,0,.9); }
#modal-close { position: absolute; top: 12px; right: 14px; background: transparent; border: none; color: var(--dim); font-size: 18px; cursor: pointer; }
.modal h2 { margin: 0 0 6px; font-size: 22px; font-family: var(--serif); }
.modal p { margin: 0 0 18px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--dim); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--card2); border: 1px solid var(--line); color: var(--text); border-radius: 10px;
  padding: 10px 12px; font-size: 14px; width: 100%; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.btn-full { width: 100%; margin-top: 6px; }
.r-result { margin-top: 14px; padding: 14px; border-radius: 12px; text-align: center; font-weight: 600; }
.r-result.ok { background: rgba(47,206,130,.1); color: var(--green); border: 1px solid rgba(47,206,130,.3); }
.r-result.err { background: rgba(240,82,95,.1); color: var(--red); border: 1px solid rgba(240,82,95,.3); }

/* REQUISITOS Y ENTREGA */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin-bottom: 30px; }
.req-card {
  background: linear-gradient(180deg, var(--card), #0e1526);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.req-card h3 { font-size: 18px; font-family: var(--serif); margin: 0 0 14px; }
.req-text { color: var(--dim); font-size: 14px; margin: 0 0 18px; line-height: 1.6; }
.req-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.req-detail-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
}
.req-detail-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.req-detail-item b { display: block; font-size: 13.5px; margin-bottom: 2px; color: var(--text); }
.req-detail-item span { font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.req-steps { display: flex; flex-direction: column; gap: 10px; }
.req-step {
  display: flex; gap: 12px; align-items: center;
  background: var(--card2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 13.5px;
}
.rs-n {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a1400; font-weight: 800; font-size: 13px; flex-shrink: 0;
}

/* Items de requisitos */
.req-grid-items { display: flex; flex-direction: column; gap: 8px; }
.req-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  background: linear-gradient(135deg, rgba(240,196,25,.04), rgba(59,110,240,.03));
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s, transform .2s;
}
.req-item:hover { border-color: rgba(240,196,25,.4); transform: translateX(4px); }
.req-item-ic {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-shrink: 0;
}
.req-item:hover .req-item-ic { border-color: var(--gold); }
.req-item-body { flex: 1; min-width: 0; }
.req-item-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 3px;
}
.req-item-desc {
  font-size: 13px; color: var(--dim); line-height: 1.5;
}

.req-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.req-list li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--card2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 13.5px; line-height: 1.5;
}
.req-alert {
  background: rgba(240,196,25,.08); border: 1px solid rgba(240,196,25,.3);
  border-radius: 12px; padding: 16px; margin-bottom: 18px; font-size: 13.5px;
}
.req-alert b { color: var(--gold); display: block; margin-bottom: 10px; }
.req-alert-items { display: flex; flex-direction: column; gap: 6px; }
.req-alert-item {
  display: flex; gap: 8px; align-items: center;
  background: rgba(240,196,25,.06); border-radius: 8px;
  padding: 8px 10px; font-size: 12.5px;
}
.req-alert-item span:first-child { font-size: 16px; flex-shrink: 0; }
@media (max-width: 600px) { .req-grid { grid-template-columns: 1fr; } }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--card2); border: 1px solid var(--gold); padding: 11px 20px; border-radius: 12px; z-index: 70; font-size: 14px; box-shadow: 0 12px 40px -10px rgba(0,0,0,.6); }
.hidden { display: none !important; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

/* ══════ CUENTAS EN VENTA — CARRUSEL ══════ */
.accounts-carousel { position: relative; max-width: 1100px; margin: 0 auto; }
.accounts-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 40px 20px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.accounts-track::-webkit-scrollbar { display: none; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(13,20,36,.85); border: 1px solid var(--gold);
  color: var(--gold); font-size: 18px; cursor: pointer;
  transition: all .2s; z-index: 5; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--gold); color: #171300; box-shadow: 0 0 20px rgba(240,196,25,.4); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* POSTER DE CUENTA */
.ac-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: linear-gradient(160deg, #121a2e, #1a2440 60%, #0d1424);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: all .3s;
}
.ac-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(240,196,25,.25); }
.ac-img { width: 100%; height: 200px; object-fit: cover; display: block; border-bottom: 2px solid var(--gold); }
.ac-noimg { display: flex; align-items: center; justify-content: center; font-size: 50px; height: 200px; background: linear-gradient(135deg, #1a2340, #26324e); }
.ac-body { padding: 16px 18px; }
.ac-title { margin: 0 0 8px; font-family: var(--serif); font-size: 17px; color: var(--gold); }
.ac-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ac-badge {
  background: rgba(240,196,25,.1); border: 1px solid rgba(240,196,25,.25);
  color: var(--gold); font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.ac-troops { font-size: 12.5px; color: var(--dim); margin-bottom: 6px; }
.ac-desc { font-size: 12.5px; color: var(--dim); margin: 0 0 12px; line-height: 1.4; }
.ac-footer { display: flex; justify-content: space-between; align-items: center; }
.ac-price { font-family: var(--serif); font-size: 22px; font-weight: 900; color: var(--gold); }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* MODAL DETALLE CUENTA */
.modal.hidden { display: none; }
.account-modal-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 0; }
.modal-close { position: sticky; top: 0; float: right; margin: 12px 12px 0 0; background: rgba(15,23,42,.85); border: 1px solid var(--line); color: var(--dim); font-size: 18px; cursor: pointer; z-index: 5; width: 34px; height: 34px; border-radius: 50%; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--gold); background: rgba(240,196,25,.15); border-color: rgba(240,196,25,.3); }

/* Modal imagen */
.am-img { width: 100%; max-height: 420px; object-fit: contain; display: block; background: #0a0f1e; }
.am-noimg { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 60px; background: linear-gradient(135deg, #1a2340, #26324e); }

/* Modal body */
.am-body { padding: 20px 24px 24px; }
.am-title { font-family: var(--serif); font-size: 22px; color: var(--gold); margin: 0 0 4px; line-height: 1.3; }
.am-subtitle { color: var(--dim); font-size: 13px; margin-bottom: 16px; }

/* Info grid - 2 columnas en desktop, 1 en móvil */
.am-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.am-info-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 8px 12px; background: rgba(255,255,255,.03); border-radius: 8px; border: 1px solid rgba(255,255,255,.05); }
.am-info-ic { font-size: 18px; width: 28px; text-align: center; flex-shrink: 0; }
.am-info-label { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.am-info-val { color: var(--text); font-weight: 600; font-size: 13px; }

/* Descripción */
.am-desc-section { margin-bottom: 18px; }
.am-desc-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; font-weight: 700; }
.am-desc { color: #d0d5e0; font-size: 14px; line-height: 1.6; padding: 14px 16px; background: rgba(255,255,255,.04); border-radius: 10px; border: 1px solid rgba(255,255,255,.06); white-space: pre-line; }

/* Footer */
.am-divider { height: 1px; background: var(--line); margin: 0 -24px 18px; }
.am-footer { display: flex; justify-content: space-between; align-items: center; }
.am-price { font-family: var(--serif); font-size: 28px; font-weight: 900; color: var(--gold); }
.am-price-label { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 2px; }

/* Responsive móvil - account modal */
@media (max-width: 600px) {
  .account-modal-box { border-radius: 14px; max-height: 95vh; }
  .am-body { padding: 16px 14px 20px; }
  .am-info { grid-template-columns: 1fr; gap: 6px; }
  .am-info-row { padding: 8px 10px; }
  .am-title { font-size: 19px; }
  .am-footer { flex-direction: column; gap: 12px; text-align: center; }
  .am-price { font-size: 24px; }
  .am-divider { margin: 0 -14px 14px; }
.am-img { max-height: 280px; }
.req-grid { grid-template-columns: 1fr; }
}

/* ══════ TRACKING FLOAT ══════ */
.tracking-float {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--gold); color: var(--bg);
  padding: 10px 14px; border-radius: 50px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 20px rgba(240,196,25,.25);
  transition: all .2s; z-index: 100;
}
.tracking-float:hover {
  background: var(--gold2); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,196,25,.35);
}
.tf-icon { font-size: 18px; }
@media (max-width: 768px) {
  .tracking-float { bottom: 16px; right: 16px; padding: 8px 12px; font-size: 12px; }
  .tf-text { display: none; }
}
