/* ═══════════════════════════════════════════
   RESET & TOKENS
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --ink:       #0a0a0f;
    --ink-2:     #2a2a35;
    --ink-3:     #5a5a72;
    --ink-4:     #9898b2;
    --paper:     #fafaf8;
    --rule:      #e8e8e4;
    --violet:    #6c47ff;
    --violet-lt: #ede9ff;
    --violet-dk: #4a2ecc;
    --sky:       #0ea5e9;
    --gold:      #d97706;
    --gold-lt:   #fef3c7;
    --green:     #059669;
    --green-lt:  #d1fae5;
    --red:       #dc2626;
    --red-lt:    #fee2e2;
    --hero-bg:   #07060f;
    --card-r:    20px;
    --gap:       28px;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════
   HEADER / HERO
═══════════════════════════════════════════ */
.hero {
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(108,71,255,.35) 0%, transparent 70%);
    pointer-events: none;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    position: relative;
    z-index: 10;
}
.logo {
    font-family: var(--font-display);
    font-size: 26px;
    color: #fff;
    letter-spacing: -.5px;
}
.logo span { color: var(--violet); }
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: #fff; }

/* HERO CONTENT */
.hero-inner {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 72px 0 96px;
}
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; }
    .hero-visual { display: none; }
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(108,71,255,.4);
    background: rgba(108,71,255,.12);
    color: rgba(180,160,255,.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--violet);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: .4; }
}
h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    color: #fff;
    line-height: 1;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--sky), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    color: rgba(255,255,255,.5);
    font-size: 17px;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 36px;
}

/* SEARCH BAR */
.search-form {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 6px;
    max-width: 500px;
}
.search-form input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 10px 12px;
}
.search-form input::placeholder { color: rgba(255,255,255,.35); }
.search-form button {
    background: var(--violet);
    border: none;
    border-radius: 11px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}
.search-form button:hover {
    background: var(--violet-dk);
    transform: scale(1.02);
}

/* HERO VISUAL */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    width: 300px;
    height: 360px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
    position: relative;
}
.hero-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 33px;
    background: linear-gradient(135deg, rgba(108,71,255,.5), transparent 50%);
    z-index: -1;
}
.hero-n {
    font-family: var(--font-display);
    font-size: 120px;
    color: #fff;
    line-height: 1;
    letter-spacing: -.06em;
}
.hero-card-label {
    color: rgba(255,255,255,.35);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: 8px;
}

/* STATS STRIP */
.stats {
    display: flex;
    gap: 1px;
    border-top: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 10;
}
.stat {
    flex: 1;
    padding: 28px 0;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.06);
}
.stat:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    letter-spacing: .06em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .stats { flex-wrap: wrap; }
    .stat { flex: 1 0 50%; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════ */
.main { padding: 56px 0 80px; }

/* TOOLBAR */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}
.toolbar-left { display: flex; flex-direction: column; gap: 4px; }
.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--violet);
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--ink);
}
.result-count {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 4px;
}

/* SORT SELECT */
.sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sort-label {
    font-size: 13px;
    color: var(--ink-3);
    white-space: nowrap;
}
.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239898b2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 8px 34px 8px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s;
}
.sort-select:focus { outline: none; border-color: var(--violet); }
.sort-select:hover { border-color: var(--ink-4); }

/* ═══════════════════════════════════════════
   CATEGORY FILTER BAR
═══════════════════════════════════════════ */
.cat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--rule);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .18s;
    text-decoration: none;
    white-space: nowrap;
}
.cat-pill:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--violet-lt);
}
.cat-pill.active {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
}
.cat-pill .cat-count {
    font-size: 11px;
    opacity: .7;
    font-weight: 600;
}
.cat-icon {
    font-size: 14px;
    line-height: 1;
}

/* ═══════════════════════════════════════════
   DOMAIN GRID
═══════════════════════════════════════════ */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--gap);
}
@media (max-width: 700px) {
    .domain-grid { grid-template-columns: 1fr; }
}

