/* danilopez25.es — LAB */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  background: #05040b;
}

.container-fluid {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.lab-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  padding: 118px 20px 110px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.lab-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 50% 4%, rgba(123, 92, 255, .18), transparent 31%),
    radial-gradient(circle at 88% 62%, rgba(181, 108, 255, .08), transparent 27%),
    rgba(4, 3, 10, .69);
}

.lab-panel {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(181, 108, 255, .22);
  border-radius: 24px;
  background: rgba(8, 7, 16, .79);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lab-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13%;
  width: 74%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(181, 108, 255, .74),
    transparent
  );
}

.lab-head {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 52px);
  text-align: center;
}

.lab-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  align-items: center;
  gap: 8px;
  color: #b98aff;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.lab-head h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .08em;
  text-shadow:
    0 0 10px rgba(255, 255, 255, .16),
    0 0 25px rgba(181, 108, 255, .46),
    0 0 52px rgba(123, 92, 255, .26);
}

.lab-head p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.58;
}

.lab-head::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b5cff, #b56cff);
  box-shadow: 0 0 17px rgba(181, 108, 255, .42);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lab-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 405px;
  padding: 24px 22px 22px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(181, 108, 255, .34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 12%, rgba(123, 92, 255, .08), transparent 34%),
    linear-gradient(145deg, rgba(19, 17, 31, .95), rgba(10, 9, 18, .94));
  color: #fff;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .28);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.lab-card::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(123, 92, 255, .09);
  filter: blur(48px);
  pointer-events: none;
}

.lab-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 108, 255, .56);
  box-shadow: 0 28px 62px rgba(0, 0, 0, .36);
}

.lab-card--soon {
  border-style: dashed;
  border-color: rgba(181, 108, 255, .22);
}

.lab-card-number {
  position: absolute;
  top: 22px;
  left: 22px;
  margin: 0;
  color: #9f56ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.lab-card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 82px;
  height: 82px;
  margin-top: 2px;
  place-items: center;
  border: 1px solid rgba(181, 108, 255, .6);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(123, 92, 255, .13), rgba(8, 7, 16, .45));
  color: #a95cff;
  font-size: 32px;
  box-shadow:
    inset 0 0 24px rgba(123, 92, 255, .09),
    0 0 24px rgba(123, 92, 255, .08);
}

.lab-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  margin-top: 15px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lab-card-status {
  display: inline-flex;
  min-height: 19px;
  margin-bottom: 10px;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .42);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lab-card-status--active {
  color: #6bea95;
}

.lab-card-status i {
  font-size: 7px;
}

.lab-card h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .01em;
}

.lab-card-description {
  max-width: 360px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.62;
}

.lab-chips {
  display: flex;
  margin-top: 18px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.lab-chips span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .76);
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.2;
}

.lab-card-actions {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  justify-content: center;
}

.lab-button {
  display: inline-flex;
  min-width: 150px;
  min-height: 40px;
  padding: 9px 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(181, 108, 255, .58);
  border-radius: 10px;
  background: linear-gradient(135deg, #7547f3, #9e3ff1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(123, 92, 255, .2);
  transition:
    transform .18s ease,
    filter .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.lab-button:hover {
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.08);
}

.lab-button:focus-visible {
  outline: 2px solid #c190ff;
  outline-offset: 3px;
}

.lab-button--disabled {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .42);
  box-shadow: none;
  cursor: default;
}

.lab-button--disabled:hover {
  transform: none;
  filter: none;
}

.lab-updates {
  margin-top: clamp(38px, 5vw, 54px);
  padding-top: clamp(26px, 3.6vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.lab-updates-head {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.lab-updates-kicker {
  display: block;
  margin-bottom: 7px;
  color: #ad84ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .2em;
}

.lab-updates h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .02em;
}

.lab-history {
  display: inline-flex;
  padding: 8px 0;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .42);
  font-size: 12.5px;
  font-weight: 750;
}

.lab-updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lab-update {
  display: flex;
  min-width: 0;
  min-height: 86px;
  padding: 16px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}

.lab-update-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(181, 108, 255, .2);
  border-radius: 11px;
  background: rgba(123, 92, 255, .08);
  color: #b995ff;
  font-size: 15px;
}

