:root {
  --pink: #ff2b83;
  --pink-dark: #e91f70;
  --pink-soft: #fff0f6;
  --pink-line: #ffc6dd;
  --ink: #11131a;
  --navy: #344054;
  --muted: #73788a;
  --line: #e6e7ed;
  --surface: #ffffff;
  --background: #fbfbfd;
  --green: #11a678;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: #e8edf0;
  background-image: url("../../assets/socialfast-trafego-pago-hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background: rgba(246, 248, 250, 0.66);
  -webkit-backdrop-filter: blur(9px) saturate(0.82);
  backdrop-filter: blur(9px) saturate(0.82);
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(250, 251, 253, 0.34)),
    linear-gradient(rgba(63, 74, 94, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 74, 94, 0.045) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(628px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 46px 0 28px;
}

.topbar,
.network-card,
.trust-row,
footer {
  opacity: 0.62 !important;
  filter: blur(0.75px);
  pointer-events: none;
  user-select: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-bottom: 20px;
  padding: 0 4px;
  animation: reveal 0.55s ease both;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff438f, #f51e76);
  box-shadow: 0 8px 18px rgba(255, 43, 131, 0.25);
  transform: rotate(-6deg);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  transform: rotate(6deg);
}

.brand-name {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.15px;
  line-height: 1;
}

.brand-name span {
  color: var(--pink);
}

.brand-spark {
  position: absolute;
  top: -2px;
  right: -9px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.secure-pill,
.offer-pill,
.trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secure-pill {
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  color: #4e5566;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 25px rgba(17, 19, 26, 0.035);
  font-size: 12px;
  font-weight: 650;
}

.secure-pill svg {
  width: 16px;
  height: 16px;
  color: var(--pink);
}

.network-card {
  display: flex;
  align-items: center;
  min-height: 78px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(23, 28, 42, 0.045);
  animation: reveal 0.55s 0.06s ease both;
}

.network-icon {
  display: inline-grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(145deg, #ff438f, #f51e76);
  box-shadow: 0 8px 18px rgba(255, 43, 131, 0.23);
}

.network-icon svg {
  width: 24px;
  height: 24px;
}

.network-copy {
  display: grid;
  gap: 3px;
  margin-left: 14px;
}

.network-copy small {
  color: #81879a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
}

.network-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.offer-pill {
  min-height: 31px;
  margin-left: auto;
  padding: 0 12px;
  color: var(--pink-dark);
  border: 1px solid var(--pink-line);
  border-radius: 999px;
  background: var(--pink-soft);
  font-size: 11px;
  font-weight: 700;
}

.consent-card {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding: 32px 30px 28px;
  border: 1px solid rgba(224, 226, 233, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow:
    0 28px 80px rgba(19, 25, 39, 0.18),
    0 3px 10px rgba(19, 25, 39, 0.06);
  animation: reveal 0.6s 0.12s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  margin-bottom: 13px;
  padding: 0 10px;
  color: var(--pink-dark);
  border-radius: 999px;
  background: var(--pink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.55px;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 14px;
  height: 14px;
}

.consent-card h1 {
  margin: 0;
  color: #0d0f15;
  font-size: clamp(30px, 5vw, 38px);
  font-weight: 790;
  letter-spacing: -1.65px;
  line-height: 1.08;
}

.intro {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.privacy-box {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e9e9ef;
  border-radius: 18px;
  background: #fbfbfd;
}

.privacy-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--pink);
  border: 1px solid var(--pink-line);
  border-radius: 14px;
  background: var(--pink-soft);
}

.privacy-icon svg {
  width: 22px;
  height: 22px;
}

.privacy-copy {
  min-width: 0;
}

.privacy-copy h2 {
  margin: 1px 0 6px;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.25px;
}

.privacy-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.privacy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 12px;
  color: #4f5667;
  font-size: 11px;
  font-weight: 650;
}

.privacy-points span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.privacy-points svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.cookie-actions {
  display: grid;
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.cookie-actions button {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.cookie-actions button svg {
  width: 17px;
  height: 17px;
}

.cookie-actions .primary {
  color: #ffffff;
  border: 1px solid var(--pink);
  background: linear-gradient(135deg, #ff3488, #fa1f79);
  box-shadow: 0 9px 20px rgba(255, 43, 131, 0.22);
}

.cookie-actions .outline {
  color: #596071;
  border: 1px solid #dedfe6;
  background: #ffffff;
}

.cookie-actions button:hover {
  transform: translateY(-2px);
}

.cookie-actions .primary:hover {
  background: linear-gradient(135deg, #ff227d, #ed176c);
  box-shadow: 0 12px 25px rgba(255, 43, 131, 0.28);
}

.cookie-actions .outline:hover {
  color: var(--ink);
  border-color: var(--pink-line);
  background: var(--pink-soft);
}

.cookie-actions button:focus-visible,
.legal-copy a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(255, 43, 131, 0.25);
  outline-offset: 3px;
}

.legal-copy {
  margin: 15px 2px 0;
  color: #9296a5;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}

.legal-copy a {
  color: #5d6270;
  font-weight: 650;
  text-underline-offset: 2px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  animation: reveal 0.6s 0.18s ease both;
}

.trust-item {
  gap: 7px;
  min-height: 40px;
  color: #333846;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 22px rgba(23, 28, 42, 0.03);
  font-size: 10.5px;
  font-weight: 650;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--pink);
}

footer {
  margin-top: 23px;
  color: #b0b3bf;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 2.3px;
  text-align: center;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  body {
    background-position: 66% center;
    background-attachment: scroll;
  }

  body::before {
    background: rgba(247, 249, 251, 0.72);
    -webkit-backdrop-filter: blur(8px) saturate(0.78);
    backdrop-filter: blur(8px) saturate(0.78);
  }

  .page-shell {
    width: min(calc(100% - 32px), 520px);
    padding: 18px 0 22px;
  }

  .topbar {
    min-height: 50px;
    margin-bottom: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 18px;
    height: 18px;
  }

  .brand-name {
    font-size: 22px;
  }

  .secure-pill {
    min-height: 34px;
    padding: 0 11px;
    font-size: 10px;
  }

  .network-card {
    min-height: 70px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 17px;
  }

  .network-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .network-copy {
    margin-left: 11px;
  }

  .offer-pill {
    min-height: 28px;
    padding: 0 9px;
    font-size: 9px;
  }

  .consent-card {
    margin-top: 20px;
    padding: 26px 20px 24px;
    border-radius: 21px;
  }

  .consent-card h1 {
    font-size: 30px;
  }

  .intro {
    margin-bottom: 18px;
  }

  .privacy-box {
    gap: 12px;
    padding: 15px;
  }

  .privacy-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .cookie-actions .primary {
    order: 1;
  }

  .cookie-actions .outline {
    order: 2;
  }

  .trust-row {
    gap: 6px;
    margin-top: 14px;
  }

  .trust-item {
    min-height: 38px;
    gap: 4px;
    padding: 0 5px;
    font-size: 9px;
  }

  .trust-item svg {
    width: 13px;
    height: 13px;
  }

  footer {
    margin-top: 18px;
  }
}

@media (max-width: 390px) {
  .secure-pill {
    width: 34px;
    padding: 0;
    font-size: 0;
  }

  .secure-pill svg {
    width: 17px;
    height: 17px;
  }

  .network-copy small {
    letter-spacing: 1.1px;
  }

  .offer-pill {
    max-width: 74px;
    line-height: 1.15;
    text-align: center;
  }

  .privacy-box {
    display: block;
  }

  .privacy-icon {
    margin-bottom: 11px;
  }

  .privacy-points {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
