:where([class^="ri-"])::before {
  content: "\f3c2";
}
body,
html {
  background-color: #0a0a0a;
  color: #f8f8f8;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  width: 100vw;
  height: 100%;
  margin: 0;
  padding: 0;
}
body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none !important;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
@font-face {
  font-family: "mv-boli";
  src: url(./assets/mvboli.ttf) format("truetype");
}
section {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
}
@media (min-width: 1921px) {
  section {
    align-items: flex-start !important;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    padding-top: 13rem !important;
    padding-bottom: 0 !important;
    top: 0 !important;
    position: relative;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1920px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .top-nav .container {
    all: unset;
  }
}
.hidden {
  display: none !important;
}
@media (max-width: 768px) {
  .container {
    padding: 0 5px;
  }
}
.horror-font {
  font-family: "Creepster", cursive;
}
.title-font {
  font-family: "Nosifer", cursive;
}
.nav-item {
  position: relative;
  transition: all 0.3s ease;
}
.nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background-color: #b91c1c;
  transition: all 0.3s ease;
}
.nav-item:hover::after {
  width: 100%;
  left: 0;
}
.nav-item:hover {
  color: #b91c1c;
  text-shadow: 0 0 8px rgba(185, 28, 28, 0.6);
}
.hero-section {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 0.5) 100%
  );
}
.blood-drip-header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}
.logo {
  flex-shrink: 0;
}
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 50;
  height: 39px;
  display: flex;
  align-items: center;
  padding: 0;
}
.top-nav .container {
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  height: 39px;
  padding: 0 2rem;
}
.top-nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-nav ul li {
  margin: 0 0.5rem;
  display: flex;
  align-items: center;
}
.top-nav ul li a {
  color: #d1d5db;
  font-family: "Oswald", "Poppins", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  text-transform: uppercase;
  background: transparent;
}
.top-nav ul li a:hover,
.top-nav ul li a.active {
  color: #df2424;
}
.top-nav ul li:first-child a {
  margin-left: 0;
}
@media (max-width: 900px) {
  .top-nav .container {
    padding: 0 1rem;
  }
  .top-nav .logo {
    width: 70px;
    margin-right: 1rem;
  }
  .top-nav ul li a {
    font-size: 0.95rem;
    padding: 0.2rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .top-nav {
    height: 44px;
  }
  .top-nav .container {
    height: 44px;
    padding: 0 0.5rem;
  }
  .top-nav .logo {
    width: 40px;
    margin-right: 0.5rem;
  }
  .top-nav ul li a {
    font-size: 0.85rem;
    padding: 0.1rem 0.5rem;
  }
}
.bottom-nav img {
  width: 100%;
  max-width: 1100px;
  height: 50px;
  max-height: 150px;
  top: -15px;
  margin-top: -18px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: -1;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bottom-nav ul {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0;
}
.bottom-nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.bottom-nav ul li a.nav-item-specific {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  font-size: 18px;
  text-decoration: none;
  text-shadow: 0 0 8px rgb(255, 255, 255);
  font-family: "Oswald", "Poppins", Arial, sans-serif;
  letter-spacing: 2px;
  font-weight: 400;
  text-align: center;
  padding: 10px 22px;
  opacity: 0.9;
  margin: 0 !important;
}
.bottom-nav ul li a.nav-item-specific:hover {
  opacity: 0.6;
}
.bottom-nav ul li a.nav-item-specific.ml-\[6rem\] {
  margin-left: 0 !important;
}
.bottom-nav ul li a[href="#characters"] {
  margin-left: 100px !important;
}
.bottom-nav ul li a[href="#hero"] {
  margin-left: 50px !important;
}
.bottom-nav ul li a[href="#news"],
.bottom-nav ul li a[href="#modes"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 1024px) {
  .bottom-nav ul {
    gap: 1.5rem;
  }
  .bottom-nav ul li a.nav-item-specific {
    font-size: 16px;
    padding: 8px 10px;
  }
  .bottom-nav ul li a[href="#guns"] {
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .bottom-nav ul {
    gap: 1rem;
  }
  .bottom-nav ul li a.nav-item-specific {
    font-size: 14px;
    padding: 6px 6px;
  }
  .bottom-nav ul li a[href="#vehicles"] {
    opacity: 0;
  }
}
@media (max-width: 550px) {
  .bottom-nav ul {
    display: none;
  }
  .bottom-nav img {
    opacity: 0;
  }
  .pagination-ruler{
    align-items: center;
    justify-content: center;
  }
}
.bottom-nav img[alt="nav-center"] {
  position: absolute;
  margin-top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: auto;
  opacity: 1;
  z-index: 20;
  cursor: pointer;
}
.bottom-nav img[alt="nav-center-hover"]:hover,
img[alt="nav-center-hover"] {
  opacity: 1;
}
.bottom-nav img[alt="nav-center-hover"] {
  position: absolute;
  margin-top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: auto;
  opacity: 0;
  z-index: 20;
  cursor: pointer;
}
.bottom-nav.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.bottom-nav.fade-in {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s;
}
.vignette img {
  z-index: 10;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 1;
}
.news-section {
  background: url("./assets/news/news-bg.jpg") center center/cover no-repeat,
    #101217;
  min-height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.664) 0%,
    rgba(10, 10, 10, 0.39) 50%,
    rgba(10, 10, 10, 0.404) 100%
  );
}
.news-container {
  max-width: 1500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .news-container {
    flex-direction: row;
    gap: 3rem;
  }
}
.news-update-title {
  font-size: 2rem;
  color: #b91c1c;
  letter-spacing: 0.04em;
  text-align: left;
}
.news-main {
  width: 54%;
  max-width: 650px;
  min-width: 340px;
}
.news-main-card img {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: block;
}
.news-main-card {
  max-width: 1200px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}
.text-main-card {
  color: #b91c1cde;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  background: #000000ad;
  border-radius: 3px;
  padding: 5px;
}
.news-grid {
  position: relative;
  overflow: hidden;
  min-height: 100px;
  margin-top: 1rem;
  background: none !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.news-tile {
  position: relative;
  overflow: hidden;
  min-height: 100px;
  max-width: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #181a1e;
}
.news-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  border: none;
}
.news-tile > div {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.1) 100%,
    transparent 100%
  );
  color: #b91c1cd8;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 60px;
  text-shadow: 0 2px 8px #000;
}
.news-announcements {
  width: 46%;
  max-width: 900px;
  min-width: 320px;
  margin-left: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.news-tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.news-tab {
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #888;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid #a5a5a54d;
}
.news-tab.active,
.news-tab:focus {
  color: #b91c1c;
  border-bottom: 2px solid #b91c1c;
  background: none;
}
.news-list {
  margin-top: 0.5rem;
}
.news-list-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #222;
  cursor: pointer;
}
.news-list-label {
  padding: 0.2em 0.6em;
  margin-right: 1em;
  font-size: 1em;
  border: 1px solid rgba(155, 155, 155, 0.5);
  color: rgba(155, 155, 155, 0.5);
  display: block;
}
.news-list-item:hover .news-list-label {
  background-color: #ca3131;
  border-color: #ca3131;
  color: #000;
}
.news-list-title {
  flex: 1;
  font-size: 1rem;
  color: #a5a5a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list-item:hover .news-list-title {
  color: #b91c1c;
}
.news-list-date {
  font-size: 0.85rem;
  color: #aaa;
  margin-left: 0.5rem;
}
.news-list-item:hover .news-list-date {
  color: #b91c1c;
}
@media (min-height: 1100px) {
  .news-container {
    padding: 2.5rem 4rem;
    gap: 1.5rem;
  }
  .news-main {
    min-width: 56%;
  }
  .news-announcements {
    width: 44%;
    max-width: 900px;
  }
  .news-main-card img {
    height: 480px;
  }
  .news-grid .news-tile {
    min-height: 150px;
  }
  .news-tile {
    min-height: 180px;
  }
}
@media (max-width: 900px) {
  .news-main,
  .news-announcements {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .news-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 0.5rem;
  }
  .news-main-card img {
    height: 220px;
  }
  .news-tile {
    min-height: 80px;
  }
  .news-tile > div {
    font-size: 0.85rem;
    padding: 0.5rem 0.3rem;
    min-height: 40px;
  }
}
@media (max-width: 600px) {
  .news-main-card img {
    height: 140px;
  }
  .news-update-title {
    font-size: 1.2rem;
  }
  .news-tabs {
    gap: 1rem;
    font-size: 0.9rem;
  }
}
.modes-section {
  background-image: url("./assets/gm/gm-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
}
.modes-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(2px);
}
.modes-section .left-side,
.modes-section .right-side {
  width: 50%;
  position: relative;
}
@media (max-width: 1024px) {
  .modes-section .left-side,
  .modes-section .right-side {
    width: 100%;
    text-align: center;
  }
}
.container-modes-first,
.container-modes1,
.container-modes2 {
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.4;
}
.modes-section .container-modes-first:hover,
.container-modes1:hover,
.container-modes2:hover,
.container-modes3:hover,
.container-modes4:hover {
  opacity: 1;
  box-shadow: #ffffff2c 0px 0px 10px 2px;
}
.modes-section .container-modes-first.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 1.1rem;
}
.modes-section .container-modes1.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 12.4rem;
}
.modes-section .container-modes2.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 23.9rem;
}
.container-modes1:not(.active),
.container-modes2:not(.active),
.container-modes-first:not(.active) {
  width: 300px;
  left: 5rem;
}
.modes-section .left-dots-first,
.left-dots1,
.left-dots2,
.left-dots3,
.left-dots4 {
  transition: transform 0.2s ease-in-out;
  z-index: -1;
}
.p3-active-first,
.p3-active1,
.p3-active2 {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p3-active-first.show,
.p3-active1.show,
.p3-active2.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.container-punct-first,
.container-punct1,
.container-punct2 {
  display: none;
  z-index: 999;
  opacity: 0;
  transition: all 1s ease-in-out;
}
.container-punct-first.show,
.container-punct1.show,
.container-punct2.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
.container-punct-first.active,
.container-punct1.active,
.container-punct2.active {
  animation: pulse 1s infinite;
  animation-delay: 0.5s;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes drawText {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.bg-text-modes {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-in-out;
}
.bg-text-modes.animate,
.bg-text-characters.animate,
.bg-text-vehicles.animate {
  animation: drawText 1s ease-in-out forwards;
}
.rd-text {
  font-family: "nv-boli";
  font-size: 20px;
  color: #ff0000;
  text-shadow: #b91c1c 0px 0px 10px;
}
.character-section {
  background-image: url("./assets/ch/bg-ch.png");
  background-size: cover;
  background-position: 100%;
  position: relative;
}
.character-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.character-section .character-img {
  width: 100%;
  max-width: 680px;
  top: 7rem;
  left: 2rem;
}
.character-section .character-img2 {
  width: 100%;
  max-width: 505px;
  top: 7rem;
  left: -5rem;
}
.character-section .character-img3 {
  width: 100%;
  max-width: 640px;
  top: 7rem;
  left: -5rem;
}
@media (min-height: 1040px) {
  .character-section .character-img {
    width: 100%;
    max-width: 810px;
    top: 18rem;
    left: -2.4rem;
  }
  .character-section .character-img2 {
    width: 100%;
    max-width: 600px;
    top: 12rem;
    left: -9rem;
  }
  .character-section .character-img3 {
    width: 100%;
    max-width: 800px;
    top: 18rem;
    left: -12rem;
  }
}
@media (max-width: 1536px) {
  .character-section .character-img,
  .character-img2,
  .character-img3 {
    display: none;
  }
}
.container-modes-first-characters,
.container-modes-characters1,
.container-modes-characters2 {
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.4;
}
.character-section .container-modes-first-characters:hover,
.container-modes-characters1:hover,
.container-modes-characters2:hover,
.container-modes-characters3:hover,
.container-modes-characters4:hover {
  opacity: 1;
  box-shadow: #ffffff2c 0px 0px 10px 2px;
}
.character-section .container-modes-first-characters.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 1.1rem;
}
.character-section .container-modes-characters1.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 12.4rem;
}
.character-section .container-modes-characters2.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 23.9rem;
}
.container-modes-characters1:not(.active),
.container-modes-characters2:not(.active),
.container-modes-first-characters:not(.active) {
  width: 300px;
  left: 5rem;
}
.character-section .left-dots-first-characters,
.left-dots-characters1,
.left-dots-characters2,
.left-dots-characters3,
.left-dots-characters4 {
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}
.p3-active-first-characters,
.p3-active-characters1,
.p3-active-characters2 {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p3-active-first-characters.show,
.p3-active-characters1.show,
.p3-active-characters2.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.container-punct-first-characters,
.container-punct-characters1,
.container-punct-characters2 {
  display: none;
  z-index: 999;
  opacity: 0;
  transition: all 1s ease-in-out;
}
.container-punct-first-characters.show,
.container-punct-characters1.show,
.container-punct-characters2.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
.container-punct-first-characters.active,
.container-punct-characters1.active,
.container-punct-characters2.active {
  animation: pulse 1s infinite;
  animation-delay: 0.5s;
}

/* Vehicles Section */
.vehicles-section {
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
  transition: background-image 0.5s ease-in-out;
}
.vehicles-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(2px);
  z-index: 1;
}
.vehicles-section .container-vehicles-first,
.vehicles-section .container-vehicles1,
.vehicles-section .container-vehicles2 {
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.4;
}
.vehicles-section .container-vehicles-first:hover,
.vehicles-section .container-vehicles1:hover,
.vehicles-section .container-vehicles2:hover {
  opacity: 1;
  box-shadow: #ffffff2c 0px 0px 10px 2px;
}
.vehicles-section .container-vehicles-first.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 1.1rem;
}
.vehicles-section .container-vehicles1.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 12.4rem;
}
.vehicles-section .container-vehicles2.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 23.9rem;
}
.container-vehicles1:not(.active),
.container-vehicles2:not(.active),
.container-vehicles-first:not(.active) {
  width: 300px;
  left: 5rem;
}
.vehicles-section .left-dots-first-vehicles,
.vehicles-section .left-dots-vehicles1,
.vehicles-section .left-dots-vehicles2 {
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}
.p3-active-first-vehicles,
.p3-active-vehicles1,
.p3-active-vehicles2 {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p3-active-first-vehicles.show,
.p3-active-vehicles1.show,
.p3-active-vehicles2.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
.container-punct-first-vehicles,
.container-punct-vehicles1,
.container-punct-vehicles2 {
  display: none;
  z-index: 999;
  opacity: 0;
  transition: all 1s ease-in-out;
}
.container-punct-first-vehicles.show,
.container-punct-vehicles1.show,
.container-punct-vehicles2.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
.container-punct-first-vehicles.active,
.container-punct-vehicles1.active,
.container-punct-vehicles2.active {
  animation: pulse 1s infinite;
  animation-delay: 0.5s;
}

/* Guns Section */
.guns-section {
  background-image: url("./assets/guns/guns-bg1.png");
  background-size: cover;
  background-position: 100%;
  position: relative;
  background-attachment: fixed;
  transition: background-image 0.5s ease-in-out;
}
.guns-section .container-guns-first,
.guns-section .container-guns1,
.guns-section .container-guns2,
.guns-section .container-guns3,
.guns-section .container-guns4,
.guns-section .container-guns5,
.guns-section .container-guns6 {
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 1;
}
.guns-section .container-guns-first.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 1.4rem;
}
.guns-section .container-guns1.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 12.4rem;
}
.guns-section .container-guns2.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 23.9rem;
}
.guns-section .container-guns3.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 34.6rem;
}
.guns-section .container-guns4.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 45.6rem;
}
.guns-section .container-guns5.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 56.6rem;
}
.guns-section .container-guns6.active {
  opacity: 1;
  width: 350px;
  left: 5.4rem;
  top: 67.6rem;
}
.container-guns-first:not(.active),
.container-guns1:not(.active),
.container-guns2:not(.active),
.container-guns3:not(.active),
.container-guns4:not(.active),
.container-guns5:not(.active),
.container-guns6:not(.active) {
  width: 300px;
  left: 5rem;
}
.guns-section .left-dots-first-guns,
.guns-section .left-dots-guns1,
.guns-section .left-dots-guns2,
.guns-section .left-dots-guns3,
.guns-section .left-dots-guns4,
.guns-section .left-dots-guns5,
.guns-section .left-dots-guns6 {
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}
.p3-active-first-guns,
.p3-active-guns1,
.p3-active-guns2,
.p3-active-guns3,
.p3-active-guns4,
.p3-active-guns5,
.p3-active-guns6 {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p3-active-first-guns.show,
.p3-active-guns1.show,
.p3-active-guns2.show,
.p3-active-guns3.show,
.p3-active-guns4.show,
.p3-active-guns5.show,
.p3-active-guns6.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
.container-punct-first-guns,
.container-punct-guns1,
.container-punct-guns2,
.container-punct-guns3,
.container-punct-guns4,
.container-punct-guns5,
.container-punct-guns6 {
  display: none;
  z-index: 999;
  opacity: 0;
  transition: all 1s ease-in-out;
}
.container-punct-first-guns.show,
.container-punct-guns1.show,
.container-punct-guns2.show,
.container-punct-guns3.show,
.container-punct-guns4.show,
.container-punct-guns5.show,
.container-punct-guns6.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}
.container-punct-first-guns.active,
.container-punct-guns1.active,
.container-punct-guns2.active,
.container-punct-guns3.active,
.container-punct-guns4.active,
.container-punct-guns5.active,
.container-punct-guns6.active {
  animation: pulse 1s infinite;
  animation-delay: 0.5s;
}
.button-info-guns,
.button-info-guns1,
.button-info-guns2,
.button-info-guns3,
.button-info-guns4,
.button-info-guns5,
.button-info-guns6 {
  opacity: 0;
  pointer-events: none;
  left: 18.4rem;
  transform: translateX(0);
  transition: opacity 0.5s cubic-bezier(0.4, 1.4, 0.6, 1),
    left 0.5s cubic-bezier(0.4, 1.4, 0.6, 1),
    transform 0.5s cubic-bezier(0.4, 1.4, 0.6, 1);
}
.show-info-btn {
  opacity: 0.8 !important;
  pointer-events: auto !important;
  left: 18.4rem !important;
  transform: translateX(0) !important;
  cursor: pointer;
}
.container-guns-first:hover ~ .button-info-guns.show-info-btn,
.container-guns1:hover ~ .button-info-guns1.show-info-btn,
.container-guns2:hover ~ .button-info-guns2.show-info-btn,
.container-guns3:hover ~ .button-info-guns3.show-info-btn,
.container-guns4:hover ~ .button-info-guns4.show-info-btn,
.container-guns5:hover ~ .button-info-guns5.show-info-btn,
.container-guns6:hover ~ .button-info-guns6.show-info-btn {
  left: 27.25rem !important;
  opacity: 1 !important;
  transition: left 0.5s cubic-bezier(0.4, 1.4, 0.6, 1),
    opacity 0.5s cubic-bezier(0.4, 1.4, 0.6, 1),
    transform 0.5s cubic-bezier(0.4, 1.4, 0.6, 1);
}
.button-info-guns.show-info-btn.info-btn-hovered,
.button-info-guns1.show-info-btn.info-btn-hovered,
.button-info-guns2.show-info-btn.info-btn-hovered,
.button-info-guns3.show-info-btn.info-btn-hovered,
.button-info-guns4.show-info-btn.info-btn-hovered,
.button-info-guns5.show-info-btn.info-btn-hovered,
.button-info-guns6.show-info-btn.info-btn-hovered {
  left: 27.25rem !important;
  opacity: 1 !important;
  transition: left 0.5s cubic-bezier(0.4, 1.4, 0.6, 1),
    opacity 0.5s cubic-bezier(0.4, 1.4, 0.6, 1),
    transform 0.5s cubic-bezier(0.4, 1.4, 0.6, 1);
}
.guns-section .weapon-wrapper {
  opacity: 0;
  position: relative;
  width: 1100px;
  height: auto;
  left: -4rem;
  top: 3rem;
  /* transform: rotate(-12deg); */
  transform: perspective(800px) scale(0.5) rotate(0deg);
  perspective: 1200px;
  perspective-origin: center;
  user-select: none;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.guns-section .weapon-wrapper.show-weapon {
  opacity: 1;
  display: block;
  transform: perspective(800px) scale(1) rotate(-12deg);
}
.guns-section .weapon-inner {
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  will-change: transform;
  position: relative;
  cursor: grab;
}
.guns-section .weapon-wrapper:active,
.guns-section .weapon-inner:active {
  cursor: grabbing;
  user-select: none;
}
.guns-section .weapon-inner .gun-img {
  width: 100%;
  z-index: 2;
  position: relative;
}
.guns-section .highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle at var(--x, 25%) var(--y, 25%),
    rgba(255, 255, 255, 0.192) 0%,
    rgba(201, 224, 248, 0.075) 30%,
    rgba(56, 56, 56, 0.082) 70%,
    rgba(22, 22, 22, 0.35) 100%
  );
  transition: background-position 0.2s ease;
  -webkit-mask-image: url("./assets/guns/arma_01.png");
  mask-image: url("./assets/guns/arma_01.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.guns-section .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle at var(--shadow-x, 20%) 50%,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 30%,
    rgba(0, 0, 0, 0.1) 80%
  );
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease, background 0.2s ease;
  -webkit-mask-image: url("./assets/guns/arma_01.png");
  mask-image: url("./assets/guns/arma_01.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.guns-section .highlight,
.guns-section .shadow {
  transform-style: preserve-3d;
  will-change: transform;
}
.guns-section .ground-shadow {
  position: absolute;
  align-items: center;
  justify-content: center;
  top: 10%;
  left: 60%;
  transform: translateX(-50%) scale(1.1);
  width: 60%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.548) 0%,
    rgba(0, 0, 0, 0.397) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(30px);
  z-index: 1;
  pointer-events: none;
}
.weapon-wrapper.glitch-effect {
  animation: weapon-glitch 0.6s linear;
}
.guns-section .weapon-inner .gun-img:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img:not(.hidden) ~ .shadow {
  -webkit-mask-image: url("./assets/guns/arma_01.png");
  mask-image: url("./assets/guns/arma_01.png");
}
.guns-section .weapon-inner .gun-img2:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img2:not(.hidden) ~ .shadow {
  width: 100%;
  left: 3rem;
  top: 2rem;
  z-index: 60;
  -webkit-mask-image: url("./assets/guns/arma_02.png");
  mask-image: url("./assets/guns/arma_02.png");
}
.guns-section .weapon-inner .gun-img3:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img3:not(.hidden) ~ .shadow {
  width: 900px;
  left: 8rem;
  top: 2rem;
  z-index: 60;
  -webkit-mask-image: url("./assets/guns/arma_03.png");
  mask-image: url("./assets/guns/arma_03.png");
}
.guns-section .weapon-inner .gun-img4:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img4:not(.hidden) ~ .shadow {
  width: 100%;
  left: 3rem;
  top: -3rem;
  z-index: 60;
  -webkit-mask-image: url("./assets/guns/arma_04.png");
  mask-image: url("./assets/guns/arma_04.png");
}
.guns-section .close-tab-guns {
  cursor: pointer;
  z-index: 10;
}
.guns-section .weapon-inner .gun-img5:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img5:not(.hidden) ~ .shadow {
  -webkit-mask-image: url("./assets/guns/arma_05.png");
  mask-image: url("./assets/guns/arma_05.png");
}
.guns-section .weapon-inner .gun-img6:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img6:not(.hidden) ~ .shadow {
  -webkit-mask-image: url("./assets/guns/arma_06.png");
  mask-image: url("./assets/guns/arma_06.png");
}
.guns-section .weapon-inner .gun-img7:not(.hidden) ~ .highlight,
.guns-section .weapon-inner .gun-img7:not(.hidden) ~ .shadow {
  -webkit-mask-image: url("./assets/guns/arma_07.png");
  mask-image: url("./assets/guns/arma_07.png");
}
.fade-out-right {
  animation: fadeOutRight 0.4s forwards;
}
@keyframes fadeOutRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100px);
  }
}
.fade-in-right {
  animation: fadeInRight 0.4s forwards;
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.fade-in-left {
  animation: fadeInLeft 0.4s forwards;
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.fade-out-left {
  animation: fadeOutLeft 0.4s forwards;
}
@keyframes fadeOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-100px);
  }
}
.hidden-fade {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateX(100px) !important;
  transition: none !important;
}
input:focus,
button:focus {
  outline: none;
}
.blood-drip {
  position: absolute;
  width: 2px;
  background-color: #b91c1c;
  top: 0;
  animation: drip 3s infinite;
  opacity: 0.7;
}
@keyframes drip {
  0% {
    height: 0;
    top: 0;
  }
  70% {
    height: 100px;
    top: 0;
  }
  100% {
    height: 100px;
    top: 100%;
    opacity: 0;
  }
}
.glitch-text {
  position: relative;
  display: inline-block;
  color: #fff;
  animation: glitch-text-animation 0.5s forwards;
}

