:root {
  --primary: rgb(0 153 255);
  --accent: rgb(72 225 255);
  --surface: rgb(181 243 255);
  --hover: rgb(237 252 255);
  --color: rgb(0 0 0);
  --radius: 1rem;
  --border: 2px solid rgb(0 0 0 / 5%);
  --shadow: 0px 8px 24px rgb(0 0 0 / 8%);
  --container-width: 450px;
  --max-width: 90dvw;
  --max-height: 80dvh;
  --animate-duration: 0.3s;
}

* {
  font-family: "Karla", "Noto Color Emoji", system-ui !important;
  text-decoration: none;
  color: var(--color);
  cursor: default;
}

html {
  font-size: 16px !important;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  background: linear-gradient(0deg, var(--primary), var(--accent));
}

.container {
  display: flex;
  flex-direction: column;
  width: min(100%, var(--container-width));
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  margin: 1.5rem;
  border: var(--border);
  box-shadow: var(--shadow);
}

.header-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0rem;
  gap: 0.5rem;
}

.header-icon {
  width: 5rem;
  border-radius: 50%;
}

.header-title {
  font-weight: 700;
}

.header-title,
.header-subtitle,
[id*="link-"] {
  text-align: center;
}

.social-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.5rem;
}

.social-item a,
[id*="social-"] {
  padding: 0.5rem;
}

.link-item {
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0rem;
  gap: 1rem;
}

.link-item div {
  background: var(--accent);
  border-radius: var(--radius);
  border: var(--border);
}

.link-item a {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.floating-button {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 888;
}

.floating-button .hvr-grow {
  background: var(--surface);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadow);
  font-size: 1.25rem;
}

.floating-button .hvr-grow:hover {
  background: var(--hover);
}

.modal-content {
  position: relative;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadow);
  width: min(100%, var(--container-width));
  max-width: var(--max-width);
  max-height: var(--max-height);
  overflow-y: auto;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
}

dialog#share-dialog {
  padding: 2rem;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  width: min(100%, var(--container-width));
  max-width: var(--max-width);
  max-height: var(--max-height);
  text-align: center;
  z-index: 777;
}

dialog#share-dialog::backdrop {
  background: rgb(0 0 0 / 60%);
}

#share-dialog-text {
  margin: 2rem;
}

#share-dialog-close,
.reload-button {
  background: var(--accent);
  border: var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-message-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tooltip {
  position: fixed;
  background: var(--hover);
  border: var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  font-size: 0.75rem;
  z-index: 888;
}

.tooltip.visible {
  opacity: 1;
  transform: translateY(-1.75rem);
}
