/* Site público Magic Control — /control/
   Referência = página Planos: tudo numa linha, zoom 1.1 */

.site-page {
  zoom: 1.0;
}

@supports not (zoom: 1) {
  .site-page {
    transform: scale(1.0);
    transform-origin: top center;
  }
}

.site-page .hub-wrap {
  padding-top: 12px;
  padding-bottom: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.site-brand-text strong {
  font-family: Syne, Figtree, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav.hub-tabs a.hub-tab {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.site-nav.hub-tabs a.hub-tab:hover,
.site-topbar .mc-topbar-right a.hub-tab:hover {
  text-decoration: none !important;
}

/* ===== TOPBAR: logo | Início…Games (esq.) …… Afiliado Contato (dir.) ===== */
.site-topbar.mc-topbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
}

.site-topbar .mc-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-topbar .site-nav.hub-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.site-topbar .mc-topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

/* botões das tabs (Overlays: button) = mesmo visual que os links (a) */
.site-nav.hub-tabs button.hub-tab,
.site-topbar .mc-topbar-right button.hub-tab,
.site-topbar .mc-topbar-right a.hub-tab {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-family: Figtree, "Segoe UI", sans-serif !important;
  font-weight: 600;
  letter-spacing: 0 !important;
  line-height: 1.2;
  margin: 0;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: #12121f;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav.hub-tabs button.hub-tab:hover,
.site-topbar .mc-topbar-right button.hub-tab:hover,
.site-topbar .mc-topbar-right a.hub-tab:hover {
  color: var(--text);
  border-color: #555;
  text-decoration: none !important;
}

.site-nav.hub-tabs button.hub-tab.active,
.site-topbar .mc-topbar-right button.hub-tab.active,
.site-topbar .mc-topbar-right a.hub-tab.active {
  color: var(--gold);
  border-color: var(--gold);
  background: #12121f;
}

.site-btn-ghost {
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 999px !important;
}

.site-btn-cta {
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  white-space: nowrap;
}

.site-section-intro {
  margin: 0 0 16px;
}

.site-section-intro h2 {
  margin: 0 0 6px;
  font-family: Syne, Figtree, sans-serif;
  font-size: 1.25rem;
}

.site-section-intro p {
  margin: 0;
  font-size: 0.9rem;
}

.site-card {
  cursor: default;
}

/* Cards do site: ocupam a área toda, de um lado ao outro */
.site-page .game-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: stretch;
  gap: 14px;
  width: 100%;
}

.site-card .integ-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.site-card .integ-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: Syne, Figtree, sans-serif;
}

.site-preview {
  position: relative;
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #07070f;
}

.site-preview-empty {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-family: Syne, Figtree, sans-serif;
  font-weight: 700;
}

.site-card-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.site-card .game-media .site-preview {
  margin: 0;
  border-radius: 0;
  border: 0;
  aspect-ratio: 16 / 10;
}

.site-card .game-media .site-preview img {
  object-fit: cover;
}

/* ---- Landing (página principal) ---- */
.landing-wide {
  padding-top: 28px !important;
}

.need-app-banner {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 212, 59, 0.35);
  background: linear-gradient(135deg, rgba(255, 212, 59, 0.1), rgba(20, 18, 40, 0.9));
}

.need-app-banner[hidden] {
  display: none !important;
}

.need-app-inner strong {
  display: block;
  margin: 0 0 6px;
  color: #ffd43b;
  font-size: 1rem;
}

.need-app-inner p {
  margin: 0 0 12px;
  color: #c8c4de;
  font-size: 0.92rem;
  line-height: 1.45;
}

.need-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd43b;
}

