@-webkit-keyframes anim {
  0%   { -webkit-transform: translateY(10px) }
  50% { -webkit-transform: translateY(-10px) }
  100% { -webkit-transform: translateY(10px) }
}
@-moz-keyframes anim {
  0%   { -moz-transform: translateY(10px) }
  50% { -moz-transform: translateY(-10px) }
  100% { -moz-transform: translateY(10px) }
}
@-o-keyframes anim {
  0%   { -o-transform: translateY(10px) }
  50% { -o-transform: translateY(-10px) }
  100% { -o-transform: translateY(10px) }
}
@keyframes anim {
  0%   { transform: translateY(10px) }
  50% { transform: translateY(-10px) }
  100% { transform: translateY(10px) }
}

@-webkit-keyframes animbg {
  0%   { -webkit-transform: translateY(5px) }
  50% { -webkit-transform: translateY(-5px) }
  100% { -webkit-transform: translateY(5px) }
}
@-moz-keyframes animbg {
  0%   { -moz-transform: translateY(5px) }
  50% { -moz-transform: translateY(-5px) }
  100% { -moz-transform: translateY(5px) }
}
@-o-keyframes animbg {
  0%   { -o-transform: translateY(5px) }
  50% { -o-transform: translateY(-5px) }
  100% { -o-transform: translateY(5px) }
}
@keyframes animbg {
  0%   { transform: translateY(5px) }
  50% { transform: translateY(-5px) }
  100% { transform: translateY(5px) }
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html, body {
  overflow: hidden;
  font-family: 'Outfit', 'BebasNeueRegular', arial, sans-serif;
  background: #0a0a14;
  color: #e0e0e0;
}

#global {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: url('bg.jpg') no-repeat center center fixed;
  overflow: hidden;
  text-align: center;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -ms-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: animbg 3s ease-in-out infinite;
  -moz-animation: animbg 3s ease-in-out infinite;
  -o-animation: animbg 3s ease-in-out infinite;
  animation: animbg 3s ease-in-out infinite;
}

#title {
  position: absolute;
  top: 15%;
  right: 0;
  left: 0;
  z-index: 1;
  text-align: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: anim 4s ease-in-out infinite;
  animation: anim 4s ease-in-out infinite;
}

#title h1 {
  font-size: 8em;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #00f0ff, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

#title p {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 4px;
  margin-top: -10px;
  color: rgba(255, 255, 255, 0.8);
}

#menucontainer {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 10%;
  left: 0;
  z-index: 2;
}

#menu {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin: auto;
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

#menu div {
  padding: 15px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

#menu div:hover {
  background: rgba(0, 240, 255, 0.2);
  color: #00f0ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

#start {
  font-size: 2em;
  color: #ff0055;
  background: rgba(255, 0, 85, 0.1) !important;
  border: 1px solid rgba(255, 0, 85, 0.3);
}

#start:hover {
  color: #fff !important;
  background: #ff0055 !important;
  box-shadow: 0 5px 20px rgba(255, 0, 85, 0.6) !important;
}

#step-2 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: black;
  vertical-align: bottom;
  text-align: center;
  padding: 20px;
  color: white;
  font-size: 2em;
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: 60% auto;
  -webkit-background-size: 60% auto;
  -ms-background-size: 60% auto;
  -o-background-size: 60% auto;
  background-size: 60% auto;
}

#step-3 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: black;
}

#step-3 #progressbar {
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 0%;
  background: white;
}

#step-5 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: black;
  text-align: center;
  padding: 100px 20px;
  color: white;
  font-size: 2em;
}

#step-5 #time {
  font-size: 4em
}

#leapinfo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  color: white;
  text-align: center;
  font-size: 3em;
  padding-top: 200px;
  z-index: 999999;
}

#credits {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: black;
  overflow-y: auto;
  text-align: center;
  color: white;
  font-size: 1.1em;
  padding: 40px 20px;
}

#credits h3 {
  font-size: 2em;
  color: #666;
}

#credits b {
  font-size: 1.2em;
  color: #bbb;
}

#credits h4 {
  color: #555;
  font-size: 1.2em;
}
