/* ============================================================
   AfterLands — Brand Tokens v1.0
   Source: docs/brand/assets/brand-tokens.css
   Updated: 2026-04-18
   ============================================================ */

@font-face {
  font-family: "OriginTech";
  src: url(../fonts/OriginTech.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ============ COLORS ============ */

  /* Primary (signature) — use 10% by rule. ONE cyan moment per viewport. */
  --color-cyan-pulse: #03fafe;
  --color-cyan-deep: #01eaf7;

  /* Secondary — narrative accent (Bone White: aged bone / archaeological / parchment) */
  --color-moss-echo: #d4c9b8;
  --color-steel-light: #99bad2;

  /* Neutrals */
  --color-void-black: #0d0d0d;
  --color-graphite: #21252c;
  --color-carbon: #24272e;
  --color-abyss: #002134;
  --color-off-white: #f5f5f5;
  --color-mist-gray: #b7b7b7;

  /* Functional */
  --color-gold-trade: #ffbf00;
  --color-alert-red: #f55151;
  --color-success-green: #22c55e;
  --color-warn-amber: #f59e0b;

  /* ============ SEMANTIC ALIASES ============ */
  --bg-base: var(--color-graphite);
  --bg-elevated: var(--color-carbon);
  --bg-deep: var(--color-void-black);
  --text-primary: var(--color-off-white);
  --text-secondary: var(--color-steel-light);
  --text-muted: var(--color-mist-gray);
  --accent-primary: var(--color-cyan-pulse);
  --accent-secondary: var(--color-cyan-deep);
  --accent-narrative: var(--color-moss-echo);
  --cta: var(--color-cyan-pulse);
  --cta-hover: var(--color-cyan-deep);

  /* ============ TYPOGRAPHY ============ */
  --font-display: "OriginTech", "Orbitron", "Rajdhani", sans-serif;
  --font-body: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-editorial: "Cinzel", "Trajan Pro", "Cormorant Garamond", serif;

  --text-display-xl: 80px;
  --text-display-l: 64px;
  --text-display-m: 48px;
  --text-h1: 64px;
  --text-h2: 39px;
  --text-h3: 32px;
  --text-h4: 24px;
  --text-cta: 18px;

  --text-lead: 22px;
  --text-body: 18px;
  --text-body-small: 16px;
  --text-caption: 14px;
  --text-micro: 12px;

  --text-lore-title: 24px;
  --text-lore-quote: 20px;
  --text-lore-tag: 14px;

  --leading-display: 1;
  --leading-display-relaxed: 1.1;
  --leading-h1: 1.2;
  --leading-h2: 1.3;
  --leading-h3: 1.4;
  --leading-body: 1.5;
  --leading-caption: 1.4;

  --tracking-display: 0;
  --tracking-h3: 0.01em;
  --tracking-cta: 0.02em;
  --tracking-lore: 0.05em;
  --tracking-lore-tag: 0.08em;

  /* ============ SPACING ============ */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* ============ SHADOWS / GLOWS ============ */
  --glow-cyan-sm: 0 0 6px rgba(3, 250, 254, 0.5);
  --glow-cyan-md: 0 0 12px rgba(3, 250, 254, 0.6);
  --glow-cyan-lg: 0 0 24px rgba(3, 250, 254, 0.4);
  --glow-text-cyan: 0 0 7.5px rgba(3, 250, 254, 0.5);

  /* ============ RADIUS ============ */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 31px;

  /* ============ ANGULAR CLIP-PATHS ============ */
  --corner: 14px;
  --clip-plate: polygon(
    0 0,
    calc(100% - 6px) 0,
    100% 6px,
    100% 100%,
    calc(var(--corner) * 1.6) 100%,
    0 calc(100% - var(--corner) * 1.6)
  );
  --clip-slot: polygon(
    var(--corner) 0,
    42% 0,
    calc(42% + 6px) 6px,
    calc(58% - 6px) 6px,
    58% 0,
    calc(100% - var(--corner)) 0,
    100% var(--corner),
    100% calc(100% - var(--corner)),
    calc(100% - var(--corner)) 100%,
    var(--corner) 100%,
    0 calc(100% - var(--corner)),
    0 var(--corner)
  );
  --clip-slot-alt: polygon(
    var(--corner) 0,
    calc(100% - var(--corner)) 0,
    100% var(--corner),
    100% calc(100% - var(--corner)),
    calc(100% - var(--corner)) 100%,
    var(--corner) 100%,
    0 calc(100% - var(--corner)),
    0 var(--corner)
  );
  --clip-diag: polygon(
    var(--corner) 0,
    100% 0,
    100% calc(100% - var(--corner)),
    calc(100% - var(--corner)) 100%,
    0 100%,
    0 var(--corner)
  );
  --clip-button: var(--clip-diag);

  /* ---- Section-divider notch geometry (viewport-independent) ----
     Fixed px so the central slot is IDENTICAL on every screen size and
     between every section. --slot-flat = half-width of the flat plateau,
     --slot-ramp = horizontal length of each diagonal ramp,
     --slot-depth = vertical depth of the notch. The notch is centered on
     50%, so total notch width = 2 * (slot-flat + slot-ramp). */
  --slot-depth: 28px;
  --slot-ramp: 50px;
  /* Flat plateau half-width: breathes with the viewport but the ramps and
     depth above stay FIXED, so the notch angle is identical on every screen.
     clamp floor keeps it from overflowing narrow phones; ceiling stops it
     from running edge-to-edge on ultrawide. */
  --slot-flat: clamp(72px, 12vw, 260px);

  /* Hero signature shape (bottom-only central slot) */
  --clip-hero: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--slot-depth)),
    calc(50% + var(--slot-flat) + var(--slot-ramp)) calc(100% - var(--slot-depth)),
    calc(50% + var(--slot-flat)) 100%,
    calc(50% - var(--slot-flat)) 100%,
    calc(50% - var(--slot-flat) - var(--slot-ramp)) calc(100% - var(--slot-depth)),
    0 calc(100% - var(--slot-depth))
  );
  /* Section signature shape (central slot top + bottom) */
  --clip-slot-dual: polygon(
    0 var(--slot-depth),
    calc(50% - var(--slot-flat) - var(--slot-ramp)) var(--slot-depth),
    calc(50% - var(--slot-flat)) 0,
    calc(50% + var(--slot-flat)) 0,
    calc(50% + var(--slot-flat) + var(--slot-ramp)) var(--slot-depth),
    100% var(--slot-depth),
    100% calc(100% - var(--slot-depth)),
    calc(50% + var(--slot-flat) + var(--slot-ramp)) calc(100% - var(--slot-depth)),
    calc(50% + var(--slot-flat)) 100%,
    calc(50% - var(--slot-flat)) 100%,
    calc(50% - var(--slot-flat) - var(--slot-ramp)) calc(100% - var(--slot-depth)),
    0 calc(100% - var(--slot-depth))
  );

  /* ============ Z-INDEX ============ */
  --z-base: 1;
  --z-elevated: 10;
  --z-overlay: 100;
  --z-modal: 1000;
  --z-toast: 10000;
}

/* ============ TABLET/MOBILE CLIP-PATHS (≤992px) ============
   The divider notch is now defined in fixed px on :root (--slot-* tokens),
   so it stays identical across every breakpoint — no responsive override
   needed. Adjust --slot-flat / --slot-ramp / --slot-depth in one place to
   retune the shape everywhere at once. */

/* ============ MOBILE (≤768px) ============ */
@media (max-width: 768px) {
  :root {
    --text-display-xl: 60px;
    --text-display-l: 48px;
    --text-display-m: 38px;
    --text-h1: 48px;
    --text-h2: 34px;
    --text-h3: 28px;
  }
}

