.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,8,0.82); backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--brd);
}
.header__nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; cursor: pointer; letter-spacing: -0.4px; }
.header__logo-icon { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--ac), var(--ac2)); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: var(--bg); }
.header__logo-tld { color: var(--ac); }
.header__links { display: flex; align-items: center; gap: 4px; }
.header__link { padding: 7px 14px; border-radius: var(--r-f); font-size: 13.5px; font-weight: 500; color: var(--t2); background: none; border: none; cursor: pointer; transition: var(--tr); display: flex; align-items: center; gap: 4px; text-decoration: none; font-family: var(--font); }
.header__link:hover, .header__link--active { color: var(--t1); background: var(--card); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__net { display: flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: var(--r-f); font-size: 11.5px; font-weight: 600; background: var(--ac-d); color: var(--ac); border: 1px solid rgba(0,229,160,0.12); }
.header__net-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.header__net--wrong { background: rgba(255,68,102,0.06); color: var(--red); border-color: rgba(255,68,102,0.12); cursor: pointer; }
.header__net--wrong .header__net-dot { background: var(--red); }
.header__wallet { display: flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-f); font-weight: 600; font-size: 13px; border: 1px solid var(--brd); background: var(--card); color: var(--t1); cursor: pointer; transition: var(--tr); font-family: var(--font); }
.header__wallet:hover { border-color: var(--ac); }
.header__wallet-dot { width: 7px; height: 7px; border-radius: 50%; }
.header__wallet-dot--on { background: var(--ac); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-card { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-xl); padding: 30px; max-width: 400px; width: 90%; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } }
/* HERO */
.hero { padding: 90px 0 70px; text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px 5px 7px; border-radius: var(--r-f); background: var(--ac-d); border: 1px solid rgba(0,229,160,0.12); font-size: 12.5px; font-weight: 500; color: var(--ac); margin-bottom: 26px; }
.hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); animation: pulse 2s ease infinite; }
.hero__title { font-size: clamp(38px, 7vw, 72px); font-weight: 800; line-height: 1.06; letter-spacing: -2px; margin-bottom: 18px; }
.hero__title-accent { background: linear-gradient(135deg, var(--ac), var(--ac2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subtitle { font-size: 17px; color: var(--t2); max-width: 500px; margin: 0 auto 44px; line-height: 1.7; font-weight: 300; }

/* SEARCH */
.search { max-width: 580px; margin: 0 auto; }
.search__wrap { display: flex; align-items: center; background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-lg); padding: 5px; transition: var(--tr); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.search__wrap:focus-within { border-color: var(--ac); box-shadow: 0 0 0 4px var(--ac-d), 0 4px 24px rgba(0,0,0,0.3); }
.search__icon { padding: 11px 3px 11px 14px; color: var(--t3); flex-shrink: 0; display: flex; }
.search__input { flex: 1; background: none; border: none; outline: none; color: var(--t1); font-size: 16px; padding: 11px; font-weight: 500; font-family: var(--font); letter-spacing: -0.2px; }
.search__input::placeholder { color: var(--t3); }
.search__tld { color: var(--ac); font-weight: 600; font-size: 16px; padding-right: 7px; flex-shrink: 0; }
.search__btn { flex-shrink: 0; padding: 11px 22px; border-radius: var(--r-md); background: var(--ac); color: var(--bg); font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: var(--tr); font-family: var(--font); }
.search__btn:hover { opacity: 0.9; }
.search__btn:disabled { opacity: 0.35; }

/* SEARCH RESULT */
.sr { max-width: 580px; margin: 18px auto 0; }
.sr__card { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-lg); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sr__info { display: flex; align-items: center; gap: 12px; }
.sr__dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.sr__dot--avail { background: var(--ac); box-shadow: 0 0 10px var(--ac); }
.sr__dot--taken { background: var(--red); box-shadow: 0 0 10px rgba(255,68,102,0.35); }
.sr__dot--owned { background: var(--ac2); box-shadow: 0 0 10px rgba(0,184,255,0.35); }
.sr__name { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.sr__name span { color: var(--ac); }
.sr__label { font-size: 12.5px; color: var(--t2); margin-top: 1px; }
.sr__actions { display: flex; align-items: center; gap: 10px; }
.sr__price { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ac); flex-shrink: 0; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--brd); border-radius: var(--r-lg); overflow: hidden; margin: 70px auto 0; max-width: 760px; }
.stats__item { background: var(--card); padding: 26px 22px; text-align: center; }
.stats__value { font-size: 30px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg, var(--ac), var(--ac2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stats__label { font-size: 12.5px; color: var(--t2); margin-top: 3px; font-weight: 500; }

/* SECTIONS */
.section { padding: 80px 0; }
.section__header { text-align: center; margin-bottom: 50px; }
.section__tag { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--ac); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section__title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.8px; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.feature-card { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-lg); padding: 30px; transition: var(--tr); }
.feature-card:hover { border-color: rgba(0,229,160,0.18); transform: translateY(-2px); }
.feature-card__icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--ac-d); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.feature-card__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.2px; }
.feature-card__desc { font-size: 13.5px; color: var(--t2); line-height: 1.7; }

/* PRICING */
.pricing-table { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-lg); overflow: hidden; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px; border-bottom: 1px solid var(--brd); transition: var(--tr); }
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--card-h); }
.pricing-row__label { font-weight: 600; font-size: 14.5px; }
.pricing-row__chars { color: var(--t3); font-size: 12.5px; }
.pricing-row__price { font-weight: 600; color: var(--ac); font-size: 14.5px; }

