﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: "Inter", sans-serif;
  color: #212529;
  background: #f5f3f8;
}

.container {
  max-width: 960px;
}

.site-header {
  background-color: rgba(25, 20, 30, .88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(240, 180, 41, .1);
}

.site-header a {
  color: #999;
  transition: ease-in-out color .15s;
}

.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-shell {
  min-height: 60px;
}

.nav-primary {
  gap: 2.1rem;
}

.nav-cta {
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 .95rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 180, 41, .32);
  background: rgba(111, 66, 193, .18);
  color: #f4ead2 !important;
  font-size: .84rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: rgba(111, 66, 193, .3);
  border-color: rgba(240, 180, 41, .5);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero-panel {
  background: linear-gradient(135deg, #1a0a2e 0%, #59318f 55%, #7c3aed 100%);
  padding-top: 2.4rem !important;
  padding-bottom: 2.8rem !important;
  margin-top: .75rem !important;
  margin-bottom: .75rem !important;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: #9f7b23;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero-copy {
  max-width: 33rem;
}

.hero-panel .display-4 {
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 700 !important;
  color: #fff;
}

.hero-panel .lead {
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 1.18rem;
  line-height: 1.55;
  color: #564e61;
}

.btn-hero {
  min-width: 168px;
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-hero:hover {
  background: rgba(255, 255, 255, .28);
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.product-device {
  position: absolute;
  right: 10%;
  bottom: -24%;
  width: 260px;
  height: 470px;
  background-color: #3b1f6e;
  border-radius: 21px;
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .08);
  border-radius: 5px;
}

.device-impostor::before {
  background-color: rgba(25, 12, 50, .95);
  background-image: url("/assets/el-gran-impostor-icono.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  border-radius: 14px;
}

.product-device-2 {
  top: -16%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: rgba(255, 255, 255, .07);
}

.product-device-2::before {
  background-color: rgba(44, 26, 59, .94);
  background-image: url("/assets/el-gran-impostor-captura-app.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-radius: 14px;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.flex-equal > * {
  -ms-flex: 1;
  -webkit-box-flex: 1;
  flex: 1;
}

@media (min-width: 768px) {
  .flex-md-equal > * {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
  }
}

.overflow-hidden {
  overflow: hidden;
}

.bg-primary {
  background: linear-gradient(180deg, #59318f 0%, #412267 100%) !important;
}

.panel-block {
  min-height: 33rem;
}

.panel-tint-lilac {
  background: linear-gradient(180deg, #ddd6fe 0%, #c4b5fd 100%) !important;
}

.panel-tint-gold {
  background: linear-gradient(180deg, #f7f1e4 0%, #efe5cd 100%) !important;
}

.panel-purple {
  background: linear-gradient(135deg, #3b0764 0%, #6d28d9 100%) !important;
}

.panel-amber {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
}

.panel-lists {
  background: linear-gradient(135deg, #1a0a2e 0%, #4c1d95 45%, #7c3aed 100%) !important;
  color: #fff !important;
}

.panel-indigo {
  background: linear-gradient(180deg, #1e1b4b 0%, #3730a3 100%) !important;
}

.panel-gold {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
}

/* Evitar que text-white haga invisible el texto dentro de dispositivos con fondo claro */
.bg-dark .content-device,
.panel-purple .content-device,
.panel-indigo .content-device {
  color: #212529;
}

.content-device {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.content-device-steps {
  gap: .75rem;
}

.content-device-steps div,
.content-device-list div,
.content-device-groups div,
.content-device-online div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, .05);
}

.content-device-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #7346bf 0%, #4a2c73 100%);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.content-device-tags {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  gap: .75rem;
}

.content-device-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem .95rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, .14);
  color: #f2d58b;
  font-weight: 600;
}

.content-device-tags .tag-extra {
  background: linear-gradient(135deg, rgba(111, 66, 193, .45), rgba(236, 72, 153, .35));
  color: #f9a8d4;
  border: 1px solid rgba(236, 72, 153, .35);
}

.content-device-list div,
.content-device-groups div,
.content-device-online div {
  text-align: left;
}

.content-device-list span,
.content-device-groups span,
.content-device-online small {
  color: #6c757d;
}

.content-device-online strong {
  color: #2d1d3c;
}

.content-device-offline,
.content-device-download {
  align-items: center;
  text-align: center;
}

.content-device-offline strong {
  font-size: 4rem;
  line-height: 1;
  color: #4a2c73;
}

.content-device-offline span {
  max-width: 14rem;
  margin-top: .75rem;
  color: #6c757d;
}

.content-device-pro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.content-device-pro div {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(240, 180, 41, .18);
  font-weight: 600;
  color: #2d1d3c;
  text-align: center;
  padding: 1rem;
}

.content-device-download img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: .85rem;
}

.content-device-download strong {
  font-size: 1.15rem;
}

.content-device-download span {
  color: #6c757d;
  margin-bottom: .75rem;
}

.footer-logo {
  width: 28px;
  height: 28px;
}

/* ---- LEGAL PAGES ---- */
.legal-main {
  padding: 3rem 0 5rem;
  background: #f5f3f8;
}

.legal-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(60, 20, 100, .10);
  padding: 2.5rem 2.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(111, 66, 193, .12);
}

.legal-title {
  font-size: 2rem;
  font-weight: 800;
  color: #19141e;
  margin-bottom: .3rem;
}

.legal-date {
  color: #888;
  font-size: .88rem;
}

.legal-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3b0764;
  margin-top: 2rem;
  margin-bottom: .65rem;
}

.legal-card p,
.legal-card ul {
  color: #3d3346;
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: .75rem;
}

.legal-card ul {
  padding-left: 1.4rem;
}

.legal-card ul li {
  margin-bottom: .4rem;
}

.legal-card a {
  color: #6f42c1;
  text-decoration: underline;
}

.legal-card section {
  border-bottom: 1px solid rgba(111, 66, 193, .07);
  padding-bottom: .5rem;
}

.legal-card section:last-child {
  border-bottom: none;
}

@media (max-width: 767.98px) {
  .legal-card {
    padding: 1.5rem 1.2rem 2rem;
  }
  .legal-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
    gap: .5rem;
  }

  .hero-panel {
    padding-top: 1.5rem !important;
    padding-bottom: 1.8rem !important;
  }

  .hero-panel .display-4 {
    font-size: 2.35rem;
  }

  .panel-block {
    min-height: auto;
    margin-bottom: 1rem;
  }

  .content-device,
  .content-device-pro {
    width: 90% !important;
    height: auto !important;
    min-height: 260px;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .content-device-pro {
    grid-template-columns: 1fr;
  }
}