/* DOMAIN CARD */
.domain-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--card-r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    border-color: rgba(108,71,255,.25);
}
.card-body {
    padding: 26px 26px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}
.card-avatar {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--violet-lt);
    color: var(--violet);
    font-family: var(--font-display);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-badges { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pill-cat {
    background: var(--violet-lt);
    color: var(--violet);
}
.pill-value {
    background: var(--gold-lt);
    color: var(--gold);
}
.pill-sale { background: var(--green-lt); color: var(--green); }
.pill-offer { background: #f1f5f9; color: var(--ink-3); }
.card-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -.02em;
    margin-bottom: 8px;
    line-height: 1.1;
    word-break: break-all;
}
.card-desc {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.65;
    flex: 1;
}

/* PRICE ROW */
.card-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 0 20px;
    padding: 14px 16px;
    background: var(--paper);
    border-radius: 12px;
    border: 1px solid var(--rule);
}
.card-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--violet);
    letter-spacing: -.04em;
    line-height: 1;
}
.card-price-offer {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink-3);
    letter-spacing: -.02em;
}
.card-est {
    font-size: 12px;
    color: var(--ink-4);
}
.card-est strong {
    color: var(--gold);
    font-weight: 600;
}

/* ACTIONS */
.card-actions {
    padding: 0 26px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .18s;
    text-decoration: none;
}
.btn-primary {
    background: var(--violet);
    color: #fff;
}
.btn-primary:hover {
    background: var(--violet-dk);
    transform: scale(1.02);
}
.btn-ghost {
    background: var(--paper);
    color: var(--ink-2);
    border: 1px solid var(--rule);
}
.btn-ghost:hover {
    background: #f1f0f7;
    border-color: var(--violet);
    color: var(--violet);
}

/* ═══════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════ */
.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}
.empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: .25;
}
.empty h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--ink);
    margin-bottom: 10px;
}
.empty p { color: var(--ink-3); font-size: 15px; }
.empty a {
    display: inline-block;
    margin-top: 20px;
    color: var(--violet);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 56px;
}
.pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    background: #fff;
    border: 1px solid var(--rule);
    text-decoration: none;
    transition: all .18s;
    padding: 0 14px;
}
.pag-btn:hover { border-color: var(--violet); color: var(--violet); }
.pag-btn.active {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
}
.pag-btn.disabled {
    opacity: .35;
    pointer-events: none;
}
.pag-ellipsis {
    color: var(--ink-4);
    font-size: 14px;
    padding: 0 6px;
}
.pag-info {
    font-size: 13px;
    color: var(--ink-3);
    text-align: center;
    margin-top: 14px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    border-top: 1px solid var(--rule);
    padding: 40px 0;
    text-align: center;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--ink);
}
.footer-logo span { color: var(--violet); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 13px;
    color: var(--ink-3);
    transition: color .2s;
}
.footer-links a:hover { color: var(--violet); }
.footer-copy { font-size: 13px; color: var(--ink-4); }

