/* ================================================================
   KARMAOT — STYLE.CSS
   Edite as variáveis abaixo para alterar rapidamente cores e medidas.
   ================================================================ */

:root {
  --bg: #07050d;
  --bg-soft: #0e0918;
  --panel: rgba(13, 9, 23, 0.9);
  --panel-strong: rgba(8, 5, 15, 0.96);
  --gold: #d8ac54;
  --gold-light: #ffe095;
  --gold-soft: rgba(216, 172, 84, 0.24);
  --purple: #8f24d8;
  --purple-light: #d26cff;
  --purple-deep: #351052;
  --cyan-pix: #5fe3d5;
  --text: #f5f0e8;
  --text-muted: #bdb5c8;
  --border: rgba(216, 172, 84, 0.5);
  --container: 1240px;
  --header-height: 76px;
  --radius: 12px;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(105, 25, 168, 0.2), transparent 34rem),
    linear-gradient(180deg, #08050f 0%, #07050d 45%, #0b0712 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.content-shell {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* CABEÇALHO ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(216, 172, 84, 0.22);
  background: rgba(6, 4, 11, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  color: #f8dfad;
  text-shadow: 0 0 18px rgba(210, 108, 255, 0.28);
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-menu a {
  position: relative;
  color: #ddd6e5;
  transition: color 160ms ease, transform 160ms ease;
}

.main-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-light), var(--gold));
  transition: right 180ms ease;
}

.main-menu a:hover {
  color: #fff;
}

.main-menu a:hover::after {
  right: 0;
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #5c1687, #2f0c49);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.035), 0 0 24px rgba(143,36,216,.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: white;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* HERO VISUAL ---------------------------------------------------- */
.visual-hero {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: var(--purple) #07050d;
  background: #020204;
  border-bottom: 1px solid rgba(216, 172, 84, 0.18);
}

.hero-stage {
  position: relative;
  width: 100%;
  min-width: 1100px;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-scroll-hint {
  display: none;
  position: sticky;
  left: 12px;
  top: 12px;
  z-index: 15;
  width: max-content;
  margin: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(216, 172, 84, .55);
  border-radius: 999px;
  color: #f8dfad;
  background: rgba(7, 5, 13, .82);
  backdrop-filter: blur(8px);
  font-size: .75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}

/* COUNTDOWN SOBRE A ARTE
   Ajuste left/top/width/height se a imagem-base for substituída. */
.countdown-overlay {
  position: absolute;
  z-index: 5;
  left: 73.25%;
  top: 7.75%;
  width: 25.55%;
  height: 10.05%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.6%;
  align-items: center;
  pointer-events: none;
}

.countdown-overlay output {
  display: grid;
  place-items: center;
  height: 100%;
  padding-bottom: 16%;
  color: #e77bff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 60px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  text-shadow:
    0 0 8px rgba(231,123,255,.9),
    0 0 20px rgba(143,36,216,.75),
    0 3px 4px rgba(0,0,0,.8);
}

/* HOTSPOTS
   Todas as medidas abaixo são percentuais em relação à imagem 1536x1024.
   Abra com ?debug=1 para ajustar visualmente. */
.hotspot {
  position: absolute;
  z-index: 8;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: none;
}

.hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -3px;
  opacity: 0;
  border: 2px solid rgba(226, 116, 255, .92);
  box-shadow: 0 0 26px rgba(210, 108, 255, .55);
  transition: opacity 150ms ease;
}

.hotspot:hover::after,
.hotspot:focus-visible::after {
  opacity: 1;
}

.hotspot-market {
  left: 1.05%;
  top: 2.35%;
  width: 27.55%;
  height: 48.10%;
}

.hotspot-account {
  left: 35.9%;
  top: 54.8%;
  width: 25.4%;
  height: 5.85%;
}

/* Slot dos Shorts no hero — encaixado na moldura do celular da arte */
.hero-video-slot {
  position: absolute;
  z-index: 7;
  left: 70.55%;
  top: 31.6%;
  width: 13.1%;
  height: 49.2%;
  overflow: hidden;
  border-radius: 10px;
  background: #050308;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-video-slot iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  /* leve zoom só pra esconder barras pretas laterais, sem estourar a moldura */
  transform: translate(-50%, -50%) scale(1.12);
  transform-origin: center center;
}

.hotspot-video {
  left: 70.0%;
  top: 30.1%;
  width: 14.2%;
  height: 53.2%;
}

.hotspot-discord {
  left: 85.8%;
  top: 53.8%;
  width: 12.0%;
  height: 4.7%;
}

.hotspot-instagram {
  left: 85.8%;
  top: 80.45%;
  width: 12.0%;
  height: 4.75%;
}

/* MODO DEBUG: index.html?debug=1 */
body.debug-hotspots .hotspot {
  background: rgba(255, 40, 80, .18);
  border: 2px dashed #ff426a;
}

body.debug-hotspots .hotspot::before {
  content: attr(aria-label);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  max-width: 100%;
  padding: 4px 7px;
  color: #fff;
  background: #b1002e;
  font: 700 12px/1.2 ui-monospace, monospace;
  white-space: nowrap;
}

.debug-badge {
  display: none;
  position: fixed;
  z-index: 3000;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border: 2px solid #ff426a;
  color: white;
  background: #9f002a;
  font: 800 12px/1 ui-monospace, monospace;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

body.debug-hotspots .debug-badge {
  display: block;
}

/* CONTEÚDO REAL -------------------------------------------------- */
.launch-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  margin-top: 54px;
  padding: 34px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(89, 18, 130, .33), transparent 45%),
    rgba(14, 9, 24, .88);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.launch-strip h1,
.section-heading h2,
.community-card h2,
.final-cta h2 {
  margin: 0;
  color: #f7ddb0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
}

.launch-strip h1 {
  font-size: clamp(2rem, 4.5vw, 4.8rem);
}

.launch-strip p,
.section-heading p,
.community-card p,
.final-cta p {
  color: var(--text-muted);
  line-height: 1.7;
}

.launch-strip p {
  max-width: 780px;
  margin: 16px 0 0;
}

.launch-actions,
.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: white;
  font-weight: 800;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: #c9983f;
  background: linear-gradient(180deg, #7923aa 0%, #3a0c55 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.04), 0 10px 30px rgba(117, 33, 171, .23);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.06), 0 14px 38px rgba(164, 57, 224, .36);
}

.button-secondary {
  border-color: rgba(216,172,84,.58);
  background: rgba(255,255,255,.035);
}

.section {
  padding: 108px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.helper-card,
.community-card,
.video-browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 0%, rgba(127, 32, 183, .16), transparent 45%),
    linear-gradient(180deg, rgba(18, 12, 31, .94), rgba(8, 6, 14, .97));
  box-shadow: 0 20px 50px rgba(0,0,0,.32);
}

