@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;800&display=swap');

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

body {
  background-color: #1a2744;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  position: relative;
}

.page-title {
  position: absolute;
  font-weight: 600;
  font-size: clamp(14px, 4vw, 18px);
  text-transform: uppercase;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
  z-index: 10;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}

.page-subtitle {
  position: absolute;
  font-weight: 400;
  font-size: clamp(11px, 3vw, 14px);
  left: 50%;
  top: 67%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  text-align: center;
}

.body {
  position: absolute;
  top: 50%;
  margin-left: -50px;
  left: 50%;
  animation: speeder 0.4s linear infinite;
  z-index: 20;
}

.body > span {
  height: 5px;
  width: 35px;
  background: #fff;
  position: absolute;
  top: -19px;
  left: 60px;
  border-radius: 2px 10px 1px 0;
  display: block;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.base span {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 100px solid #fff;
  border-bottom: 6px solid transparent;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}

.base span::before {
  content: "";
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  right: -110px;
  top: -16px;
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
}

.base span::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 55px solid #fff;
  border-bottom: 16px solid transparent;
  top: -16px;
  right: -98px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}

.face {
  position: absolute;
  height: 12px;
  width: 20px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  transform: rotate(-40deg);
  right: -125px;
  top: -15px;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.face::after {
  content: "";
  height: 12px;
  width: 12px;
  background: #fff;
  right: 4px;
  top: 7px;
  position: absolute;
  transform: rotate(40deg);
  transform-origin: 50% 50%;
  border-radius: 0 0 0 2px;
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.body > span > span:nth-child(1),
.body > span > span:nth-child(2),
.body > span > span:nth-child(3),
.body > span > span:nth-child(4) {
  width: 30px;
  height: 2px;
  background: #fff;
  position: absolute;
  animation: fazer1 0.2s linear infinite;
  display: block;
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
}

.body > span > span:nth-child(2) {
  top: 3px;
  animation: fazer2 0.4s linear infinite;
}

.body > span > span:nth-child(3) {
  top: 1px;
  animation: fazer3 0.4s linear infinite;
  animation-delay: -1s;
}

.body > span > span:nth-child(4) {
  top: 4px;
  animation: fazer4 1s linear infinite;
  animation-delay: -1s;
}

.longfazers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
}

.longfazers span {
  position: absolute;
  height: 2px;
  width: 20%;
  background: rgba(255,255,255,0.4);
  display: block;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.longfazers span:nth-child(1) { top: 20%; animation: lf 0.6s linear infinite; animation-delay: -5s; }
.longfazers span:nth-child(2) { top: 40%; animation: lf2 0.8s linear infinite; animation-delay: -1s; }
.longfazers span:nth-child(3) { top: 60%; animation: lf3 0.6s linear infinite; }
.longfazers span:nth-child(4) { top: 80%; animation: lf4 0.5s linear infinite; animation-delay: -3s; }

.credit-tag {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-size: clamp(10px, 3vw, 12px);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0,0,0,0.3);
  pointer-events: none;
  white-space: nowrap;
}

.error-message {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: clamp(12px, 3.5vw, 14px);
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.2);
  text-shadow: 0 0 8px rgba(0,0,0,0.3);
  text-align: center;
  width: max-content;
  max-width: 90vw;
  white-space: normal;
}

@keyframes speeder {
  0% { transform: translate(2px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -3px) rotate(-1deg); }
  20% { transform: translate(-2px, 0px) rotate(1deg); }
  30% { transform: translate(1px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 3px) rotate(-1deg); }
  60% { transform: translate(-1px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-2px, -1px) rotate(1deg); }
  90% { transform: translate(2px, 1px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes fazer1 { 0% { left: 0; } 100% { left: -80px; opacity: 0; } }
@keyframes fazer2 { 0% { left: 0; } 100% { left: -100px; opacity: 0; } }
@keyframes fazer3 { 0% { left: 0; } 100% { left: -50px; opacity: 0; } }
@keyframes fazer4 { 0% { left: 0; } 100% { left: -150px; opacity: 0; } }
@keyframes lf { 0% { left: 200%; } 100% { left: -200%; opacity: 0; } }
@keyframes lf2 { 0% { left: 200%; } 100% { left: -200%; opacity: 0; } }
@keyframes lf3 { 0% { left: 200%; } 100% { left: -100%; opacity: 0; } }
@keyframes lf4 { 0% { left: 200%; } 100% { left: -100%; opacity: 0; } }