:root {
  --sfc-shared-red: #ef233c;
  --sfc-shared-red-bright: #ff314d;
  --sfc-shared-blue: #2f65ff;
  --sfc-shared-navy: #05091b;
  --sfc-shared-border: rgba(151, 171, 230, 0.2);
  --sfc-shared-text: #ffffff;
  --sfc-shared-muted: #aeb8d4;
  --sfc-safe-bottom: max(16px, env(safe-area-inset-bottom));
}

.sfc-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sfc-menu-toggle {
  position: relative;
  z-index: 2;
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(239, 35, 60, 0.42);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, rgba(143, 15, 36, 0.22), rgba(8, 15, 42, 0.88));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.sfc-menu-toggle:hover,
.sfc-menu-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 72, 98, 0.78);
  outline: none;
  box-shadow: 0 14px 34px rgba(239, 35, 60, 0.18);
}

.sfc-menu-toggle-lines,
.sfc-menu-toggle-lines::before,
.sfc-menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.sfc-menu-toggle-lines {
  position: relative;
}

.sfc-menu-toggle-lines::before,
.sfc-menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.sfc-menu-toggle-lines::before { top: -6px; }
.sfc-menu-toggle-lines::after { top: 6px; }

.sfc-local-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 13px;
  gap: 12px;
  border: 1px solid var(--sfc-shared-border);
  border-radius: 22px;
  background: rgba(4, 9, 27, 0.79);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.sfc-local-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.sfc-local-brand-mark {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(47, 101, 255, 0.34), rgba(239, 35, 60, 0.28));
  font-size: 12px;
  font-weight: 950;
}

.sfc-local-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.sfc-local-brand-copy strong {
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.72px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sfc-local-brand-copy span {
  color: var(--sfc-shared-muted);
  font-size: 9px;
}

.sfc-shared-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9800;
  opacity: 0;
  visibility: hidden;
  background: rgba(1, 3, 12, 0.72);
  backdrop-filter: blur(9px);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.sfc-shared-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.sfc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9810;
  display: flex;
  width: min(380px, 90vw);
  height: 100dvh;
  overflow-y: auto;
  flex-direction: column;
  padding: 18px 16px max(22px, env(safe-area-inset-bottom));
  border-left: 1px solid rgba(113, 145, 238, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 101, 255, 0.2), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(239, 35, 60, 0.17), transparent 34%),
    rgba(3, 7, 22, 0.98);
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.55);
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.2, .8, .2, 1);
}

.sfc-drawer.is-open { transform: translateX(0); }

.sfc-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(151, 171, 230, 0.14);
}

.sfc-drawer-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sfc-drawer-title strong {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sfc-drawer-title span {
  color: var(--sfc-shared-muted);
  font-size: 10px;
}

.sfc-icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.sfc-drawer-nav {
  display: grid;
  gap: 8px;
}

.sfc-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(151, 171, 230, 0.14);
  border-radius: 15px;
  color: #edf2ff;
  background: rgba(10, 20, 55, 0.48);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.sfc-drawer-link::after {
  content: "›";
  color: #9cb3ff;
  font-size: 21px;
}

.sfc-drawer-link:hover,
.sfc-drawer-link:focus-visible {
  transform: translateX(-3px);
  border-color: rgba(95, 132, 255, 0.48);
  background: rgba(20, 43, 112, 0.5);
  outline: none;
}

.sfc-drawer-link.is-cta {
  border-color: rgba(255, 255, 255, 0.17);
  background: linear-gradient(104deg, #ae1029, var(--sfc-shared-red), #fa3c56);
  box-shadow: 0 13px 30px rgba(239, 35, 60, 0.23);
}

.sfc-mode-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(151, 171, 230, 0.15);
  border-radius: 18px;
  background: rgba(4, 9, 27, 0.72);
}

.sfc-mode-box-title {
  margin-bottom: 10px;
  color: #cdd9fa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sfc-mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sfc-mode-option {
  min-height: 42px;
  padding: 9px;
  border: 1px solid rgba(151, 171, 230, 0.16);
  border-radius: 12px;
  color: #cfd9f6;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.sfc-mode-option.is-active {
  border-color: rgba(47, 101, 255, 0.62);
  color: #fff;
  background: rgba(47, 101, 255, 0.18);
  box-shadow: 0 0 20px rgba(47, 101, 255, 0.12);
}

.sfc-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  color: rgba(219, 227, 248, 0.47);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.sfc-onboarding {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  overflow-y: auto;
  padding: 18px;
  place-items: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(47, 101, 255, 0.27), transparent 34%),
    radial-gradient(circle at 85% 85%, rgba(239, 35, 60, 0.22), transparent 36%),
    rgba(1, 3, 13, 0.95);
  backdrop-filter: blur(16px);
}

