:root {
  font-family: "Nunito", sans-serif;
  color: #ffffff;
  background: #ffcc00;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #ffd631 0%, #ffcc00 55%, #f1bd00 100%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 10%;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.top-actions,
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-actions a,
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.top-actions .cta {
  padding: 0.7rem 1.3rem;
  border-radius: 0.9rem;
  background: #ffffff;
  color: #151515;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.top-actions a:hover,
.nav-links a:hover,
.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.nav-links .danger-link {
  color: #ff4d4d;
}

.page-content {
  padding: 2.5rem 10% 3rem;
}

.panel {
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.button,
.button-secondary,
.button-plain {
  border: 0;
  border-radius: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button {
  padding: 1rem 1.4rem;
  background: #ffffff;
  color: #1f1f1f;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

.button-secondary {
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.button-plain {
  background: none;
  color: rgba(0, 0, 0, 0.55);
  padding: 0.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
}

.section-copy {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.84;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 1.25rem;
}

@keyframes smoothShake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  20% {
    transform: translate(-4px, -2px) rotate(-3deg);
  }

  40% {
    transform: translate(4px, 2px) rotate(3deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(-2deg);
  }

  80% {
    transform: translate(3px, -1px) rotate(2deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes flashAnim {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .topbar,
  .page-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}