/* ============ MOBILE SMALL (≤376px) ============ */
@media (max-width: 376px) {
  :root {
    --text-display-xl: 48px;
    --text-display-l: 40px;
    --text-display-m: 32px;
    --text-h1: 40px;
    --text-h2: 30px;
    --text-h3: 24px;
    --text-body: 16px;
  }
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--bg-base);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition:
    opacity 1s ease-out,
    visibility 1s ease-out;
}
#preloader img {
  width: 150px;
  height: auto;
}
@media screen and (max-width: 768px) {
  #preloader img {
    width: 110px;
  }
}
body.loaded {
  overflow: auto;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
#content {
  opacity: 0;
  transition:
    opacity 1s ease-in-out,
    transform 1s ease-in-out;
}
body.loaded #content {
  opacity: 1;
}
@media screen and (min-width: 1400px) {
  .container-max {
    max-width: 1390px;
  }
}
body {
  background: var(--bg-base);
  transition: background 1s ease-in-out;
}
section {
  overflow: hidden;
}
a {
  text-decoration: none;
  padding: 0;
  margin: 0;
}
h2 {
  color: var(--color-cyan-deep);
  text-shadow: 0 0 7.5px rgb(3 250 254 / 0.5);
  font-family: var(--font-display);
  font-size: 39px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
@media (max-width: 1024px) {
  h2 {
    font-size: 34px;
  }
}
@media (max-width: 768px) {
  h2 {
    font-size: 30px;
    text-align: center;
  }
}
p {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}
@media screen and (max-width: 1400px) {
  p br {
    display: none;
  }
}
.color-base {
  color: var(--color-cyan-pulse);
}
.font-weight-500 {
  font-weight: 600;
}
.font-weight-600 {
  font-weight: 600;
}
.font-weight-700 {
  font-weight: 700;
}
.font-weight-700 {
  font-weight: 700;
}
.font-weight-800 {
  font-weight: 800;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  text-align: center;
}
.nav-btns-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: fit-content;
  gap: 20px;
  z-index: 11111;
}
@media screen and (max-width: 992px) {
  .nav-btns-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .nav-container {
    align-items: start;
    justify-content: space-between;
    top: 13.5px;
  }
}
.lucide {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
  stroke-width: 2;
}
.section-content {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 1;
}
.section-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  filter: blur(3px);
  background:
    linear-gradient(90deg, #fff0 0%, rgb(0 33 52 / 0.5) 85%),
    linear-gradient(270deg, #fff0 0%, rgb(0 33 52 / 0.5) 85%),
    linear-gradient(183deg, rgb(0 33 52 / 0.5) 2.35%, rgb(0 42 74 / 0.25) 97.65%);
}
.section-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  filter: blur(553px);
}
@media screen and (max-width: 992px) {
  .section-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
video {
  pointer-events: none;
}
.box {
  position: relative;
  min-height: 88vh;
}
@media screen and (max-width: 992px) {
  .box {
    min-height: 102vh;
  }
}
.box video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
#hero {
  position: relative;
  overflow: hidden;
  z-index: 21;
  clip-path: var(--clip-hero);
  background-color: var(--color-cyan-pulse);
  margin-bottom: -95px;
}
#hero > .content {
  clip-path: var(--clip-hero);
  margin-bottom: 5px;
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 88vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 992px) {
  #hero > .content {
    min-height: 102vh;
  }
  #hero {
    margin-bottom: -30px;
  }
}
@media screen and (max-width: 768px) {
  .hero-main-content {
    padding-top: 110px;
  }
}
.hero-img {
  position: relative;
  animation: heroLogo 2s infinite ease-in-out;
}
@keyframes heroLogo {
  0% {
    top: 0;
  }
  50% {
    top: 20px;
  }
  100% {
    top: 0;
  }
}
@media screen and (max-width: 992px) {
  .hero-img img {
    max-width: 560px;
  }
}
@media screen and (max-width: 768px) {
  .hero-img img {
    max-width: 440px;
  }
}
@media screen and (max-width: 576px) {
  .hero-img img {
    max-width: 352px;
  }
}
.afterland-quote p:first-child {
  color: #fff;
  text-align: right;
  text-shadow: var(--glow-text-cyan);
  font-family: var(--font-editorial);
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: var(--tracking-lore);
  line-height: 135%;
  margin-bottom: 0;
}
.afterland-quote p:nth-child(2) {
  color: var(--color-off-white);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: var(--tracking-lore);
  text-transform: uppercase;
  text-shadow: var(--glow-text-cyan);
  line-height: 140%;
  margin-top: 6px;
  margin-bottom: 0;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 60px;
}
@media screen and (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 18px;
  }
  /* The divider SVG is vertical (15×56); rotating it 90° makes a horizontal
     diamond between the stacked tagline and CTA. width alone collapsed its
     height to 0 (invisible) — pin both axes so the junction actually reads. */
  .hero-content img:nth-child(2) {
    transform: rotate(90deg);
    width: 13px;
    height: 46px;
  }
  .afterland-quote p:first-child,
  .afterland-quote p:nth-child(2) {
    text-align: center;
  }
}
.bottom-bar {
  position: absolute;
  bottom: 0;
}
#newWorld {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding-top: 210px;
  padding-bottom: 198px;
}
@media screen and (max-width: 992px) {
  #newWorld {
    padding-top: 100px;
  }
}
.lore-tag {
  display: block;
  color: var(--color-moss-echo);
  font-family: var(--font-editorial);
  font-size: var(--text-lore-tag);
  font-weight: 500;
  letter-spacing: var(--tracking-lore-tag);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  opacity: 0.85;
}
.swiper {
  overflow: visible;
  padding: 0 24px;
  max-width: 542px;
}
.swiper-wrapper {
  overflow: hidden;
}
.swiper-pagination-bullet {
  background: url(../images/circle-1.svg) no-repeat center center;
  width: 20px;
  height: 20px;
  opacity: 1;
  transition: 0.4s ease-in-out;
}
.swiper-pagination-bullet:hover {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8.25' stroke='%23fff' stroke-width='3.5'/%3E%3Ccircle cx='10' cy='10' r='1.75' fill='%23fff' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E")
    no-repeat center center;
  width: 20px;
  height: 20px;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: url(../images/circle-2.svg) no-repeat center center !important;
  width: 20px;
  height: 20px;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -22px;
}
.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -16px;
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -16px;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}
.swiper-button-next,
.swiper-button-prev {
  width: calc(68px / 48 * 27);
  height: 68px;
}
.swiper-button-next svg path,
.swiper-button-prev svg path {
  transition: 0.2s ease-in-out;
}
.swiper-button-next:hover svg path,
.swiper-button-prev:hover svg path {
  fill: #fff;
}
.swiper-slide {
  position: relative;
  overflow: hidden;
  padding: 4px;
}
.bg-overlay {
  background: url(../images/property-base.png) no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  transition: background-image 0.3s ease;
}
.bg-overlay:hover {
  background: url(../images/property-white.png) no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.swiper-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .swiper {
    padding: 0 29px;
  }
  .swiper-pagination-bullet,
  .swiper-pagination-bullet:hover,
  .swiper-pagination-bullet-active {
    width: 17px;
    height: 17px;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: -26px;
  }
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: -6px;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: -6px;
  }
}
#discoverUnknown {
  padding-top: 118px;
  padding-bottom: 118px;
  position: relative;
}
.discoverUnknown-bg {
  background-image: url(../images/fundo-esquerda.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  z-index: 1;
}
#ownPath {
  margin-top: -95px;
  margin-bottom: -95px;
  position: relative;
  clip-path: var(--clip-slot-dual);
  z-index: 21;
  background-color: var(--color-cyan-pulse);
}
#ownPath > .content {
  margin-top: -95px;
  margin-bottom: -95px;
  position: relative;
  clip-path: var(--clip-slot-dual);
}
#ownPath .section-content {
  padding-bottom: 180px;
  padding-top: 110px;
}
@media screen and (max-width: 992px) {
  #ownPath .section-content {
    padding-top: 100px;
  }
}
#ownPath .section-content::before {
  content: none;
}
#ownPath {
  padding-top: 100px;
  padding-bottom: 100px;
}
.own-path-card {
  width: 100%;
  height: 100%;
  max-width: 386px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 18px 15.2px;
  z-index: 1;
}
.own-path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #fff0 0%, rgb(0 0 0 / 0.3) 73.5%);
}
.own-path-content {
  border: 2.16px solid rgb(255 255 255 / 0.33);
  padding: 77.22px 15px 15px 15px;
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.own-path-content img {
  max-width: 245px;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* The logo floats up out of the card's top edge into the space above; that
     overhang lands on the .ownPath-btns segment buttons (mais notável no celular).
     É puramente decorativo — deixa o toque passar para os botões embaixo. */
  pointer-events: none;
}
.path-conten-head {
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 44px;
  font-style: normal;
  font-weight: 400;
  line-height: 105%;
  margin-top: 22px;
  margin-bottom: -4px;
}
/* Card "Ordem da Verdade" (3rd slider card) — description is longer, condense internals */
.slider .card:nth-child(3) .path-conten-head {
  margin-top: 4px;
}
.slider .card:nth-child(3) .pat-title-1 {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 135%;
}
.slider .card:nth-child(3) .pat-title-2 {
  margin-top: 12px;
  font-size: 14.2px;
  line-height: 138%;
}
.slider .card:nth-child(3) .own-path-content .btn {
  margin-top: 10px;
}
.path-conten-subhead {
  color: #dfdfdf;
  text-align: center;
  font-family: var(--font-editorial);
  font-size: 15.119px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}
.pat-title-1 {
  color: #fff;
  text-align: center;
  font-family: var(--font-editorial);
  font-size: 14.5px;
  font-style: italic;
  font-weight: 500;
  line-height: 145%;
  letter-spacing: var(--tracking-lore-tag);
  margin-top: 16px;
  margin-bottom: 0;
}
.pat-title-2 {
  color: #e8e2d4;
  text-align: center;
  font-size: 14px;
  font-family: var(--font-editorial);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 0;
  margin-top: 14.2px;
  opacity: 0.95;
  text-transform: none;
}
.pat-title-2 span {
  opacity: 1;
}
@media screen and (max-width: 992px) {
  .path-conten-head {
    font-size: 38px;
  }
  .path-conten-subhead {
    font-size: 13px;
  }
}
@media screen and (max-width: 768px) {
  .path-conten-head {
    font-size: 32px;
  }
}
.own-path-content .btn {
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-transform: uppercase;
  padding: 8.5px 16px;
  margin-top: 16.2px;
  border: 2.5px solid #fff;
  background: #000;
  border-radius: 0;
}
.own-path-content .btn:hover {
  border-color: var(--color-cyan-pulse);
  background: #000;
  color: var(--color-cyan-pulse);
}
.ownPath-btns {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 48px auto 18px;
  position: relative;
  border: 1.5px solid rgb(153 186 210 / 0.4);
  background: linear-gradient(180deg, #24272e 0%, #1b1e24 100%);
  overflow: hidden;
}
.ownPath-btns .btn {
  position: relative;
  z-index: 1;
  padding: 11px 32px;
  margin: 0;
  border: 0;
  background: transparent !important;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-steel-light);
  transition: color 0.2s ease-in-out;
}
.ownPath-btns .btn.seg--first {
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.ownPath-btns .btn.seg--mid {
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  margin-left: -16px;
}
.ownPath-btns .btn.seg--last {
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -16px;
}
.ownPath-btn-content {
  position: relative;
  z-index: 1;
}
.ownPath-btns .btn:not(.seg--last)::after {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  right: 7px;
  width: 1.5px;
  background: rgb(153 186 210 / 0.3);
  transform: skewX(-18deg);
  pointer-events: none;
}
.ownPath-btns .btn:not(.active):hover,
.ownPath-btns .btn:not(.active):focus-visible {
  color: #fff;
  background: rgb(153 186 210 / 0.1) !important;
}
.ownPath-btns .btn.active {
  background: var(--color-cyan-pulse) !important;
  color: var(--color-void-black) !important;
  z-index: 2;
}
/* Beat Bootstrap's .btn / :first-child:active rules with a higher-specificity, longhand override */
#ownPath .ownPath-btns .btn {
  background: none !important;
  background-color: transparent !important;
  color: var(--color-steel-light) !important;
  border-radius: 0 !important;
}
#ownPath .ownPath-btns .btn:not(.active):hover,
#ownPath .ownPath-btns .btn:not(.active):focus-visible {
  background-color: rgb(153 186 210 / 0.12) !important;
  color: #fff !important;
}
#ownPath .ownPath-btns .btn.active {
  background-color: var(--color-cyan-pulse) !important;
  color: var(--color-void-black) !important;
}
@media screen and (max-width: 768px) {
  .ownPath-btns .btn {
    padding: 13px 24px;
    font-size: 13px;
  }
}
@media screen and (max-width: 480px) {
  .ownPath-btns .btn {
    padding: 11px 12px;
    font-size: 11px;
    letter-spacing: 0;
  }
}

/* ============ NEW WORLD SLIDER — VISOR HUD ============ */
#newWorld .bg-overlay {
  display: none;
}
.mySwiper {
  position: relative;
}
.mySwiper .hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.8));
}
.mySwiper .hud-corner--tl {
  top: 4px;
  left: 28px;
  border-top: 2.5px solid var(--color-cyan-pulse);
  border-left: 2.5px solid var(--color-cyan-pulse);
}
.mySwiper .hud-corner--tr {
  top: 4px;
  right: 28px;
  border-top: 2.5px solid var(--color-cyan-pulse);
  border-right: 2.5px solid var(--color-cyan-pulse);
}
.mySwiper .hud-corner--bl {
  bottom: 4px;
  left: 28px;
  border-bottom: 2.5px solid var(--color-cyan-pulse);
  border-left: 2.5px solid var(--color-cyan-pulse);
}
.mySwiper .hud-corner--br {
  bottom: 4px;
  right: 28px;
  border-bottom: 2.5px solid var(--color-cyan-pulse);
  border-right: 2.5px solid var(--color-cyan-pulse);
}
.mySwiper .hud-rec {
  position: absolute;
  top: 14px;
  left: 38px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-cyan-pulse);
  background: rgb(13 13 13 / 0.62);
  padding: 5px 12px;
  border: 1px solid rgb(3 250 254 / 0.4);
  pointer-events: none;
  text-shadow: 0 0 6px rgb(3 250 254 / 0.45);
}
.mySwiper .hud-loc {
  color: var(--color-off-white);
  letter-spacing: 0.1em;
  text-shadow: none;
}
.mySwiper .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.mySwiper .swiper-button-prev svg path,
.mySwiper .swiper-button-next svg path {
  stroke: var(--color-steel-light);
  fill: none;
  transition:
    stroke 0.2s ease-in-out,
    filter 0.2s ease-in-out;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6));
}
.mySwiper .swiper-button-prev,
.mySwiper .swiper-button-next {
  width: 30px;
  height: 52px;
}
.mySwiper .swiper-button-prev svg,
.mySwiper .swiper-button-next svg {
  width: 14px;
  height: 26px;
}
#newWorld .swiper-pagination {
  display: none;
}
.hud-thumbs {
  display: flex;
  gap: 8px;
  margin: 16px auto 0;
  max-width: 486px;
}
.hud-thumb {
  flex: 1;
  height: 46px;
  padding: 0;
  border: 1.5px solid rgb(153 186 210 / 0.3);
  background: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition:
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}
.hud-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  transition: opacity 0.2s ease-in-out;
}
.hud-thumb:hover img {
  opacity: 0.85;
}
.hud-thumb.is-active {
  border-color: var(--color-cyan-pulse);
  box-shadow: 0 0 8px rgb(3 250 254 / 0.4);
}
.hud-thumb.is-active img {
  opacity: 1;
}
.mySwiper .swiper-button-prev:hover svg path,
.mySwiper .swiper-button-next:hover svg path {
  stroke: var(--color-cyan-pulse);
  filter: drop-shadow(0 0 5px rgb(3 250 254 / 0.6));
}

