/* empire.ly — umbrella hub theme
   Premium, editorial, image-rich. No framework, no build step.

   Design language: clean light editorial canvas — warm white background,
   near-black ink, single rose accent, Inter typographic system
   (inspired by recent.design). Arabic runs stay right-to-left via dir="auto". */

:root {
  --ink: #0f0f0f;
  --ink-2: #5c5751;
  --navy: #0f0f0f;
  --navy-2: #f6f6f7;
  --gold: #d4af37;
  --gold-2: #f4e19a;
  --gold-3: #e8cd77;
  --gold-wash: #f8f4e4;
  --cream: #faf8f4;
  --paper: #ffffff;
  --surface-2: #f6f6f7;
  --muted: #6f6a62;
  --muted-2: #8d887e;
  --line: #e8e5dd;
  --accent: #d81b60;
  --accent-2: #f472b6;
  --accent-wash: #fdf2f6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.05);
  --shadow-md: 0 18px 44px -22px rgba(15, 15, 15, 0.16);
  --shadow-lg: 0 40px 90px -40px rgba(15, 15, 15, 0.22);
  --max: 1200px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --arabic: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-text: "Cairo", "Inter", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(1200px 640px at 50% -200px, rgba(216, 27, 96, 0.05), transparent 70%);
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.btn-primary:hover { background: #000000; }
.btn-gold {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border: 0;
  color: #ffffff;
  box-shadow: 0 14px 30px -14px rgba(216, 27, 96, 0.9);
}
.btn-gold:hover { background: linear-gradient(135deg, #f472b6, #be185d); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); border-color: #d8d4cc; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.site-nav a, .nav-drop-btn {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
  font-family: inherit;
}
.site-nav a:hover, .nav-drop-btn:hover { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop-btn {
  background: transparent;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-caret { font-size: 0.7em; transition: transform 0.2s ease; }
.nav-drop.is-open .nav-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 180px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  display: none;
  z-index: 60;
}
.nav-drop.is-open .nav-drop-menu { display: grid; gap: 2px; }
.nav-drop-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.86rem;
}
.nav-drop-menu a:hover { background: var(--surface-2); color: var(--accent); }
.lang-switch { display: inline-flex; gap: 4px; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.lang-btn.is-active { background: var(--ink); color: #fff; }
.nav-cta {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: #000000; color: #ffffff; }

/* Hero — Magic UI aurora + glass -------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 50% -240px, rgba(216, 27, 96, 0.09), transparent 70%),
    var(--cream);
}
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; display: block; border-radius: 50%; filter: blur(90px); }
.aurora-1 { width: min(60vw, 620px); height: min(60vw, 620px); top: -200px; inset-inline-start: -140px; background: radial-gradient(circle at center, rgba(216, 27, 96, 0.34), rgba(216, 27, 96, 0) 68%); animation: aurora-drift-1 19s ease-in-out infinite alternate; }
.aurora-2 { width: min(68vw, 700px); height: min(68vw, 700px); top: -80px; inset-inline-end: -200px; background: radial-gradient(circle at center, rgba(79, 70, 229, 0.26), rgba(79, 70, 229, 0) 68%); animation: aurora-drift-2 24s ease-in-out infinite alternate; }
.aurora-3 { width: min(56vw, 560px); height: min(56vw, 560px); bottom: -280px; inset-inline-start: 6%; background: radial-gradient(circle at center, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0) 68%); animation: aurora-drift-1 30s ease-in-out infinite alternate-reverse; }
@keyframes aurora-drift-1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(48px, 36px, 0) scale(1.12); } }
@keyframes aurora-drift-2 { from { transform: translate3d(0, 0, 0) scale(1.06); } to { transform: translate3d(-52px, 42px, 0) scale(0.96); } }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--cream));
}
.hero-wrap {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 20px 110px;
}
.hero-copy { position: relative; z-index: 3; width: 100%; max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(216, 27, 96, 0.85); }
.hero-sub {
  margin: 26px auto 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-2);
  font-family: var(--font-text);
}
.hero-cta { margin-top: 36px; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 40px -18px rgba(15, 15, 15, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: 180% 0;
  animation: btn-shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 22px 52px -18px rgba(15, 15, 15, 0.55), 0 0 34px -8px rgba(216, 27, 96, 0.55); }
.btn-pill:hover::after { animation-play-state: paused; }
@keyframes btn-shimmer { 0% { background-position: 180% 0; } 60%, 100% { background-position: -130% 0; } }
.hero-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(15, 15, 15, 0.3);
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.hero-link:hover { color: var(--ink); border-color: var(--ink); }

/* Hero display type + featured domain chips ---------------------------------- */
.hero-title {
  margin: 26px 0 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.hero-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.hero-name-chip {
  --chip-c: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.hero-name-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--chip-c); box-shadow: 0 0 10px var(--chip-c); flex: none; }
.hero-name-chip:hover { transform: translateY(-2px); border-color: rgba(216, 27, 96, 0.55); color: var(--accent); box-shadow: 0 16px 34px -16px rgba(216, 27, 96, 0.55); }


/* Lede paragraph (shared with the For Sale panel) -------------------------- */
.lede {
  margin: 22px 0 0;
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 58ch;
  font-family: var(--font-text);
}
.lede a, .band-text a, .section-sub a { color: var(--accent); }

/* Stats strip -------------------------------------------------------------- */
.stats { padding: 8px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-value {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Marquee trust bar ------------------------------------------------------- */
.trustbar {
  background: var(--surface-2);
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  padding: 16px 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.trustbar-inner span { display: inline-flex; align-items: center; gap: 9px; }
.trustbar-inner span::before {
  content: "◆";
  color: var(--accent);
  font-size: 0.7rem;
}

/* Controls ---------------------------------------------------------------- */
.controls {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.controls-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search {
  flex: 1 1 280px;
  min-width: 200px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
}
.search::placeholder { color: var(--muted-2); }
.search:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.result-note { font-size: 0.78rem; color: var(--muted); margin-left: auto; }
.lang-toggle { display: inline-flex; gap: 8px; align-items: center; }
.show-more-wrap { margin-top: 18px; display: flex; justify-content: center; }
.show-more { min-width: 160px; }

/* Sections ---------------------------------------------------------------- */
.section-block { padding: 64px 0 8px; scroll-margin-top: 90px; }
.section-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.section-rule {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.section-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-head .count {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-wash);
  border: 1px solid rgba(216, 27, 96, 0.25);
  border-radius: 999px;
  padding: 3px 11px;
}
.section-sub { margin: 8px 0 26px; color: var(--muted); font-size: 0.94rem; font-family: var(--font-text); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

/* Cards ------------------------------------------------------------------- */
.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.8)) padding-box,
              linear-gradient(135deg, rgba(216, 27, 96, 0.5), rgba(124, 58, 237, 0.32)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 34px 70px -36px rgba(216, 27, 96, 0.55); }

/* Glass homepage preview inside domain cards (Magic UI style) */
.card-preview {
  position: relative;
  margin: -20px -20px 4px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #eceae4, #ddd9cd);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.card-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s ease, filter 0.4s ease;
}
.card:hover .card-shot { transform: scale(1.03); }
.preview-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(15,15,15,0) 35%, rgba(15,15,15,0.18) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}
.preview-glow {
  position: absolute;
  top: -30%;
  inset-inline-end: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(216, 27, 96, 0.35), rgba(216, 27, 96, 0) 68%);
  filter: blur(20px);
}
.preview-cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(155deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.5);
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-preview.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(216,27,96,0.18), transparent 55%),
    radial-gradient(120% 90% at 80% 100%, rgba(124,58,237,0.16), transparent 55%),
    linear-gradient(135deg, #f3f0ea, #e7e3d9);
}
.card-preview.is-fallback .preview-glass { background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0)); }
.card-preview.is-fallback .preview-cap { color: var(--ink); background: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.8); }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mark-tc, #0f0f0f);
  background: linear-gradient(135deg, var(--mark-c1, var(--accent-2)), var(--mark-c2, var(--accent)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 20px -10px rgba(15, 15, 15, 0.2);
}
.card-mark svg { width: 24px; height: 24px; }
.card-name { margin: 0; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; word-break: break-all; color: var(--ink); }
.card-name a.card-link { color: inherit; text-decoration: none; }
.card-name a.card-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.card-excerpt {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  min-height: 2.6em;
  font-family: var(--font-text);
}
.card-excerpt + .card-excerpt { min-height: 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.card-go { font-size: 0.76rem; font-weight: 800; color: var(--accent); }
.sale-badge {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
}

/* Editorial image bands --------------------------------------------------- */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin: 54px 0 12px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.band--flip .band-media { order: 2; }
.band-media {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, #eceae4, #e3e0d6);
}
.band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.7s ease;
}
.band:hover .band-media img { transform: scale(1.05); }
.band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 15, 15, 0.1), rgba(15, 15, 15, 0.02));
}
.band--flip .band-media::after {
  background: linear-gradient(240deg, rgba(15, 15, 15, 0.1), rgba(15, 15, 15, 0.02));
}
.band-body {
  padding: 52px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.band-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.band-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.band-text { margin: 0; color: var(--ink-2); font-size: 0.96rem; max-width: 46ch; font-family: var(--font-text); }
.band .btn-gold { align-self: flex-start; margin-top: 6px; }

/* For sale ---------------------------------------------------------------- */
.forsale {
  background: linear-gradient(160deg, #ffffff, #f6f6f7);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 44px;
  margin: 64px 0 0;
  box-shadow: var(--shadow-md);
}
.forsale h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); }
.forsale p.lede { margin: 0 0 26px; color: var(--muted); font-size: 0.95rem; max-width: 72ch; }
.forsale .card { background: linear-gradient(180deg, rgba(246, 246, 247, 0.92), rgba(246, 246, 247, 0.86)) padding-box, linear-gradient(135deg, rgba(216, 27, 96, 0.5), rgba(124, 58, 237, 0.32)) border-box; border: 1px solid transparent; }

/* For Sale — colourful circles (mirrors the hero circle system) ------------ */
.circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.domain-circle {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12%;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.78rem, 1.5vw, 1.02rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--mark-tc, #0f0f0f);
  background: linear-gradient(135deg, var(--mark-c1, var(--accent-2)), var(--mark-c2, var(--accent)));
  box-shadow: 0 24px 50px -22px rgba(15, 15, 15, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.domain-circle:hover, .domain-circle:focus-visible {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 34px 70px -24px rgba(15, 15, 15, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.domain-circle small {
  display: block;
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.panel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Gallery ----------------------------------------------------------------- */
.gallery-section { padding: 78px 0 10px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #eceae4, #ddd9cd);
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(15, 15, 15, 0.55));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* About ------------------------------------------------------------------- */
.about { padding: 70px 0 10px; }
.about .card { cursor: default; background: var(--paper); border: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.about .card:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Articles — Magic UI glass over imagery ----------------------------------- */
.articles { padding: 84px 0 6px; scroll-margin-top: 90px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; margin-top: 26px; }
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)) padding-box,
              linear-gradient(160deg, rgba(216, 27, 96, 0.45), rgba(124, 58, 237, 0.3)) border-box;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 40px 80px -40px rgba(216, 27, 96, 0.55); }
.article-card.is-highlight { box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.35), 0 40px 80px -40px rgba(216, 27, 96, 0.55); }
.article-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #eceae4, #ddd9cd); }
.article-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.article-card:hover .article-media img { transform: scale(1.06); }
.glass-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(15, 15, 15, 0) 30%, rgba(15, 15, 15, 0.3) 55%, rgba(15, 15, 15, 0.6) 100%); }
.glass-glow { position: absolute; top: -40%; inset-inline-end: -12%; width: 72%; aspect-ratio: 1; background: radial-gradient(circle, rgba(216, 27, 96, 0.5), rgba(216, 27, 96, 0) 68%); filter: blur(28px); pointer-events: none; }
.glass-panel { position: relative; z-index: 2; margin: 14px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(155deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)); border: 1px solid rgba(255, 255, 255, 0.42); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.55), 0 0 46px -8px rgba(216, 27, 96, 0.38); }
.glass-panel::before { content: ""; position: absolute; top: -1px; inset-inline: 14px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent); }
.glass-kicker { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.glass-title { margin: 8px 0 0; font-family: var(--sans); font-weight: 700; font-size: clamp(1.02rem, 1.6vw, 1.28rem); line-height: 1.25; letter-spacing: -0.015em; color: #ffffff; }
.glass-excerpt { margin: 8px 0 0; font-size: 0.8rem; line-height: 1.55; color: rgba(255, 255, 255, 0.88); font-family: var(--font-text); }
.article-body { padding: 4px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.article-p { margin: 0; font-size: 0.86rem; color: var(--ink-2); font-family: var(--font-text); line-height: 1.7; }
.article-foot { display: flex; align-items: center; gap: 8px; padding: 0 20px 16px; }
.article-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.article-card.is-ar { direction: rtl; text-align: right; }
.article-card.is-ar .glass-kicker,
.article-card.is-ar .glass-title,
.article-card.is-ar .glass-excerpt,
.article-card.is-ar .article-p {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  text-align: right;
}

.glass-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.35), rgba(15, 15, 15, 0.55));
}
.glass-fallback-mark { font-size: 30px; color: rgba(255, 255, 255, 0.9); display: block; text-align: center; line-height: 1; }
.glass-fallback-cap { margin-top: 10px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); text-align: center; display: block; }

