html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

.global-footer {
  padding: 20px 12px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 106, 0, 0.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 140, 0, 0.12), transparent 48%),
    linear-gradient(135deg, #fff9f4 0%, #fff2e8 100%);
  border-top: 1px solid rgba(255, 106, 0, 0.22);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .global-footer:not(.global-footer--minimal):not(.global-footer--admin) {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 106, 0, 0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 140, 0, 0.14), transparent 48%),
    linear-gradient(135deg, #141414 0%, #101010 100%);
  border-top: 1px solid rgba(255, 140, 0, 0.28);
}

[data-theme="dark"] .global-footer:not(.global-footer--minimal):not(.global-footer--admin) .made-by {
  color: rgba(235, 235, 235, 0.78);
}

[data-theme="dark"] .global-footer:not(.global-footer--minimal):not(.global-footer--admin) .made-by .duo {
  color: #ffb67d;
}

.global-footer--minimal {
  margin-top: auto;
  padding: 16px 12px 20px;
  background: transparent;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.global-footer--minimal .made-by {
  font-size: 12.5px;
  letter-spacing: 0.25px;
  color: rgba(26, 26, 26, 0.62);
  font-weight: 500;
  margin: 0;
}

.global-footer--minimal .made-by .duo {
  color: rgba(26, 26, 26, 0.86);
  font-weight: 700;
}

.global-footer--minimal .heart {
  opacity: 0.85;
}

[data-theme="dark"] .global-footer--minimal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

[data-theme="dark"] .global-footer--minimal .made-by {
  color: rgba(229, 229, 229, 0.7);
}

[data-theme="dark"] .global-footer--minimal .made-by .duo {
  color: rgba(245, 245, 245, 0.92);
}

.global-footer--admin {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 106, 0, 0.2), transparent 45%),
    linear-gradient(135deg, #1a1d24 0%, #151922 100%);
  border-top: 1px solid rgba(255, 140, 0, 0.35);
}

.install-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(135deg, #ff6b00, #ff914d);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 10px;
}

.install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 107, 0, 0.35);
}

.install-btn--hero {
  margin-bottom: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.made-by {
  font-size: 13px;
  color: #3f2d1f;
  margin-top: 6px;
  letter-spacing: 0.35px;
  font-weight: 600;
  cursor: pointer;
}

.global-footer--admin .made-by {
  color: #f3d7c1;
}

.made-by .duo {
  font-weight: 800;
  color: #ff6a00;
}

.global-footer--admin .made-by .duo {
  color: #ffb67d;
}

.heart {
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

.tiny-confetti {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #ff6b00;
  border-radius: 2px;
  animation: confettiBurst 0.8s ease forwards;
  pointer-events: none;
  z-index: 9999;
}

@keyframes confettiBurst {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .global-footer {
    padding: 18px 10px;
  }

  .made-by {
    font-size: 12px;
  }
}
