@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root,
html[data-theme="green"] {
  color-scheme: dark;
  --primary: #19c37d;
  --primary-deep: #0b7a50;
  --bg: #02150f;
  --text: #f3f6fb;
  --muted: #afd1c3;
  --glow: #2be08f;
  --glow-soft: rgba(25, 195, 125, 0.7);
  --line: rgba(25, 195, 125, 0.34);
  --glass: rgba(3, 35, 25, 0.72);
  --glass-solid: #03271c;
  --glass-deep: #021711;
  --dot-inactive: rgba(80, 189, 137, 0.36);
  --dot-active: #26d78a;
  --dot-glow: rgba(38, 215, 138, 0.86);
  --card-shine: rgba(38, 215, 138, 0.09);
  --thumb-border: rgba(46, 222, 145, 0.66);
  --thumb-bg: #05291d;
  --thumb-glow: rgba(25, 195, 125, 0.18);
  --btn-grad-start: #20d98c;
  --btn-grad-end: #0b9f68;
  --btn-shadow: rgba(11, 159, 104, 0.34);
  --btn-border: rgba(38, 191, 125, 0.34);
  --btn-secondary-bg: rgba(2, 29, 21, 0.74);
  --border-light-1: #c2ffe1;
  --border-light-2: #43f9a7;
  --border-light-3: #dffff0;
  --focus-outline: rgba(91, 237, 170, 0.82);
  --footer-badge: rgba(53, 205, 135, 0.3);
  --gate-glow: rgba(18, 133, 88, 0.18);
  --gate-bg: rgba(1, 17, 12, 0.8);
  --modal-close-border: rgba(41, 190, 124, 0.32);
  --modal-close-bg: rgba(4, 38, 27, 0.76);
  --orbit-color: #28d98b;
  --avatar-border: rgba(46, 222, 145, 0.76);
  --avatar-bg: #06271c;
  --avatar-glow: rgba(25, 195, 125, 0.34);
  --brand-shadow-1: #83f3bf;
  --brand-shadow-2: rgba(43, 224, 143, 0.86);
  --brand-shadow-3: rgba(25, 195, 125, 0.7);
  --bg-overlay-1: rgba(2, 21, 15, 0.08);
  --bg-overlay-2: rgba(2, 21, 15, 0.35);
  --bg-radial: rgba(25, 195, 125, 0.1);
  --bg-image: url("/assets/fundo-verde-kenny.v2.webp");
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  --radius: 21px;
}

html[data-theme="blue"] {
  --primary: #3b82f6;
  --primary-deep: #1d4ed8;
  --bg: #0a1628;
  --text: #f0f4ff;
  --muted: #94a3c8;
  --glow: #60a5fa;
  --glow-soft: rgba(59, 130, 246, 0.7);
  --line: rgba(59, 130, 246, 0.34);
  --glass: rgba(10, 22, 40, 0.72);
  --glass-solid: #0c1f3a;
  --glass-deep: #081629;
  --dot-inactive: rgba(96, 165, 250, 0.36);
  --dot-active: #60a5fa;
  --dot-glow: rgba(96, 165, 250, 0.86);
  --card-shine: rgba(96, 165, 250, 0.09);
  --thumb-border: rgba(96, 165, 250, 0.66);
  --thumb-bg: #0f1f38;
  --thumb-glow: rgba(59, 130, 246, 0.18);
  --btn-grad-start: #3b82f6;
  --btn-grad-end: #1d4ed8;
  --btn-shadow: rgba(29, 78, 216, 0.34);
  --btn-border: rgba(59, 130, 246, 0.34);
  --btn-secondary-bg: rgba(10, 22, 40, 0.74);
  --border-light-1: #dbeafe;
  --border-light-2: #60a5fa;
  --border-light-3: #eff6ff;
  --focus-outline: rgba(96, 165, 250, 0.82);
  --footer-badge: rgba(59, 130, 246, 0.3);
  --gate-glow: rgba(29, 78, 216, 0.18);
  --gate-bg: rgba(6, 12, 24, 0.8);
  --modal-close-border: rgba(59, 130, 246, 0.32);
  --modal-close-bg: rgba(10, 22, 40, 0.76);
  --orbit-color: #60a5fa;
  --avatar-border: rgba(96, 165, 250, 0.76);
  --avatar-bg: #0f1f38;
  --avatar-glow: rgba(59, 130, 246, 0.34);
  --brand-shadow-1: #93c5fd;
  --brand-shadow-2: rgba(96, 165, 250, 0.86);
  --brand-shadow-3: rgba(59, 130, 246, 0.7);
  --bg-overlay-1: rgba(10, 22, 40, 0.08);
  --bg-overlay-2: rgba(10, 22, 40, 0.35);
  --bg-radial: rgba(59, 130, 246, 0.1);
  --bg-image: url("/assets/fundo-azul-base.v2.webp");
}

