@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 {
  color-scheme: dark;
  --blue: #19c37d;
  --blue-deep: #0b7a50;
  --bg: #02150f;
  --text: #f3f6fb;
  --muted: #afd1c3;
  --line: rgba(25, 195, 125, 0.34);
  --glass: rgba(3, 35, 25, 0.72);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  --radius: 21px;
}

* {
  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, rgba(2, 21, 15, 0.08), rgba(2, 21, 15, 0.35)),
    url("/assets/fundo-verde-kenny.png") center top / 100% auto repeat-y;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(25, 195, 125, 0.1), 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: #28d98b;
  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 rgba(46, 222, 145, 0.76);
  border-radius: 50%;
  background: #06271c;
  box-shadow: 0 0 26px rgba(25, 195, 125, 0.34);
}

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

.brand-name {
  color: #eaf1ff;
  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 #83f3bf,
    0 0 8px rgba(43, 224, 143, 0.86),
    0 0 26px rgba(25, 195, 125, 0.7);
  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, rgba(3, 39, 28, 0.88), rgba(2, 23, 17, 0.7));
  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: rgba(80, 189, 137, 0.36);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.carousel-dot.is-active {
  width: 27px;
  background: #26d78a;
  box-shadow: 0 0 14px rgba(38, 215, 138, 0.86);
}

.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%, rgba(38, 215, 138, 0.09), 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 rgba(25, 195, 125, 0.25);
}

.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 rgba(46, 222, 145, 0.66);
  border-radius: 15px;
  background: #05291d;
  box-shadow: 0 0 17px rgba(25, 195, 125, 0.18);
}

.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, #c2ffe1 85deg, #43f9a7 100deg, transparent 125deg 245deg, #dffff0 265deg, #43f9a7 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 rgba(91, 237, 170, 0.82);
  outline-offset: 3px;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #20d98c, #0b9f68);
  box-shadow: 0 8px 24px rgba(11, 159, 104, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-secondary {
  border-color: rgba(38, 191, 125, 0.34);
  color: #eef3ff;
  background: rgba(2, 29, 21, 0.74);
}

.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: rgba(207, 218, 243, 0.62);
  font-size: 0.7rem;
  text-align: center;
}

.site-footer span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 25px;
  border: 1px solid rgba(53, 205, 135, 0.3);
  border-radius: 999px;
  color: #e8efff;
}

.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%, rgba(18, 133, 88, 0.18), transparent 36%),
    rgba(1, 17, 12, 0.8);
  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, #20d98c, #0b9f68);
  box-shadow: 0 0 22px rgba(25, 195, 125, 0.5);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  color: #d9e3ff;
  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: rgba(205, 216, 241, 0.56);
  font-size: 0.67rem;
}

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

.age-footer {
  margin: 0;
}

.age-denied {
  margin: 0;
  color: #f1f5ff;
  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 rgba(41, 190, 124, 0.32);
  border-radius: 12px;
  color: white;
  background: rgba(4, 38, 27, 0.76);
  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;
  }
}
