:root {
  --theme-blue: #0f8b6d;
  --theme-blue-dark: #0a6e57;
  --theme-steel: #064e3b;
  --form-card: #e6e6e6;
  --form-line: #b5bcc3;
  --form-input-bg: #f2f2f2;
  --brand-gold: #ecb918;
  --brand-gold-strong: #d8a80f;
  --text-light: #f2f2f2;
  --text-dark: #1a1a1a;
  --muted: #6e6e6e;
  --card: #dddddd;
  --line: #c3c3c3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #21003a 0%, #5e12b8 56%, #8b2be2 100%);
}

.topbar {
  min-height: 72px;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-bottom: 0;
}

.brand-logo {
  width: min(350px, 80vw);
  height: auto;
}

.hero {
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 10px 16px 48px;
}

.login-card {
  width: min(100%, 392px);
  background: var(--form-card);
  border-radius: 6px;
  border: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  padding: 22px 24px;
}

.login-card h1 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #0d0d0d;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--form-line);
  margin-bottom: 12px;
  padding: 0 14px;
  font: inherit;
  border-radius: 4px;
  background: var(--form-input-bg);
  color: #243444;
}

.login-form input:focus {
  outline: 2px solid rgba(19, 141, 201, 0.3);
  border-color: #7ebede;
}

.btn {
  width: 100%;
  min-height: 46px;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  display: grid;
  place-items: center;
}

.btn-primary {
  margin-top: 10px;
  border: 0;
  background: #0a0a0a;
  color: #fff;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1a1a1a;
}

.btn-secondary {
  margin-top: 8px;
  background: #0a0a0a;
  color: #fff;
  border: 0;
  font-size: 0.84rem;
  animation: supportBlink 1s ease-in-out infinite;
  letter-spacing: 0.2px;
}

.btn-secondary:hover {
  background: #1a1a1a;
  animation-play-state: paused;
}

@keyframes supportBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    opacity: 0.58;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.34);
  }
}

.reg-support-btn {
  display: grid;
  place-items: center;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  padding: 12px 42px 12px 18px;
  min-height: 54px;
  gap: 0;
}

.reg-support-btn span:first-child {
  display: block;
}

.btn-icon-inline {
  position: absolute !important;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) !important;
  margin-left: 0;
  flex-shrink: 0;
}

.small-text {
  margin: 12px 0 0;
  text-align: center;
}

.small-text a,
.captcha-note a {
  color: #0048ba;
}

.captcha-note {
  margin: 18px auto 0;
  max-width: 330px;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #0b0b0b;
}

.copyright-mark {
  text-align: center;
  color: #303030;
  margin: 18px 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.keyword-strip {
  color: #fff;
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 600;
  padding: 24px 16px;
  background: linear-gradient(90deg, #2c0450 0%, #6a1fc5 50%, #4d118f 100%);
}

.footer-main {
  background: #f0f0f0;
  border-top: 1px solid #d7d7d7;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 42px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: min(260px, 80%);
  height: auto;
}

.footer-column h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  color: #2d2d2d;
}

.footer-column p {
  color: #4d4d4d;
  line-height: 1.6;
  margin-top: 12px;
}

.social-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column .social-links a {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: #3a3a3a;
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.footer-column .social-links a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}

.footer-column .social-links a[aria-label="Facebook"] svg,
.footer-column .social-links a[aria-label="Google"] svg,
.footer-column .social-links a[aria-label="LinkedIn"] svg {
  fill: currentColor;
  stroke: none;
}

.footer-column .social-links a[aria-label="Twitter"] svg,
.footer-column .social-links a[aria-label="Instagram"] svg {
  fill: none;
  stroke: currentColor;
}

.footer-column .social-links a:hover {
  background: #6a1fc5;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 9px;
}

.variants-col li {
  font-size: 0.88rem;
  line-height: 1.2;
}

.variants-col li + li {
  margin-top: 5px;
}

.footer-column a {
  color: #4a4a4a;
  text-decoration: none;
}

.footer-column a:hover {
  color: #151515;
  text-decoration: underline;
}

.site-footer {
  background: #3a0a6a;
  color: #f0f0f0;
  min-height: 120px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.whatsapp-pill {
  background: #06c865;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  white-space: nowrap;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-pill:hover {
  background: #03ad56;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
}

.login-page .login-card {
  width: min(100%, 392px);
  background: #dfdfdf;
  padding: 20px 24px 22px;
}

.login-page .login-card h1 {
  font-size: 2.15rem;
  margin-bottom: 14px;
}

.title-icon {
  font-size: 1.38rem;
  vertical-align: middle;
  display: inline-flex;
  transform: translateY(-1px);
}

.field-wrap {
  position: relative;
  margin-bottom: 10px;
}

.login-page .login-form input {
  margin-bottom: 0;
  padding-right: 42px;
}

.field-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #000;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.login-page .btn {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 42px 0 18px;
  margin-top: 8px;
  text-transform: none;
  font-size: 0.95rem;
}

.login-page .btn > span:first-child {
  width: 100%;
  text-align: center;
}

.btn-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.login-page .captcha-note {
  margin-top: 16px;
}

.login-email {
  text-align: center;
  margin: 8px 0 0;
  font-size: 1.2rem;
}

.login-email a {
  color: #0a66db;
  text-decoration: none;
}

.channel-box {
  margin-top: 14px;
  border-top: 1px dashed #232323;
  padding-top: 12px;
}

.channel-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid #222;
  border-radius: 4px;
  color: #111;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  padding: 10px 6px;
  text-transform: uppercase;
  font-size: 0.86rem;
  line-height: 1.2;
  white-space: nowrap;
}

.channel-icon {
  font-size: 0.9rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .brand-logo {
    width: min(320px, 88vw);
  }

  .login-card h1 {
    font-size: 2rem;
  }

  .login-form input {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
  }

  .btn-secondary {
    font-size: 0.82rem;
  }

  .captcha-note {
    font-size: 0.9rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-column h2 {
    font-size: 1.3rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-pill {
    left: auto;
    right: 12px;
    bottom: 12px;
    max-width: min(250px, calc(100vw - 24px));
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }
}
