:root {
  --bg: #040706;
  --panel: #07140d;
  --green: #7ee000;
  --gold: #f6d86d;
  --text: #f7fff7;
  --muted: #bfd2c2;
  --line: rgba(126, 224, 0, 0.28);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(126, 224, 0, 0.16), transparent 34rem),
    linear-gradient(180deg, #05110a 0%, #020403 100%);
}

body.no-context-menu {
  user-select: none;
}

.is-hidden {
  display: none !important;
}

.page-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
  min-height: 0;
}

.hero__image-wrap {
  display: none;
  width: min(860px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1b12;
  box-shadow: 0 28px 80px var(--shadow);
}

.hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__content {
  width: min(820px, 100%);
  padding: 18px 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.title-med {
  display: inline-block;
  color: var(--green);
}

.title-dorvalino {
  display: block;
  margin-top: 8px;
  font-size: 0.68em;
  line-height: 1.08;
}

.intro {
  max-width: 35rem;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.consultant-badge {
  display: inline-flex;
  margin: 18px 0 0;
  border: 1px solid rgba(246, 216, 109, 0.5);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(246, 216, 109, 0.12);
  color: #fff6bf;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-actions,
.mobile-actions,
.video-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  display: none;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 14px;
}

.trust-line span {
  border: 1px solid rgba(126, 224, 0, 0.22);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(126, 224, 0, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.video-section {
  padding: 8px 0 32px;
}

.section-heading {
  display: none;
}

.section-heading h2,
.signup-section h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 22px;
  align-items: stretch;
  justify-content: center;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11, 33, 20, 0.96), rgba(3, 9, 6, 0.96));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #000;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(76vh, 720px);
  object-fit: contain;
  background: #000;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.video-play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.play-ring,
.play-core {
  position: absolute;
  border-radius: 999px;
}

.play-ring {
  inset: 0;
  border: 2px solid rgba(126, 224, 0, 0.78);
  box-shadow: 0 0 34px rgba(126, 224, 0, 0.6);
  animation: play-pulse 1.45s ease-out infinite;
}

.play-core {
  inset: 13px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, #e9ffd0, var(--green) 42%, #168f26);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.38),
    inset 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 29px solid #06200f;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.3));
}

.video-play-overlay:hover .play-core,
.video-play-overlay:focus-visible .play-core {
  filter: brightness(1.08);
}

.video-play-overlay:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 5px;
}

@keyframes play-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }

  70% {
    opacity: 0;
    transform: scale(1.38);
  }

  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.45);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 138, 0, 0);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 0, 0);
    transform: scale(1);
  }
}

.cta-button--whatsapp.cta-button--pulse {
  animation-name: whatsapp-pulse;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.48);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

.video-message {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 30px));
  padding: 13px 16px;
  border: 1px solid rgba(246, 216, 109, 0.46);
  border-radius: 8px;
  background: rgba(4, 7, 6, 0.86);
  color: #fff6bf;
  font-size: 0.95rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.video-message.is-hidden {
  display: none;
}

.video-info {
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: center;
}

.video-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 18px 0;
}