.lp-hero h1 {
  margin: 0 0 14px;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lp-hero h1 span {
  background: linear-gradient(90deg, #ffd43b, #74c0fc, #b197fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-h2 {
  margin: 0 0 8px;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.site-brand-text strong,
.site-card .integ-head h3,
.lp-feature h3,
.lp-step h3 {
  font-family: Figtree, "Segoe UI", sans-serif !important;
  letter-spacing: -0.01em;
}

.site-page .hub-tab,
.site-nav.hub-tabs .hub-tab,
.site-page h1,
.site-page h2,
.site-page h3 {
  font-family: Figtree, "Segoe UI", sans-serif !important;
  letter-spacing: normal !important;
}

.site-nav.hub-tabs .hub-tab {
  letter-spacing: 0 !important;
  font-weight: 600;
}

/* Modal Windows | MAC */
.plat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 16px;
}

.plat-modal[hidden] {
  display: none !important;
}

.plat-modal-card {
  width: min(360px, 100%);
  padding: 22px 20px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 24, 48, 0.98), rgba(10, 8, 22, 1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.plat-modal-card h3 {
  margin: 0 0 6px;
  font-family: Figtree, sans-serif;
  font-size: 1.2rem;
}

.plat-modal-card .muted {
  margin: 0 0 16px;
  font-size: 0.88rem;
}

.plat-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.plat-modal-actions .btn {
  margin: 0;
  text-decoration: none;
}

button.hub-tab {
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.plat-modal-close {
  background: none;
  border: 0;
  color: #9a96b8;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 6px;
}

.plat-modal-close:hover {
  color: #fff;
}

/* Modal afiliado (formulario mais largo) */
.plat-modal-card.aff-form-wide {
  width: min(480px, 100%);
  text-align: left;
  max-height: min(90vh, 720px);
  overflow: auto;
}

.plat-modal-card.aff-form-wide h3,
.plat-modal-card.aff-form-wide .muted {
  text-align: center;
}

.aff-modal-form label {
  display: block;
  margin: 10px 0 5px;
  font-size: 0.82rem;
  color: #b7b3d0;
}

.aff-modal-form input,
.aff-modal-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12121f;
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}

.aff-modal-form textarea {
  min-height: 72px;
  resize: vertical;
}

.aff-modal-grid {
  display: grid;
  gap: 0 12px;
}

@media (min-width: 520px) {
  .aff-modal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .aff-modal-grid .full {
    grid-column: 1 / -1;
  }
}


.lp-lead {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #b8b4d0;
  max-width: 36rem;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.lp-btn-main {
  width: auto !important;
  margin: 0 !important;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  padding: 12px 22px !important;
}

.lp-btn-ghost {
  width: auto !important;
  margin: 0 !important;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
}

.lp-note {
  margin: 0;
  font-size: 0.8rem;
}

.lp-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.lp-hero-logo {
  position: relative;
  z-index: 1;
  width: min(280px, 78%);
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 18px rgba(120, 90, 255, 0.45))
          drop-shadow(0 0 28px rgba(255, 212, 59, 0.28));
  animation: logoGlowPulse 3.2s ease-in-out infinite;
}

.lp-hero-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 58%),
    radial-gradient(circle, rgba(56, 189, 248, 0.28) 20%, transparent 65%),
    radial-gradient(circle, rgba(255, 212, 59, 0.18) 0%, transparent 50%);
  filter: blur(12px);
  animation: logoAura 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 14px rgba(120, 90, 255, 0.4))
            drop-shadow(0 0 22px rgba(255, 212, 59, 0.22));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 26px rgba(120, 90, 255, 0.7))
            drop-shadow(0 0 40px rgba(56, 189, 248, 0.35))
            drop-shadow(0 0 32px rgba(255, 212, 59, 0.4));
    transform: scale(1.03);
  }
}

@keyframes logoAura {
  0%, 100% { opacity: 0.75; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.lp-section {
  margin: 0 0 40px;
}

.lp-sub {
  margin: 0 0 20px;
  font-size: 0.95rem;
  max-width: 40rem;
}

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 14px;
  width: 100%;
}

@media (max-width: 900px) {
  .lp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lp-feature-grid {
    grid-template-columns: 1fr;
  }
}

.lp-feature {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.lp-feature-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.lp-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.lp-feature:hover .lp-feature-icon img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(120, 90, 255, 0.35));
}

.lp-feature:hover {
  border-color: rgba(255, 212, 59, 0.35);
  transform: translateY(-2px);
}

a.lp-feature-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.lp-feature-link:hover {
  border-color: rgba(116, 192, 252, 0.45);
}

a.lp-feature-link p {
  margin: 0;
}

/* ---- Planos ---- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.plan-card {
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card-trial.is-featured {
  border-color: rgba(255, 212, 59, 0.45);
  box-shadow: 0 0 28px rgba(255, 212, 59, 0.12), 0 16px 40px rgba(0, 0, 0, 0.35);
  background:
    linear-gradient(165deg, rgba(60, 45, 12, 0.35), rgba(10, 8, 22, 0.92));
}

.plan-card-head h3 {
  margin: 8px 0 4px;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.plan-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(145deg, #ffe08a, #c9a227);
}

.plan-badge.muted-badge {
  color: #c9c9d1;
  background: rgba(255, 255, 255, 0.08);
}

.plan-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffd43b;
}

.plan-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9a96b8;
}

.plan-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #b8b4d0;
  line-height: 1.45;
}

.plan-perks {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: #e8ecf4;
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

.plan-perks-muted {
  color: #6b6880;
}

.plan-cta {
  width: 100% !important;
  margin: 6px 0 0 !important;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
}

.lp-feature h3 {
  margin: 0 0 8px;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  text-align: center;
}

.lp-feature p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #9a96b8;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.lp-step {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-step-n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  color: #1a1200;
  background: linear-gradient(145deg, #ffe08a, #c9a227);
}

.lp-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-family: Syne, Figtree, sans-serif;
}

.lp-step p {
  margin: 0;
  font-size: 0.86rem;
  color: #9a96b8;
  line-height: 1.4;
}

.lp-cta-center {
  text-align: center;
}

/* ---- Rodapé global ---- */
.mc-site-footer {
  position: relative;
  z-index: 2;
  margin: 8px auto 28px;
  width: min(1180px, calc(100% - 32px));
  text-align: center;
  font-size: 0.82rem;
  color: #9a96b8;
  line-height: 1.5;
}

.mc-site-footer a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
}

.mc-site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-topbar.mc-topbar {
    flex-wrap: wrap !important;
    justify-content: center;
  }
  .site-topbar .mc-topbar-left {
    width: 100%;
    justify-content: center;
  }
  .site-topbar .site-nav.hub-tabs {
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-topbar .mc-topbar-right {
    margin-left: 0;
    justify-content: center;
  }
  .lp-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lp-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .lp-cta-row {
    justify-content: center;
  }
  .lp-steps {
    grid-template-columns: 1fr;
  }
  .lp-hero-visual {
    order: -1;
    min-height: 160px;
  }
  .lp-hero-logo {
    width: 180px;
  }
}
