:root {
  color-scheme: dark;
  --bg-start: #0b0f14;
  --bg-end: #070a0f;
  --surface: #2b3138;
  --surface-top: #343a42;
  --surface-border: rgba(255, 255, 255, 0.07);
  --surface-input: #3a4047;
  --text-primary: #ffffff;
  --text-secondary: #bfc6ce;
  --text-muted: #8f98a3;
  --text-placeholder: #9aa4ae;
  --accent-yellow: #f5b400;
  --accent-yellow-hover: #ffcc33;
  --accent-green: #28c76f;
  --badge-green: #183e29;
  --badge-green-text: #cff7dd;
  --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 32px 90px rgba(0, 0, 0, 0.32);
  --radius-sm: 6px;
  --radius-md: 8px;
  --page-width: 1200px;
  --page-padding: 48px;
  --font-ui: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 14%, rgba(245, 180, 0, 0.16), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page-wrapper {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.page-container {
  width: min(var(--page-width), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.left-column {
  flex: 1 1 60%;
  max-width: 680px;
}

.sale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  background: var(--accent-yellow);
  color: #111111;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(245, 180, 0, 0.2);
}

.domain-title {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-size: clamp(56px, 7vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.price-prefix {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-green);
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(40, 199, 111, 0.24);
}

.domain-description {
  max-width: 540px;
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.feature-row {
  display: flex;
  gap: 28px;
  margin-bottom: 18px;
}

.feature-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #c9d0d8;
  font-size: 15px;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-primary);
}

.other-domain-link {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.other-domain-link:hover,
.other-domain-link:focus-visible {
  color: var(--accent-yellow);
}

.feature-item-accent strong {
  color: var(--accent-yellow);
}

.feature-label {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.uptime-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--badge-green);
  color: var(--badge-green-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.form-card {
  width: min(100%, 400px);
  flex: 0 0 400px;
  padding: 36px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface-top) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-strong), var(--shadow-soft);
}

.form-title {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.form-subtitle {
  margin: 0 0 22px;
  color: var(--text-placeholder);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.form-shell {
  display: grid;
  gap: 14px;
}

.field-group {
  position: relative;
  display: block;
}

.field-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-placeholder);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.field-icon-text {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--surface-input);
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--text-placeholder);
}

.form-input:focus {
  outline: none;
  border-color: rgba(245, 180, 0, 0.7);
  background: #40464e;
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.12);
}

.submit-button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-yellow);
  color: #111111;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
  background: var(--accent-yellow-hover);
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.82;
}

.status {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.status[data-tone="success"] {
  color: var(--accent-green);
}

.status[data-tone="error"] {
  color: #ff8c8c;
}

.form-note {
  margin: 18px 0 0;
  color: var(--text-placeholder);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.form-note a {
  color: var(--text-primary);
  text-decoration: none;
}

.form-note a:hover {
  color: var(--accent-yellow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.page-wrapper-not-found {
  padding-inline: 24px;
}

.not-found-card {
  width: min(680px, 100%);
  padding: 40px 32px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(52, 58, 66, 0.92), rgba(43, 49, 56, 0.92));
  box-shadow: var(--shadow-strong);
}

.sale-badge-muted {
  font-size: 20px;
}

.not-found-title {
  font-size: clamp(40px, 7vw, 64px);
}

.not-found-description {
  max-width: none;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  :root {
    --page-padding: 24px;
  }

  .page-wrapper {
    padding: 24px;
    align-items: flex-start;
  }

  .page-container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .left-column,
  .form-card {
    max-width: none;
    width: 100%;
    flex-basis: auto;
  }

  .domain-title {
    font-size: clamp(40px, 12vw, 46px);
  }

  .feature-row {
    flex-direction: column;
    gap: 14px;
  }

  .form-card {
    padding: 24px;
  }

  .form-title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .sale-badge {
    margin-bottom: 18px;
    padding: 10px 18px;
    font-size: 22px;
  }

  .price-line {
    gap: 10px;
  }

  .price-prefix,
  .price-badge {
    font-size: 20px;
  }

  .domain-description {
    font-size: 16px;
  }

  .feature-label {
    font-size: 12px;
  }

  .feature-item,
  .feature-item strong {
    font-size: 14px;
  }

  .form-input {
    height: 46px;
    font-size: 15px;
  }

  .field-icon {
    width: 16px;
    height: 16px;
  }

  .submit-button {
    height: 50px;
    font-size: 16px;
  }

  .not-found-card {
    padding: 28px 22px;
  }
}