html[data-theme="purple"] {
  --primary: #A855F7;
  --primary-deep: #6D28D9;
  --bg: #160B25;
  --text: #F7F3FF;
  --muted: #C4B5D9;
  --glow: #C77DFF;
  --glow-soft: rgba(168, 85, 247, 0.7);
  --line: rgba(168, 85, 247, 0.34);
  --glass: rgba(22, 11, 37, 0.72);
  --glass-solid: #1a0f2e;
  --glass-deep: #120920;
  --dot-inactive: rgba(199, 125, 255, 0.36);
  --dot-active: #C77DFF;
  --dot-glow: rgba(199, 125, 255, 0.86);
  --card-shine: rgba(199, 125, 255, 0.09);
  --thumb-border: rgba(199, 125, 255, 0.66);
  --thumb-bg: #1e1233;
  --thumb-glow: rgba(168, 85, 247, 0.18);
  --btn-grad-start: #A855F7;
  --btn-grad-end: #6D28D9;
  --btn-shadow: rgba(109, 40, 217, 0.34);
  --btn-border: rgba(168, 85, 247, 0.34);
  --btn-secondary-bg: rgba(22, 11, 37, 0.74);
  --border-light-1: #f3e8ff;
  --border-light-2: #C77DFF;
  --border-light-3: #faf5ff;
  --focus-outline: rgba(199, 125, 255, 0.82);
  --footer-badge: rgba(168, 85, 247, 0.3);
  --gate-glow: rgba(109, 40, 217, 0.18);
  --gate-bg: rgba(12, 6, 20, 0.8);
  --modal-close-border: rgba(168, 85, 247, 0.32);
  --modal-close-bg: rgba(22, 11, 37, 0.76);
  --orbit-color: #C77DFF;
  --avatar-border: rgba(199, 125, 255, 0.76);
  --avatar-bg: #1e1233;
  --avatar-glow: rgba(168, 85, 247, 0.34);
  --brand-shadow-1: #d8b4fe;
  --brand-shadow-2: rgba(199, 125, 255, 0.86);
  --brand-shadow-3: rgba(168, 85, 247, 0.7);
  --bg-overlay-1: rgba(22, 11, 37, 0.08);
  --bg-overlay-2: rgba(22, 11, 37, 0.35);
  --bg-radial: rgba(168, 85, 247, 0.1);
  --bg-image: url("/assets/fundo-roxo-base.v2.webp");
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
}

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

button {
  color: inherit;
}

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

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  filter: blur(13px) brightness(0.68);
  transform: scale(1.05);
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg-overlay-1), var(--bg-overlay-2)),
    var(--bg-image) center top / 100% auto repeat-y;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, var(--bg-radial), transparent 44%);
  pointer-events: none;
}

.page-shell {
  width: min(100% - 28px, 760px);
  margin-inline: auto;
  padding: 42px 0 38px;
  transition: opacity 300ms ease, filter 300ms ease;
}

.is-gated .page-shell {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.orbit {
  position: relative;
  width: 184px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit-copy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--orbit-color);
  animation: orbit-spin 22s linear infinite;
}

.orbit-copy text {
  fill: currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
}

.avatar-ring {
  width: 120px;
  height: 120px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid var(--avatar-border);
  border-radius: 50%;
  background: var(--avatar-bg);
  box-shadow: 0 0 26px var(--avatar-glow);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 10vw, 4.3rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  text-shadow:
    0 1px 0 var(--brand-shadow-1),
    0 0 8px var(--brand-shadow-2),
    0 0 26px var(--brand-shadow-3);
  transform: skewX(-5deg);
}

.hero-brand {
  margin: -2px 0 5px;
  padding-right: 0.08em;
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--glass-solid), var(--glass-deep));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
}

.carousel-frame {
  overflow: hidden;
  aspect-ratio: 33 / 14;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 560ms cubic-bezier(0.22, 0.74, 0.21, 1);
  touch-action: pan-y;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 22px;
  padding-top: 12px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--dot-inactive);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.carousel-dot.is-active {
  width: 27px;
  background: var(--dot-active);
  box-shadow: 0 0 14px var(--dot-glow);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.quick-card,
.platform-card {
  position: relative;
  overflow: visible;
  animation: rise-in 520ms both;
}

.quick-card::before,
.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, var(--card-shine), transparent 70%);
  pointer-events: none;
}

