:root {
  --bg: #0b1324;
  --bg-soft: #111d35;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --text: #162033;
  --text-soft: #52607a;
  --primary: #1e4fa8;
  --primary-dark: #163d83;
  --accent: #d4b26a;
  --border: #dce4f0;
  --success: #1d7f4e;
  --danger: #b42318;
  --shadow: 0 16px 40px rgba(13, 28, 56, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3fb 0%, #f7f9fc 100%);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 19, 36, 0.88);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b1324;
  background: linear-gradient(135deg, #f2dca2 0%, #d4b26a 100%);
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(212, 178, 106, 0.24), transparent 24%),
    radial-gradient(circle at left center, rgba(30, 79, 168, 0.22), transparent 18%),
    linear-gradient(180deg, #0b1324 0%, #11203d 100%);
  color: #fff;
  padding: 68px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #d7e3ff;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0 0 24px;
  max-width: 720px;
  color: #d8e2f5;
  font-size: 18px;
  line-height: 1.7;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-point {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}

.hero-card {
  display: grid;
  gap: 14px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 20px;
}

.stat-label {
  font-size: 13px;
  color: #d6def2;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.content-section {
  padding: 36px 0 56px;
}

.content-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.panel-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 22px;
  margin-bottom: 18px;
}

.panel-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.panel-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.75;
}

.panel-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.donate-card .wallet-box + .wallet-box {
  margin-top: 16px;
}

.wallet-box {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.wallet-label {
  font-weight: 700;
  margin-bottom: 8px;
}

.wallet-address {
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.mini-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.form-card {
  padding: 28px;
}

.card-header h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.card-header p {
  margin: 0 0 22px;
  color: var(--text-soft);
  line-height: 1.7;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  transition: 0.2s ease;
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 79, 168, 0.12);
}

.field-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-soft);
}

.field-error {
  margin-top: 8px;
  font-size: 13px;
  color: var(--danger);
  min-height: 18px;
}

.phone-control {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
}

.phone-prefix {
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f3f7fd;
  font-weight: 700;
  color: var(--primary-dark);
}

.identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.identity-status {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14px;
}

.identity-pending {
  background: #fff7e6;
  color: #8a5b00;
  border: 1px solid #f4d58a;
}

.identity-success {
  background: #edfdf3;
  color: var(--success);
  border: 1px solid #b7ebc8;
}

.identity-failed {
  background: #fff0f0;
  color: var(--danger);
  border: 1px solid #f1b5b5;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-soft);
  line-height: 1.6;
}

.checkbox-row input {
  margin-top: 4px;
}

.alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.alert-info {
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  color: #19407f;
}

.alert-success {
  background: #edfdf3;
  border: 1px solid #b7ebc8;
  color: var(--success);
}

.alert-error {
  background: #fff1f1;
  border: 1px solid #f0b8b8;
  color: var(--danger);
}

.hidden {
  display: none;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  padding: 14px 18px;
  transition: 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(30, 79, 168, 0.22);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}

.btn-outline {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.btn-wallet {
  background: #0f1c32;
  color: #fff;
  width: 100%;
}

.btn-submit {
  width: 100%;
  height: 56px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  background: #0b1324;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    order: 2;
  }

  .form-panel {
    order: 1;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  .form-card {
    padding: 20px;
  }

  .phone-control {
    grid-template-columns: 94px 1fr;
  }

  .identity-actions {
    flex-direction: column;
  }
}