.lab-update h3 {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.lab-update p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .54);
  font-size: 11.5px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-card--sysadmin {
    grid-column: 1 / -1;
  }

  .lab-card {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .lab-hero {
    padding: 94px 14px 90px;
    background-attachment: scroll;
  }

  .lab-panel {
    padding: 28px 18px;
    border-radius: 19px;
  }

  .lab-grid,
  .lab-updates-grid {
    grid-template-columns: 1fr;
  }

  .lab-card--sysadmin {
    grid-column: auto;
  }

  .lab-card {
    min-height: 370px;
  }

  .lab-card-icon {
    width: 78px;
    height: 78px;
    font-size: 30px;
  }

  .lab-updates-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .lab-hero {
    padding-right: 10px;
    padding-left: 10px;
  }

  .lab-panel {
    padding: 26px 12px;
  }

  .lab-head h1 {
    font-size: 40px;
  }

  .lab-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .lab-card-number {
    top: 18px;
    left: 18px;
  }

  .lab-card-description {
    font-size: 12.5px;
  }

  .lab-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-card,
  .lab-button {
    transition: none;
  }

  .lab-card:hover,
  .lab-button:hover {
    transform: none;
  }
}

/* Añadir en lab.css, justo antes de los @media */

.lab-live-stats {
  position: relative;
  display: grid;
  margin-top: 20px;
  padding: 24px;
  grid-template-columns: auto minmax(240px, 1.25fr) minmax(250px, .9fr) auto;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(107, 234, 149, .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 7% 50%, rgba(107, 234, 149, .1), transparent 25%),
    linear-gradient(135deg, rgba(19, 25, 31, .96), rgba(11, 9, 20, .96));
  box-shadow: 0 20px 52px rgba(0, 0, 0, .25);
}

.lab-live-stats::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(123, 92, 255, .1);
  filter: blur(50px);
  pointer-events: none;
}

.lab-live-stats-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(107, 234, 149, .42);
  border-radius: 17px;
  background: rgba(107, 234, 149, .07);
  color: #6bea95;
  font-size: 27px;
  box-shadow: inset 0 0 22px rgba(107, 234, 149, .05), 0 0 25px rgba(107, 234, 149, .06);
}

.lab-live-stats-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lab-live-stats-status {
  display: inline-flex;
  margin-bottom: 7px;
  align-items: center;
  gap: 7px;
  color: #6bea95;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .11em;
}

.lab-live-stats-status i {
  font-size: 7px;
  filter: drop-shadow(0 0 6px #38dc75);
}

.lab-live-stats h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .035em;
}

.lab-live-stats-copy p {
  max-width: 485px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: 12.5px;
  line-height: 1.55;
}

.lab-live-stats-features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lab-live-stats-features span {
  display: inline-flex;
  min-width: 0;
  padding: 8px 10px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 750;
}

.lab-live-stats-features i {
  width: 14px;
  color: #ad79ff;
  text-align: center;
}

.lab-live-stats-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 158px;
  min-height: 41px;
  padding: 9px 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(107, 234, 149, .38);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(54, 187, 111, .92), rgba(40, 150, 116, .94));
  color: #fff;
  font-size: 11.5px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(45, 185, 109, .14);
  transition: transform .18s ease, filter .18s ease;
}

.lab-live-stats-button:hover {
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.09);
}

.lab-live-stats-button:focus-visible {
  outline: 2px solid #6bea95;
  outline-offset: 3px;
}

/* Sustituir dentro de @media (max-width: 1100px) */
@media (max-width: 1100px) {
  .lab-live-stats {
    grid-template-columns: auto 1fr auto;
  }

  .lab-live-stats-features {
    display: none;
  }
}

/* Añadir dentro de @media (max-width: 760px) */
@media (max-width: 760px) {
  .lab-live-stats {
    padding: 21px;
    grid-template-columns: auto 1fr;
    gap: 17px;
  }

  .lab-live-stats-button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

/* Añadir dentro de @media (max-width: 520px) */
@media (max-width: 520px) {
  .lab-live-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lab-live-stats-icon {
    margin: 0 auto;
  }

  .lab-live-stats-copy p {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-live-stats-button {
    transition: none;
  }

  .lab-live-stats-button:hover {
    transform: none;
  }
}
