/* Ansam Studio — Luxury Editorial Bio Links Hub (/links)
   100% CSP-compliant external stylesheet (zero inline styles). */

:root {
  --lh-bg: #0c0b09;
  --lh-bg-elev: #151310;
  --lh-card: rgba(24, 21, 17, 0.88);
  --lh-card-hover: rgba(34, 29, 23, 0.96);
  --lh-ink: #f6f1e7;
  --lh-ink-soft: #c7bfb0;
  --lh-ink-muted: #938a7c;
  --lh-gold: #cfa968;
  --lh-gold-bright: #e8cb92;
  --lh-gold-deep: #9a7738;
  --lh-line: rgba(207, 169, 104, 0.22);
  --lh-line-strong: rgba(232, 203, 146, 0.5);
  --lh-radius: 18px;
  --lh-radius-sm: 12px;
  --lh-sans: "Readex Pro", "Noto Kufi Arabic", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lh-serif: "Cormorant Garamond", Georgia, serif;
}

html[lang="en"] {
  --lh-sans: "Plus Jakarta Sans", "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.links-hub-body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--lh-bg);
  background-image:
    radial-gradient(ellipse 85% 45% at 50% -8%, rgba(207, 169, 104, 0.2), transparent 68%),
    radial-gradient(circle at 88% 85%, rgba(154, 119, 56, 0.08), transparent 45%);
  color: var(--lh-ink);
  font-family: var(--lh-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 40px;
}

.lh-shell {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top bar */
.lh-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lh-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--lh-ink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.01em;
}

.lh-location-pill i {
  color: var(--lh-gold);
  font-size: 12px;
}

.lh-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--lh-line);
  background: rgba(207, 169, 104, 0.07);
  color: var(--lh-gold-bright);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lh-lang-switch:hover,
.lh-lang-switch:focus-visible {
  background: rgba(207, 169, 104, 0.16);
  border-color: var(--lh-line-strong);
  outline: none;
}

/* Brand Header */
.lh-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.lh-logo-frame {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(232, 203, 146, 0.65), rgba(154, 119, 56, 0.18) 55%, rgba(232, 203, 146, 0.45));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), 0 0 28px rgba(207, 169, 104, 0.14);
  overflow: hidden;
}

.lh-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  background-color: #0b0b0c;
}

.lh-brand-en {
  margin: 4px 0 0;
  font-family: var(--lh-serif);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.08;
  color: var(--lh-gold-bright);
}

.lh-brand-ar {
  margin: 0;
  font-size: clamp(14.5px, 3.9vw, 17px);
  font-weight: 600;
  color: var(--lh-ink);
  letter-spacing: 0.01em;
}

.lh-tagline {
  margin: 2px 0 0;
  max-width: 390px;
  font-size: 13.5px;
  color: var(--lh-ink-soft);
  line-height: 1.65;
}

.lh-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 4px;
}

.lh-badge {
  font-size: 11.5px;
  color: var(--lh-gold-bright);
  background: rgba(207, 169, 104, 0.09);
  border: 1px solid rgba(207, 169, 104, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Primary WhatsApp CTA */
.lh-primary-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--lh-radius);
  text-decoration: none;
  background: linear-gradient(135deg, #d7b272 0%, #b58d47 55%, #9a7432 100%);
  color: #14110c;
  box-shadow: 0 14px 36px rgba(181, 141, 71, 0.28), inset 0 1px 0 rgba(255, 248, 232, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.lh-primary-cta:hover,
.lh-primary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(207, 169, 104, 0.36), inset 0 1px 0 rgba(255, 248, 232, 0.6);
  filter: brightness(1.03);
  outline: none;
}

.lh-primary-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.lh-primary-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(20, 17, 12, 0.14);
  display: grid;
  place-items: center;
  font-size: 21px;
  flex-shrink: 0;
  color: #14110c;
}

.lh-primary-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

.lh-primary-sub {
  display: block;
  font-size: 12.2px;
  opacity: 0.84;
  margin-top: 2px;
}

.lh-primary-arrow {
  font-size: 17px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Link Cards List */
.lh-links-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lh-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 14px 16px;
  border-radius: var(--lh-radius);
  text-decoration: none;
  background: var(--lh-card);
  border: 1px solid var(--lh-line);
  color: var(--lh-ink);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lh-card:hover,
.lh-card:focus-visible {
  transform: translateY(-2px);
  background: var(--lh-card-hover);
  border-color: var(--lh-line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  outline: none;
}

.lh-card-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.lh-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--lh-radius-sm);
  background: rgba(207, 169, 104, 0.1);
  border: 1px solid rgba(207, 169, 104, 0.22);
  color: var(--lh-gold-bright);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.lh-card-text {
  min-width: 0;
}

.lh-card-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lh-ink);
  line-height: 1.35;
}

.lh-card-sub {
  display: block;
  font-size: 12px;
  color: var(--lh-ink-muted);
  margin-top: 2px;
}

.lh-card-arrow {
  color: var(--lh-gold);
  font-size: 15px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.lh-card:hover .lh-card-arrow {
  transform: translateY(-1px);
  opacity: 1;
}

html[dir="rtl"] .lh-icon-dir {
  display: inline-block;
  transform: scaleX(-1);
}

/* Social & Trust Row */
.lh-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding-top: 4px;
}

.lh-social-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 8px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--lh-ink-soft);
  font-size: 12px;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lh-social-pill i {
  font-size: 17px;
  color: var(--lh-gold);
}

.lh-social-pill:hover,
.lh-social-pill:focus-visible {
  border-color: var(--lh-line-strong);
  background: rgba(207, 169, 104, 0.09);
  color: var(--lh-ink);
  outline: none;
}

/* Footer */
.lh-footer {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lh-footer-note {
  margin: 0;
  font-size: 12px;
  color: var(--lh-ink-muted);
}

.lh-footer-copy {
  margin: 0;
  font-size: 11.5px;
  color: rgba(147, 138, 124, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .lh-primary-cta,
  .lh-card,
  .lh-social-pill,
  .lh-lang-switch,
  .lh-card-arrow {
    transition: none;
  }
  .lh-primary-cta:hover,
  .lh-card:hover {
    transform: none;
  }
}

@media (max-width: 380px) {
  .lh-brand-en {
    font-size: 27px;
  }
  .lh-card {
    padding: 13px 13px;
  }
}