#connectSurvivors {
  margin-top: -95px;
  margin-bottom: -95px;
  position: relative;
  clip-path: var(--clip-slot-dual);
  z-index: 21;
  background-color: var(--color-cyan-pulse);
}
#connectSurvivors > .content {
  margin-top: -45px;
  margin-bottom: -45px;
  position: relative;
  clip-path: var(--clip-slot-dual);
}
@media screen and (max-width: 992px) {
  #connectSurvivors > .content {
    margin-top: -74px;
    margin-bottom: -74px;
  }
}
#connectSurvivors.section-content::before {
  background: var(--color-cyan-pulse);
}
/* Base social-link (used by #connectSurvivors and map-nav offcanvas) */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.social-link a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff0;
  border-radius: 32px;
  height: 46px;
  width: 47px;
  padding: 0;
  background-color: var(--bg-elevated);
  transition: 0.2s ease-in-out;
}
.social-link a svg path {
  transition: 0.2s ease-in-out;
}
.social-link a:hover {
  border-color: #fff;
}
.social-link a:hover svg path {
  fill: #fff;
}
@media screen and (max-width: 992px) {
  .social-link a {
    height: 37px;
    width: 40px;
  }
}
@media screen and (max-width: 768px) {
  .social-link a svg {
    max-width: 20px !important;
    object-fit: scale-down;
  }
}
#connectSurvivors .social-link {
  justify-content: start;
}
@media screen and (max-width: 992px) {
  #connectSurvivors .social-link {
    justify-content: center;
    gap: 16px;
  }
  /* The shared .social-link shrinks to 37×40 on mobile for the nav drawer, but
     the connect-section badges are a primary CTA row — keep them at full size
     (DS social-badge minimum 46×47) and don't clamp their glyphs. */
  #connectSurvivors .social-link a {
    height: 50px;
    width: 50px;
  }
  #connectSurvivors .social-link a svg {
    max-width: 26px !important;
  }
}
.survivors-container {
  max-width: 1200px;
  margin: 0 auto;
}
#connectSurvivors .social-link a {
  background-color: var(--color-abyss);
}
#connectSurvivors .social-link a:hover {
  border-color: var(--color-cyan-pulse);
}
#connectSurvivors .social-link a:hover svg path {
  fill: var(--color-cyan-pulse);
}
.survivors-img-1,
.survivors-img-2 {
  height: 558px;
}
.survivors-img-1 img:not(.emoji-zzz):not(.emoji-raiva),
.survivors-img-2 img:not(.emoji-zzz):not(.emoji-raiva) {
  width: 419px;
  height: 468px;
  object-fit: scale-down;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.survivors-img-1 {
  position: relative;
  animation: myfirst 2.2s infinite cubic-bezier(0.42, 0, 0.42, 0.99);
  cursor: pointer;
}
@keyframes myfirst {
  0% {
    top: 10px;
  }
  50% {
    top: 50px;
  }
  100% {
    top: 10px;
  }
}
@keyframes shake {
  0% {
    top: 0;
  }
  25% {
    top: -10px;
  }
  50% {
    top: 10px;
  }
  75% {
    top: -10px;
  }
  100% {
    top: 0;
  }
}
.survivors-img-2 {
  position: relative;
  display: none;
}
@media screen and (max-width: 1200px) {
  .survivors-img-1 img:not(.emoji-zzz):not(.emoji-raiva),
  .survivors-img-2 img:not(.emoji-zzz):not(.emoji-raiva) {
    width: 380px;
    height: 420px;
  }
}
@media screen and (max-width: 992px) {
  .survivors-img-1 img:not(.emoji-zzz):not(.emoji-raiva),
  .survivors-img-2 img:not(.emoji-zzz):not(.emoji-raiva) {
    width: 366px;
    height: 406px;
  }
  .survivors-img-1,
  .survivors-img-2 {
    height: 404px;
  }
}
.emoji-zzz {
  position: absolute;
  top: 6px;
  right: 55px;
  width: 155px;
  height: auto;
  z-index: 10;
  animation: zzz-float 2.2s infinite ease-in-out;
}
.emoji-raiva {
  position: absolute;
  top: 60px;
  right: 110px;
  width: 110px !important;
  height: auto !important;
  z-index: 10;
}
@keyframes zzz-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
    transform: translateX(-10px);
  }
}
@media screen and (max-width: 1200px) {
  .emoji-zzz {
    width: 150px !important;
    right: 18px;
    top: 4px;
  }
  .emoji-raiva {
    width: 90px !important;
    right: 90px;
    top: 50px;
  }
}
@media screen and (max-width: 992px) {
  .emoji-zzz {
    width: 140px !important;
    right: 180px;
    top: -95px;
  }
  .emoji-raiva {
    width: 75px !important;
    right: 250px;
    top: 40px;
  }
}
@media screen and (max-width: 768px) {
  .emoji-zzz {
    width: 140px !important;
    right: 100px;
    top: -95px;
  }
  .emoji-raiva {
    width: 75px !important;
    right: 180px;
    top: 30px;
  }
}
@media screen and (max-width: 576px) {
  /* A imagem do CORTEX (366px) é mais larga que a coluna em telas estreitas e
     vazava à direita; desloca à esquerda para centralizar opticamente (os emojis
     acompanham por estarem posicionados dentro do wrap). */
  .survivors-img-1,
  .survivors-img-2 {
    transform: translateX(-20px);
  }
  /* Zzz/raiva grudados no canto superior-direito da cabeça (igual ao desktop). */
  .emoji-zzz {
    width: 150px !important;
    right: -8px;
    top: 6px;
  }
  .emoji-raiva {
    width: 95px !important;
    right: 52px;
    top: 24px;
  }
}
#faq {
  padding-top: 190px;
  padding-bottom: 120px;
}
@media screen and (max-width: 992px) {
  #faq {
    padding-top: 170px;
    padding-bottom: 90px;
  }
}
.accordion {
  width: 100%;
  max-width: 682px;
  margin: 0 auto;
  margin-top: 30px;
  background-color: transparent !important;
}
.accordion-item:first-of-type > .accordion-header .accordion-button {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.accordion-header,
.accordion-item {
  background-color: transparent !important;
  border: 0;
  color: #fff;
  text-shadow: 0 0 4px rgb(255 255 255 / 0.25);
  font-family: var(--font-editorial);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
.accordion-header {
  position: relative;
}
.accordion-button {
  padding: 10px 29px 12px 62px !important;
  border-radius: 31px 31px 0 31px !important;
  border: 4px solid var(--color-steel-light);
  background: var(--bg-elevated);
  color: var(--color-steel-light);
  text-shadow: 0 0 4px rgb(255 255 255 / 0.15);
  font-family: var(--font-editorial);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: var(--tracking-lore);
  transition: 0.2s ease-in-out;
  position: relative;
  /* Remove the top-right rounded corner via clip-path (approximates the
     other three rounded corners with 4 points each, and cuts the top-right
     diagonally). The diagonal border is drawn separately on the parent
     .accordion-header so it isn't clipped with the rest. */
  clip-path: polygon(
    0 31px,
    4px 13px,
    13px 4px,
    31px 0,
    calc(100% - 26px) 0,
    100% 26px,
    100% 100%,
    31px 100%,
    13px calc(100% - 4px),
    4px calc(100% - 13px),
    0 calc(100% - 31px)
  );
}
/* Diagonal border on the chanfro — rendered on the header (not clipped). */
.accordion-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: linear-gradient(
    to top right,
    transparent 0,
    transparent calc(50% - 2.5px),
    var(--color-steel-light) calc(50% - 2.5px),
    var(--color-steel-light) calc(50% + 2.5px),
    transparent calc(50% + 2.5px),
    transparent 100%
  );
  z-index: 5;
  pointer-events: none;
  transition: background 0.25s ease;
}
@media screen and (max-width: 768px) {
  .accordion-button {
    font-size: 14px;
    line-height: 100%;
    padding: 8px 12px 10px 54px !important;
  }
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button::after {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  content: "";
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none"%3E%3Cpath d="M25.047 9.60007L26.849 11.4038L17.0281 21.2281C16.8708 21.3864 16.6837 21.5121 16.4775 21.5979C16.2714 21.6836 16.0504 21.7278 15.8271 21.7278C15.6038 21.7278 15.3828 21.6836 15.1767 21.5979C14.9705 21.5121 14.7834 21.3864 14.626 21.2281L4.80005 11.4038L6.60205 9.60177L15.8245 18.8226L25.047 9.60007Z" fill="%2399BAD2"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.5s ease-in-out;
}
.accordion-button.collapsed:hover::after,
.accordion-button.collapsed:focus-visible::after {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none"%3E%3Cpath d="M25.047 9.60007L26.849 11.4038L17.0281 21.2281C16.8708 21.3864 16.6837 21.5121 16.4775 21.5979C16.2714 21.6836 16.0504 21.7278 15.8271 21.7278C15.6038 21.7278 15.3828 21.6836 15.1767 21.5979C14.9705 21.5121 14.7834 21.3864 14.626 21.2281L4.80005 11.4038L6.60205 9.60177L15.8245 18.8226L25.047 9.60007Z" fill="%23FFFFFF"/%3E%3C/svg%3E');
}
.accordion-button.collapsed:hover,
.accordion-button.collapsed:focus-visible {
  border-color: #fff;
  color: #fff;
}
.accordion-header:has(.accordion-button.collapsed:hover)::before,
.accordion-header:has(.accordion-button.collapsed:focus-visible)::before {
  background: linear-gradient(
    to top right,
    transparent 0,
    transparent calc(50% - 2.5px),
    #fff calc(50% - 2.5px),
    #fff calc(50% + 2.5px),
    transparent calc(50% + 2.5px),
    transparent 100%
  );
}
.accordion-item:has(.accordion-button.collapsed:hover) #accordioncirclepoint {
  stroke: #fff !important;
}
.accordion-item:has(.accordion-button.collapsed:hover) .accordion-circle-content {
  fill: #fff !important;
}
.accordion-circle path {
  transition:
    stroke 0.2s ease-in-out,
    fill 0.2s ease-in-out;
}
.accordion-button:not(.collapsed) {
  background: var(--bg-elevated);
  border-color: var(--color-cyan-pulse);
  color: var(--color-cyan-pulse);
  box-shadow: var(--glow-cyan-sm);
}
.accordion-header:has(.accordion-button:not(.collapsed))::before {
  background: linear-gradient(
    to top right,
    transparent 0,
    transparent calc(50% - 2.5px),
    var(--color-cyan-pulse) calc(50% - 2.5px),
    var(--color-cyan-pulse) calc(50% + 2.5px),
    transparent calc(50% + 2.5px),
    transparent 100%
  );
}
.accordion-button:not(.collapsed)::after {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none"%3E%3Cpath d="M25.047 9.60007L26.849 11.4038L17.0281 21.2281C16.8708 21.3864 16.6837 21.5121 16.4775 21.5979C16.2714 21.6836 16.0504 21.7278 15.8271 21.7278C15.6038 21.7278 15.3828 21.6836 15.1767 21.5979C14.9705 21.5121 14.7834 21.3864 14.626 21.2281L4.80005 11.4038L6.60205 9.60177L15.8245 18.8226L25.047 9.60007Z" fill="%2303FAFE"/%3E%3C/svg%3E');
  transform-origin: center;
  transform: rotateX(180deg);
}
.accordion-body {
  padding: 14px 13px 12px 13px;
  transition: 0.6s ease-in-out;
}
.accordion-body p {
  margin: 0;
  font-size: 16px;
}
.accordion-item {
  border-radius: 0 !important;
  border: 0;
  background: transparent !important;
  transition: filter 0.25s ease-in-out;
  margin-top: 30px;
  position: relative;
  isolation: isolate;
}
/* Card bg (the paragraph's background) starts at y=30 — the middle of the
   60px scaled circle SVG. Everything above y=30 shows section bg; the card
   extends downward from mid-circle to the bottom of the open body. Rim +
   fill are split into two layers so the 1px steel-light outline traces the
   whole shape including the flat top. */
.accordion-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.22);
  clip-path: polygon(0 30px, 100% 30px, 100% 100%, 0 100%);
  z-index: -2;
  pointer-events: none;
}
.accordion-item::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(10deg, rgb(0 33 52 / 0.35) 7.4%, rgb(0 42 74 / 0.35) 92.6%);
  clip-path: polygon(0 30px, 100% 30px, 100% 100%, 0 100%);
  z-index: -1;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .accordion-item::before {
    clip-path: polygon(0 25px, 100% 25px, 100% 100%, 0 100%);
  }
  .accordion-item::after {
    clip-path: polygon(0 25px, 100% 25px, 100% 100%, 0 100%);
  }
}
/* Closed state: the paragraph bg should not appear at all. Only reveal the
   card ::before/::after when the accordion is open. */
.accordion-item:has(.accordion-button.collapsed)::before,
.accordion-item:has(.accordion-button.collapsed)::after {
  display: none;
}
.accordion-body p {
  opacity: 0.5;
  transition: opacity 0.16s ease-in-out;
}
.accordion-collapse.collapse.show .accordion-body p {
  opacity: 1;
}
.faq-discord {
  color: var(--color-cyan-pulse);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 1px;
  background-image: linear-gradient(var(--color-cyan-pulse), var(--color-cyan-pulse));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    text-shadow 0.25s ease;
}
.faq-discord:hover,
.faq-discord:focus-visible {
  color: var(--color-cyan-pulse);
  background-size: 100% 1px;
  text-shadow: var(--glow-text-cyan);
  outline: none;
}
.accordion-circle {
  position: absolute;
  top: 0px;
  left: 0px;
  transform: scale(0.97);
  transform-origin: top left;
  cursor: pointer;
  z-index: 3;
}
@media screen and (max-width: 768px) {
  .accordion-circle {
    top: 0px;
    left: 0px;
    transform: scale(0.82);
    transform-origin: top left;
  }
}
#accordioncirclepoint {
  transform-origin: center;
  transform: rotate(0deg);
  transition: transform 0.6s ease-in-out;
}
#accordioncirclepoint {
  transform-origin: center;
}
.accordion-circle-1 {
  position: absolute;
  top: -1.2px;
  left: -0.8px;
  transform: scale(1.092);
}
.diagonal-section {
  position: relative;
  width: 100%;
  height: 709px;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: -2;
}
.diagonal-section .container,
.diagonal-section .row {
  height: 100%;
}
@media screen and (min-width: 1400px) {
  .diagonal-section .container {
    max-width: 992px;
  }
}
@media screen and (max-width: 1399px) {
  .diagonal-section .container {
    max-width: 768px;
  }
  .image-left {
    margin-right: -160px;
  }
}
@media screen and (max-width: 1200px) {
  .diagonal-section .container {
    max-width: 620px;
  }
}
@media screen and (max-width: 992px) {
  .diagonal-section .container {
    padding-top: 84px;
    padding-bottom: 64px;
  }
  .diagonal-section {
    height: auto;
    padding-top: 78px;
  }
}
@media screen and (max-width: 768px) {
  .diagonal-section .container {
    padding-top: 84px;
    padding-bottom: 54px;
  }
}
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.image-left {
  flex: 1;
  clip-path: polygon(0% 0%, 100% 0%, 69% 100%, 0% 100%);
  margin-right: -21%;
  position: relative;
  z-index: 1;
}
.image-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: linear-gradient(0deg, rgb(0 42 74 / 0.25) 0%, rgb(0 42 74 / 0.25) 100%);
}
.image-left::after {
  filter: blur(2px);
}
.image-right {
  flex: 1;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -21%;
}
.image-right video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 992px) {
  .image-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 400px;
  }
  .image-left,
  .image-right {
    clip-path: none;
    margin: 0;
  }
}
/* ============ FOOTER V2 — Design System (sitemap + band) ============ */
.af-footer {
  position: relative;
  background: var(--bg-deep);
}
.af-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--color-cyan-pulse);
  animation: neonDivider 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.af-footer a {
  color: inherit;
  text-decoration: none;
}
.af-footer a:hover {
  color: var(--color-off-white);
}
.af-footer .heading {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-cyan-deep);
  text-shadow: var(--glow-text-cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.af-footer .link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.af-footer .link-list a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-mist-gray);
  transition: color 0.2s;
}
.af-footer .mojang-disclaimer {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #6b7480;
  text-transform: uppercase;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}