@keyframes glitch-text-animation {
  0% {
    transform: translateY(0);
    opacity: 0.1;
  }
  20% {
    transform: translateY(1px);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-1px);
    opacity: 0.5;
  }
  60% {
    transform: translateY(1px);
    opacity: 0.6;
  }
  80% {
    transform: translateY(-1px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* RULER  */
.pagination-ruler {
  position: fixed;
  top: 50%;
  right: 1vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000;
  gap: 0.2rem;
  pointer-events: none;
}
.pagination-ruler .ruler,
.pagination-ruler i {
  pointer-events: auto;
}
.pagination-ruler .ruler {
  min-width: 24px;
  min-height: 18px;
  background: #222;
  color: #fff;
  border-radius: 10px 0 0 10px;
  margin: 0.1rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8px 0 4px;
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.3;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, opacity 0.3s, transform 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.pagination-ruler .ruler.act {
  background: #b91c1c;
  color: #fff;
  opacity: 1;
  transform: translateX(-8px);
  animation: fadeSlideRL 0.4s;
}
@keyframes fadeSlideRL {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translateX(30px);
  }
  60% {
    opacity: 1;
    filter: blur(1px);
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-8px);
  }
}
.pagination-ruler i {
  display: block;
  height: 2px;
  background: #888;
  border-radius: 1px;
  margin: 0.1rem 0;
  opacity: 0.3;
  transition: width 0.3s;
  width: 12px;
}
/* first 3*/
.pagination-ruler i:nth-child(1) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.pagination-ruler i:nth-child(2) {
  width: 6px;
}
.pagination-ruler i:nth-child(3) {
  width: 9px;
}
/* last 3*/
.pagination-ruler i:nth-last-child(1) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.pagination-ruler i:nth-last-child(2) {
  width: 6px;
}
.pagination-ruler i:nth-last-child(3) {
  width: 9px;
}
@media (max-width: 770px) {
  .pagination-ruler {
    right: 0.5vw;
    top: auto;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .pagination-ruler .ruler {
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 18px;
    font-size: 1rem;
    padding: 0 4px 0 2px;
    border-radius: 8px 8px 0 0;
  }
  .pagination-ruler i {
    width: 2px;
    height: 10px;
    margin: 0 0.05rem;
  }

}
.bg-wiki{
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}
.bg-wiki::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.596) 0%,
    rgba(10, 10, 10, 0.562) 50%,
    rgba(10, 10, 10, 0.26) 100%
  );
  backdrop-filter: blur(2px);
}
.wiki-content {
  left: 50%; 
  top: 10vh; 
  transform: translate(-50%, -50%); 
  width: 95%;
}
.wiki-card {
  filter: grayscale(1);
  cursor: pointer;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.wiki-card:hover {
  filter: grayscale(0);
  transform: scale(1.02) translateY(-10px);
}
.nav-details {
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
}
.nav-details::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background-color: #7f1d1d;
  transition: all 0.3s ease;
}
.nav-details:hover::after {
  width: 100%;
  left: 0;
}
.nav-details:hover {
  color: #b91c1c;
}
.nav-details.active {
  background-color: #7f1d1d21;
  border-bottom: 2px solid #7f1d1d;
}
.gun-container-notselected {
  display: flex;
  background: url(./assets/wiki/lock-gun.png) no-repeat center;
  background-size: 100% 100%;
  min-height: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.2);
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.glitch-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch-container::after,::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.glitch-img-wiki {
    position: absolute;
    width: calc(550px + 10px * 2);
    height: calc(300px + 5px * 2);
    background-color: transparent;
    background-size: cover;
    transform: translate3d(0, 0, 0);
    background-blend-mode: none;
}
.glitch-img-wiki:nth-child(n+2) {
    opacity: 0
}
.glitch-container .glitch-img-wiki:nth-child(n+2) {
    animation-duration: 3s;
    animation-delay: 0s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}
