html {
  height: 100%;
  font-family: sans-serif;
}

body {
  margin: 0;
  overflow-y: scroll;
  background: linear-gradient(to right, #a1c4fd, #c2e9fb); /* Stronger gradient */
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 90%;
  margin: 0 auto;
}

.light {
  border-radius: 100%;
  background: #ff4c4c; /* Brighter red */
  margin: 0.588rem;
}

.light::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.light-strip.on .light:nth-child(1n + 2) {
  background: #4cff4c; /* Brighter green */
}

.f1-lights {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 30.588rem;
}

.light-strip {
  background: black;
  border-radius: 0.647rem;
  margin: 0;
  position: relative;
  flex: 1;
}

@media (min-width: 25.588rem) {
  .light-strip {
    margin: 0 0.294rem;
    border-radius: 0.823rem;
  }
}

.back-board {
  position: absolute;
  left: 0.294rem;
  right: 0.294rem;
  top: 50%;
  height: 0.294rem;
  background: #000;
  transform: translateY(-50%);
}

p {
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.6;
  margin: 1em;
  margin-bottom: 0;
  font-family: "Noto Sans";
  transition: text-shadow 0.3s ease-in-out;
}

p:hover {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); /* Glow effect on hover */
}

.time {
  font-size: 5rem;
  line-height: 1.2;
  margin: 0.588rem;
  text-transform: uppercase;
  will-change: transform;
  text-align: center;
  font-family: "Kode Mono";
  transition: text-shadow 0.3s ease-in-out;
}

.time:hover {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); /* Glow effect on hover */
}

.time.anim {
  animation: bang 0.14s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.best {
  padding: 0.118rem;
  font-size: 2.118rem;
  text-align: center;
  line-height: 1.2;
  font-family: "Kode Mono";
  transition: text-shadow 0.3s ease-in-out;
}

.best:hover {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); /* Glow effect on hover */
}

.credit {
  padding: 0.118rem;
  font-size: 2.059rem;
  text-align: center;
  line-height: 1;
  font-family: "Inter";
  transition: text-shadow 0.3s ease-in-out;
}

.credit:hover {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); /* Glow effect on hover */
}

.border {
  border: 0.294rem groove grey;
  padding: 1%;
  border-radius: 0.294rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#floating-badge {
  font-family: 'Inter', sans-serif;
  position: fixed;
  bottom: 1.471rem;
  right: 1.471rem;
  width: 6.471rem;
  height: 6.471rem;
  background-color: #cc0000e2;
  color: white;
  border-radius: 50%;
  display: flex;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 0.235rem 0.882rem rgba(0, 0, 0, 0.6);
  z-index: 1000;
  animation: sizeChange 2s infinite;
  transition: transform 0.3s, background-color 0.3s;
  overflow: hidden;
}

#floating-badge:hover {
  background-color: #e60000;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
}

#floating-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 60%);
  transform: rotate(45deg);
  z-index: 1;
  pointer-events: none;
}

.kode-mono {
  font-family: "Kode Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
}

.noto-sans {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

@keyframes bang {
  from {
    transform: scale(2.5);
  }
}

a {
  text-decoration: none;
  color: #cc0000e2;
  transition: color 0.3s;
}

a:hover {
  color: #ff0000;
}
