body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #e7eef7;
  background-color: #071018;
  background-image: url("../images/background.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

.site-header,
.apps,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding-top: 36px;
}

.header-panel,
.card,
.status-card {
  background: rgba(16, 26, 40, 0.94);
  border: 1px solid #24364d;
  border-top: 3px solid #3b82f6;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.header-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.brand h1 {
  margin: 0;
  color: #f4f7fb;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand p {
  margin: 14px 0 0 0;
  max-width: 640px;
  color: #b7c5d6;
  font-size: 18px;
  line-height: 1.5;
}

.donate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid #314861;
  border-radius: 6px;
  background: #0d1724;
  color: #f4f7fb;
  font-weight: 600;
  text-decoration: none;
}

.donate-link img {
  width: 22px;
  height: 22px;
}

.donate-link:hover {
  border-color: #3b82f6;
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 28px 0 48px 0;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card h2 {
  margin: 0;
  color: #f4f7fb;
  font-size: 22px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: #b7c5d6;
  line-height: 1.6;
}

.pay-link {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
  border-radius: 6px;
}

.pay-link img {
  width: 40px;
  height: 40px;
}

.btn {
  display: block;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: #1d4ed8;
}

.btn:focus-visible,
.donate-link:focus-visible,
.pay-link:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.site-footer {
  padding-bottom: 36px;
}

.site-footer p {
  margin: 0;
  color: #8ea0b5;
  font-size: 14px;
}

.status {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.status-card {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 40px 30px;
  text-align: center;
}

.status-card h1 {
  margin: 0 0 12px 0;
  color: #93c5fd;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.status-card p {
  margin: 0;
  color: #b7c5d6;
  font-size: 18px;
  line-height: 1.6;
}

.status-card .btn {
  margin-top: 28px;
}

@media (max-width: 700px) {
  .header-panel {
    flex-direction: column;
    padding: 24px;
  }

  .brand h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}
