/* ============================================================
   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);

  /* Hero signature shape (bottom-only central slot) */
  --clip-hero: polygon(
    0% 0%,
    35% 0%,
    40% 0%,
    60% 0%,
    65% 0%,
    100% 0%,
    100% 97%,
    65% 97%,
    60% 100%,
    40% 100%,
    35% 97%,
    0% 97%
  );
  /* Section signature shape (central slot top + bottom) */
  --clip-slot-dual: polygon(
    0% 3%,
    35% 3%,
    40% 0%,
    60% 0%,
    65% 3%,
    100% 3%,
    100% 97%,
    65% 97%,
    60% 100%,
    40% 100%,
    35% 97%,
    0% 97%
  );

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

/* ============ TABLET/MOBILE CLIP-PATHS (≤992px) ============ */
@media (max-width: 992px) {
  :root {
    --clip-hero: polygon(
      0% 0%,
      35% 0%,
      40% 0%,
      60% 0%,
      65% 0%,
      100% 0%,
      100% calc(100% - 1.5vh),
      65% calc(100% - 1.5vh),
      60% 100%,
      40% 100%,
      35% calc(100% - 1.5vh),
      0% calc(100% - 1.5vh)
    );
    --clip-slot-dual: polygon(
      0% 1.5vh,
      35% 1.5vh,
      40% 0vh,
      60% 0vh,
      65% 1.5vh,
      100% 1.5vh,
      100% calc(100% - 1.5vh),
      65% calc(100% - 1.5vh),
      60% 100%,
      40% 100%,
      35% calc(100% - 1.5vh),
      0% calc(100% - 1.5vh)
    );
  }
}

/* ============ 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: 480px;
  }
}
@media screen and (max-width: 768px) {
  .hero-img img {
    max-width: 380px;
  }
}
@media screen and (max-width: 576px) {
  .hero-img img {
    max-width: 328px;
  }
}
.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: 13px;
  }
  .hero-content img:nth-child(2) {
    transform: rotate(90deg);
    width: 18px;
  }
  .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%);
}
.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;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 62px;
  margin-left: 22px;
}
.ownPath-btns .btn {
  padding: 0;
  margin: 0;
  border: 0;
  position: relative;
  overflow: visible;
  display: inline-block;
  padding: 12px 41px 13px 53px;
}
.ownPath-btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.ownPath-btn-content {
  color: var(--text-secondary);
  text-align: center;
  text-shadow: 0 0 3px rgb(245 245 245 / 0.3);
  transition: color 0.2s ease-in-out;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  z-index: 5;
  position: relative;
}
.ownPath-btn-title {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .ownPath-btns .btn {
    padding: 10px 32px 11px 33px;
  }
  .ownPath-btns {
    gap: 34px;
  }
  .ownPath-btn-content {
    font-size: 14px;
  }
  .ownPath-btn-title {
    height: 54px;
    width: 53px;
  }
}
@media screen and (max-width: 576px) {
  .ownPath-btns .btn {
    padding: 8px 26px 12px 26px;
  }
  .ownPath-btns {
    gap: 24px;
    row-gap: 12px;
    margin-left: 16px;
  }
  .ownPath-btn-content {
    font-size: 13px;
  }
  .ownPath-btn-title {
    height: 48px;
    width: 47px;
  }
}
@media screen and (max-width: 410px) {
  .ownPath-btns .btn {
    padding: 8px 22px 12px 25px;
  }
  .ownPath-btns {
    row-gap: 4px;
    column-gap: 16px;
    margin-left: 12px;
  }
  .ownPath-btn-content {
    font-size: 12px;
  }
}
/* Hover state (only when not currently active) — white invites click */
.ownPath-btns .btn:not(.active):hover .ownPath-btn-content,
.ownPath-btns .btn:not(.active):focus-visible .ownPath-btn-content {
  color: #fff;
}
.ownPath-btns .btn:not(.active):hover .ownPath-btn-bg path,
.ownPath-btns .btn:not(.active):hover .ownPath-btn-title path:first-child,
.ownPath-btns .btn:not(.active):focus-visible .ownPath-btn-bg path,
.ownPath-btns .btn:not(.active):focus-visible .ownPath-btn-title path:first-child {
  stroke: #fff;
}
.ownPath-btns .btn:not(.active):hover .ownPath-btn-title path:nth-child(2),
.ownPath-btns .btn:not(.active):focus-visible .ownPath-btn-title path:nth-child(2) {
  fill: #fff;
}
/* Active state — cyan signature (only one active at a time) */
.ownPath-btns .btn.active .ownPath-btn-content {
  color: var(--color-cyan-pulse);
}
.ownPath-btns .btn.active .ownPath-btn-bg path,
.ownPath-btns .btn.active .ownPath-btn-title path:first-child {
  stroke: var(--color-cyan-pulse);
}
.ownPath-btns .btn.active .ownPath-btn-title path:nth-child(2) {
  fill: var(--color-cyan-pulse);
}
/* Smooth transition on all route button colors */
.ownPath-btns .btn .ownPath-btn-bg path,
.ownPath-btns .btn .ownPath-btn-title path {
  transition:
    stroke 0.2s ease-in-out,
    fill 0.2s ease-in-out;
}
#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;
  }
}
.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,
.survivors-img-2 img {
  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,
  .survivors-img-2 img {
    width: 340px;
    height: 380px;
  }
}
@media screen and (max-width: 992px) {
  .survivors-img-1 img,
  .survivors-img-2 img {
    width: 310px;
    height: 360px;
  }
  .survivors-img-1,
  .survivors-img-2 {
    height: 358px;
  }
}
.emoji-zzz {
  position: absolute;
  top: -140px;
  right: -60px;
  width: 80px;
  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: 180px !important;
    right: 0;
    top: -120px;
  }
  .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) {
  .emoji-zzz {
    width: 140px !important;
    right: 100px;
    top: -95px;
  }
  .emoji-raiva {
    width: 75px !important;
    right: 180px;
    top: 30px;
  }
}
#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;
}

