
  :root {
    --bg: #060607;
    --panel: #0b0b0d;

    --red: #ff2d3f;
    --red-light: #ff5a68;
    --red-dark: #a80c19;

    --red-glow: rgba(255,45,63,.85);

    --text:#f7f7f8;
    --text-dim:#b2b2ba;

    --border:rgba(255,45,63,.35);

    --input-bg:#111114;
}


  * { box-sizing: border-box; margin: 0; padding: 0; }

html,
body {
    width: 100%;
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stage {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    position: relative;
    z-index: 2;
}
.card {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--panel);
    border-radius: 14px;
    overflow: hidden;
    /* BORDE */
    border: 2px solid rgb(255, 0, 21);
    /* GLOW ROJO */
    box-shadow:
        0 30px 80px rgba(0,0,0,0.75),
        0 0 15px rgba(255, 0, 21, 0.55),
        0 0 35px rgba(255, 0, 21, 0.35),
        0 0 70px rgba(255, 0, 21, 0.18);
    position: relative;
    z-index: 3;
}

  /* ================= LEFT PANEL ================= */
 .left {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 32px 28px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 30% 20%,
            rgba(255,45,63,0.12),
            transparent 55%),
        radial-gradient(
            ellipse at 70% 80%,
            rgba(255,45,63,0.10),
            transparent 60%),
        rgba(8,8,10,0.82);
    border-right: 1px solid rgba(255,45,63,0.15);
    z-index: 2;
}


 /* =========================================================
   GEOSEC — FONDO DE PARTÍCULAS
   ========================================================= */

#particles {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    z-index: 0;

    pointer-events: none;

    background: transparent;
}
  .left-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .badge {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    isolation: isolate;
  }
  
  .badge::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216,30,44,0.35), transparent 70%);
    filter: blur(6px);
    z-index: -1;
    animation: pulseGlow 3.5s ease-in-out infinite;
  }

  @keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
  }

  .badge img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(216,30,44,0.5), 0 0 30px rgba(216,30,44,0.45), 0 10px 40px rgba(0,0,0,0.6);
  }

  .brand-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #fff;
    margin-top: 4px;
  }

  .brand-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 7px;
    color: var(--red);
    margin-top: 2px;
  }

  .divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    margin: 16px 0 14px;
  }

  .tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
  }
  .tagline span { color: var(--red); }

  .subtagline {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-top: 6px;
    text-align: center;
    text-transform: uppercase;
  }

  .map-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }

  .map-wrap svg {
    width: 55%;
    max-width: 180px;
    filter: drop-shadow(0 10px 24px rgba(216,30,44,0.30));
  }

  .co-pulse {
    animation: mapPulse 2.6s ease-out infinite;
    transform-origin: center;
  }

  @keyframes mapPulse {
    0% { r: 5; opacity: 0.9; }
    100% { r: 16; opacity: 0; }
  }

  /* ================= RIGHT PANEL ================= */
  .right {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--panel);
  }

  .lock-icon {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 0 22px rgba(216,30,44,0.25);
  }
  .lock-icon svg { width: 20px; height: 20px; }

  .heading {
    font-family: 'Rajdhani', sans-serif;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
  }
  .heading span { color: var(--red); font-weight: 700; }

  .desc {
    text-align: center;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 8px auto 24px;
    max-width: 280px;
  }

  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 6px;
  }

  .input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }
  .input-wrap svg.icon-left {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--text-dim);
  }
  .input-wrap input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px 14px 12px 40px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .input-wrap input::placeholder { color: #5c5c63; }
  .input-wrap input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(216,30,44,0.15);
  }
  
  .toggle-eye {
    position: absolute;
    right: 14px;
    width: 17px;
    height: 17px;
    color: var(--text-dim);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
  }
  .toggle-eye svg { width: 100%; height: 100%; }

  .row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 20px;
    font-size: 12px;
  }
  .remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    cursor: pointer;
    user-select: none;
  }
  .remember input {
    width: 14px; height: 14px;
    accent-color: var(--red);
    cursor: pointer;
  }
  .forgot {
    color: var(--red);
    text-decoration: none;
  }
  .forgot:hover { text-decoration: underline; }

  .btn-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #e2222f, #b8101c);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(216,30,44,0.35);
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(216,30,44,0.45);
  }
  .btn-submit svg { width: 16px; height: 16px; }

  .or-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 16px;
    color: var(--text-dim);
    font-size: 11px;
  }
  .badge__core {
    position: relative; z-index: 2;
    width: 74%; aspect-ratio: 1; border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--line-bright);
    box-shadow:
      0 0 50px -10px rgba(214,31,44,.55),
      inset 0 0 24px rgba(0,0,0,.5);
    background: var(--void);
  }
  .or-divider::before, .or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
  }

  .footer-note {
    text-align: center;
    font-size: 11px;
    color: #68686f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .footer-note svg { width: 13px; height: 13px; }
  
  .copyright {
    text-align: center;
    font-size: 10px;
    color: #48484d;
    margin-top: 6px;
  }

  /* Media query optimizada para evitar solapamientos */
  @media (max-width: 960px) {
    .card { grid-template-columns: 1fr; max-width: 500px; }
    .left { padding: 30px 20px; min-height: auto; }
    .map-wrap { display: none; }
    .right { padding: 36px 28px; }
  }
