@import url("/assets/css/site-footer.css?v=11");
/* Auth (login/cadastro) — layout alinhado ao AuthPage do ddtank.io */

/* Modais Bootstrap de erro (login/cadastro): texto legível no fundo branco */
.auth-body .modal-content,
.auth-body .modal-header,
.auth-body .modal-body,
.auth-body .modal-footer,
.auth-body .modal-title {
  color: #132144 !important;
}
.auth-body .modal-body {
  font-size: 15px;
  line-height: 1.5;
}

.auth-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  /* Mesmo tom base da home (.hero) */
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 80, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(204, 34, 0, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 85%, rgba(255, 160, 0, 0.08) 0%, transparent 48%),
    linear-gradient(180deg, #0a0a0f 0%, #050508 55%, #050508 100%) !important;
  overflow-x: hidden;
}

.auth-page {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px 48px;
  padding-top: 12px;
  padding-top: max(12px, env(safe-area-inset-top, 0px));
  position: relative;
  overflow: hidden;
}

.auth-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.auth-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  top: auto;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 960px;
  height: 520px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 106, 0, 0.2) 0%, transparent 62%);
  pointer-events: none;
}

.auth-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: -12px auto 0;
  animation: auth-fade-up 0.45s ease both;
}

@keyframes auth-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-logo-wrap {
  text-align: center;
  line-height: 0;
  margin-bottom: -28px;
}

.auth-logo-wrap a {
  display: inline-block;
  line-height: 0;
}

.auth-logo {
  /* Fallbacks primeiro: sem min()/clamp() o logo não pode usar largura intrínseca gigante */
  width: 90%;
  max-width: 260px;
  height: auto;
  max-height: 140px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: 50% 0%;
  -webkit-clip-path: inset(0 0 7% 0);
  clip-path: inset(0 0 7% 0);
  filter: drop-shadow(0 0 36px rgba(255, 106, 0, 0.65));
}

@supports (width: min(1px, 2px)) {
  .auth-logo {
    width: min(420px, 90vw);
    max-width: 420px;
    max-height: 240px;
  }
}

@supports (height: clamp(1px, 2px, 3px)) {
  .auth-logo {
    max-height: clamp(120px, 28vw, 220px);
  }
}

@supports (margin: clamp(0px, 1px, 2px)) {
  .auth-logo-wrap {
    margin-bottom: clamp(-48px, -8vw, -22px);
  }
}

.auth-card {
  position: relative;
  margin-top: -12px;
  background: linear-gradient(180deg, #101018 0%, #0a0a10 48%, #06060c 100%);
  border: 1px solid rgba(255, 106, 0, 0.2);
  border-radius: 20px;
  padding: 8px 8px 28px;
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 56px rgba(255, 106, 0, 0.08);
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 160, 80, 0.4), transparent);
  pointer-events: none;
}

.auth-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 14px 16px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.auth-tabs > * + * {
  margin-left: 4px;
}

@supports (gap: 1px) {
  .auth-tabs > * + * {
    margin-left: 0;
  }
}

.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.4px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  background: transparent;
  color: #6c6c7c;
}

.auth-tab.active {
  background: linear-gradient(135deg, #ff6a00, #cc2200);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.auth-tab:hover:not(.active) {
  color: #a8a8b8;
}

.auth-card-body {
  position: relative;
  z-index: 1;
  padding: 4px 22px 2px;
}

.auth-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #4ade80;
  margin-bottom: 18px;
  line-height: 1.5;
}

.auth-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #f87171;
  margin-bottom: 18px;
  line-height: 1.5;
}

.auth-h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f8f8fc;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.auth-sub {
  color: #8a8a9a;
  font-size: 13px;
  margin: 0 0 20px;
  line-height: 1.5;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field-tight {
  margin-bottom: 14px;
}

#form-register .cf-turnstile {
  display: flex;
  justify-content: flex-start;
  margin-left: 1px;
  margin-bottom: 12px;
}

.auth-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #6e6e7e;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.auth-label-row .auth-label {
  margin-bottom: 0;
}

.auth-forgot {
  font-size: 12px;
  color: #ff6a00;
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(6, 6, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  padding: 12px 14px;
  color: #f0f0f6;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-input:focus {
  background: rgba(8, 8, 16, 0.95);
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(255, 106, 0, 0.12);
}

.auth-input::placeholder {
  color: #555;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap .auth-input {
  padding-right: 52px;
}

.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #7a7a8a;
  padding: 8px;
  min-width: 40px;
  min-height: 40px;
  box-sizing: border-box;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 16px;
}