.sfc-onboarding[hidden] { display: none !important; }

.sfc-onboarding-card {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid rgba(151, 171, 230, 0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(7, 14, 40, 0.98), rgba(3, 7, 22, 0.98));
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.66);
  text-align: center;
}

.sfc-onboarding-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sfc-shared-red), #fff, var(--sfc-shared-blue), transparent);
  box-shadow: 0 0 22px rgba(47, 101, 255, 0.4), 0 0 18px rgba(239, 35, 60, 0.35);
}

.sfc-onboarding-kicker {
  color: #9db4ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.sfc-onboarding h2 {
  margin: 10px 0 9px;
  color: #fff;
  font-size: clamp(27px, 7vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.sfc-onboarding-description {
  max-width: 560px;
  margin: 0 auto;
  color: #b8c3df;
  font-size: 13px;
  line-height: 1.6;
}

.sfc-onboarding-options {
  display: grid;
  margin-top: 22px;
  gap: 12px;
}

.sfc-onboarding-option {
  position: relative;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  gap: 14px;
  border: 1px solid rgba(151, 171, 230, 0.18);
  border-radius: 20px;
  color: #fff;
  background: rgba(11, 23, 62, 0.52);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.sfc-onboarding-option:hover,
.sfc-onboarding-option:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(92, 130, 255, 0.62);
  outline: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 25px rgba(47, 101, 255, 0.12);
}

.sfc-onboarding-option.is-full:hover,
.sfc-onboarding-option.is-full:focus-visible {
  border-color: rgba(255, 65, 92, 0.62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 25px rgba(239, 35, 60, 0.12);
}

.sfc-onboarding-option-copy strong,
.sfc-onboarding-option-copy span {
  display: block;
}

.sfc-onboarding-option-copy strong {
  font-size: 13px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.sfc-onboarding-option-copy span {
  margin-top: 6px;
  color: #b7c2df;
  font-size: 11px;
  line-height: 1.45;
}

.sfc-onboarding-badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(47, 101, 255, 0.42);
  border-radius: 999px;
  color: #dce6ff;
  background: rgba(47, 101, 255, 0.14);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.sfc-welcome {
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(47, 101, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #030611, #080e28 54%, #08030c);
  text-align: center;
  animation: sfcWelcomeOut 1.45s ease forwards;
}

.sfc-welcome strong {
  display: block;
  font-size: clamp(32px, 9vw, 64px);
  letter-spacing: -1.5px;
  line-height: 0.95;
  text-transform: uppercase;
}

.sfc-welcome span {
  display: block;
  margin-top: 12px;
  color: #b9c5e4;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes sfcWelcomeOut {
  0% { opacity: 0; }
  18%, 72% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.sfc-assistant-bubble {
  position: fixed;
  right: 18px;
  bottom: var(--sfc-safe-bottom);
  z-index: 9600;
  display: grid;
  width: 68px;
  height: 68px;
  overflow: visible;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(#05091b, #05091b) padding-box,
    linear-gradient(120deg, var(--sfc-shared-red), #fff, var(--sfc-shared-blue)) border-box;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.48), 0 0 25px rgba(47, 101, 255, 0.22), 0 0 18px rgba(239, 35, 60, 0.18);
  cursor: pointer;
  animation: sfcAssistantPulse 4s ease-in-out infinite;
}

.sfc-assistant-bubble img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  pointer-events: none;
}

@keyframes sfcAssistantPulse {
  0%, 75%, 100% { transform: translateY(0) scale(1); }
  84% { transform: translateY(-4px) scale(1.04); }
  92% { transform: translateY(0) scale(1); }
}

.sfc-assistant-nudge {
  position: fixed;
  right: 24px;
  bottom: calc(var(--sfc-safe-bottom) + 78px);
  z-index: 9595;
  max-width: min(260px, calc(100vw - 48px));
  padding: 11px 14px;
  border: 1px solid rgba(151, 171, 230, 0.24);
  border-radius: 16px 16px 4px 16px;
  color: #f3f6ff;
  background: rgba(4, 9, 27, 0.96);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.sfc-assistant-nudge.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sfc-assistant-panel {
  position: fixed;
  right: 18px;
  bottom: calc(var(--sfc-safe-bottom) + 80px);
  z-index: 9610;
  width: min(390px, calc(100vw - 28px));
  max-height: min(690px, calc(100dvh - 112px));
  overflow-y: auto;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(7, 13, 36, 0.985), rgba(3, 7, 22, 0.99)) padding-box,
    linear-gradient(125deg, var(--sfc-shared-red), rgba(255, 255, 255, 0.8), var(--sfc-shared-blue)) border-box;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), 0 0 26px rgba(47, 101, 255, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.sfc-assistant-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sfc-assistant-handle {
  display: none;
  width: 46px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.sfc-assistant-head {
  display: grid;
  grid-template-columns: 72px 1fr 38px;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.sfc-assistant-head img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.sfc-assistant-copy strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.sfc-assistant-copy span {
  display: block;
  margin-top: 4px;
  color: #bec9e6;
  font-size: 10px;
  line-height: 1.45;
}

.sfc-assistant-list {
  display: grid;
  gap: 7px;
}

.sfc-assistant-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(151, 171, 230, 0.15);
  border-radius: 13px;
  color: #e9eeff;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.sfc-assistant-question::after {
  content: "+";
  color: #9db4ff;
  font-size: 18px;
}

.sfc-assistant-question[aria-expanded="true"]::after { content: "−"; }

.sfc-assistant-answer {
  display: none;
  padding: 11px 12px 12px;
  border: 1px solid rgba(151, 171, 230, 0.12);
  border-top: 0;
  border-radius: 0 0 13px 13px;
  color: #bfc9e3;
  background: rgba(3, 7, 22, 0.58);
  font-size: 10px;
  line-height: 1.55;
}

.sfc-assistant-answer.is-open { display: block; }

.sfc-assistant-answer a {
  color: #fff;
  font-weight: 850;
}

.sfc-assistant-cta {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(104deg, #ad1028, var(--sfc-shared-red), #fa3c56);
  box-shadow: 0 13px 32px rgba(239, 35, 60, 0.25);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
}

.sfc-intro[hidden] { display: none !important; }

html[data-sfc-mode="fast"] .ambient-glow,
html[data-sfc-mode="fast"] .energy-line,
html[data-sfc-mode="fast"] .loading-dots,
html[data-sfc-mode="fast"] .progress-fill::before,
html[data-sfc-mode="fast"] .progress-fill::after {
  display: none !important;
}

html[data-sfc-mode="fast"] .social-card,
html[data-sfc-mode="fast"] .card::before,
html[data-sfc-mode="fast"] .confirmed-fight-card,
html[data-sfc-mode="fast"] .count-number,
html[data-sfc-mode="fast"] .status-dot,
html[data-sfc-mode="fast"] .count-kicker::before,
html[data-sfc-mode="fast"] .floating-chip,
html[data-sfc-mode="fast"] .octagon-shell,
html[data-sfc-mode="fast"] .visual-card::before,
html[data-sfc-mode="fast"] .page,
html[data-sfc-mode="fast"] .hero-card,
html[data-sfc-mode="fast"] .visual-card,
html[data-sfc-mode="fast"] .top-bar {
  animation: none !important;
}

html[data-sfc-mode="fast"] .card,
html[data-sfc-mode="fast"] .countdown-bar,
html[data-sfc-mode="fast"] .social-community,
html[data-sfc-mode="fast"] .top-bar,
html[data-sfc-mode="fast"] .sfc-local-header {
  backdrop-filter: none !important;
}

html[data-sfc-mode="fast"] .page.mostrar {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html[data-sfc-mode="fast"] .buy-btn::before,
html[data-sfc-mode="fast"] .main-btn::before,
html[data-sfc-mode="fast"] .confirm-btn::before {
  animation-duration: 3.8s !important;
  animation-iteration-count: infinite !important;
}

@media (min-width: 680px) {
  .sfc-onboarding-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .sfc-header-actions { width: 100%; justify-content: space-between; }
  .sfc-header-actions .status-pill { flex: 1 1 auto; }
  .sfc-local-header { padding: 10px 11px; }
  .sfc-local-brand-copy strong { max-width: 190px; }
  .sfc-assistant-bubble { right: 14px; width: 60px; height: 60px; }
  .sfc-assistant-nudge { right: 18px; bottom: calc(var(--sfc-safe-bottom) + 68px); }
  .sfc-assistant-panel {
    right: 4%;
    bottom: calc(var(--sfc-safe-bottom) + 68px);
    width: 92%;
    max-height: min(72dvh, 660px);
    border-radius: 24px 24px 18px 18px;
  }
  .sfc-assistant-handle { display: block; }
  .sfc-assistant-head { grid-template-columns: 60px 1fr 38px; }
  .sfc-assistant-head img { width: 60px; height: 60px; }
  .sfc-onboarding { padding: 12px; }
  .sfc-onboarding-card { border-radius: 25px; }
  .sfc-onboarding-option { min-height: 88px; padding: 15px; }
}

@media (max-width: 360px) {
  .sfc-local-brand-copy strong { max-width: 145px; }
  .sfc-onboarding-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sfc-drawer,
  .sfc-shared-backdrop,
  .sfc-assistant-panel,
  .sfc-assistant-nudge,
  .sfc-menu-toggle,
  .sfc-assistant-bubble,
  .sfc-welcome {
    animation: none !important;
    transition: none !important;
  }
}
