:root {
    --score-color: #2a2a2a;
    --rotation: 0deg;
}

body {
  background-image: url(https://static.vecteezy.com/system/resources/previews/008/426/215/non_2x/beautiful-meteor-shower-in-the-dark-sky-background-free-vector.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100vh;
}

.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: absolute;
    top: 85%;
    left: 91%;
  }
  
  .svgIcon {
    width: 12px;
    transition-duration: 0.3s;
  }
  
  .svgIcon path {
    fill: white;
  }
  
  .button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: rgb(53, 71, 64);
    align-items: center;
  }
  
  .button:hover .svgIcon {
    transition-duration: 0.3s;
    transform: translateY(-200%);
  }
  
  .button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to home page";
    color: white;
    font-size: 0px;
  }
  
  .button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    transition-duration: 0.3s;
  }
  
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  left: 45.8%;
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

.table-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
}

.credit-input {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

table {
    width: 100%;
    color: white;
}

td {
    padding: 10px;
}

.score-display {
    text-align: center;
    margin: 2rem auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
}

.output {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e2f28b;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gauge {
  position: relative;
  width: 14rem;
  height: 6rem;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  left: 43%;
  top: 10%;
  margin-bottom: 0%;
}
.gauge .gauge-indicator {
  position: relative;
  width: 12rem;
  height: 12rem;
  background: transparent;
  border: 1rem solid #ddd;
  border-radius: 50%;
  transition: transform 0.2s ease;
  transform: rotate(var(--gauge-rotation));
}
.gauge .gauge-indicator::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border: 1rem solid transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  left: -1rem;
  top: -1rem;
  transform: rotate(45deg);
  z-index: 2;
}
.gauge .gauge-indicator.gauge-1::before {
  border-right-color: rgb(0, 110, 255);
  border-bottom-color: rgb(0, 110, 255);
}
.gauge .gauge-indicator.gauge-2::before {
  border-right-color: rgb(22, 168, 22);
  border-bottom-color: rgb(22, 168, 22);
}
.gauge .gauge-indicator.gauge-3::before {
  border-right-color: rgb(224, 224, 10);
  border-bottom-color: rgb(224, 224, 10);
}
.gauge .gauge-indicator.gauge-4::before {
  border-right-color: orange;
  border-bottom-color: orange;
}
.gauge .gauge-indicator.gauge-5::before {
  border-right-color: rgb(218, 61, 61);
  border-bottom-color: rgb(218, 61, 61);
}
.gauge .gauge-title {
  position: absolute;
  font-size: 1.5rem;
  color: #0078c8;
  left: 50%;
  bottom: 0.25rem;
  transform: translateX(-50%);
}