.auth-eye:hover {
  color: #ccc;
}

.auth-err {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ef4444;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.auth-err > * + * {
  margin-left: 8px;
}

@supports (gap: 1px) {
  .auth-err > * + * {
    margin-left: 0;
  }
}

.auth-btn {
  width: 100%;
  padding: 13px 12px;
  background: linear-gradient(135deg, #ff6a00, #cc2200);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 106, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 14px;
  font-family: inherit;
}

.auth-btn > * + * {
  margin-left: 14px;
}

@supports (gap: 1px) {
  .auth-btn > * + * {
    margin-left: 0;
  }
}

.auth-btn-play {
  width: 18px;
  height: 18px;
  object-fit: contain;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.auth-btn .auth-btn-slot .auth-btn-play,
.auth-btn .auth-btn-slot .auth-btn-ico {
  margin-right: 14px;
  letter-spacing: normal;
}

.auth-btn-ico {
  font-size: 16px;
}

@supports (gap: 1px) {
  .auth-btn .auth-btn-slot .auth-btn-play,
  .auth-btn .auth-btn-slot .auth-btn-ico {
    margin-right: 0;
  }
}

.auth-btn-text {
  display: inline-block;
  line-height: 1.2;
}

.auth-btn-loading {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.08em;
}

.auth-btn-loading > .fa-solid {
  margin-right: 12px;
}

@supports (gap: 1px) {
  .auth-btn-loading > .fa-solid {
    margin-right: 0;
  }
}

.auth-btn-loading-text {
  display: inline-block;
  line-height: 1.2;
}

.auth-btn:hover {
  opacity: 0.96;
}

.auth-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Um único .auth-btn-slot: texto de loading é aplicado por JS (evita dois spans no launcher). */
.auth-btn .auth-btn-slot {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 14px;
  letter-spacing: 0.08em;
}

.auth-btn .auth-btn-slot > * + * {
  margin-left: 14px;
}

@supports (gap: 1px) {
  .auth-btn .auth-btn-slot > * + * {
    margin-left: 0;
  }
}

.auth-btn[disabled] {
  opacity: 0.88;
  cursor: wait;
  pointer-events: none;
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 12px;
  color: #7a7a8c;
  margin-bottom: 18px;
  line-height: 1.55;
}

.auth-terms > * + * {
  margin-left: 12px;
}

@supports (gap: 1px) {
  .auth-terms > * + * {
    margin-left: 0;
  }
}

.auth-terms > span {
  word-spacing: 0.06em;
  letter-spacing: 0.02em;
}

.auth-terms input {
  width: 16px;
  height: 16px;
  accent-color: #ff6a00;
  margin-top: 2px;
  flex-shrink: 0;
}

.auth-terms a {
  color: #ff6a00;
  text-decoration: none;
  letter-spacing: 0.04em;
  word-spacing: 0.14em;
  padding: 0 4px;
  margin: 0 1px;
}

.auth-terms a:hover {
  text-decoration: underline;
}

.auth-hint {
  color: #555;
  font-weight: 500;
  text-transform: none;
  font-size: 10px;
  letter-spacing: 0;
}

.auth-strength {
  margin-top: 6px;
}

.auth-strength-bars {
  display: flex;
  gap: 4px;
}

.auth-strength-bars > * + * {
  margin-left: 4px;
}

@supports (gap: 1px) {
  .auth-strength-bars > * + * {
    margin-left: 0;
  }
}

.auth-strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.auth-strength-label {
  font-size: 10px;
  margin-top: 3px;
  font-weight: 600;
}

.auth-back {
  text-align: center;
  margin-top: 22px;
}

.auth-back--login-only {
  margin-top: 18px;
}

.auth-back--split {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

@media (min-width: 420px) {
  .auth-back--split {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px 36px;
  }
}

.auth-back--split > * + * {
  margin-top: 14px;
  margin-left: 0;
}

@media (min-width: 420px) {
  .auth-back--split > * + * {
    margin-top: 0;
    margin-left: 20px;
  }
}

@supports (gap: 1px) {
  .auth-back--split > * + * {
    margin-left: 0;
    margin-top: 0;
  }
}

.auth-back-sep {
  color: #4a4a58;
  font-weight: 700;
  -webkit-user-select: none;
  user-select: none;
  padding: 0 4px;
}

@media (max-width: 419px) {
  .auth-back-sep {
    display: none;
  }
}

.auth-back a {
  color: #5c5c6c;
  font-size: 13px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px 6px;
  line-height: 1.35;
}

.auth-back a .fa-solid {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 1.15em;
  text-align: center;
  margin-right: 12px;
}

@supports (gap: 1px) {
  .auth-back a .fa-solid {
    margin-right: 0;
  }
}

.auth-back a > * + * {
  margin-left: 12px;
}

@supports (gap: 1px) {
  .auth-back a > * + * {
    margin-left: 0;
  }
}

.auth-back a:hover {
  color: #9a9aac;
}

.auth-pane {
  display: none;
}

.auth-pane.is-active {
  display: block;
}

.auth-logger {
  font-size: 14px;
  color: #8c8c9c;
  text-align: center;
  line-height: 1.5;
}

.auth-logger a {
  color: #ff6a00;
  font-weight: 700;
}

.auth-terms-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10005;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(6, 4, 10, 0.82);
}
.auth-terms-modal.is-open { display: flex; }
.auth-terms-modal-panel {
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: linear-gradient(165deg, #1e1a28, #121018);
  border: 1px solid rgba(255, 160, 80, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  color: #e8e8ec;
  display: flex;
  flex-direction: column;
  position: relative;
}
.auth-terms-modal-panel h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: #ffb84d;
  text-align: center;
}
.auth-terms-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #c8c8d4;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.auth-terms-modal-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.auth-terms-modal-body {
  margin-top: 12px;
  overflow-y: auto;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #c8c8d4;
}
.auth-terms-modal-body p { margin: 0 0 12px; }
.auth-terms-modal-body p:last-child { margin-bottom: 0; }
.auth-terms-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.auth-terms-modal-btn {
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(180deg, #ff9a3c, #e07020);
  color: #1a0a00;
}
body.auth-terms-modal-open { overflow: hidden; }


/* FOOTER_FLUSH_FIX */
body.has-site-footer.auth-body{display:flex!important;flex-direction:column!important;min-height:100vh!important;min-height:100dvh!important}
body.has-site-footer.auth-body .auth-page{flex:1 1 auto!important;min-height:0!important}
body.has-site-footer.auth-body .site-footer{margin-top:auto!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:2172/255}

/* AUTH_TOAST */
.auth-toast-host{
  position:fixed;
  top:22px;
  right:22px;
  z-index:12000;
  width:min(380px, calc(100vw - 32px));
  pointer-events:none;
}
.auth-toast{
  pointer-events:auto;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 14px 14px 12px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(28,22,18,.96), rgba(16,12,10,.98));
  border:1px solid rgba(255,154,60,.35);
  box-shadow:0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04) inset;
  color:#fff6ea;
  opacity:0;
  transform:translateY(-12px) translateX(8px);
  transition:opacity .28s ease, transform .28s ease;
}
.auth-toast.is-visible{
  opacity:1;
  transform:translateY(0) translateX(0);
}
.auth-toast.is-leaving{
  opacity:0;
  transform:translateY(-8px) translateX(12px);
}
.auth-toast__icon{
  flex:0 0 28px;
  width:28px;
  height:28px;
  margin-top:1px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #ffb56a, #e07020 70%);
  box-shadow:0 0 0 3px rgba(224,112,32,.22);
  position:relative;
}
.auth-toast__icon::after{
  content:"";
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;
}
.auth-toast--error .auth-toast__icon{
  background:radial-gradient(circle at 35% 30%, #ff8a7a, #d64545 70%);
  box-shadow:0 0 0 3px rgba(214,69,69,.22);
}
.auth-toast--error .auth-toast__icon::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.auth-toast--success .auth-toast__icon{
  background:radial-gradient(circle at 35% 30%, #7dffb0, #1f9d57 70%);
  box-shadow:0 0 0 3px rgba(31,157,87,.22);
}
.auth-toast--success .auth-toast__icon::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
.auth-toast--info .auth-toast__icon::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0a00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
}
.auth-toast__body{flex:1 1 auto;min-width:0}
.auth-toast__title{
  display:block;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  margin:0 0 4px;
  color:#ffd7a8;
}
.auth-toast--error .auth-toast__title{color:#ffb4a8}
.auth-toast--success .auth-toast__title{color:#b7f5cb}
.auth-toast__msg{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:rgba(255,246,234,.88);
}
.auth-toast__close{
  flex:0 0 auto;
  border:0;
  background:transparent;
  color:rgba(255,246,234,.55);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  padding:0 2px;
  margin-top:-2px;
}
.auth-toast__close:hover{color:#fff6ea}
@media (max-width:520px){
  .auth-toast-host{top:14px;right:12px;left:12px;width:auto}
}