.glitch-container .glitch-img-wiki:nth-child(2) {
    background-color: transparent;
    background-blend-mode: none;
    animation-name: glitch-anim-1;
}
.glitch-container .glitch-img-wiki:nth-child(3) {
    background-color: transparent;
    background-blend-mode: none;
    animation-name: glitch-anim-2;
}
.glitch-container .glitch-img-wiki:nth-child(4) {
    background-color: transparent;
    background-blend-mode: none;
    animation-name: glitch-anim-3;
}
@keyframes glitch-anim-1 {
    0% {
        opacity: 1;
        transform: translate3d(10px, 0, 0);
        -webkit-clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    }
    2% {
        -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
    }
    4% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
    }
    6% {
        -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
    }
    8% {
        -webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
    }
    10% {
        -webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
    }
    12% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
    }
    14% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }
    16% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }
    18% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }
    20% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
        clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
    }
    21.9% {
        opacity: 1;
        transform: translate3d(10px, 0, 0);
    }
    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}
@keyframes glitch-anim-2 {
    0% {
        opacity: 1;
        transform: translate3d(calc(-1 * 10px), 0, 0);
        -webkit-clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
        clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
    }
    3% {
        -webkit-clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
        clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
    }
    5% {
        -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
        clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
    }
    7% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    9% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
        clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
    }
    11% {
        -webkit-clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
        clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
    }
    13% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    15% {
        -webkit-clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
        clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
    }
    17% {
        -webkit-clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
        clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
    }
    19% {
        -webkit-clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
        clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
    }
    20% {
        -webkit-clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
        clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
    }
    21.9% {
        opacity: 1;
        transform: translate3d(calc(-1 * 10px), 0, 0);
    }
    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}