/* ═══════════════════════════════════════════
   ACTIVE FILTER STRIP
═══════════════════════════════════════════ */
.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--violet-lt);
    color: var(--violet);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(108,71,255,.2);
}
.filter-tag a {
    color: var(--violet);
    opacity: .65;
    font-size: 14px;
    line-height: 1;
    margin-left: 2px;
}
.filter-tag a:hover { opacity: 1; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 600px) {
    .toolbar { flex-direction: column; align-items: flex-start; }
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .card-actions { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   RTL SUPPORT
═══════════════════════════════════════════ */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .nav { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .hero-inner { direction: rtl; }
html[dir="rtl"] .card-top { flex-direction: row-reverse; }
html[dir="rtl"] .card-badges { align-items: flex-start; }
html[dir="rtl"] .footer-inner { flex-direction: row-reverse; }
html[dir="rtl"] .footer-links { flex-direction: row-reverse; }
html[dir="rtl"] .stats { flex-direction: row-reverse; }
html[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
html[dir="rtl"] .pagination { flex-direction: row-reverse; }
html[dir="rtl"] .search-form button { order: -1; }

/* ═══════════════════════════════════════════
   FEATURED DOMAIN (homepage random pick)
═══════════════════════════════════════════ */
.featured-block {
    margin-bottom: 48px;
    padding: 36px;
    background: linear-gradient(135deg, var(--hero-bg) 0%, #15122b 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.featured-block::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(108,71,255,.4) 0%, transparent 70%);
    pointer-events: none;
}
.featured-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}
.featured-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    z-index: 2;
}
.featured-name {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 6px;
}
.featured-name a { color: #fff; }
.featured-name a:hover { color: var(--gold-lt); }
.featured-meta {
    color: rgba(255,255,255,.55);
    font-size: 14px;
}
.featured-meta strong { color: var(--gold); font-weight: 600; }
.featured-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.featured-actions .btn { padding: 0 24px; }
.featured-actions .btn-primary { background: var(--gold); color: #1a1206; }
.featured-actions .btn-primary:hover { background: #f0ab2e; }
.featured-actions .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.featured-actions .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════
   LANGUAGE FEATURED GRID (per-locale homepages)
═══════════════════════════════════════════ */
.lang-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}
.lang-featured-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lang-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.07);
    border-color: rgba(108,71,255,.25);
}
.lang-featured-name {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 10px;
}
.lang-featured-name a:hover { color: var(--violet); }
.lang-featured-caption {
    font-size: 13.5px;
    color: var(--ink-3);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}
.lang-featured-actions { display: flex; gap: 8px; }
.lang-featured-actions .btn { height: 38px; font-size: 13px; }

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════════════════ */
.lang-switch-section {
    max-width: 1000px;
    margin: 64px auto 8px;
    padding: 0 24px;
    text-align: center;
}
.lang-switch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--rule);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    transition: all .18s;
}
.lang-chip:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-lt); }
.lang-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

#langBanner {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--ink);
    color: #fff;
    padding: 14px 20px;
    font-size: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 -8px 24px rgba(0,0,0,.2);
    font-family: var(--font-body);
}
#langBanner .lb-actions { display: flex; gap: 10px; align-items: center; }
#langBanner a.lb-go {
    background: var(--violet);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}
#langBanner a.lb-go:hover { background: var(--violet-dk); }
#langBanner button.lb-close {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.6);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
#langBanner button.lb-close:hover { color: #fff; }

/* ═══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
.about-section {
    max-width: 760px;
    margin: 72px auto 0;
    padding: 0 24px;
    text-align: center;
}
.about-section h2 { margin-bottom: 16px; }
.about-section p { color: var(--ink-3); line-height: 1.75; font-size: 15px; }

/* ═══════════════════════════════════════════
   BREADCRUMB (domain detail page)
═══════════════════════════════════════════ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 32px;
}
.breadcrumb a { color: var(--violet); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span.sep { color: var(--ink-4); }

/* ═══════════════════════════════════════════
   DOMAIN DETAIL PAGE
═══════════════════════════════════════════ */
.detail-wrap { max-width: 880px; margin: 0 auto; padding: 56px 24px 96px; }
.detail-header { margin-bottom: 36px; }
.detail-avatar {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: var(--violet-lt);
    color: var(--violet);
    font-family: var(--font-display);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.detail-name {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 56px);
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-bottom: 16px;
    word-break: break-word;
}
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.detail-desc { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-bottom: 36px; }
.detail-buybox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 28px 32px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 20px;
    margin-bottom: 48px;
}
.detail-price-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); margin-bottom: 6px; }
.detail-price { font-family: var(--font-display); font-size: 36px; color: var(--violet); }
.detail-buybox .actions { display: flex; gap: 10px; }
.detail-buybox .btn { padding: 0 26px; }

.wiki-block {
    display: flex;
    gap: 24px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 48px;
}
.wiki-block img { width: 160px; height: 160px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.wiki-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.wiki-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.wiki-extract { font-size: 14px; color: var(--ink-3); line-height: 1.7; margin-bottom: 14px; }
@media (max-width: 600px) { .wiki-block { flex-direction: column; } .wiki-block img { width: 100%; height: 180px; } }

.related-section h2 { margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.related-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 20px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.07); border-color: rgba(108,71,255,.25); }
.related-card .name { font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; }
.related-card .price { font-size: 13px; color: var(--violet); font-weight: 600; }

