*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fuentes/ClashDisplay-Extralight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fuentes/ClashDisplay-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fuentes/ClashDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fuentes/ClashDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fuentes/ClashDisplay-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fuentes/ClashDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body{
cursor: none;
background-color: black;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: "ClashDisplay", sans-serif;
}

#custom-cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff2b00;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  will-change: transform;
}

@media (hover: none) {
  #custom-cursor { display: none; }
  body { cursor: auto; }
}

.loader-logo {
  position: fixed;
  top: 18px;
  left: 18px;
  height: 24px;
  z-index: 10;
}

.percentage-wrapper {
  position: fixed;
  bottom: 18px;
  right: 24px;
  display: flex;
  align-items: flex-end;
  z-index: 10;
}

.odometer {
  display: flex;
  height: 16px;
  overflow: hidden;
}

.digit-col {
  position: relative;
  width: 10px;
  height: 16px;
  overflow: hidden;
}

.digit-strip {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.4, 1);
}

.digit-strip div {
  height: 16px;
  line-height: 16px;
  color: #ff2b00;
  font-weight: 600;
  font-size: 14px;
  font-family: "ClashDisplay", sans-serif;
  text-align: center;
}

.percent-sign {
  color: #ff2b00;
  font-weight: 600;
  font-size: 14px;
  font-family: "ClashDisplay", sans-serif;
  margin-left: 2px;
}

.progress-track {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 6px;
  background: #ffffff22;
  z-index: 9;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #ffffff;
  transition: height 0.5s ease-out;
}

h1{
  max-width: 70ch;
    color: #ffffff;
    font-family: "ClashDisplay", sans-serif;
    font-weight: 600;
    font-size:200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.dot-pattern {
  position: fixed;
  inset: 0;
  background-color: #000; /* fondo negro */
  background-image: radial-gradient(#ffffff3d 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}

.fade-out {
  animation: fadeOutSoft 0.8s ease forwards;
}