.af-footer .soc {
  display: flex;
  gap: 12px;
}
.af-footer .soc a {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}
.af-footer .soc svg {
  transform: scale(0.85);
}
.af-footer .soc svg path {
  fill: #7f9bb0;
  transition: fill 0.2s ease-in-out;
}
.af-footer .soc a:hover {
  background: var(--bg-elevated);
  border-color: var(--color-off-white);
}
.af-footer .soc a:hover svg path {
  fill: var(--color-off-white);
}

/* ICEGAMES link: underline cyan + glow no hover (compartilhado com DS) */
.af-footer .icegames-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--color-cyan-deep), var(--color-cyan-deep));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.af-footer .icegames-link b {
  color: var(--color-cyan-deep);
  text-shadow: var(--glow-text-cyan);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-weight: 400;
  transition:
    letter-spacing 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    text-shadow 0.3s ease;
}
.af-footer .icegames-link:hover {
  background-size: 100% 1px;
}
.af-footer .icegames-link:hover b {
  letter-spacing: 0.2em;
  text-shadow:
    0 0 8px rgba(3, 250, 254, 0.9),
    0 0 18px rgba(3, 250, 254, 0.5),
    0 0 28px rgba(3, 250, 254, 0.25);
}

/* F2 layout */
.af-footer.f2 {
  padding: 72px 56px 28px;
}
.af-footer.f2 .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.af-footer.f2 .brand .wmark {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}
.af-footer.f2 .brand .brand-desc {
  color: var(--color-mist-gray);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}
.af-footer.f2 .link-list a {
  position: relative;
  display: inline-block;
  padding-left: 0;
  transition:
    color 0.25s ease,
    padding-left 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.af-footer.f2 .link-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  transform: translateY(-50%);
  background: var(--color-cyan-deep);
  box-shadow: var(--glow-text-cyan);
  transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.af-footer.f2 .link-list a:hover {
  color: var(--color-off-white);
  padding-left: 18px;
}
.af-footer.f2 .link-list a:hover::before {
  width: 12px;
}
.af-footer.f2 .band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1280px;
  margin: 0 auto;
}
.af-footer.f2 .band .left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.af-footer.f2 .band .left .line {
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 13px;
}
.af-footer.f2 .band .left .line .dot {
  color: #6b7480;
  margin: 0 10px;
}
.af-footer.f2 .band .left .trademark {
  color: #6b7480;
  font-family: var(--font-body);
  font-size: 12px;
}
.af-footer.f2 .band .right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.af-footer.f2 .bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Tablet: brand spans the full row, the three link columns sit below ---- */
@media screen and (max-width: 1100px) {
  .af-footer.f2 {
    padding: 64px 40px 28px;
  }
  .af-footer.f2 .grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 32px;
  }
  .af-footer.f2 .grid > .brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }
  .af-footer.f2 .band {
    flex-wrap: wrap;
    gap: 24px;
  }
}
/* ---- Small tablet / large phone: links drop to two columns, band stacks ---- */
@media screen and (max-width: 720px) {
  .af-footer.f2 {
    padding: 52px 24px 26px;
  }
  .af-footer.f2 .grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .af-footer.f2 .band {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .af-footer.f2 .band .right {
    width: 100%;
    justify-content: space-between;
  }
}
/* ---- Phone: single column of links, band wraps gracefully ---- */
@media screen and (max-width: 480px) {
  .af-footer.f2 {
    padding: 44px 20px 24px;
  }
  .af-footer.f2 .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .af-footer.f2 .brand .brand-desc {
    font-size: 13px;
  }
  .af-footer.f2 .band .right {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* ============ FOOTER F5 — Minimal (mostrado < 900px via .footer-official) ============ */
.af-footer.f5 {
  padding: 0;
}
.af-footer.f5 .band {
  padding: 26px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.af-footer.f5 .band .wmark {
  height: 40px;
  width: auto;
  display: block;
}
.af-footer.f5 .band .links {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.af-footer.f5 .band .links a {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-mist-gray);
  text-transform: uppercase;
  transition: color 0.2s;
}
.af-footer.f5 .band .links a:hover {
  color: var(--color-off-white);
}
.af-footer.f5 .band .right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.af-footer.f5 .band .soc a {
  width: 36px;
  height: 36px;
  background: transparent;
}
.af-footer.f5 .fine {
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.af-footer.f5 .fine .copyright {
  color: var(--color-mist-gray);
  font-family: var(--font-body);
  font-size: 12px;
}
.af-footer.f5 .fine .disclaimer {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #6b7480;
}
@media screen and (max-width: 860px) {
  .af-footer.f5 .band {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    padding: 32px 32px;
    text-align: center;
  }
  .af-footer.f5 .band .links {
    gap: 16px 26px;
  }
  .af-footer.f5 .band .right {
    gap: 18px;
  }
}
@media screen and (max-width: 520px) {
  .af-footer.f5 .band {
    padding: 30px 22px;
    gap: 20px;
  }
  .af-footer.f5 .band .links {
    gap: 12px 18px;
  }
  .af-footer.f5 .band .right {
    flex-direction: column;
    gap: 16px;
  }
  .af-footer.f5 .band .soc {
    justify-content: center;
  }
  .af-footer.f5 .fine {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 22px;
  }
}

/* ===== Footer oficial — troca por breakpoint: f2 (sitemap) >=900px · f5 (minimal) <900px ===== */
.footer-official .f5 {
  display: none;
}
@media screen and (max-width: 899px) {
  .footer-official .f2 {
    display: none;
  }
  .footer-official .f5 {
    display: block;
  }
}

.map-nav .offcanvas,
.nav-container .offcanvas {
  flex-direction: row;
}
.map-nav .offcanvas,
.nav-container .offcanvas {
  visibility: visible;
}
.map-nav .navbar-brand img {
  max-width: 414px;
  max-height: 100px;
  object-fit: scale-down;
  z-index: 11111;
}
.map-nav .nav-btns-container,
.map-nav .social-link {
  flex-wrap: wrap;
}
.map-nav .navbar-brand {
  margin-bottom: -34px;
  margin-left: 40px;
}
.navbar-toggler {
  padding: 4px;
  border: 0;
}
.navbar-toggler:focus,
.offcanvas-header .btn-close {
  box-shadow: none;
}
.map-nav-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-variant {
  height: 15px;
  margin-bottom: 12px;
}
@media screen and (min-width: 1400px) {
  .map-nav .offcanvas-body {
    overflow: visible;
  }
  .map-variant {
    display: none;
  }
}
.map-nav .social-link a {
  background-color: #fff0;
}
.map-nav .social-link a:hover {
  border-color: #fff0;
}
.map-nav .social-link a:hover svg path {
  fill: var(--color-cyan-pulse);
}
.map-nav .offcanvas,
.nav-container .offcanvas {
  --bs-offcanvas-width: 256px;
}
@media screen and (max-width: 1600px) {
  .map-nav .navbar-brand img {
    max-width: 364px;
    max-height: 85px;
    object-fit: scale-down;
  }
  .map-nav .navbar-brand {
    margin-left: 10px;
  }
}
.map-nav .social-link {
  gap: 3px;
}
@media screen and (max-width: 1400px) {
  .map-nav .offcanvas {
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--bg-elevated) !important;
    padding-bottom: 0;
  }
  .map-nav-dropdown {
    flex-direction: column-reverse;
  }
  .offcanvas-header {
    align-items: center;
    margin-bottom: 22px;
  }
  .offcanvas-header .offcanvas-logo {
    max-width: 176px;
  }
  .offcanvas-header .btn-close {
    --bs-btn-close-bg: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .map-nav .navbar-brand {
    display: none;
  }
  .map-nav .offcanvas-body {
    flex-grow: unset;
  }
  .map-nav .social-link {
    gap: 4px;
  }
}
@media screen and (min-width: 992px) {
  .nav-container .offcanvas-body .social-link,
  .nav-container .offcanvas-body .map-variant {
    display: none;
  }
}
@media screen and (max-width: 992px) {
  .map-nav .navbar-brand img {
    max-width: 314px;
    max-height: 60px;
    object-fit: scale-down;
  }
  .nav-container .offcanvas {
    background-color: var(--bg-elevated) !important;
  }
  .nav-container .nav-btns-container {
    padding-bottom: 0;
  }
  .nav-container .offcanvas-body {
    flex-grow: unset;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 40px;
  }
  .nav-container .offcanvas-body .social-link {
    flex-wrap: wrap;
    gap: 4px;
  }
}
@media screen and (max-width: 576px) {
  .map-nav .navbar-brand img {
    max-width: 280px;
    max-height: 50px;
    object-fit: scale-down;
  }
  .map-nav .navbar-brand {
    margin-bottom: -34px;
    margin-left: 0;
  }
}
.own-path-modal .modal-body {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 26px;
}
.modal-body-content {
  padding: 80px 19px 19px 19px;
  border: 2.635px solid rgb(255 255 255 / 0.33);
  position: relative;
  text-align: center;
}
.modal-body-content img {
  max-width: 240px;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal-body-content h4 {
  font-size: 50.072px;
}
.modal-lg {
  max-width: 789px;
}
@media screen and (max-width: 1200px) {
  .modal-body-content h4 {
    font-size: 38.072px;
  }
}
.modal-body-content span:nth-child(3) {
  color: #dfdfdf;
  text-align: center;
  font-family: var(--font-editorial);
  font-size: 18.447px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  display: inline-block;
}
.modal-body-left_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-right: 2px solid rgb(255 255 255 / 0.33);
  padding-left: 18px;
  padding-right: 18px;
}
.modal-body-right_content {
  padding-left: 18px;
  padding-right: 18px;
}
@media screen and (max-width: 992px) {
  .own-path-modal .modal-body {
    padding: 14px 14px 14px 14px;
  }
  .modal-body-content img {
    max-width: 152px;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .modal-body-content {
    padding: 40px 16px 10px 16px;
  }
  .modal-body-content span:nth-child(3) {
    font-size: 16px;
  }
  .modal-body-left_content {
    border-right: 0;
    border-bottom: 2px solid rgb(255 255 255 / 0.33);
    padding: 8px 8px 16px;
    gap: 10px;
  }
  .modal-body-right_content {
    padding: 8px 8px 8px 8px;
  }
  .modal-body-content h4 {
    font-size: 32.072px;
  }
}
.modal-body-left {
  text-align: center;
}
.modal-body-left h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16.81px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
}
.modal-body-left p {
  color: #c8c8c8;
  font-family: var(--font-body);
  font-size: 15.812px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .modal-body-content h4 {
    font-size: 28.072px;
  }
  .modal-body-left h5 {
    font-size: 13.81px;
  }
  .modal-body-left p {
    font-size: 12.81px;
  }
  .own-path-modal .modal-body {
    padding: 12px 12px 20px 12px;
  }
  .modal-body-content img {
    max-width: 100px;
  }
}
.control-buttons {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.control-buttons button {
  margin: 0 5px;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.control-buttons button:hover {
  background-color: #0056b3;
}
.control-buttons button.active {
  background-color: #122539;
  color: #fff;
}
.slider-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 268px;
}
@media screen and (max-width: 991px) {
  .slider-container {
    padding-top: 230px;
  }
}
@media screen and (max-width: 576px) {
  /* O logo flutua para cima saindo do topo do card; aumenta a folga para ele não
     cobrir os .ownPath-btns logo acima do slider. */
  .slider-container {
    padding-top: 224px;
  }
}
.slider {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 300px;
}
.card {
  position: absolute;
  width: 386px;
  max-width: calc(100vw - 48px);
  height: 482.36px;
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
  transition:
    transform 1.2s ease,
    opacity 0.6s ease-in-out;
  opacity: 0;
  border: 0;
  background-color: #fff0;
}
.card.active {
  transform: translateX(0) translateY(-60px) scale(0.9);
  z-index: 2;
  opacity: 1;
  border: 0;
}
.card.left {
  transform: translateX(-180px) scale(0.9);
  z-index: 1;
  opacity: 0.6;
  filter: blur(2.0248827934265137px);
}
.card.right {
  transform: translateX(180px) scale(0.9);
  z-index: 1;
  opacity: 0.6;
  filter: blur(2.0248827934265137px);
}
/* On a phone the blurred coverflow side-peeks only bleed cluttered card edges and
   text from behind the active card — collapse to a single clean, centered card.
   The prev/next arrows still cycle the three factions. */
@media screen and (max-width: 600px) {
  .card.left,
  .card.right {
    opacity: 0;
    pointer-events: none;
  }
  .card.active {
    transform: translateX(0) translateY(-30px) scale(0.96);
  }
}
.slider-nav {
  background-color: #fff0;
  border: 0;
  width: 49.137px;
  height: 47.517px;
  cursor: pointer;
  display: flex;
  justify-content: center;
}
.prev-btn {
  position: absolute;
  left: 18px;
  z-index: 99;
}
.next-btn {
  position: absolute;
  right: 18px;
  z-index: 99;
}
.prev-btn svg path,
.next-btn svg path {
  transition: 0.3s ease-in-out;
}
.prev-btn:hover svg path,
.next-btn:hover svg path {
  fill: var(--color-cyan-pulse);
}
@media screen and (max-width: 576px) {
  .prev-btn {
    left: 12px;
  }
  .next-btn {
    right: 12px;
  }
}
.navbar-toggler {
  position: relative;
  display: inline-block;
  padding: 5px 11px;
}
/* MENU is now built on the shared .nav-btn shape (see NAV BUTTON section).
   Keep only the Bootstrap toggle plumbing here and make sure the flex layout
   of the layered .bg/.fill/.content survives Bootstrap's display rules. */
/* MENU is built on the shared .nav-btn shape but stays governed by Bootstrap's
   navbar-expand-lg responsive rules — it only appears once the inline buttons no
   longer fit. Don't force display here or it overrides that breakpoint. */
.navbar-toggler.nav-btn {
  padding: 0 18px;
}
.navbar-toggler.nav-btn:focus,
.navbar-toggler.nav-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

/* ============ MOBILE SIDEBAR (offcanvas) ============ */
/* Pulsing cyan conduit down the panel's inner (right) edge — echoes the live
   "still working" wire used in the blog navbar. The open slide-in panel is
   position:fixed (its own containing block), so ::after needs no extra anchor —
   never force position here or the panel stops collapsing on narrow screens. */
.nav-container .offcanvas::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 2px;
  background: var(--color-cyan-pulse);
  animation: neonDivider 4s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}
@media screen and (min-width: 992px) {
  /* inline on desktop — no slide-in panel, so no edge conduit */
  .nav-container .offcanvas::after {
    display: none;
  }
}
/* Brand + divider only exist inside the slide-in panel — hidden while the nav
   is laid out inline on desktop. */
.offcanvas-brand {
  display: none;
}
.offcanvas-divider {
  display: none;
}
@media screen and (max-width: 992px) {
  .nav-container .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 26px 40px;
    width: 100%;
  }
  /* brand lockup pinned to the top of the panel */
  .offcanvas-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
  }
  .offcanvas-brand img {
    max-width: 168px;
    height: auto;
    object-fit: contain;
  }
  /* equal-width button stack — clean column instead of ragged fit-content */
  .nav-container .nav-btns-container {
    width: 100%;
    gap: 12px;
  }
  .nav-container .nav-btns-container .nav-btn {
    width: 100%;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 16px;
    font-size: 18px;
  }
  /* diamond divider between navigation and social row */
  .offcanvas-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 26px 0 22px;
  }
  .offcanvas-divider__line {
    flex: 1 1 auto;
    height: 1.5px;
    background: linear-gradient(
      90deg,
      rgb(153 186 210 / 0) 0%,
      rgb(153 186 210 / 0.45) 100%
    );
  }
  .offcanvas-divider__line:last-child {
    background: linear-gradient(
      270deg,
      rgb(153 186 210 / 0) 0%,
      rgb(153 186 210 / 0.45) 100%
    );
  }
  .offcanvas-divider__gem {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border: 1.5px solid var(--color-steel-light);
    box-shadow: 0 0 8px rgb(3 250 254 / 0.35);
  }
  /* social row centred and breathing under the divider */
  .nav-container .offcanvas-body .social-link {
    margin-top: 0;
    justify-content: center;
    gap: 10px;
  }
  /* redundant with the "mapa" button — drop it from the panel */
  .nav-container .offcanvas-body .map-variant {
    display: none;
  }
}
/* ============ OPS MODAL (DS dual clip-path) ============ */
#opsModal .modal-dialog {
  background: transparent;
  max-width: 460px;
}
#opsModal .modal-content {
  background: transparent;
  border: 0;
}
.ops-modal {
  --ops-notch: 14px;
  --ops-notch-inner: 12px;
  position: relative;
  padding: 48px 36px 36px;
  color: var(--color-off-white);
  font-family: var(--font-body);
  isolation: isolate;
}
.ops-modal > .bg {
  position: absolute;
  inset: 0;
  background: var(--color-alert-red);
  clip-path: polygon(
    var(--ops-notch) 0,
    100% 0,
    100% calc(100% - var(--ops-notch)),
    calc(100% - var(--ops-notch)) 100%,
    0 100%,
    0 var(--ops-notch)
  );
  filter: drop-shadow(0 0 14px rgba(245, 81, 81, 0.45));
  z-index: 0;
}
.ops-modal > .fill {
  position: absolute;
  inset: 2px;
  background: linear-gradient(180deg, #1e2228, #12151a);
  clip-path: polygon(
    var(--ops-notch-inner) 0,
    100% 0,
    100% calc(100% - var(--ops-notch-inner)),
    calc(100% - var(--ops-notch-inner)) 100%,
    0 100%,
    0 var(--ops-notch-inner)
  );
  z-index: 1;
}
.ops-modal .rail-top {
  position: absolute;
  top: -1px;
  left: var(--ops-notch);
  right: var(--ops-notch);
  height: 2px;
  background: var(--color-alert-red);
  box-shadow: 0 0 8px var(--color-alert-red);
  z-index: 2;
}
.ops-modal .ops-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--color-steel-light);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}
.ops-modal .ops-close .lucide {
  width: 16px;
  height: 16px;
  color: currentColor;
}
.ops-modal .ops-close:hover,
.ops-modal .ops-close:focus-visible {
  border-color: var(--color-alert-red);
  color: var(--color-alert-red);
  background: rgba(245, 81, 81, 0.1);
  outline: none;
}
.ops-modal .ops-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.ops-modal .ops-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 14px rgba(245, 81, 81, 0.45));
}
.ops-modal .ops-icon .lucide {
  width: 52px;
  height: 52px;
  color: var(--color-alert-red);
  stroke-width: 1.6;
}
.ops-modal .opsModal-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.ops-modal .ops-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-off-white);
  text-shadow: 0 0 10px rgba(245, 81, 81, 0.55);
  margin: 0;
}
.ops-modal .ops-message {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-mist-gray);
  margin: 0;
}
.ops-modal .ops-link-row {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  color: var(--color-mist-gray);
}
.ops-modal .ops-link {
  color: var(--color-alert-red);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding-bottom: 1px;
  background-image: linear-gradient(var(--color-alert-red), var(--color-alert-red));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    text-shadow 0.25s ease;
}
.ops-modal .ops-link:hover,
.ops-modal .ops-link:focus-visible {
  background-size: 100% 1px;
  text-shadow: 0 0 8px rgba(245, 81, 81, 0.6);
  outline: none;
}