@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.reg-page { padding: 36px 0 70px; }
.reg-card { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r-xl); padding: 36px; }
.reg-card__domain { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 28px; }
.reg-steps { display: flex; gap: 7px; margin-bottom: 28px; }
.reg-step { flex: 1; height: 3.5px; border-radius: 2px; background: var(--brd); transition: var(--tr); }
.reg-step--active { background: var(--ac); }
.reg-step--done { background: var(--ac); opacity: 0.4; }

.dur-grid { display: flex; gap: 7px; flex-wrap: wrap; }
.dur-opt { flex: 1; min-width: 75px; padding: 11px; border-radius: var(--r-md); background: var(--input); border: 1px solid var(--brd); text-align: center; cursor: pointer; transition: var(--tr); }
.dur-opt:hover { border-color: rgba(0,229,160,0.25); }
.dur-opt--sel { border-color: var(--ac); background: var(--ac-d); }
.dur-opt__yr { font-weight: 700; font-size: 17px; }
.dur-opt__lbl { font-size: 10.5px; color: var(--t2); text-transform: uppercase; }

.price-sum { background: var(--input); border-radius: var(--r-md); padding: 18px; margin: 22px 0; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 13.5px; }
.price-row--total { border-top: 1px solid var(--brd); padding-top: 10px; margin-top: 6px; font-weight: 700; font-size: 15px; }
.price-val { font-family: var(--mono); color: var(--ac); font-weight: 600; }

.tx-center { text-align: center; padding: 18px 0; }
.tx-title { font-weight: 700; font-size: 17px; margin-top: 18px; }
.tx-desc { font-size: 13.5px; color: var(--t2); margin-top: 7px; }
.tx-hash { display: block; font-size: 11.5px; color: var(--t3); word-break: break-all; margin-top: 10px; }
.tx-success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ac-d); display: flex; align-items: center; justify-content: center; font-size: 34px; margin: 0 auto 18px; border: 2px solid var(--ac); }
/* ============================================================
   ETHW.domains — Global Styles
   ============================================================ */

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

:root {
  --bg: #050508;
  --bg2: #0c0c12;
  --card: #111118;
  --card-h: #16161f;
  --input: #0e0e15;
  --brd: #1e1e2a;
  --brd-f: #00E5A0;
  --t1: #f0f0f5;
  --t2: #8888a0;
  --t3: #555568;
  --ac: #00E5A0;
  --ac2: #00B8FF;
  --ac-d: rgba(0,229,160,0.08);
  --ac-g: rgba(0,229,160,0.25);
  --red: #FF4466;
  --warn: #FFB020;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-f: 9999px;
  --font: 'Outfit', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --tr: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ac); text-decoration: none; }
a:hover { opacity: 0.85; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: var(--font); }
::selection { background: var(--ac); color: var(--bg); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brd); border-radius: 3px; }

/* Background effects */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,229,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-orb {
  position: fixed; width: 800px; height: 800px; border-radius: 50%;
  filter: blur(180px); pointer-events: none; z-index: 0;
}
.bg-orb--1 { top: -400px; right: -200px; background: var(--ac); opacity: 0.12; }
.bg-orb--2 { bottom: -400px; left: -200px; background: var(--ac2); opacity: 0.06; }

.app-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 680px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--r-f); font-weight: 600;
  font-size: 13.5px; border: none; cursor: pointer; transition: var(--tr);
  white-space: nowrap; font-family: var(--font);
}
.btn--primary { background: var(--ac); color: var(--bg); box-shadow: 0 0 20px var(--ac-d); }
.btn--primary:hover { box-shadow: 0 0 30px var(--ac-g); transform: translateY(-1px); }
.btn--secondary { background: var(--card); color: var(--t1); border: 1px solid var(--brd); }
.btn--secondary:hover { border-color: var(--ac); background: var(--card-h); }
.btn--ghost { background: transparent; color: var(--t2); }
.btn--ghost:hover { color: var(--t1); background: var(--card); }
.btn--danger { background: var(--red); color: white; }
.btn--lg { padding: 13px 26px; font-size: 15px; }
.btn--sm { padding: 5px 12px; font-size: 12.5px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.35; pointer-events: none; }

/* ===== FORM FIELDS ===== */
.field { margin-bottom: 18px; }
.field__label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 600; color: var(--t2);
  margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.4px;
}
.field__input {
  width: 100%; padding: 13px 15px; background: var(--input);
  border: 1px solid var(--brd); border-radius: var(--r-md);
  color: var(--t1); font-size: 14.5px; transition: var(--tr);
}
.field__input:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 4px var(--ac-d); }
.field__hint { font-size: 11.5px; color: var(--t3); margin-top: 5px; }

/* ===== CARD ===== */
.card {
  background: var(--card); border: 1px solid var(--brd);
  border-radius: var(--r-lg); padding: 28px; transition: var(--tr);
}
.card:hover { border-color: rgba(0,229,160,0.18); }

/* ===== TAGS ===== */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: var(--r-f);
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
}
.tag--available { background: rgba(0,229,160,0.08); color: var(--ac); }
.tag--expiring { background: rgba(255,68,102,0.08); color: var(--red); }
.tag--premium { background: rgba(255,176,32,0.08); color: var(--warn); }

/* ===== SPINNER ===== */
.spinner {
  width: 60px; height: 60px; border: 3px solid var(--brd);
  border-top-color: var(--ac); border-radius: 50%;
  animation: spin 1s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ANIMATIONS ===== */
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.animate-slide-up { animation: slideUp 0.3s ease; }
.animate-fade-in { animation: fadeIn 0.2s ease; }

/* ===== UTILITY ===== */
.mono { font-family: var(--mono); }
.text-accent { color: var(--ac); }
.text-muted { color: var(--t3); }
.text-center { text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
