@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&display=swap');

:root {
  --main-bg: #111111;
  --main-text: #f8f8f8;
  --main-muted: #a0a0a0;
  --main-shell: 1300px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--main-bg); }
body.main-site {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--main-bg);
  color: var(--main-text);
  font-family: 'Geist', Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.main-site a { color: inherit; text-decoration: none; }
.main-site svg { display: block; width: 17px; height: 17px; }
.main-page-shell, .main-stage-shell {
  position: relative;
  width: min(calc(100% - 48px), var(--main-shell));
  margin-inline: auto;
}
/* Floating pill navigation (separate from the hero, as in the reference). */
.main-nav-wrap { position: absolute; inset: 14px 0 auto; z-index: 40; }
.main-nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--main-shell));
  height: 60px;
  margin-inline: auto;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.125), rgba(255,255,255,.025) 34%), rgba(19,19,19,.93);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.main-brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; min-width: 0; font-size: 15px; font-weight: 800; letter-spacing: -.025em; }
.main-brand-avatar { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; color: #111; background: linear-gradient(135deg,#fff,#aeb8c3); font-weight: 900; font-size: 16px; }
.main-brand-avatar img { display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; object-position:center 12%; }
.main-nav-center { display: inline-flex; align-items: center; gap: 5px; justify-self: center; }
.main-nav-center a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 14px; border-radius: 999px; color: #aaa; font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.main-nav-center a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav-center a.main-nav-active { background: rgba(255,255,255,.15); color: #fafafa; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.main-nav-center svg { width: 15px; height: 15px; }
.main-nav-social { display: flex; align-items: center; justify-self: end; gap: 8px; }
.main-social { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; transition: transform .2s, filter .2s; }
.main-social:hover { transform: translateY(-3px); filter: brightness(1.15); }
.main-social svg { width: 17px; height: 17px; }
.main-social-twitch { background: #9146ff; }
.main-social-youtube { background: #f22; }
.main-social-instagram { background: linear-gradient(130deg,#fdba46,#f43f5e 42%,#a21caf); }
.main-social-tiktok { background: #080808; }
.main-social-telegram { background: #3ba5da; }
.main-social-discord { background: #5865f2; }
.main-nav-user { width: 35px; height: 35px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,.26); }
.main-nav-user img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The dark cinematic hero. A personal transparent portrait sits IN FRONT of the wordmark. */
.main-stage {
  position: relative;
  min-height: max(690px, 92svh);
  overflow: hidden;
  isolation: isolate;
  background: #111;
}
.main-stage::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 42% 55% at 54% 63%, rgba(48,48,48,.17), transparent 73%); }
.main-stage-shell { height: max(690px, 92svh); }
.main-stage-word {
  position: absolute;
  z-index: 1;
  top: 15%;
  left: -1%;
  margin: 0;
  max-width: 100%;
  white-space: nowrap;
  color: #adb7c2;
  font-size: clamp(84px, 10.6vw, 171px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.091em;
  text-transform: uppercase;
  pointer-events: none;
}
.main-portrait {
  position: absolute;
  z-index: 2;
  left: 51%;
  bottom: -1px;
  width: 38%;
  height: 81%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-9%);
  pointer-events: none;
}
.main-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 15px 25px rgba(0,0,0,.2)); }
.main-portrait-placeholder { position: relative; width: min(100%, 420px); height: 88%; border-radius: 220px 220px 0 0; background: radial-gradient(ellipse at 50% 24%, #505965 0, #252a31 36%, #151618 69%, #111 84%); box-shadow: inset 0 0 100px rgba(255,255,255,.015); display: grid; place-items: center; overflow: hidden; }
.main-portrait-placeholder::before { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; top: 14%; background: linear-gradient(130deg, #646d79, #252b33 66%); opacity: .5; }
.main-portrait-placeholder::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -13%; height: 49%; border-radius: 49% 49% 0 0; background: linear-gradient(130deg, #2c323c,#121416 68%); }
.main-portrait-placeholder span { position: relative; z-index: 1; margin-top: -22%; color: rgba(255,255,255,.28); font-weight: 900; font-size: clamp(110px, 13vw, 220px); }
/* Efeito interativo: pano dobrado pequeno, desenhado pelo JavaScript junto ao cursor.
   A página começa limpa; o desenho não é um fundo fixo nem cobre toda a hero. */
.main-hero-fabric {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
.main-stage-word { position: absolute; z-index: 1; }
.main-portrait { z-index: 2; }

/* Luz quente recortada pela transparência da fotografia, não um halo no retângulo. */
.main-portrait-has-image { pointer-events: none; }
.main-portrait-has-image > img {
  pointer-events: none;
  transition: filter .24s ease;
}
.main-stage.is-portrait-lit .main-portrait-has-image > img {
  filter: brightness(1.065) saturate(1.08) drop-shadow(0 14px 26px rgba(0,0,0,.18));
}
.main-portrait-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle 115px at var(--light-x, 50%) var(--light-y, 26%),
    rgba(255,182,93,.87) 0%, rgba(255,113,53,.34) 39%, transparent 85%);
  -webkit-mask-image: var(--main-portrait-mask);
  mask-image: var(--main-portrait-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  mix-blend-mode: screen;
  transition: opacity .17s ease;
}
.main-stage.is-portrait-lit .main-portrait-light { opacity: .88; }
.main-portrait-placeholder { pointer-events: none; transition: filter .25s ease; }
.main-stage.is-portrait-lit .main-portrait-placeholder {
  filter: drop-shadow(0 0 19px rgba(96,67,165,.27));
}

.main-stage-bottom {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 76px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.main-stage-intro { max-width: 390px; }
.main-stage-kicker { margin: 0; font-size: 16px; line-height: 1.48; font-weight: 600; letter-spacing: .075em; color: #cad0d7; }
.main-stage-description { margin: 18px 0 0; max-width: 340px; color: #888; font-size: 13px; line-height: 1.55; }
.main-stage-twitch {
  flex: 0 0 auto;
  min-width: 179px;
  height: 49px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 25px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(105deg,#aa00be,#7b17bc 55%,#d65b53);
  box-shadow: 0 0 13px rgba(206,89,248,.36), inset 0 1px 3px rgba(255,255,255,.28);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .075em;
  transition: transform .2s, box-shadow .2s;
}
.main-stage-twitch:hover { transform: translateY(-3px); box-shadow: 0 0 24px rgba(206,89,248,.52); }
.main-stage-twitch svg { width: 15px; height: 15px; }

/* The large white section with rounded upper corners, not the previous dark dashboard. */
.main-discover {
  position: relative;
  z-index: 6;
  margin-top: -1px;
  padding: 96px 0 106px;
  border-radius: 58px 58px 0 0;
  background: #fafafa;
  color: #151515;
}
.main-discover-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 38px; margin-bottom: 48px; }
.main-discover-eyebrow { margin: 0 0 15px; font-size: 11px; font-weight: 800; letter-spacing: .17em; color: #666; }
.main-discover h2 { margin: 0; font-size: clamp(52px, 6vw, 86px); line-height: .95; letter-spacing: -.075em; font-weight: 900; }
.main-discover h2 span { color: #9146ff; }
.main-discover-top > p { max-width: 365px; margin: 0; color: #626262; font-size: 14px; line-height: 1.55; }
.main-discover-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.main-discover-card { min-height: 166px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: start; gap: 22px; padding: 28px; border: 1px solid #dcdcdc; border-radius: 22px; transition: background .18s, border-color .18s, transform .18s; }
.main-discover-card:hover { background: #f1f1f1; border-color: #bdbdbd; transform: translateY(-3px); }
.main-discover-number { margin-top: 6px; color: #8d8d8d; font-size: 12px; font-weight: 700; }
.main-discover-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 10px; }
.main-discover-card strong { font-size: 26px; font-weight: 800; letter-spacing: -.045em; }
.main-discover-card small { font-size: 13px; line-height: 1.5; color: #666; }
.main-discover-arrow { font-size: 28px; font-weight: 400; line-height: 1; }
.main-footer { background: #111; padding: 32px 0; }
.main-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #7d7d7d; font-size: 11px; }
.main-footer-inner > a { color: #fff; }
.main-footer-inner > a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .main-stage-word { top: 22%; font-size: clamp(80px, 10.9vw, 125px); }
  .main-portrait { width: 47%; left: 52%; height: 75%; }
  .main-nav-shell { grid-template-columns: 1fr auto 1fr; }
  .main-nav-center a { padding: 0 10px; }
}
@media (hover: none) {

}
@media (max-width: 700px) {
  .main-page-shell,.main-stage-shell { width: min(calc(100% - 32px), var(--main-shell)); }
  .main-nav-wrap { top: 10px; }
  .main-nav-shell { width: calc(100% - 24px); height: 57px; padding: 0 11px; grid-template-columns: 1fr auto; }
  .main-brand { gap: 7px; font-size: 13px; }
  .main-brand-avatar { width: 31px; height: 31px; flex-basis: 31px; }
  .main-nav-center { display: none; }
  .main-nav-social { gap: 6px; }
  .main-social,.main-nav-user { width: 31px; height: 31px; }
  .main-stage, .main-stage-shell { min-height: 770px; height: 770px; }
  .main-stage-word { top: 22%; left: 0; font-size: clamp(56px, 14vw, 96px); letter-spacing: -.095em; }
  .main-portrait { width: 83%; height: 65%; left: 48%; transform: translateX(-31%); }

  .main-stage-bottom { bottom: 53px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .main-stage-kicker { font-size: 13px; }
  .main-stage-description { margin-top: 10px; max-width: 230px; font-size: 11px; }
  .main-stage-twitch { min-width: 159px; height: 44px; font-size: 10px; }
  .main-discover { padding: 76px 0; border-radius: 36px 36px 0 0; }
  .main-discover-top { display: block; }
  .main-discover-top > p { margin-top: 19px; }
  .main-discover-grid { grid-template-columns: 1fr; }
  .main-discover-card { min-height: 128px; padding: 22px; }
  .main-footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 390px) {
  .main-brand > span:last-child { font-size: 12px; }
  .main-stage-word { font-size: 13.7vw; }
  .main-portrait { width: 93%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .main-site *, .main-site *::before, .main-site *::after { transition-duration: .01ms !important; }

  .main-portrait-light { display: none; }
}