@media screen and (max-width: 576px) {
  .ops-modal {
    padding: 40px 24px 28px;
  }
  .ops-modal .ops-title {
    font-size: 24px;
  }
  .ops-modal .ops-message {
    font-size: 14px;
  }
}

.modal-dialog-centered {
  justify-content: center;
}

/* ============================================================
   Design System v1.0 — nav-btn, lang, Discord CTA
   Source: afterlands-design-system/preview/*.html
   Technique: dual clip-path ring (bg + fill px-absolute polygons)
   ============================================================ */

:root {
  --notch: 10px;
  --notch-inner: 9px;
}

/* ============ NAV BUTTON ============ */
.nav-btn {
  position: relative;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  line-height: 1;
  padding: 0 20px 0 16px;
  color: var(--color-steel-light);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  width: fit-content;
  gap: 9px;
  vertical-align: middle;
  isolation: isolate;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}
.nav-btn > .bg {
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.4);
  clip-path: polygon(
    var(--notch) 0,
    100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%,
    0 var(--notch)
  );
  transition:
    background 0.25s ease,
    filter 0.25s ease;
  z-index: 0;
  animation: idleBorder 3.6s ease-in-out infinite;
}
.nav-btn > .fill {
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #2a2e36, #1b1e24);
  clip-path: polygon(
    var(--notch-inner) 0,
    100% 0,
    100% calc(100% - var(--notch-inner)),
    calc(100% - var(--notch-inner)) 100%,
    0 100%,
    0 var(--notch-inner)
  );
  transition: background 0.3s ease;
  z-index: 1;
}
.nav-btn .rail {
  position: absolute;
  left: var(--notch);
  right: var(--notch);
  bottom: -1px;
  height: 2px;
  background: var(--color-cyan-pulse);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
  box-shadow: 0 0 8px var(--color-cyan-pulse);
  opacity: 0;
  z-index: 2;
}
.nav-btn > .content {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav-btn .lucide {
  display: block;
  width: 16px;
  height: 16px;
  stroke-width: 2;
  color: currentColor;
  transition: transform 0.25s ease;
}
@keyframes idleBorder {
  0%,
  100% {
    background: rgb(153 186 210 / 0.3);
  }
  50% {
    background: rgb(153 186 210 / 0.48);
  }
}
.nav-btn:hover,
.nav-btn:focus-visible {
  color: var(--color-cyan-pulse);
  text-shadow: var(--glow-text-cyan);
}
.nav-btn:hover > .bg,
.nav-btn:focus-visible > .bg {
  background: rgb(3 250 254 / 0.75);
  filter: drop-shadow(0 0 4px rgb(3 250 254 / 0.6));
  animation: none;
}
.nav-btn:hover > .fill,
.nav-btn:focus-visible > .fill {
  background: linear-gradient(180deg, #2e343d, #1b1e24);
}
.nav-btn:hover .rail,
.nav-btn:focus-visible .rail {
  transform: scaleX(1);
  opacity: 1;
}
.nav-btn:hover .lucide,
.nav-btn:focus-visible .lucide {
  transform: translateY(-1px);
}
.nav-btn.active {
  color: var(--color-cyan-pulse);
  text-shadow: var(--glow-text-cyan);
}
.nav-btn.active > .bg {
  background: var(--color-cyan-pulse);
  filter: drop-shadow(0 0 6px rgb(3 250 254 / 0.7));
  animation: none;
}
.nav-btn.active > .fill {
  background: linear-gradient(180deg, #2e343d, #1b1e24);
  animation: activeInsetPulse 2.4s ease-in-out infinite;
}
.nav-btn.active .rail {
  transform: scaleX(1);
  opacity: 1;
  animation: railPulse 2.4s ease-in-out infinite;
}
@keyframes activeInsetPulse {
  0%,
  100% {
    box-shadow: inset 0 0 12px rgb(3 250 254 / 0.08);
  }
  50% {
    box-shadow: inset 0 0 18px rgb(3 250 254 / 0.16);
  }
}
@keyframes railPulse {
  0%,
  100% {
    box-shadow: 0 0 8px var(--color-cyan-pulse);
  }
  50% {
    box-shadow:
      0 0 14px var(--color-cyan-pulse),
      0 0 22px rgb(3 250 254 / 0.5);
  }
}

/* Loja modifier — gold on hover */
.nav-btn--shop:hover,
.nav-btn--shop:focus-visible {
  color: var(--color-gold-trade);
  text-shadow: 0 0 7.5px rgb(255 191 0 / 0.55);
}
.nav-btn--shop:hover > .bg,
.nav-btn--shop:focus-visible > .bg {
  background: rgb(255 191 0 / 0.75);
  filter: drop-shadow(0 0 4px rgb(255 191 0 / 0.6));
}
.nav-btn--shop:hover .rail,
.nav-btn--shop:focus-visible .rail {
  background: var(--color-gold-trade);
  box-shadow: 0 0 8px var(--color-gold-trade);
}

/* ============ LANGUAGE SELECTOR ============ */
.lang-wrap {
  position: relative;
  display: inline-block;
}
.lang {
  position: relative;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  line-height: 1;
  padding: 0 16px 0 12px;
  color: var(--color-steel-light);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  width: fit-content;
  gap: 9px;
  vertical-align: middle;
  isolation: isolate;
  cursor: pointer;
  background: transparent;
  border: 0;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}
.lang > .bg {
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.4);
  clip-path: polygon(
    var(--notch) 0,
    100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%,
    0 var(--notch)
  );
  animation: idleBorder 3.6s ease-in-out infinite;
  transition:
    background 0.25s ease,
    filter 0.25s ease;
  z-index: 0;
}
.lang > .fill {
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #2a2e36, #1b1e24);
  clip-path: polygon(
    var(--notch-inner) 0,
    100% 0,
    100% calc(100% - var(--notch-inner)),
    calc(100% - var(--notch-inner)) 100%,
    0 100%,
    0 var(--notch-inner)
  );
  z-index: 1;
}
.lang .rail {
  position: absolute;
  left: var(--notch);
  right: var(--notch);
  bottom: -1px;
  height: 2px;
  background: var(--color-cyan-pulse);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
  box-shadow: 0 0 8px var(--color-cyan-pulse);
  opacity: 0;
  z-index: 2;
}
.lang > .content {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.lang .flag {
  width: 20px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}
.lang .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.25s ease;
  opacity: 0.6;
}
.lang .caret path {
  fill: currentColor;
}
.lang:hover,
.lang:focus-visible,
.lang.open {
  color: var(--color-cyan-pulse);
  text-shadow: var(--glow-text-cyan);
}
.lang:hover > .bg,
.lang:focus-visible > .bg,
.lang.open > .bg {
  background: rgb(3 250 254 / 0.75);
  filter: drop-shadow(0 0 4px rgb(3 250 254 / 0.6));
  animation: none;
}
.lang.open > .bg {
  background: var(--color-cyan-pulse);
}
.lang:hover .rail,
.lang:focus-visible .rail,
.lang.open .rail {
  transform: scaleX(1);
  opacity: 1;
}
.lang:hover .caret,
.lang:focus-visible .caret,
.lang.open .caret {
  transform: rotate(180deg);
  opacity: 1;
}
.lang.open .rail {
  animation: railPulse 2.4s ease-in-out infinite;
}
.lang-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 140px;
  padding: 4px 0;
  z-index: var(--z-overlay);
}
/* Footer variant: opens UP and aligns right edge (bottom of page) */
.lang-wrap--dropup .lang-panel {
  top: auto;
  bottom: calc(100% + 6px);
  left: auto;
  right: 0;
}
.lang-wrap--dropup .lang-panel .rail-top {
  top: auto;
  bottom: -1px;
}
.lang-wrap--dropup .lang .rail {
  bottom: auto;
  top: -1px;
}

/* ============ LANG SELECTOR · PILL VARIANT (footer DS V2) ============
   Institutional pill style: rounded border, flat background, dark panel
   with shadow. Dropup + right-aligned. Replaces the dual clip-path ring. */
.lang-wrap--pill .lang {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-off-white);
  isolation: auto;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.lang-wrap--pill .lang > .bg,
.lang-wrap--pill .lang > .fill,
.lang-wrap--pill .lang > .rail {
  display: none;
}
.lang-wrap--pill .lang:hover,
.lang-wrap--pill .lang:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-elevated);
  color: var(--color-off-white);
  text-shadow: none;
}
.lang-wrap--pill .lang.open,
.lang-wrap--pill.open .lang {
  border-color: var(--color-cyan-deep);
  background: #2a2e35;
  color: var(--color-off-white);
  text-shadow: none;
}
.lang-wrap--pill .lang.open .caret,
.lang-wrap--pill.open .lang .caret {
  transform: rotate(180deg);
  opacity: 1;
}
.lang-wrap--pill .lang .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
}
.lang-wrap--pill .lang .caret {
  opacity: 0.5;
  width: 9px;
  height: 9px;
}
.lang-wrap--pill .lang-panel {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: #1a1d22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}
.lang-wrap--pill .lang-panel > .bg,
.lang-wrap--pill .lang-panel > .fill,
.lang-wrap--pill .lang-panel > .rail-top {
  display: none;
}
.lang-wrap--pill .lang-opt {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-mist-gray);
}
.lang-wrap--pill .lang-opt .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
}
.lang-wrap--pill .lang-opt:hover {
  background: var(--bg-elevated);
  color: var(--color-off-white);
}
.lang-wrap--pill .lang-opt.sel {
  color: var(--color-off-white);
  background: rgba(3, 250, 254, 0.08);
}
.lang-wrap--pill .lang-opt.sel::after {
  display: none;
}
.lang-panel[hidden] {
  display: none;
}
.lang-panel > .bg {
  position: absolute;
  inset: 0;
  background: rgb(3 250 254 / 0.55);
  clip-path: polygon(
    var(--notch) 0,
    100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%,
    0 var(--notch)
  );
  filter: drop-shadow(0 0 6px rgb(3 250 254 / 0.5));
  z-index: 0;
}
.lang-panel > .fill {
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #20242b, #16191f);
  clip-path: polygon(
    var(--notch-inner) 0,
    100% 0,
    100% calc(100% - var(--notch-inner)),
    calc(100% - var(--notch-inner)) 100%,
    0 100%,
    0 var(--notch-inner)
  );
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.5);
  z-index: 1;
}
.lang-panel .rail-top {
  position: absolute;
  left: var(--notch);
  right: var(--notch);
  top: -1px;
  height: 2px;
  background: var(--color-cyan-pulse);
  box-shadow: 0 0 8px var(--color-cyan-pulse);
  z-index: 2;
}
.lang-opt {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-steel-light);
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-opt .flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
}
.lang-opt:hover {
  color: var(--color-cyan-pulse);
  background: rgb(3 250 254 / 0.08);
}
.lang-opt.sel {
  color: var(--color-off-white);
}
.lang-opt.sel::after {
  content: "";
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-cyan-pulse);
  box-shadow: 0 0 4px var(--color-cyan-pulse);
}