.video-control-button {
  min-height: 44px;
  border: 1px solid rgba(126, 224, 0, 0.42);
  border-radius: 8px;
  background: rgba(126, 224, 0, 0.09);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.video-control-button:hover,
.video-control-button:focus-visible {
  border-color: var(--green);
  outline: 2px solid rgba(126, 224, 0, 0.22);
  outline-offset: 2px;
}

.video-info div {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(126, 224, 0, 0.9);
}

.cta-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.cta-button--primary {
  background: linear-gradient(135deg, var(--green), #fff176);
  color: #06200f;
  box-shadow: 0 12px 30px rgba(126, 224, 0, 0.18);
}

.cta-button--secondary {
  border: 1px solid rgba(126, 224, 0, 0.55);
  background: rgba(126, 224, 0, 0.1);
  color: var(--text);
}

.cta-button--signup {
  background: linear-gradient(135deg, #ff8a00, #ffd166);
  color: #231000;
  box-shadow: 0 12px 32px rgba(255, 138, 0, 0.28);
}

.cta-button--whatsapp {
  background: linear-gradient(135deg, #25d366, #9cffbf);
  color: #06200f;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.28);
}

.cta-button--pulse {
  animation: cta-pulse 1.55s ease-out infinite;
}

.cta-button--large {
  min-width: 240px;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  filter: brightness(1.04);
}

.watch-guide,
.signup-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 20, 13, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.watch-guide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  text-align: center;
}

.watch-guide h3 {
  margin: 0;
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.watch-guide p,
.signup-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.signup-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  margin: 12px 0 28px;
  padding: 28px;
  text-align: center;
}

.footer {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 24px 16px 36px;
  border-top: 1px solid rgba(126, 224, 0, 0.18);
  color: rgba(247, 255, 247, 0.72);
  font-size: 0.9rem;
}

.footer span:first-child {
  color: var(--green);
  font-weight: 900;
}

.mobile-actions {
  display: none;
}

.config-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.config-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.config-header h1 {
  max-width: 780px;
}

.config-header p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.config-card,
.result-card,
.control-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 20, 13, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.config-card,
.result-card {
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(126, 224, 0, 0.3);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(2, 4, 3, 0.72);
  color: var(--text);
  font: inherit;
}

.field input:focus {
  border-color: var(--green);
  outline: 2px solid rgba(126, 224, 0, 0.24);
}

.field small,
.form-status {
  color: var(--muted);
  line-height: 1.45;
}

.result-card {
  display: grid;
  gap: 16px;
}

.generated-link {
  overflow-wrap: anywhere;
  border: 1px solid rgba(126, 224, 0, 0.25);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 4, 3, 0.72);
  color: #fff6bf;
  font-weight: 800;
}

.control-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.control-toolbar input {
  width: min(360px, 100%);
  min-height: 46px;
  border: 1px solid rgba(126, 224, 0, 0.3);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(2, 4, 3, 0.72);
  color: var(--text);
  font: inherit;
}

.control-card {
  overflow: visible;
}

.control-list {
  display: grid;
  gap: 12px;
}

.control-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 64px minmax(0, 2fr) minmax(220px, auto);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(126, 224, 0, 0.22);
  border-radius: 8px;
  background: rgba(2, 4, 3, 0.4);
}

.control-row:first-child {
  border-top: 1px solid rgba(126, 224, 0, 0.22);
}

.control-row strong {
  display: block;
  color: var(--text);
}

.control-row span,
.control-row a {
  color: var(--muted);
}

.control-row a {
  overflow-wrap: anywhere;
}

.control-details {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.control-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.control-photo {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(126, 224, 0, 0.25);
  border-radius: 999px;
  background: rgba(2, 4, 3, 0.72);
}

.control-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.control-photo span {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(246, 216, 109, 0.12);
  color: #fff6bf;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill--approved {
  background: rgba(126, 224, 0, 0.13);
  color: var(--green);
}

.status-pill--blocked {
  background: rgba(255, 90, 90, 0.13);
  color: #ff9d9d;
}

.control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.mini-button {
  min-height: 36px;
  border: 1px solid rgba(126, 224, 0, 0.28);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(126, 224, 0, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.mini-button--approve {
  background: var(--green);
  color: #06200f;
}

.mini-button--block {
  border-color: rgba(255, 90, 90, 0.45);
  background: rgba(255, 90, 90, 0.1);
  color: #ffd6d6;
}

.pending-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.pending-card {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: rgba(7, 20, 13, 0.84);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.pending-card h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.pending-card p {
  color: var(--muted);
  line-height: 1.65;
}

.leader-card {
  display: flex;
  width: fit-content;
  gap: 12px;
  align-items: center;
  margin: 18px auto;
  border: 1px solid rgba(246, 216, 109, 0.42);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(4, 7, 6, 0.58);
}

.leader-photo,
.profile-preview {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 2px solid rgba(126, 224, 0, 0.42);
  border-radius: 999px;
  object-fit: cover;
}

.leader-card span,
.profile-summary span {
  display: block;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.leader-card strong,
.profile-summary strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
}

.check-option {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.check-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.profile-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(126, 224, 0, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 4, 3, 0.46);
}

@media (min-width: 861px) {
  .watch-guide {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 88px;
  }

  .page-shell {
    width: min(100% - 22px, 720px);
    padding-top: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .hero__image-wrap {
    order: -1;
  }

  .hero__content {
    padding-top: 2px;
  }

  .hero__image {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #07140d;
  }

  h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.65rem);
    line-height: 1.06;
  }

  .title-dorvalino {
    margin-top: 6px;
    font-size: 0.64em;
  }

  .intro {
    font-size: 1rem;
  }

  .leader-card {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin: 14px 0 16px;
    padding: 18px;
    text-align: center;
  }

  .leader-photo {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .leader-card span {
    font-size: 0.9rem;
  }

  .leader-card strong {
    font-size: 1.25rem;
  }

  .hero-actions {
    display: none;
  }

  .trust-line {
    gap: 7px;
  }

  .trust-line span {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .video-layout,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .video-info,
  .footer,
  .mobile-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .video-info div {
    justify-content: center;
  }

  .cta-button {
    width: 100%;
  }

  .watch-guide,
  .signup-section {
    padding: 20px;
  }

  .mobile-actions {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(126, 224, 0, 0.25);
    border-radius: 8px;
    background: rgba(4, 7, 6, 0.92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(14px);
  }

  .mobile-actions .cta-button {
    min-height: 46px;
    padding: 0 12px;
  }

  .video-play-overlay {
    width: 82px;
    height: 82px;
  }

  .play-core {
    inset: 10px;
  }

  .play-icon {
    margin-left: 6px;
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 22px;
  }

  .config-shell {
    width: min(100% - 22px, 720px);
    padding-top: 18px;
  }

  .config-header,
  .config-grid,
  .control-row {
    grid-template-columns: 1fr;
  }

  .config-card,
  .result-card {
    padding: 18px;
  }

  .control-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .control-row {
    gap: 6px;
  }
}
