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

body, html {
  width: 100%;
  font-family: Arial, sans-serif;
  background-color: black;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.background {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: black;
  overflow: auto;
}

.content {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
}

.content h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 40px;
  color: white;
}

.content h2 {
  font-size: 1.25rem;
  margin: 20px 0 10px;
  color: white;
}

.content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.content ul {
  margin: 10px 0 20px;
  padding-left: 20px;
}

.content ul li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.inline-link {
  color: rgba(0, 123, 255, 1);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.inline-link:hover {
  color: rgba(255, 255, 255, 1);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  width: 100%;
  bottom: 10px;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

footer .footer-links {
  display: flex;
  gap: 4px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  position: relative;
}

.footer-links > .footer-link:not(:last-child)::after {
  content: '|';
  color: rgba(255, 255, 255, 0.3);
  margin-left: 4px;
}

.footer-link:hover {
  color: white;
}

.tooltip-wrapper::after {
  content: none;
}

.footer-link:hover {
  color: white;
}

.tooltip-toggler {
  display: none;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(98, 98, 98, 0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 20;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  background-color: rgba(98, 98, 98, 0.6);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.tooltip-toggler:checked ~ .tooltip-btn + .tooltip {
  opacity: 1;
  pointer-events: auto;
}

.email-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.email-link:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}

.tooltip-btn {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.tooltip-btn:hover {
  color: white;
}

.tooltip-btn:focus {
  outline: none;
}

@media (max-width: 380px) {
  footer {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .footer-links {
    order: 1;
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer-links .footer-link {
    margin-bottom: 5px;
  }

  .footer-links:last-child {
    margin-bottom: 0;
  }

  .copyright {
    order: 2;
    text-align: center;
  }
}