/* ============ DISCORD CTA (V5 split) ============ */
.cta {
  --cta-notch: 10px;
  --cta-notch-inner: 8px;
  --cta-ring: 2px;
  position: relative;
  height: 60px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-off-white);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    filter 0.25s ease;
}
.cta > .bg {
  position: absolute;
  inset: 0;
  clip-path: polygon(
    var(--cta-notch) 0,
    100% 0,
    100% calc(100% - var(--cta-notch)),
    calc(100% - var(--cta-notch)) 100%,
    0 100%,
    0 var(--cta-notch)
  );
  transition:
    background 0.25s ease,
    filter 0.25s ease;
  z-index: 0;
}
.cta > .fill {
  position: absolute;
  inset: var(--cta-ring);
  clip-path: polygon(
    var(--cta-notch-inner) 0,
    100% 0,
    100% calc(100% - var(--cta-notch-inner)),
    calc(100% - var(--cta-notch-inner)) 100%,
    0 100%,
    0 var(--cta-notch-inner)
  );
  transition: background 0.3s ease;
  z-index: 1;
}
.cta .dc {
  width: 20px;
  height: 20px;
  display: block;
  transition:
    transform 0.3s ease,
    color 0.25s ease;
}
.cta .dc path {
  fill: currentColor;
}
.cta:hover .dc {
  transform: translateX(-1px) scale(1.08);
}
.cta .stack {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  white-space: nowrap;
}
.cta .title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}
.cta .meta {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-mist-gray);
  font-variant-numeric: tabular-nums;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
  white-space: nowrap;
}
.cta .meta b {
  font-weight: 600;
  color: var(--color-off-white);
  letter-spacing: 0.01em;
}
.cta .meta .cta-count-group {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.cta .meta .cta-ordinal {
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.01em;
  margin-left: 1px;
  transition: color 0.25s ease;
}
.cta .meta .mdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-cyan-pulse);
  box-shadow:
    0 0 3px var(--color-cyan-pulse),
    0 0 7px rgb(3 250 254 / 0.5);
  animation: ctaDotPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.cta:hover .meta {
  opacity: 1;
}
@keyframes ctaDotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

.cta.v5 {
  padding: 0 0 0 22px;
}
.cta.v5 > .bg {
  background: rgb(153 186 210 / 0.5);
}
.cta.v5 > .fill {
  background: linear-gradient(180deg, #2a2e36, #1b1e24);
}
.cta.v5 .title-row {
  color: var(--color-off-white);
}
.cta.v5 .dc {
  color: var(--color-off-white);
}
.cta.v5 .action {
  position: relative;
  z-index: 3;
  margin-left: 18px;
  height: 100%;
  padding: 0 22px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cyan-pulse);
  color: var(--color-void-black);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
}
.cta.v5 .action .dc {
  color: var(--color-void-black);
  width: 14px;
  height: 14px;
}
.cta.v5:hover .title-row {
  color: var(--color-cyan-pulse);
  text-shadow: var(--glow-text-cyan);
}
.cta.v5:hover .dc {
  color: var(--color-cyan-pulse);
}
.cta.v5:hover .action .dc {
  color: var(--color-void-black);
}
.cta.v5:hover > .bg {
  background: rgb(3 250 254 / 0.75);
}
.cta.v5:hover .action {
  filter: brightness(1.15) drop-shadow(0 0 10px rgb(3 250 254 / 0.6));
  transform: translateX(2px);
}

/* Hero CTA — aba ENTRAR do modelo PRINCIPAL (V5) do DS.
   Fica oculta por padrão; só aparece no mobile (ver media query abaixo). */
.cta.v5-mobile .action {
  position: relative;
  z-index: 3;
  margin-left: 18px;
  height: 100%;
  padding: 0 22px 0 18px;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--color-cyan-pulse);
  color: var(--color-void-black);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
}
.cta.v5-mobile .action .dc {
  color: var(--color-void-black);
  width: 14px;
  height: 14px;
}

