:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --gold: #f6e9c4;
  --gold-bright: #fbf6e4;
  --gold-mid: #f0dc9e;
  --gold-deep: #e2c98a;
  --gold-line: rgba(246, 233, 196, 0.82);
  --ink: #16120c;
  --muted: #efe4c8;
  --radius: 16px;
  --max: 430px;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Cairo", "Outfit", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--gold);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -8%, #2a2418 0%, transparent 58%),
    linear-gradient(180deg, #161616 0%, #0d0d0d 40%, #0a0a0a 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.glow-a {
  width: 220px;
  height: 220px;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(246, 233, 196, 0.12);
}

.glow-b {
  width: 180px;
  height: 180px;
  bottom: 18%;
  right: -40px;
  background: rgba(226, 201, 138, 0.1);
}

.side-wash {
  position: absolute;
  top: 50%;
  width: min(56vw, 460px);
  height: 78vh;
  transform: translateY(-50%);
  filter: blur(36px);
  pointer-events: none;
}

.side-wash-left {
  left: -18%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 236, 205, 0.28) 0%,
    rgba(227, 197, 124, 0.08) 48%,
    transparent 74%
  );
}

.side-wash-right {
  right: -18%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 236, 205, 0.28) 0%,
    rgba(227, 197, 124, 0.08) 48%,
    transparent 74%
  );
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
}

.brand {
  text-align: center;
  margin-bottom: 22px;
}

.logo-lockup {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.logo-lockup::before {
  content: "";
  position: absolute;
  inset: 20% 8%;
  background: radial-gradient(
    ellipse at 38% 48%,
    rgba(255, 236, 205, 0.28) 0%,
    rgba(227, 197, 124, 0.08) 48%,
    transparent 74%
  );
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 16px rgba(227, 197, 124, 0.28));
}

.handle {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 16px;
}

.intro {
  margin-bottom: 18px;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.ornament-star {
  color: var(--gold-bright);
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(227, 197, 124, 0.7);
}

.bio {
  margin: 0 auto;
  max-width: 36ch;
  line-height: 1.75;
}

.bio-ar {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  direction: rtl;
}

.bio-en {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
  direction: ltr;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  direction: ltr;
  gap: 12px;
}

.social {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid transparent;
  border-radius: 50%;
  color: var(--gold);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(180deg, #fbf6e4, #8a7040) border-box;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.social img {
  width: 18px;
  height: 18px;
}

.social:hover {
  transform: translateY(-2px);
  background: rgba(227, 197, 124, 0.12);
  box-shadow: 0 0 16px rgba(227, 197, 124, 0.22);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  direction: ltr;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px 10px 10px;
  text-decoration: none;
  color: var(--gold);
  border: 1.4px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(13, 13, 13, 0.94), rgba(13, 13, 13, 0.94)) padding-box,
    linear-gradient(90deg, #6a5530 0%, #f6e9c4 50%, #6a5530 100%) border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: rise 0.5s ease both;
}

.link:nth-child(1) { animation-delay: 0.02s; }
.link:nth-child(2) { animation-delay: 0.06s; }
.link:nth-child(3) { animation-delay: 0.1s; }
.link:nth-child(4) { animation-delay: 0.14s; }
.link:nth-child(5) { animation-delay: 0.18s; }
.link:nth-child(6) { animation-delay: 0.22s; }
.link:nth-child(7) { animation-delay: 0.26s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.link:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(rgba(13, 13, 13, 0.94), rgba(13, 13, 13, 0.94)) padding-box,
    linear-gradient(90deg, #8a7040 0%, #fbf6e4 50%, #8a7040 100%) border-box;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 16px rgba(246, 233, 196, 0.16);
}

.link.featured {
  color: var(--gold);
  border: 1.4px solid transparent;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 68%, rgba(246, 233, 196, 0.4) 100%) padding-box,
    linear-gradient(90deg, var(--bg) 0%, #f6e9c4 55%, #fbf6e4 100%) border-box;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.35),
    0 0 16px rgba(246, 233, 196, 0.16);
}

.link.featured:hover {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.38),
    0 0 20px rgba(246, 233, 196, 0.22);
}

.link-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.link-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.link-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  min-width: 0;
}

.link-en {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  direction: ltr;
}

.link-ar {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  direction: rtl;
}

.link-chevron {
  flex: 0 0 22px;
  display: grid;
  place-items: center;
}

.link-chevron img {
  width: 18px;
  height: 18px;
}

.footer {
  margin-top: 26px;
  text-align: center;
}

.footer-en {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer-ar {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1c160e;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 720px) {
  .page {
    padding-top: 40px;
  }
}
