:root {
  --bg-1: #e8edf2;
  --bg-2: #dbe2ea;
  --panel: #edf3f8;
  --field: #f8fafc;
  --field-2: #f3f7fb;
  --border: rgba(118, 136, 157, 0.6);
  --text: #1d2d3e;
  --muted: #697f95;
  --primary: #0f62ff;
  --primary-2: #0a5fe4;
  --primary-3: #0a52d4;
  --title: #0c2d4d;
  --button-1: #0d8bff;
  --button-2: #0c77f3;
  --shadow: rgba(18, 39, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--text);
}

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 18px;
  overflow-y: auto;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.82) contrast(1.08) saturate(0.9);
}

.page-shell {
  position: relative;
  z-index: 1;
}

.page-shell {
  width: 100%;
  max-width: 980px;
  min-height: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card {
  width: 100%;
  background: rgba(247, 249, 251, 0.97);
  border: 1px solid rgba(9, 81, 173, 0.85);
  box-shadow: 0 18px 36px rgba(10, 24, 44, 0.18);
  overflow: hidden;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.brand-wrap {
  padding: 18px 24px 8px;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(100%, 620px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(9, 41, 103, 0.08));
  margin: 0 auto;
}

.page-title {
  margin: 0;
  padding: 20px 18px 16px;
  border-top: 1px solid rgba(128, 146, 164, 0.56);
  border-bottom: 1px solid rgba(128, 146, 164, 0.56);
  background: rgba(244, 246, 249, 0.7);
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transfer-form {
  background: rgba(246, 248, 250, 0.48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 0 0;
  flex: 1;
  min-height: 280px;
}

.input-row {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  min-height: 68px;
}

.input-row input {
  width: 100%;
  border: 1px solid rgba(118, 136, 157, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px 18px;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  box-shadow: inset 0 1px 2px rgba(9, 27, 47, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-row input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 98, 255, 0.12);
}

.input-row input::placeholder {
  color: #5c7189;
  font-weight: 400;
}

.verify-box {
  width: 60%;
  max-width: 470px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: #f3f6f9;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 12px auto 0;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  text-align: left;
  font: inherit;
  color: inherit;
}

.verify-box:hover {
  border-color: rgba(36, 118, 255, 0.5);
  background: rgba(250, 252, 255, 0.96);
}

.verify-box:focus-visible {
  outline: 3px solid rgba(15, 98, 255, 0.18);
  outline-offset: 2px;
}

.verify-box.is-verified {
  background: rgba(233, 247, 238, 0.96);
  border-color: rgba(42, 158, 94, 0.7);
}

.verify-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344b66;
  font-size: 0.66rem;
  min-height: 24px;
}

.checkbox {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid #7c8ea3;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.verify-box.is-verified .checkbox {
  background: linear-gradient(180deg, #2dc56d, #1fa75c);
  border-color: #1d9c5d;
  box-shadow: 0 0 0 2px rgba(45, 197, 109, 0.18);
}

.verify-box.is-verified .checkbox::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.verify-label {
  font-size: 0.66rem;
  font-weight: 500;
}

.verify-box.is-verified .verify-label {
  color: #1d5a39;
  font-weight: 700;
}

.cloudflare-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  color: #ea7b00;
  font-weight: 800;
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.cloudflare-mark small {
  display: block;
  color: #7a8ca0;
  font-size: 0.36rem;
  letter-spacing: 0;
  margin-top: 1px;
}

.cloudflare-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb44b, #ff7f00 70%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  margin-bottom: 2px;
  box-shadow: 0 3px 8px rgba(245, 128, 0, 0.25);
}

.bottom-bar {
  width: 100%;
  display: block;
  background: linear-gradient(180deg, #0d8cff 0%, #0b7af4 100%);
  color: white;
  text-align: center;
  padding: 18px 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  margin-top: auto;
  border: none;
  cursor: pointer;
}

@media (max-width: 480px) {
  body {
    padding: 8px;
  }

  .report-link {
    font-size: 15px;
  }

  .verify-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cloudflare-mark {
    align-self: flex-end;
  }

  .input-row input {
    font-size: 1.06rem;
  }
}