/* Empty state ------------------------------------------------------------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .mark { font-size: 2rem; color: var(--accent); }
.empty p { margin: 8px 0 0; }

/* Call-to-action band ----------------------------------------------------- */
.cta-band {
  margin: 74px 0 0;
  border-radius: 26px;
  padding: 54px;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(160deg, #ffffff, #f6f6f7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ink); }
.cta-band p { margin: 0 auto 24px; color: var(--muted); max-width: 60ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  margin-top: 84px;
  background: #faf9f6;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 60px 0 34px;
  font-size: 0.86rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: var(--ink); margin: 0 0 14px; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { height: 44px; width: auto; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

/* Modal ------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 15, 15, 0.45);
  backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: pop 0.22s ease;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #ffffff;
  margin-bottom: 14px;
}
.modal-icon svg { width: 28px; height: 28px; }
.modal h3 { margin: 0 0 6px; word-break: break-all; font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; font-size: 1.5rem; color: var(--ink); }
.modal .modal-sub { color: var(--muted); font-size: 0.84rem; margin: 0 0 16px; }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.modal .modal-excerpt { font-size: 0.98rem; color: var(--ink-2); margin: 0 0 24px; font-family: var(--font-text); }
.modal .modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Accessibility ----------------------------------------------------------- */
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 14px; top: 14px; background: #ffffff; color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 100; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* RTL / lang ---------------------------------------------------------------- */
body.lang-ar { font-family: "Cairo", var(--font-text); }
body.lang-ar .hero-title,
body.lang-ar .section-head h2,
body.lang-ar .card-name,
body.lang-ar .modal h3,
body.lang-ar .cta-band h2,
body.lang-ar .forsale h2 { font-family: "Cairo", var(--font-display); }
body.lang-ar .section-sub,
body.lang-ar .card-excerpt,
body.lang-ar .hero-sub { text-align: start; }
.show-more-wrap { margin-top: 18px; display: flex; justify-content: center; }
.nav-drop-menu { text-align: start; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .band { grid-template-columns: 1fr; }
  .band--flip .band-media { order: 0; }
  .band-media { min-height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-wrap {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: 140px 0 90px;
    gap: 26px;
  }
  .hero-copy { order: 1; width: 100%; padding: 0 20px; }
}
@media (max-width: 640px) {
  .site-nav > a:not(.nav-cta) { display: none; }
  .site-nav { gap: 10px; }
  .lang-btn { padding: 5px 8px; font-size: 0.68rem; }
  .nav-cta { padding: 8px 12px; font-size: 0.78rem; }
  .controls { position: static; }
  .band-body { padding: 34px 26px; }
  .forsale { padding: 30px 22px; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .result-note { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3.1rem); letter-spacing: -0.03em; }
  .hero-sub { font-size: 0.98rem; }
  .hero-names { gap: 8px; }
  .hero-name-chip { padding: 8px 14px; font-size: 0.74rem; }
  .articles-grid { grid-template-columns: 1fr; }
}