.quick-card {
  display: grid;
  gap: 14px;
  padding: 15px;
}

.quick-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.quick-card-top .thumbnail-frame {
  width: 110px;
  height: 110px;
  margin-top: -45px;
  border-radius: 24%;
  padding: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 18px var(--thumb-glow);
}

.quick-card-top .thumbnail-frame img {
  border-radius: 24%;
}

.button:disabled {
  cursor: default;
  opacity: 0.65;
  transform: none;
}

.quick-card h3,
.platform-card h3,
.modal-header h2 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.25;
}

.thumbnail-frame {
  flex: 0 0 auto;
  width: 57px;
  height: 57px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid var(--thumb-border);
  border-radius: 15px;
  background: var(--thumb-bg);
  box-shadow: 0 0 17px var(--thumb-glow);
}

.thumbnail-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle), transparent 0deg 65deg, var(--border-light-1) 85deg, var(--border-light-2) 100deg, transparent 125deg 245deg, var(--border-light-3) 265deg, var(--border-light-2) 280deg, transparent 305deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: border-light 3s linear infinite;
}

@keyframes border-light {
  to { --border-angle: 360deg; }
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.button:focus-visible,
.carousel-dot:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 3px;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
  box-shadow: 0 8px 24px var(--btn-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-secondary {
  border-color: var(--btn-border);
  color: var(--text);
  background: var(--btn-secondary-bg);
}

.section-title {
  margin: 34px 0 16px;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 800;
}

.platform-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.platform-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 12px;
}

.platform-card .thumbnail-frame {
  width: 128px;
  height: 128px;
  margin-block: -23px;
  border-radius: 22px;
}

.platform-info {
  min-width: 0;
}

.platform-info h3,
.platform-info p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.platform-card .button {
  min-width: 106px;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.site-footer span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 25px;
  border: 1px solid var(--footer-badge);
  border-radius: 999px;
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 24px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 47%, var(--gate-glow), transparent 36%),
    var(--gate-bg);
  backdrop-filter: blur(8px);
}

.age-gate.is-closing {
  animation: gate-out 320ms ease both;
}

.age-card {
  width: min(100%, 440px);
  text-align: center;
  animation: rise-in 460ms both;
}

.age-logo {
  width: fit-content;
  margin: 0 auto 28px;
  font-size: clamp(2.7rem, 11vw, 4.4rem);
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
  box-shadow: 0 0 22px var(--glow-soft);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.age-card h1 {
  margin: 0 0 22px;
  font-size: clamp(1.45rem, 5vw, 2rem);
}

.age-button {
  width: 100%;
  margin-top: 10px;
  text-transform: uppercase;
}

.age-note,
.age-footer {
  color: var(--muted);
  font-size: 0.67rem;
}

.age-note {
  margin: 16px 0 0;
}

.age-footer {
  margin: 0;
}

.age-denied {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(1, 5, 18, 0.78);
  backdrop-filter: blur(7px);
  cursor: pointer;
}

.modal-card {
  position: relative;
  width: min(100%, 470px);
  padding: 22px;
  animation: rise-in 260ms both;
}

.modal-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.modal-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--modal-close-border);
  border-radius: 12px;
  color: white;
  background: var(--modal-close-bg);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-links {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.modal-link {
  justify-content: space-between;
  width: 100%;
}

body.modal-open {
  overflow: hidden;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gate-out {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, 760px);
    padding-top: 28px;
  }

  .hero {
    gap: 8px;
    margin-bottom: 22px;
  }

  .orbit {
    width: 160px;
  }

  .avatar-ring {
    width: 104px;
    height: 104px;
  }

  .quick-links {
    gap: 10px;
  }

  .quick-card {
    padding: 11px;
  }

  .quick-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .quick-card h3 {
    min-height: 2.4em;
    font-size: 0.78rem;
  }

  .quick-card .thumbnail-frame {
    width: 92px;
    height: 92px;
    margin-top: -36px;
  }

  .quick-card .button {
    min-height: 42px;
    padding: 10px 9px;
    font-size: 0.72rem;
  }

  .platform-card {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 82px;
    padding: 10px;
  }

  .platform-card .thumbnail-frame {
    width: 88px;
    height: 88px;
    margin-block: -16px;
  }

  .platform-card h3 {
    font-size: 0.8rem;
  }

  .platform-card .button {
    min-width: auto;
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.72rem;
  }

  .platform-card .button svg {
    display: block;
    width: 14px;
    height: 14px;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .platform-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .platform-card .thumbnail-frame {
    width: 88px;
    height: 88px;
  }

  .platform-card .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

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