/* V3 bold cyan idle — hover inverts to solid cyan fill */
.cta.v3 {
  --cta-notch: 14px;
  --cta-notch-inner: 12px;
  color: var(--color-cyan-pulse);
  text-shadow: var(--glow-text-cyan);
}
.cta.v3 > .bg {
  background: var(--color-cyan-pulse);
  filter: drop-shadow(0 0 4px rgb(3 250 254 / 0.5));
}
.cta.v3 > .fill {
  background: linear-gradient(180deg, #2a2e36, #1b1e24);
}
.cta.v3 .stack {
  align-items: center;
}
.cta.v3 .title-row {
  color: var(--color-cyan-pulse);
}
.cta.v3 .dc {
  color: var(--color-cyan-pulse);
}
.cta.v3 .meta {
  color: var(--color-steel-light);
}
.cta.v3 .meta .cta-meta-prefix {
  color: var(--color-steel-light);
}
.cta.v3 .meta b,
.cta.v3 .meta .cta-ordinal {
  color: var(--color-cyan-pulse);
}
.cta.v3 .meta .mdot {
  background: var(--color-cyan-pulse);
}
.cta.v3:hover {
  text-shadow: none;
}
.cta.v3:hover > .fill {
  background: var(--color-cyan-pulse);
}
.cta.v3:hover > .bg {
  filter: drop-shadow(0 0 10px rgb(3 250 254 / 0.9));
}
.cta.v3:hover .title-row,
.cta.v3:hover .dc,
.cta.v3:hover .meta,
.cta.v3:hover .meta .cta-meta-prefix,
.cta.v3:hover .meta b,
.cta.v3:hover .meta .cta-ordinal {
  color: var(--color-void-black);
  text-shadow: none;
}
.cta.v3:hover .meta .mdot {
  background: var(--color-void-black);
  box-shadow: none;
}

@media screen and (max-width: 576px) {
  .cta {
    height: 64px;
    font-size: 14px;
    padding: 0 30px;
  }
  .cta .title-row {
    font-size: 16px;
  }
  .cta.v5 {
    padding: 0 0 0 16px;
  }
  .cta.v5 .action {
    padding: 0 16px 0 14px;
    font-size: 12px;
  }
  .cta .meta {
    font-size: 11px;
  }
}

/* No mobile/tablet o CTA do hero adota o botão PRINCIPAL (V5 split) do Design System:
   anel de aço (não cyan), título alinhado à esquerda e aba ENTRAR cyan à direita. */
@media screen and (max-width: 768px) {
  .cta.v3.v5-mobile {
    padding: 0 0 0 18px;
    text-shadow: none;
  }
  .cta.v3.v5-mobile > .bg {
    background: rgb(153 186 210 / 0.5);
    filter: none;
  }
  .cta.v3.v5-mobile > .fill {
    background: linear-gradient(180deg, #2a2e36, #1b1e24);
  }
  .cta.v3.v5-mobile .stack {
    align-items: flex-start;
  }
  .cta.v3.v5-mobile .title-row {
    color: var(--color-off-white);
  }
  .cta.v3.v5-mobile .dc {
    color: var(--color-off-white);
  }
  .cta.v3.v5-mobile .meta,
  .cta.v3.v5-mobile .meta .cta-meta-prefix {
    color: var(--color-mist-gray);
  }
  .cta.v3.v5-mobile .meta b,
  .cta.v3.v5-mobile .meta .cta-ordinal {
    color: var(--color-off-white);
  }
  .cta.v3.v5-mobile .meta .mdot {
    background: var(--color-cyan-pulse);
  }
  .cta.v3.v5-mobile .action {
    display: inline-flex;
    padding: 0 20px 0 18px;
    font-size: 14px;
  }
  /* Botão maior no mobile/tablet. */
  .cta.v3.v5-mobile {
    height: 76px;
    font-size: 15px;
  }
  .cta.v3.v5-mobile .title-row {
    font-size: 18px;
  }
  .cta.v3.v5-mobile .meta {
    font-size: 12.5px;
  }
  .cta.v3.v5-mobile .dc {
    width: 24px;
    height: 24px;
  }
  /* A seta acompanha a cor do texto "ENTRAR" (escuro sobre cyan), não o off-white do título.
     Vem por último para vencer a regra genérica .dc acima (mesma especificidade). */
  .cta.v3.v5-mobile .action .dc {
    color: var(--color-void-black);
    width: 16px;
    height: 16px;
  }
  /* O V3 inverte para fundo cyan no hover; aqui travamos o split fixo. */
  .cta.v3.v5-mobile:hover > .bg {
    background: rgb(153 186 210 / 0.5);
    filter: none;
  }
  .cta.v3.v5-mobile:hover > .fill {
    background: linear-gradient(180deg, #2a2e36, #1b1e24);
  }
  .cta.v3.v5-mobile:hover .title-row,
  .cta.v3.v5-mobile:hover .dc {
    color: var(--color-off-white);
  }
  .cta.v3.v5-mobile:hover .meta,
  .cta.v3.v5-mobile:hover .meta .cta-meta-prefix {
    color: var(--color-mist-gray);
  }
  .cta.v3.v5-mobile:hover .meta b,
  .cta.v3.v5-mobile:hover .meta .cta-ordinal {
    color: var(--color-off-white);
  }
  .cta.v3.v5-mobile:hover .meta .mdot {
    background: var(--color-cyan-pulse);
  }
}

/* Celular estreito: o CTA é nowrap e o título PT ("JUNTE-SE AO DISCORD", 19 chars)
   é o mais largo das três línguas, estourando a lateral (EN/ES cabem). Encolhe o
   botão o suficiente para o PT caber; EN/ES ficam só um pouco menores. */
@media screen and (max-width: 480px) {
  .cta.v3.v5-mobile {
    height: 66px;
    padding: 0 0 0 13px;
  }
  .cta.v3.v5-mobile .stack {
    gap: 2px;
  }
  .cta.v3.v5-mobile .title-row {
    font-size: 15px;
    gap: 7px;
  }
  .cta.v3.v5-mobile .meta {
    font-size: 10.5px;
  }
  .cta.v3.v5-mobile .dc {
    width: 20px;
    height: 20px;
  }
  .cta.v3.v5-mobile .action {
    margin-left: 12px;
    padding: 0 13px 0 11px;
    font-size: 12.5px;
  }
  .cta.v3.v5-mobile .action .dc {
    width: 14px;
    height: 14px;
  }
}

/* ============ NEON DIVIDER GLOW ============
   Subtle pulsing neon — footer top line. Breathes slowly so it reads as
   "the wire is live" rather than an alarm. */
@keyframes neonDivider {
  0%,
  100% {
    box-shadow: 0 0 3px rgba(3, 250, 254, 0.55);
    opacity: 0.85;
  }
  50% {
    box-shadow:
      0 0 6px rgba(3, 250, 254, 0.7),
      0 0 14px rgba(3, 250, 254, 0.3);
    opacity: 1;
  }
}

/* Section-edge glow animation removed — filter drop-shadow wasn't visible
   against the existing cyan bg at intended subtle intensities. To be
   revisited with a different approach. */

/* ============ GO-TO-TOP BUTTON ============
   Fixed bottom-right, dual clip-path ring. Appears after scrolling 400px. */
.go-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  z-index: var(--z-overlay);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--color-steel-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    color 0.2s ease,
    text-shadow 0.2s ease;
}
.go-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.go-top > .bg {
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.4);
  clip-path: polygon(
    var(--notch) 0,
    100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%,
    0 var(--notch)
  );
  transition:
    background 0.25s ease,
    filter 0.25s ease;
  z-index: 0;
}
.go-top > .fill {
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #2a2e36, #1b1e24);
  clip-path: polygon(
    var(--notch-inner) 0,
    100% 0,
    100% calc(100% - var(--notch-inner)),
    calc(100% - var(--notch-inner)) 100%,
    0 100%,
    0 var(--notch-inner)
  );
  z-index: 1;
}
.go-top .lucide {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
  color: currentColor;
  stroke-width: 2;
  transition: transform 0.25s ease;
}
.go-top:hover,
.go-top:focus-visible {
  color: var(--color-cyan-pulse);
  text-shadow: var(--glow-text-cyan);
  outline: none;
}
.go-top:hover > .bg,
.go-top:focus-visible > .bg {
  background: rgb(3 250 254 / 0.75);
  filter: drop-shadow(0 0 6px rgb(3 250 254 / 0.6));
}
.go-top:hover .lucide,
.go-top:focus-visible .lucide {
  transform: translateY(-2px);
}
@media screen and (max-width: 576px) {
  .go-top {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
  .go-top .lucide {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   BLOG SECTION (home) — DEVLOG // AFTERLANDS
   #blog inherits the notched "stamped plate" divider role that
   #ownPath used to have; #ownPath drops to a plain slot below it.
   ============================================================ */
#blog {
  margin-top: -95px;
  margin-bottom: -95px;
  position: relative;
  clip-path: var(--clip-slot-dual);
  z-index: 21;
  background-color: var(--color-cyan-pulse);
  padding-top: 100px;
  padding-bottom: 100px;
}
#blog > .content {
  margin-top: -95px;
  margin-bottom: -95px;
  position: relative;
  clip-path: var(--clip-slot-dual);
}
#blog .section-content {
  padding-top: 130px;
  padding-bottom: 146px;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.42) 0%, rgba(33, 37, 44, 0.55) 46%, rgba(30, 34, 40, 0.72) 100%),
    url(../images/ruinas.jpg) center / cover no-repeat;
  background-color: var(--bg-base);
}
#blog .section-content::before {
  content: none;
}

.blog-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 38px;
}
.blog-foot {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-moss-echo);
  margin-bottom: 14px;
}
.blog-eyebrow::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--color-cyan-pulse);
  box-shadow: var(--glow-cyan-sm);
}
#blog h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 39px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-cyan-deep);
  text-shadow: 0 0 7.5px rgb(3 250 254 / 0.5);
  text-align: center;
  margin: 0;
}
.blog-lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-off-white);
  margin: 16px auto 0;
  max-width: 620px;
}
.blog-see-all {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 14px 28px;
  background: transparent;
  border: none;
  transition: filter 0.2s ease-in-out;
}
.blog-see-all::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.42);
  clip-path: var(--clip-diag);
  z-index: 0;
  transition: background 0.2s ease-in-out;
}
.blog-see-all::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-elevated);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: 0;
}
.blog-see-all .lbl {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-steel-light);
  transition: color 0.2s ease-in-out;
}
.blog-see-all:hover {
  filter: drop-shadow(0 0 8px rgb(3 250 254 / 0.4));
}
.blog-see-all:hover::before {
  background: var(--color-cyan-pulse);
}
.blog-see-all:hover .lbl {
  color: var(--color-cyan-pulse);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}
.blog-card {
  position: relative;
  display: block;
  text-decoration: none;
  transition: filter 0.22s ease-in-out;
}
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.22);
  clip-path: var(--clip-diag);
  z-index: 0;
  transition: background 0.22s ease-in-out;
}
.blog-card-inner {
  position: relative;
  z-index: 1;
  margin: 1.6px;
  height: calc(100% - 3.2px);
  background: var(--bg-elevated);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  overflow: hidden;
  display: flex;
}
.blog-card:hover {
  filter: drop-shadow(0 0 9px rgb(3 250 254 / 0.5));
}
.blog-card:hover::before {
  background: var(--color-cyan-pulse);
}
.blog-featured .blog-card-inner {
  flex-direction: column;
}
.blog-recent .blog-card-inner {
  flex-direction: row;
}
.blog-cover {
  position: relative;
  height: 228px;
  overflow: hidden;
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-cover img {
  transform: scale(1.04);
}
.blog-cover-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.35) 0%, transparent 30%, transparent 55%, rgba(13, 13, 13, 0.92) 100%);
}
.blog-badge-month {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-cyan-pulse);
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgb(3 250 254 / 0.4);
  padding: 6px 14px;
}
@keyframes blogNovoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@keyframes blogNovoHalo {
  0%, 100% { filter: drop-shadow(0 0 5px rgb(3 250 254 / 0.4)); }
  50% { filter: drop-shadow(0 0 8px rgb(3 250 254 / 0.6)); }
}
.blog-badge-novo {
  position: absolute;
  top: 16px;
  left: 16px;
  animation: blogNovoHalo 2s ease-in-out infinite;
}
.blog-badge-novo .ring {
  position: relative;
  display: inline-flex;
}
.blog-badge-novo .ring::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-cyan-pulse);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.blog-badge-novo .inner {
  position: relative;
  margin: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-void-black);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-cyan-pulse);
  padding: 6px 14px;
}
.blog-badge-novo .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-cyan-pulse);
  box-shadow: 0 0 6px rgb(3 250 254 / 0.9);
  animation: blogNovoPulse 1.6s ease-in-out infinite;
}
.blog-badge-media {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-void-black);
  background: var(--color-cyan-pulse);
  padding: 5px 11px;
  box-shadow: var(--glow-cyan-sm);
}
.blog-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgb(3 250 254 / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan-lg);
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-play {
  transform: translate(-50%, -60%) scale(1.08);
}
.blog-play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 17px solid var(--color-void-black);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.blog-featured-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan-pulse);
  padding: 3px 10px;
  border: 1px solid rgb(3 250 254 / 0.45);
  background: rgb(3 250 254 / 0.08);
}
.blog-author {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-mist-gray);
}
.blog-featured-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--color-off-white);
  margin: 0;
}
.blog-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-mist-gray);
  margin: 0;
}
.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cyan-pulse);
}
.blog-recents {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-recent {
  flex: 1;
  min-height: 110px;
}
.blog-recent-thumb {
  position: relative;
  width: 118px;
  flex-shrink: 0;
  overflow: hidden;
}
.blog-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-recent-thumb img {
  transform: scale(1.05);
}
.blog-recent-thumb .grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(36, 39, 46, 0.95) 100%);
}
.blog-badge-gallery {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-void-black);
  background: var(--color-cyan-pulse);
  padding: 3px 8px;
}
.blog-play-sm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgb(3 250 254 / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan-md);
}
.blog-play-sm::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid var(--color-void-black);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.blog-recent-body {
  flex: 1;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.blog-recent-meta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-mist-gray);
}
.blog-recent-body h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--color-off-white);
  margin: 0;
}

/* #ownPath drops to a plain (non-divider) slot beneath the blog */
#ownPath {
  margin-top: 0;
  margin-bottom: 0;
  clip-path: none;
  background-color: transparent;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}
#ownPath > .content {
  margin-top: 0;
  margin-bottom: 0;
  clip-path: none;
}
#ownPath .section-content {
  padding-top: 150px;
  padding-bottom: 230px;
}

@media screen and (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  #blog h2 {
    font-size: 32px;
  }
  .blog-cover {
    height: 206px;
  }
}
@media screen and (max-width: 600px) {
  .blog-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-recent {
    flex-direction: column;
  }
  .blog-recent-thumb {
    width: 100%;
    height: 160px;
  }
}

/* ============================================================
   BLOG ARCHIVE PAGE — /blog (acervo completo)
   Reusa o vocabulário .blog-* (anel dual clip-path, selos, play).
   ============================================================ */
body.blogpage {
  background: var(--bg-base);
}
.blogpage-header {
  position: relative;
  min-height: 116px;
  background: var(--bg-elevated);
  border-bottom: 1.5px solid rgb(153 186 210 / 0.16);
}
@media screen and (max-width: 992px) {
  .blogpage-header {
    min-height: 64px;
  }
}
.blogpage-hero {
  position: relative;
  padding: 64px 0 48px;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.62) 0%, rgba(33, 37, 44, 0.7) 60%, rgba(33, 37, 44, 0.92) 100%),
    url(../images/ruinas.jpg) center / cover no-repeat;
  border-bottom: 1.5px solid rgb(153 186 210 / 0.12);
}
.blogpage-hero .blog-eyebrow {
  justify-content: flex-start;
}
.blogpage-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-cyan-deep);
  text-shadow: 0 0 7.5px rgb(3 250 254 / 0.5);
  margin: 0;
}
.blogpage-hero .archive-lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--color-mist-gray);
  margin: 16px 0 0;
  max-width: 620px;
}
@media screen and (max-width: 992px) {
  .blogpage-hero h1 {
    font-size: 34px;
  }
}