.not-found-wrap { max-width: 560px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.not-found-wrap h1 { font-family: var(--font-display); font-size: 48px; margin-bottom: 16px; }
.not-found-wrap p { color: var(--ink-3); margin-bottom: 28px; }

/* ═══════════════════════════════════════════
   CARD TAGS (chips inside domain-card.php)
═══════════════════════════════════════════ */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag-chip {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 3px 10px;
    border-radius: 100px;
    transition: all .15s;
}
.tag-chip:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-lt); }

/* ═══════════════════════════════════════════
   EXPLORE BAR (categories / extensions / tags / registrars links)
═══════════════════════════════════════════ */
.explore-bar {
    max-width: 1100px;
    margin: 0 auto 8px;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    text-align: center;
}
.explore-bar a {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-3);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.explore-bar a:hover { color: var(--violet); border-color: var(--violet); }

/* ═══════════════════════════════════════════
   BROWSE PAGE HERO (categories/extensions/registrars/tags index + detail)
═══════════════════════════════════════════ */
.browse-hero {
    background: var(--hero-bg);
    padding: 56px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.browse-hero::after {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 480px; height: 320px;
    background: radial-gradient(circle, rgba(108,71,255,.35) 0%, transparent 70%);
    pointer-events: none;
}
.browse-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.browse-eyebrow-lt {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
}
.browse-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.browse-sub { color: rgba(255,255,255,.55); font-size: 15.5px; line-height: 1.7; }
.browse-icon-badge {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: rgba(108,71,255,.18);
    border: 1px solid rgba(108,71,255,.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: #c9b8ff;
    margin: 0 auto 20px;
}

/* ═══════════════════════════════════════════
   GUIDE CARD GRID (categories/extensions/registrars index pages)
═══════════════════════════════════════════ */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: -28px auto 64px;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}
.guide-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.08); border-color: rgba(108,71,255,.25); }
.guide-card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--violet-lt);
    color: var(--violet);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.guide-card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 6px; }
.guide-card .guide-tagline { font-size: 13px; color: var(--violet); font-weight: 600; margin-bottom: 12px; }
.guide-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; margin-bottom: 16px; }
.guide-card .guide-count { font-size: 12px; color: var(--ink-4); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.guide-card .guide-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--violet); margin-top: 8px; }

/* Compact pill grid for tag cloud */
.tag-cloud {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    max-width: 900px; margin: -20px auto 64px; padding: 0 24px; position: relative; z-index: 3;
}
.tag-cloud a {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--rule); border-radius: 100px;
    padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
    transition: all .18s;
}
.tag-cloud a:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-lt); transform: translateY(-2px); }
.tag-cloud a .count { color: var(--ink-4); font-weight: 500; }
.tag-cloud a:hover .count { color: var(--violet); }

/* Detail page section (category/extension/registrar/tag detail) */
.browse-detail-section { max-width: 1100px; margin: 0 auto; padding: 48px 24px 96px; }
.browse-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.browse-crumb {
    max-width: 1100px; margin: 0 auto; padding: 24px 24px 0;
    font-size: 13px; color: rgba(255,255,255,.5);
    position: relative; z-index: 2;
}
.browse-crumb a { color: rgba(255,255,255,.75); }
.browse-crumb a:hover { color: #fff; }

/* Registrar profile block */
.registrar-block {
    max-width: 720px; margin: -28px auto 56px; padding: 0 24px; position: relative; z-index: 3;
}
.registrar-card {
    background: #fff; border: 1px solid var(--rule); border-radius: 20px;
    padding: 32px; text-align: center;
}
.registrar-card .reg-name { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }
.registrar-card .reg-tagline { color: var(--violet); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.registrar-card p { color: var(--ink-3); line-height: 1.7; font-size: 14.5px; margin-bottom: 22px; }