.feature-card::before,
.helper-card::before,
.community-card::before,
.video-browser::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(216,172,84,.1);
}

.feature-card {
  min-height: 310px;
  padding: 30px 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  border-color: rgba(226, 195, 118, .78);
  box-shadow: 0 24px 70px rgba(95, 22, 142, .28);
}

.feature-card--pix {
  grid-column: span 2;
  background:
    radial-gradient(circle at 85% 10%, rgba(95, 227, 213, .18), transparent 34%),
    radial-gradient(circle at 20% 0%, rgba(127, 32, 183, .26), transparent 46%),
    linear-gradient(180deg, rgba(18, 12, 31, .97), rgba(8, 6, 14, .98));
}

.card-icon,
.helper-icon,
.pix-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  border: 1px solid rgba(216,172,84,.58);
  border-radius: 50%;
  color: var(--purple-light);
  background: radial-gradient(circle, rgba(143,36,216,.28), rgba(15,9,25,.9) 70%);
  font-size: 2rem;
  box-shadow: 0 0 34px rgba(143,36,216,.2);
}

.pix-mark {
  color: var(--cyan-pix);
}

.pix-mark svg {
  width: 42px;
  height: 42px;
}

.feature-card h3,
.helper-card h3,
.video-copy h3 {
  position: relative;
  margin: 0 0 14px;
  color: #f1cc79;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  text-transform: uppercase;
}

.feature-card p,
.helper-card p,
.video-copy p {
  position: relative;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.feature-card > a {
  position: relative;
  display: inline-flex;
  margin-top: 22px;
  color: var(--cyan-pix);
  font-weight: 800;
  text-transform: uppercase;
}

/* HELPER --------------------------------------------------------- */
.helper-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(216,172,84,.16);
  background:
    linear-gradient(rgba(7,5,13,.86), rgba(7,5,13,.92)),
    url("assets/karmaot-hero.png") center 62% / cover no-repeat;
}

.helper-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(117, 28, 174, .25), transparent 58%);
}

.helper-section .content-shell {
  position: relative;
  z-index: 1;
}