/* toolbar */
.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1140px;
  margin: 40px auto 34px;
}
.archive-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.archive-count {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mist-gray);
  white-space: nowrap;
}
.archive-count b {
  color: var(--color-steel-light);
  font-weight: 400;
}
.filter-pill {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-steel-light);
  transition: color 0.18s ease-in-out, filter 0.18s ease-in-out;
}
.filter-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.32);
  clip-path: var(--clip-diag);
  z-index: -2;
  transition: background 0.18s ease-in-out;
}
.filter-pill::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-base);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background 0.18s ease-in-out;
}
.filter-pill:hover {
  color: var(--color-cyan-pulse);
}
.filter-pill:hover::before {
  background: rgb(3 250 254 / 0.55);
}
.filter-pill.active {
  color: var(--color-void-black);
  filter: drop-shadow(0 0 8px rgb(3 250 254 / 0.4));
}
.filter-pill.active::before {
  background: var(--color-cyan-pulse);
}
.filter-pill.active::after {
  background: var(--color-cyan-pulse);
}
.archive-select-wrap {
  position: relative;
  isolation: isolate;
  display: inline-flex;
}
.archive-select-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.32);
  clip-path: var(--clip-diag);
  z-index: -2;
  transition: background 0.18s ease-in-out;
}
.archive-select-wrap:hover::before,
.archive-select-wrap:focus-within::before {
  background: rgb(3 250 254 / 0.55);
}
.archive-select-wrap::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-base);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background 0.18s ease-in-out;
}
.archive-select {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  padding: 9px 38px 9px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-steel-light);
  transition: color 0.18s ease-in-out;
}
.archive-select-wrap:hover .archive-select,
.archive-select:focus {
  color: var(--color-cyan-pulse);
  outline: none;
}
.archive-select option {
  background: var(--bg-elevated);
  color: var(--color-off-white);
}
.archive-caret {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--color-steel-light);
  border-bottom: 1.5px solid var(--color-steel-light);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.18s ease-in-out;
}
.archive-select-wrap:hover .archive-caret,
.archive-select-wrap:focus-within .archive-caret {
  border-color: var(--color-cyan-pulse);
}

/* featured hero of the month */
.archive-feature {
  max-width: 1140px;
  margin: 0 auto 52px;
}
.archive-feature .blog-card-inner {
  flex-direction: row;
}
.archive-feature .blog-cover {
  width: 58%;
  height: auto;
  min-height: 320px;
  flex-shrink: 0;
}
.archive-feature .archive-feature-body {
  flex: 1;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.archive-feature .archive-feature-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--color-off-white);
  margin: 0;
}
.archive-feature .blog-excerpt {
  font-size: 15px;
}
.archive-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan-pulse);
  box-shadow: inset 0 0 0 1.5px rgb(3 250 254 / 0.5);
  clip-path: var(--clip-diag);
  transition: background 0.18s ease-in-out, color 0.18s ease-in-out;
}
.archive-feature-cta:hover {
  background: var(--color-cyan-pulse);
  color: var(--color-void-black);
}
@media screen and (max-width: 860px) {
  .archive-feature .blog-card-inner {
    flex-direction: column;
  }
  .archive-feature .blog-cover {
    width: 100%;
    min-height: 220px;
    height: 220px;
  }
}

/* year sections */
.year-head {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1140px;
  margin: 0 auto 20px;
}
.year-head .yr {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.1em;
  color: var(--color-steel-light);
}
.year-head .rule {
  flex: 1;
  height: 1.5px;
  background: rgb(153 186 210 / 0.16);
}
.year-head .yr-count {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-mist-gray);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto 30px;
}
@media screen and (max-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 560px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}
.archive-card .blog-card-inner {
  flex-direction: column;
}
.archive-cover {
  position: relative;
  height: 158px;
  overflow: hidden;
}
.archive-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .archive-cover img {
  transform: scale(1.04);
}
.archive-body {
  padding: 14px 17px 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.archive-body .blog-recent-meta {
  margin-top: 2px;
}
.archive-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.16;
  text-transform: uppercase;
  color: var(--color-off-white);
  margin: 0;
}
.archive-hidden {
  display: none !important;
}
.archive-foot {
  display: flex;
  justify-content: center;
  margin: 12px auto 92px;
}
.archive-empty {
  max-width: 1140px;
  margin: 0 auto 80px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-mist-gray);
  display: none;
}

/* cinematic hero — the featured post of the month (variant B) */
@keyframes heroDividerGlow {
  0%, 100% { filter: drop-shadow(0 1px 3px rgba(3, 250, 254, 0.55)); }
  50% { filter: drop-shadow(0 1px 7px rgba(3, 250, 254, 0.5)); }
}
.hero-feature-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  clip-path: var(--clip-hero);
  background-color: var(--color-cyan-pulse);
  animation: heroDividerGlow 4s ease-in-out infinite;
}
.hero-feature {
  position: relative;
  display: block;
  text-decoration: none;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg-elevated);
  clip-path: var(--clip-hero);
  margin-bottom: 2px;
}
.hero-feature-media {
  position: absolute;
  inset: 0;
}
.hero-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
  display: block;
  transition: transform 0.5s ease;
}
.hero-feature:hover .hero-feature-media img {
  transform: scale(1.03);
}
.hero-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.82) 0%,
    rgba(13, 13, 13, 0.3) 22%,
    rgba(13, 13, 13, 0.12) 40%,
    rgba(13, 13, 13, 0.55) 70%,
    rgba(13, 13, 13, 0.95) 100%
  );
}
.hero-feature .blog-play {
  top: 44%;
}
.hero-feature-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  min-height: 560px;
  padding-top: 90px;
  padding-bottom: 58px;
}
.hero-feature-flags {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-flag-novo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan-pulse);
  background: rgba(13, 13, 13, 0.62);
  border: 1px solid rgb(3 250 254 / 0.45);
  padding: 7px 14px;
}
.hero-flag-novo .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-cyan-pulse);
  box-shadow: 0 0 6px rgb(3 250 254 / 0.9);
  animation: blogNovoPulse 1.6s ease-in-out infinite;
}
.hero-flag-media {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-void-black);
  background: var(--color-cyan-pulse);
  padding: 6px 12px;
  box-shadow: var(--glow-cyan-sm);
}
.hero-feature-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-feature-content h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-off-white);
  margin: 0;
  max-width: 800px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
}
.hero-feature-content .blog-excerpt {
  font-size: 15.5px;
  line-height: 1.55;
  color: #cdd6dd;
  max-width: 560px;
}
.hero-feature-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan-pulse);
  transition: color 0.18s ease-in-out, filter 0.18s ease-in-out;
}
.hero-feature-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(3 250 254 / 0.6);
  clip-path: var(--clip-diag);
  z-index: -2;
  transition: background 0.18s ease-in-out;
}
.hero-feature-cta::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-elevated);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background 0.18s ease-in-out;
}
.hero-feature:hover .hero-feature-cta {
  color: var(--color-void-black);
  filter: drop-shadow(0 0 10px rgb(3 250 254 / 0.4));
}
.hero-feature:hover .hero-feature-cta::before {
  background: var(--color-cyan-pulse);
}
.hero-feature:hover .hero-feature-cta::after {
  background: var(--color-cyan-pulse);
}
/* overlay nav sits above the hero link */
.hero-feature-section .nav-container {
  z-index: 60;
}

/* separate slim navbar (option 1) — 3 sections: logo | tabs | lang+discord */
.site-nav {
  position: relative;
  z-index: 40;
  background: var(--bg-elevated);
}
.site-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-cyan-pulse);
  box-shadow: 0 0 8px rgb(3 250 254 / 0.5);
  animation: navPulse 2.6s ease-in-out infinite;
  z-index: 4;
}
@keyframes navPulse {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 6px rgb(3 250 254 / 0.3); }
  50% { opacity: 1; box-shadow: 0 0 13px rgb(3 250 254 / 0.7); }
}
.site-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}
.site-nav-logo {
  flex: 0 0 auto;
  height: 62px;
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}
.site-nav-logo img {
  height: 78px;
  width: auto;
  margin-top: 6px;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}
/* Compact iconmark swap: between the tab breakpoint and ~1280px the full
   wordmark + 4 tabs would overflow and push the LANG button off-screen, so
   show the square A-mark instead to keep everything reachable. */
.site-nav-logo .logo-icon {
  display: none;
}
@media screen and (min-width: 993px) and (max-width: 1280px) {
  .site-nav-logo .logo-word {
    display: none;
  }
  .site-nav-logo .logo-icon {
    display: block;
    height: 90px;
    width: auto;
    margin-top: 4px;
  }
}
.site-nav .nav-container {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.site-nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
/* the energy tabs are the desktop nav; on tablet/mobile they fold into the
   MENU drawer + LANG button (same pattern as the home page) */
.site-nav .map-variant,
.site-nav .social-link {
  display: none !important;
}
@media screen and (min-width: 992px) {
  .site-nav .navbar-toggler,
  .site-nav .nav-container > .offcanvas {
    display: none;
  }
}
@media screen and (max-width: 992px) {
  .site-nav-inner {
    min-height: 56px;
    gap: 14px;
  }
  /* collapse to MENU (far left) + LANG (far right) — exactly like the home page */
  .site-nav .site-nav-logo {
    display: none;
  }
  .site-nav .site-tabs {
    display: none;
  }
  .site-nav .nav-btn--menu {
    display: inline-flex;
    margin-left: 18px;
  }
  .site-nav .nav-container {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  /* floating navbar — no solid bar, glow line, mesh, or energy bus; just the gradient scrim */
  .site-nav::after,
  .site-nav .nav-mesh,
  .site-nav .nav-bus {
    display: none;
  }
  /* Bootstrap's base transition freezes the embedded drawer (its reset only
     fires >=992), so disable that transition and drive the open slide with our
     own keyframe — it animates in reliably on MENU click */
  .site-nav .nav-container > .offcanvas {
    transition: none;
  }
  /* resting open state — no !important so the JS-driven slide can override it.
     CSS transitions/animations freeze at frame 0 in this embedded fixed offcanvas,
     so the slide-in is animated via the Web Animations API in script.js */
  .site-nav .nav-container > .offcanvas.show:not(.hiding) {
    transform: none;
  }
  /* show the social row inside the drawer (the .site-nav rule hides it elsewhere) */
  .site-nav .offcanvas .social-link {
    display: flex !important;
  }
}

/* angular cut-corner nav tabs (dual clip-path ring) */
.site-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-tab {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--color-steel-light);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease-in-out, filter 0.18s ease-in-out, transform 0.18s ease-in-out;
}
.site-tab svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-steel-light);
  transition: stroke 0.18s ease-in-out;
}
.site-tab:hover svg {
  stroke: var(--color-cyan-pulse);
}
.site-tab.active svg {
  stroke: var(--color-void-black);
}
.site-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.3);
  clip-path: var(--clip-diag);
  z-index: -2;
  transition: background 0.18s ease-in-out;
}
.site-tab::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-elevated);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background 0.18s ease-in-out;
}
.site-tab:hover {
  color: var(--color-cyan-pulse);
  transform: translateY(-1px);
}
.site-tab:hover::before {
  background: rgb(3 250 254 / 0.55);
}
.site-tab.active {
  color: var(--color-void-black);
  filter: drop-shadow(0 0 8px rgb(3 250 254 / 0.4));
}
.site-tab.active::before {
  background: var(--color-cyan-pulse);
}
.site-tab.active::after {
  background: var(--color-cyan-pulse);
}
/* lang selector standardized to match the nav tabs (cut-corner ring) */
.site-nav .lang {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.site-nav .lang .bg,
.site-nav .lang .fill,
.site-nav .lang .rail {
  display: none;
}
.site-nav .lang::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.3);
  clip-path: var(--clip-diag);
  z-index: -2;
  transition: background 0.18s ease-in-out;
}
.site-nav .lang::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-elevated);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background 0.18s ease-in-out;
}
.site-nav .lang .content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--color-steel-light);
  transition: color 0.18s ease-in-out;
}
.site-nav .lang:hover .content {
  color: var(--color-cyan-pulse);
}
.site-nav .lang:hover::before {
  background: rgb(3 250 254 / 0.55);
}
.site-nav .lang .flag {
  width: 20px;
  height: 14px;
  display: block;
}
.site-nav .lang .caret {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
/* discord icon-only button */
.site-discord {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  flex: none;
  color: var(--color-steel-light);
  transition: color 0.18s ease-in-out, filter 0.18s ease-in-out;
}
.site-discord svg {
  width: 22px;
  height: 17px;
  fill: currentColor;
}
.site-discord::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(153 186 210 / 0.3);
  clip-path: var(--clip-diag);
  z-index: -2;
  transition: background 0.18s ease-in-out;
}
.site-discord::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  background: var(--bg-elevated);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  z-index: -1;
  transition: background 0.18s ease-in-out;
}
.site-discord:hover {
  color: var(--color-cyan-pulse);
  filter: drop-shadow(0 0 8px rgb(3 250 254 / 0.4));
}
.site-discord:hover::before {
  background: rgb(3 250 254 / 0.55);
}
@media screen and (max-width: 992px) {
  .hero-feature,
  .hero-feature-content {
    min-height: 520px;
  }
  .hero-feature-content {
    padding-top: 150px;
    /* drop the desktop 47px left indent so the hero text aligns on mobile */
    padding-left: 12px !important;
  }
  .hero-feature-content h1 {
    font-size: 34px;
  }
}

/* --- supplemental design-system token (from colors_and_type.css) --- */
:root { --border-default: rgb(153 186 210 / .2); }
