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

html,
body {
  height: 100%;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #f72585 0, #0b0716 45%, #05030a 100%);
  color: #f9f5ff;
  -webkit-font-smoothing: antialiased;
}

body.entry-page {
  background: #03030a;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(247, 37, 133, 0.3) 0, transparent 55%),
    radial-gradient(circle at 90% 0, rgba(58, 134, 255, 0.24) 0, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(0, 255, 171, 0.24) 0, transparent 60%),
    url('bg-tunnel.png');
  background-size: auto, auto, auto, cover;
  background-position: center, top right, bottom, center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: bg-move 14s ease-in-out infinite alternate;
}

body.entry-page .bg-overlay {
  display: none;
}

/* Entry page minimal look */
body.entry-page .hero-badge {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  letter-spacing: 0.16em;
}

body.entry-page .hero {
  margin-top: 24px;
  margin-bottom: 24px;
}

body.entry-page .hero-title,
body.entry-page .hero-subtitle {
  color: #ffffff;
  text-shadow: none;
}

body.entry-page .card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

body.entry-page .card-title,
body.entry-page .card-text,
body.entry-page .card-footnote {
  color: #ffffff;
}

body.entry-page .card-text,
body.entry-page .card-footnote {
  opacity: 0.65;
}

body.entry-page .form {
  margin-top: 12px;
}

body.entry-page .page {
  justify-content: center;
}

body.entry-page input[type='password'] {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

body.entry-page input[type='password']::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

body.entry-page input[type='password']:focus {
  box-shadow: none;
  border-color: #ffffff;
}

body.entry-page .submit-btn {
  background-image: none;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
  margin-top: 18px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 36px;
  max-width: 480px;
  margin: 0 auto;
  justify-content: center;
}

.hero {
  margin-top: 8px;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 0 0, rgba(247, 37, 133, 0.9), rgba(9, 9, 19, 0.95));
  box-shadow:
    0 0 16px rgba(247, 37, 133, 0.9),
    0 0 36px rgba(0, 255, 171, 0.7);
  animation: badge-pulse 2.4s ease-in-out infinite;
}

.hero-title {
  font-size: 32px;
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(247, 37, 133, 0.9);
}

.hero-subtitle {
  font-size: 13px;
  opacity: 0.9;
}

.hero-date {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 10px;
}

.card {
  margin-top: 12px;
  padding: 18px 16px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(10, 245, 185, 0.08), rgba(5, 4, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  animation: card-rise 0.9s ease-out both;
}

@media (min-width: 480px) {
  .card {
    padding: 20px 20px 20px;
  }
}

.card-title {
  font-size: 19px;
  margin-bottom: 4px;
}

.card-text {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 14px;
}

.card-footnote {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.7;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

input[type='text'] {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 3, 10, 0.88);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.08s ease;
}

input[type='text']::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

input[type='text']:focus {
  border-color: rgba(255, 102, 196, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 102, 196, 0.5);
  background: rgba(12, 7, 28, 0.98);
  transform: translateY(-1px);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  display: none;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(5, 3, 10, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.checkbox-box::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ff66c4, #33ffcc);
  transform: scale(0);
  transition: transform 0.18s ease;
}

.checkbox input:checked + .checkbox-box {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(51, 255, 204, 0.6);
}

.checkbox input:checked + .checkbox-box::after {
  transform: scale(1);
}

.checkbox-label {
  opacity: 0.9;
}

.donation-info {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(51, 255, 204, 0.18), rgba(7, 6, 16, 0.95));
  border: 1px solid rgba(51, 255, 204, 0.4);
  font-size: 12px;
}

.donation-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.donation-text {
  opacity: 0.8;
  margin-bottom: 6px;
}

.donation-account {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
  margin-bottom: 8px;
}

.donation-account .label {
  opacity: 0.7;
}

.donation-account .value {
  font-family: 'SF Mono', ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.copy-btn {
  border-radius: 999px;
  border: none;
  padding: 6px 10px;
  background: rgba(5, 4, 12, 0.9);
  color: #e7fdf8;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
}

.copy-btn:hover {
  background: rgba(8, 7, 20, 0.95);
  box-shadow: 0 0 0 1px rgba(51, 255, 204, 0.4);
}

.copy-btn:active {
  transform: scale(0.97);
}

.copy-status {
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.8;
}

.submit-btn {
  margin-top: 8px;
  border-radius: 999px;
  width: 100%;
  border: none;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background-image: none;
  background: #f72585;
  color: #ffffff;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(255, 102, 196, 0.7);
  transition: transform 0.08s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.submit-btn:hover {
  filter: brightness(1.02);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(255, 102, 196, 0.8);
}

.submit-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(255, 102, 196, 0.7);
}

.form-status {
  min-height: 18px;
  font-size: 12px;
  margin-top: 8px;
}

.form-status.error {
  color: #ffb3c1;
}

.form-status.success {
  color: #b5ffe3;
}

.bottom-note {
  margin-top: 18px;
  padding-top: 18px;
  font-size: 11px;
  opacity: 0.85;
}

.accent {
  color: #ff9ee2;
}

.hidden {
  display: none;
}

@keyframes bg-move {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -10px, 0) scale(1.03);
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 0 12px rgba(247, 37, 133, 0.6),
      0 0 28px rgba(0, 255, 171, 0.6);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
      0 0 22px rgba(247, 37, 133, 1),
      0 0 40px rgba(0, 255, 171, 0.9);
  }
}

@keyframes title-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 640px) {
  .page {
    padding-top: 40px;
  }

  .hero-title {
    font-size: 34px;
  }
}