.helper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.helper-card {
  min-height: 340px;
  padding: 38px 32px;
}

.helper-icon {
  width: 82px;
  height: 82px;
  margin-inline: auto;
  font-size: 2.65rem;
}

.helper-card h3,
.helper-card p {
  text-align: center;
}

/* VÍDEOS --------------------------------------------------------- */
.video-section {
  padding-bottom: 120px;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.reel-frame {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(210,108,255,.7);
  border-radius: 28px;
  background: #050308;
  box-shadow: 0 30px 85px rgba(0,0,0,.52), 0 0 55px rgba(143,36,216,.18);
}

.reel-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 22px;
}

.reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel-glow {
  position: absolute;
  inset: auto 12% -10% 12%;
  height: 18%;
  pointer-events: none;
  background: var(--purple);
  filter: blur(44px);
  opacity: .28;
}

.video-browser {
  padding: 34px;
}

.video-kicker {
  color: var(--purple-light);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.video-copy h3 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.video-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(216,172,84,.25);
  color: var(--text);
  background: rgba(255,255,255,.025);
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.video-item:hover,
.video-item:focus-visible,
.video-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(210,108,255,.82);
  background: rgba(127,32,183,.11);
}

.video-item img {
  width: 116px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #030204;
}

.video-item strong {
  display: block;
  font-size: .92rem;
  line-height: 1.35;
}

.video-item span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .75rem;
}

/* COMUNIDADE ----------------------------------------------------- */
.community-section {
  padding: 88px 0;
  border-block: 1px solid rgba(216,172,84,.15);
  background: linear-gradient(180deg, rgba(10,6,17,.7), rgba(16,8,25,.84));
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.community-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 26px;
  min-height: 310px;
  align-items: center;
  padding: 42px;
}

.community-card h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.community-logo {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  color: white;
  font-size: 3rem;
  background: linear-gradient(145deg, #8d55ff, #5f20bc);
  box-shadow: 0 0 40px rgba(112,59,225,.35);
}

.community-card--instagram .community-logo {
  background: radial-gradient(circle at 30% 100%, #ffd36b, #f04285 43%, #7b2fd1 72%, #2729a8);
}

.final-cta {
  padding: 64px 0;
  background:
    linear-gradient(90deg, rgba(10,6,17,.92), rgba(47,11,70,.74), rgba(10,6,17,.92)),
    url("assets/karmaot-hero.png") center 16% / cover no-repeat;
  border-bottom: 1px solid rgba(216,172,84,.18);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 120px minmax(0,1fr) auto;
  gap: 30px;
  align-items: center;
}

.final-cta img {
  width: 110px;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.55));
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.final-cta p {
  margin: 12px 0 0;
}

/* RODAPÉ --------------------------------------------------------- */
.site-footer {
  padding: 36px 0;
  background: #050408;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-logo img {
  width: 62px;
}

.footer-inner nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  color: #cbc2d3;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
  color: #80788a;
  font-size: .8rem;
  text-align: right;
}

/* RESPONSIVIDADE ------------------------------------------------- */
@media (max-width: 1050px) {
  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(6,4,11,.98);
  }

  .main-menu.is-open {
    display: flex;
  }

  .main-menu a {
    padding: 14px 10px;
  }

  .main-menu a::after {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-scroll-hint {
    display: block;
  }

  .launch-strip,
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .launch-actions {
    justify-content: flex-start;
  }

  .helper-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

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

  .reel-frame {
    margin-inline: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: .92rem;
  }

  .content-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .launch-strip {
    margin-top: 30px;
    padding: 26px 20px;
  }

  .launch-actions,
  .video-actions {
    display: grid;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--pix {
    grid-column: auto;
  }

  .feature-card,
  .helper-card,
  .video-browser,
  .community-card {
    padding: 28px 22px;
  }

  .community-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .community-logo {
    margin-inline: auto;
  }

  .video-item {
    grid-template-columns: 96px minmax(0,1fr);
  }

  .video-item img {
    width: 96px;
  }

  .footer-inner nav {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.prelaunch-counter {
  margin: 16px 0 0;
  color: #f0d9a0;
  font-size: 1rem;
}

.prelaunch-counter strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.prelaunch-counter--footer {
  margin: 8px 0;
  text-align: center;
  width: 100%;
}

.feature-soon {
  display: inline-block;
  margin-top: 10px;
  color: #c9b39a;
  font-size: 0.85rem;
  font-style: italic;
}

button.button {
  cursor: pointer;
  border: 0;
}