@keyframes glitch-anim-3 {
    0% {
        opacity: 1;
        transform: translate3d(0, calc(-1 * 5px), 0) scale3d(-1, -1, 1);
        -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
        clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
    }
    1.5% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
        clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
    }
    2% {
        -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
        clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
    }
    2.5% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    3% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
        clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
    }
    5% {
        -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
        clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
    }
    5.5% {
        -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
        clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
    }
    7% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
        clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
    }
    8% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
        clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
    }
    9% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
        clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
    }
    10.5% {
        -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
        clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
    }
    11% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
        clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
    }
    13% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
        clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
    }
    14% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
        clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
    }
    14.5% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
        clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
    }
    15% {
        -webkit-clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
        clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
    }
    16% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    18% {
        -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
        clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
    }
    20% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
        clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
    }
    21.9% {
        opacity: 1;
        transform: translate3d(0, calc(-1 * 5px), 0) scale3d(-1, -1, 1);
    }
    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}
.sidebar-nav-item{
  opacity: .6;
}
.sidebar-nav-item-active {
  border-bottom: 2px solid #b91c1c;
  opacity: 1;
  width: 100%;
}
.left-icon-wiki {
  transition: transform 0.3s ease;
  transform-origin: center;

}
.left-icon-wiki-selected {
  opacity: 1;
  width: 80%;
}
.gear-details-fade {
  animation: fadeInRight 0.4s;
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.gear-glitch-container {
  position: relative;
  width: 370px;   /* 350px + 20px */
  height: 300px;  /* 280px + 20px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gear-glitch-container .glitch-img-wiki {
  width: 370px;
  height: 300px;
}
.character-glitch-container {
  position: relative;
  width: 370px;
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gun-container-selected {
  outline: 2px solid #7f1d1d;
  outline-offset: -2px;
}
.main-container.character-bg {
  position: relative;
  background-blend-mode: darken;
  overflow: hidden;
}
.main-container.character-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg,rgba(10,10,10,0.85) 0%,rgba(10,10,10,0.6) 60%,rgba(10,10,10,0.2) 100%);
  pointer-events: none;
  backdrop-filter: blur(1px);
}
.character-details {
  position: relative;
  width: 100%;
  min-height: 420px;
  margin-top: 40px;
  margin-left: -40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.char-position {
  font-weight: 500;
  font-size: 35px;
  background: #11111183;
  padding-left: 15px;
  width: 25rem;
}

/* --- ROAD MAP --- */
.pagination-ruler-roadmap {
  position: fixed;
  top: 50%;
  right: 1vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000;
  gap: 0.2rem;
  pointer-events: none;
}
.pagination-ruler-roadmap .ruler,
.pagination-ruler-roadmap i {
  pointer-events: auto;
}
.pagination-ruler-roadmap .ruler {
  min-width: 24px;
  min-height: 18px;
  background: #222;
  color: #fff;
  border-radius: 10px 0 0 10px;
  margin: 0.1rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8px 0 4px;
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.3;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, opacity 0.3s, transform 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.pagination-ruler-roadmap .ruler.act {
  background: #b91c1c;
  color: #fff;
  opacity: 1;
  transform: translateX(-8px);
  animation: fadeSlideRL 0.4s;
}
@keyframes fadeSlideRL {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translateX(30px);
  }
  60% {
    opacity: 1;
    filter: blur(1px);
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-8px);
  }
}
.pagination-ruler-roadmap i {
  display: block;
  height: 2px;
  background: #888;
  border-radius: 1px;
  margin: 0.1rem 0;
  opacity: 0.3;
  transition: width 0.3s;
  width: 12px;
}
/* first 3*/
.pagination-ruler-roadmap i:nth-child(1) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.pagination-ruler-roadmap i:nth-child(2) {
  width: 6px;
}
.pagination-ruler-roadmap i:nth-child(3) {
  width: 9px;
}
/* last 3*/
.pagination-ruler-roadmap i:nth-last-child(1) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.pagination-ruler-roadmap i:nth-last-child(2) {
  width: 6px;
}
.pagination-ruler-roadmap i:nth-last-child(3) {
  width: 9px;
}
@media (max-width: 770px) {
  .pagination-ruler-roadmap {
    right: 0.5vw;
    top: auto;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .pagination-ruler-roadmap .ruler {
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 18px;
    font-size: 1rem;
    padding: 0 4px 0 2px;
    border-radius: 8px 8px 0 0;
  }
  .pagination-ruler-roadmap i {
    width: 2px;
    height: 10px;
    margin: 0 0.05rem;
  }

}
.hero-map-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.map-bg {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: url('./assets/roadmap/rp1.jpg') center center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}
.city-marker {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 20;
  animation: fadeInCity 0.7s;
  cursor: pointer;
}
.city-marker .city-box {
  position: relative;
  justify-content: center;
  align-items: center;
  width: 6px;
  height: 6px;
  margin-right: 15px;
  background: #b40000;
  display: inline-block;
  z-index: 1;
}
.city-marker .city-box::before {
  content: "";
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  width: 20px;
  height: 20px;
  border: 1.5px solid #b40000;
  box-sizing: border-box;
  z-index: 0;
  pointer-events: none;
}
.city-marker .city-label {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px #000, 0 0 4px #1e293b;
  background: rgba(0,0,0,0.45);
  padding: 2px 10px;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .city-marker .city-label {
    font-size: 0.85rem;
    padding: 2px 6px;
  }
}
.city-arrow-indicator {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 30;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCity 0.7s;
}
.city-arrow-indicator .arrow-shape {
  width: 28px;
  height: 28px;
  display: block;
  transform: rotate(var(--arrow-rotate, 0deg));
  filter: drop-shadow(0 2px 8px #000a);
}
.city-arrow-indicator .arrow-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}
.city-arrow-indicator .arrow-label {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px #000, 0 0 4px #1e293b;
  background: rgba(0,0,0,0.45);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 6px;
  white-space: nowrap;
  pointer-events: auto;
  user-select: none;
}
@media (max-width: 900px) {
  .city-arrow-indicator .arrow-label {
    font-size: 0.8rem;
    padding: 2px 5px;
  }
  .city-arrow-indicator {
    width: 24px;
    height: 24px;
  }
  .city-arrow-indicator .arrow-shape {
    width: 18px;
    height: 18px;
  }
}
.clouds-animation {
  position: absolute;
  top: 0;
  left: -30vw;
  width: 160vw;
  height: 100vh;
  background: url('./assets/roadmap/cloud1.png') repeat-x;
  background-size: cover;
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
  animation: clouds-move 60s linear infinite alternate;
}
.clouds-animation--2 {
  position: absolute;
  top: 0;
  left: -30vw;
  width: 160vw;
  height: 100vh;
  background: url('./assets/roadmap/cloud2.png') repeat-x;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  animation: clouds-move2 60s linear infinite alternate;
}
@keyframes clouds-move {
  0% { left: -60vw; }
  100% { left: 90vw; }
}
@keyframes clouds-move2 {
  0% { left: 60vw; }
  100% { left: -60vw; }
}
.map-overlay-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  padding: 3vw 3vw 2vw 3vw;
  max-width: 900px;
}
.map-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.2em;
  line-height: 1.1;
  text-shadow: 0 4px 32px #000, 0 0 8px #1e293b;
}
.map-year {
  font-size: 1.5rem;
  color: #aa1010;
  margin-bottom: 1.5em;
  letter-spacing: 0.1em;
}
.world-overview-box {
  width: 700px;
  margin-top: 1.5em;
  background: rgba(20,20,20,0.85);
  border-left: 5px solid #b91c1c;
  padding: 1.2em 1.5em;
  box-shadow: 0 2px 16px #0006;
}
.overview-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 0.7em;
  background: #b91c1c;
  display: inline-block;
  padding: 0.2em 1.2em;
  border-radius: 2px;
  box-shadow: 0 2px 8px #0004;
}
.overview-desc {
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.6;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
}
@media (max-width: 900px) {
  .map-overlay-content {
    max-width: 95vw;
    padding: 5vw 2vw 2vw 2vw;
  }
  .map-title {
    font-size: 2.1rem;
  }
  .map-year {
    font-size: 1.1rem;
  }
  .overview-title {
    font-size: 1rem;
  }
  .overview-desc {
    font-size: 0.95rem;
  }
}
/* 1 */
.world-overview-box.animate-left-out {
  animation: fadeOutLeftMap 0.7s forwards;
}
@keyframes fadeOutLeftMap {
  0% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateX(-120px);
    filter: blur(8px);
    pointer-events: none;
    visibility: hidden;
  }
}
.map-title.animate-down,
.map-year.animate-down {
  animation: moveDownMap 0.7s forwards;
}
@keyframes moveDownMap {
  0% {
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    transform: translateY(350px);
    pointer-events: none;
  }
}
/* 2 */
.map-title.animate-up,
.map-year.animate-up {
  animation: moveUpMap 0.7s forwards;
}
@keyframes moveUpMap {
  0% {
    opacity: 0;
    transform: translateY(350px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* CITY MODAL ROADMAP */
#city-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: none;
  pointer-events: none;
}
#city-modal.active {
  background: #03030356 !important;
  opacity: 0.98;
  transition: background 0.2s;
  pointer-events: auto;
}
#city-modal .city-modal-title {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5rem;
  font-family: 'Russo One', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  color: #940505;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px #000, 0 0 4px #1e293b;
  background: none;
  padding: 0 0.5rem;
  margin-bottom: 0;
  z-index: 1002;
  pointer-events: none;
  user-select: none;
  border-radius: 0;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
}
#city-modal .city-modal-title.fade-in {
  opacity: 1;
}
#city-modal .city-modal-popup {
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(16, 12, 12, 0.93);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  width: 700px;
  max-width: 95vw;
  min-height: 223px;
  height: 223px;
  pointer-events: auto;
  border: 2px solid #2e2e2e;
  margin-top: 0.2rem;
  padding: 0.7rem 1rem 0.7rem 1rem;
  transition: width 0.2s, height 0.2s;
  overflow: visible;
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 0.45s cubic-bezier(.4,0,.2,1);
}
#city-modal .city-modal-popup.slide-in {
  opacity: 1;
  transform: translateY(0);
}
#city-modal .city-modal-popup.expanded {
  width: 900px;
  height: auto;
  max-width: 98vw;
}
#city-modal .city-modal-content {
  padding: 0 0.7rem 0 0.7rem;
  margin-top: 5px;
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-width: 0;
}
#city-modal .city-modal-img-box {
  width: 330px;
  min-width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181c1f;
  overflow: hidden;
  border-left: 2px solid #222;
  margin: 5px 0 5px 5px;
}
#city-modal .city-modal-popup img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}
#city-modal .city-modal-info {
  color: #e6e6e6;
  font-size: 0.85rem;
  line-height: 1.45;
  font-family: inherit;
  text-shadow: 0 2px 8px #000c;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  max-height: 100%;
  min-width: 0;
  white-space: normal;
  position: relative;
}
#city-modal .city-modal-info::after {
  content: '...';
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(16,12,12,0.93);
  padding-left: 10px;
  color: #e6e6e6;
  font-weight: bold;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
#city-modal .city-modal-info.truncated::after {
  opacity: 1;
}
#city-modal .close-city-modal {
  display: none;
}
@media (max-width: 800px) {
  #city-modal .city-modal-popup {
    flex-direction: column;
    width: 98vw;
    min-width: 0;
    min-height: 0;
    left: 0 !important;
    top: 0 !important;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  }
  #city-modal .city-modal-title {
    position: static;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  #city-modal .city-modal-img-box {
    width: 100%;
    height: 180px;
    min-width: 0;
    border-left: none;
    border-top: 2px solid #222;
    margin: 5px auto 0 auto;
  }
}