@media screen and (max-width: 1100px) {
  .af-footer.f2 .grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .af-footer.f2 .grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media screen and (max-width: 720px) {
  .af-footer.f2 {
    padding: 56px 28px 28px;
  }
  .af-footer.f2 .grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .af-footer.f2 .band {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.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: 168px;
}
@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: center;
    background-color: var(--bg-elevated) !important;
    padding-bottom: 160px;
  }
  .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: 24px;
  }
  .nav-container .offcanvas-body {
    flex-grow: unset;
    align-items: center;
    justify-content: center;
    padding-bottom: 164px;
  }
  .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: 576px) {
  .slider-container {
    padding-top: 248px;
  }
}
.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);
}
.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;
}
.navbar-toggler::before {
  content: "";
  position: absolute;
  top: 1.76px;
  left: 1.76px;
  right: 1.76px;
  bottom: 1.76px;
  z-index: 1;
  border-radius: 12px;
  background-color: transparent !important;
  transition: 0.3s ease-in-out;
}
.navbar-toggler:hover::before {
  box-shadow: 0 0 6px 0 rgb(3 250 254 / 0.5);
}
.navbar-toggler-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  transition: 0.3s ease-in-out;
}
.toggle-content {
  display: flex;
  align-items: center;
  gap: 5px;
}
.toggle-content span {
  color: var(--text-secondary);
  -webkit-text-stroke-width: 1.75;
  -webkit-text-stroke-color: var(--bg-elevated);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  transition: 0.3s ease-in-out;
}
.navbar-toggler-bg path,
.toggle-content svg path {
  transition: 0.3s ease-in-out;
}
.navbar-toggler:hover .navbar-toggler-bg path {
  stroke: var(--color-cyan-pulse);
}
.navbar-toggler:hover .toggle-content span {
  color: var(--color-cyan-pulse);
}
.navbar-toggler:hover .toggle-content svg path {
  fill: var(--color-cyan-pulse);
}
/* ============ 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);
}

/* 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: 54px;
    font-size: 13px;
  }
  .cta.v5 {
    padding: 0 0 0 16px;
  }
  .cta.v5 .action {
    padding: 0 16px 0 14px;
    font-size: 12px;
  }
  .cta .meta {
    font-size: 10px;
  }
}

/* ============ 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;
  }
}
