:root {
  color-scheme: dark;
  --bg: #050706;
  --panel: rgba(13, 25, 20, 0.88);
  --ink: #e8fff1;
  --muted: #a0b8aa;
  --neon: #20f58d;
  --neon-bright: #4dffa5;
  --neon-soft: rgba(32, 245, 141, 0.14);
  --red: #bd1e34;
  --line: rgba(147, 255, 194, 0.16);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Cairo", "Segoe UI", sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 20%, rgba(26, 83, 55, 0.21), transparent 35rem),
    linear-gradient(180deg, #050706 0%, #050807 78%, #07120c 100%);
}
.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
}
.ambient { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; z-index: -1; }
.ambient-one { width: 22rem; height: 22rem; top: 7rem; left: -11rem; background: rgba(17, 102, 63, .16); box-shadow: 0 0 9rem 3rem rgba(17,102,63,.1); }
.ambient-two { width: 17rem; height: 17rem; top: 33rem; right: -9rem; background: rgba(145, 24, 44, .12); box-shadow: 0 0 8rem 2rem rgba(145,24,44,.08); }
.market-grid { position: absolute; inset: 25rem 0 0; z-index: -2; opacity: .55; pointer-events: none; }
.market-grid span { position: absolute; bottom: 0; left: var(--x); width: 3px; height: var(--h); background: linear-gradient(to top, var(--accent), transparent 92%); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent); }
.market-grid span::after { position: absolute; top: 0; left: -2px; width: 7px; height: 2px; background: var(--accent); content: ""; box-shadow: 0 0 8px var(--accent); }
.market-grid span:nth-child(1) { --h: 28%; --x: 6%; --accent: #23f68f; }
.market-grid span:nth-child(2) { --h: 48%; --x: 14%; --accent: #d51c35; }
.market-grid span:nth-child(3) { --h: 38%; --x: 23%; --accent: #23f68f; }
.market-grid span:nth-child(4) { --h: 64%; --x: 32%; --accent: #b81429; }
.market-grid span:nth-child(5) { --h: 51%; --x: 43%; --accent: #23f68f; }
.market-grid span:nth-child(6) { --h: 73%; --x: 54%; --accent: #d51c35; }
.market-grid span:nth-child(7) { --h: 44%; --x: 66%; --accent: #23f68f; }
.market-grid span:nth-child(8) { --h: 60%; --x: 77%; --accent: #bb1930; }
.market-grid span:nth-child(9) { --h: 34%; --x: 88%; --accent: #23f68f; }
.market-grid span:nth-child(10) { --h: 54%; --x: 96%; --accent: #d51c35; }

.profile-page { width: min(100% - 2rem, 35rem); margin: 0 auto; padding: 1.35rem 0 2rem; }
.profile-header { position: relative; display: flex; flex-direction: column; align-items: center; padding: .3rem 1rem 1.6rem; text-align: center; }
.share-button { position: absolute; top: .1rem; left: 0; display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(8, 17, 12, .78); color: var(--neon); cursor: pointer; transition: .2s ease; }
.share-button:hover, .share-button:focus-visible { border-color: var(--neon); background: var(--neon-soft); transform: translateY(-2px); outline: none; }
.share-button svg { width: 1rem; height: 1rem; fill: currentColor; }
.brand-mark { position: relative; display: grid; flex: 0 0 9.1rem; width: 9.1rem; max-width: 9.1rem; height: 9.1rem; max-height: 9.1rem; margin: 1.3rem 0 1.25rem; place-items: center; overflow: hidden; border: 3px solid var(--neon); border-radius: 50%; background: #0b1725; box-shadow: 0 0 1.4rem rgba(32,245,141,.22), inset 0 0 2rem rgba(16, 67, 53, .34); }
.brand-image { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; padding: .55rem; object-fit: contain; background: #0b1725; }
.brand-mark::after { position: absolute; inset: .55rem; border: 1px solid rgba(32,245,141,.26); border-radius: 50%; content: ""; }
.brand-orbit { width: 5.2rem; height: 5.2rem; border: .95rem solid var(--neon-bright); border-radius: 50%; filter: drop-shadow(0 0 7px rgba(32,245,141,.25)); }
.brand-arrow { position: absolute; right: .38rem; bottom: 1.22rem; width: 4.45rem; height: 3.55rem; clip-path: polygon(0 0, 100% 100%, 0 100%); background: var(--neon-bright); color: #07130d; transform: rotate(0deg); }
.brand-arrow::after { position: absolute; right: .3rem; bottom: .3rem; width: 3.65rem; height: 2.75rem; background: #0b1725; clip-path: polygon(0 0, 100% 100%, 0 100%); content: ""; }
.brand-arrow span { position: absolute; z-index: 1; top: 1.25rem; left: .1rem; font-family: "Space Grotesk", sans-serif; font-size: .73rem; font-weight: 700; letter-spacing: -.04em; transform: rotate(45deg); }
.eyebrow { margin: 0 0 .42rem; color: var(--neon); font-family: "Space Grotesk", sans-serif; font-size: .69rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1 { display: flex; align-items: center; gap: .65rem; margin: 0; color: var(--neon-bright); direction: ltr; font-size: clamp(1.85rem, 8vw, 2.7rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; text-shadow: 0 0 1.2rem rgba(32,245,141,.15); }
.english-title { font-family: "Space Grotesk", sans-serif; letter-spacing: -.06em; }
.divider { color: rgba(232,255,241,.5); font-weight: 400; }
.tagline { margin: .7rem 0 .1rem; color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: .93rem; letter-spacing: .01em; }
.intro { margin: .05rem 0 0; color: var(--muted); font-size: .8rem; }
.link-stack { display: grid; gap: .72rem; }
.link-card { position: relative; display: flex; min-height: 5.1rem; align-items: center; gap: .85rem; padding: .74rem .9rem; border: 1px solid rgba(143,255,188,.12); border-radius: 1.28rem; background: linear-gradient(100deg, #22f58d 0%, #35fb99 55%, #20ed87 100%); color: #062017; direction: ltr; box-shadow: 0 .65rem 1.6rem rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.32); text-decoration: none; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.link-card:hover, .link-card:focus-visible { filter: brightness(1.07); box-shadow: 0 .85rem 2rem rgba(18,231,127,.16), 0 1rem 2.2rem rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.45); transform: translateY(-3px); outline: none; }
.link-card:active { transform: translateY(-1px) scale(.99); }
.link-card.featured { min-height: 5.55rem; }
.card-icon { display: grid; flex: 0 0 3.3rem; width: 3.3rem; height: 3.3rem; place-items: center; border-radius: 1rem; background: rgba(4, 27, 20, .95); color: var(--neon); box-shadow: 0 0 .8rem rgba(0,0,0,.16); }
.card-icon svg { width: 1.65rem; height: 1.65rem; fill: currentColor; stroke: currentColor; stroke-width: 1.8; }
.card-icon .fill { stroke: none; }
.q-icon { position: relative; border: 2px solid var(--neon); border-radius: 50%; background: #0b1725; font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; font-weight: 700; }
.q-icon::after { position: absolute; right: -.1rem; bottom: .1rem; width: .82rem; height: .17rem; background: var(--neon); content: ""; transform: rotate(45deg); }
.q-icon span { transform: translateY(-.04rem); }
.instagram-icon { background: linear-gradient(135deg, #6d35f2, #fa275e 50%, #ffbc42); color: white; }
.tiktok-icon { background: #08131a; color: #fff; }
.facebook-icon { background: #1376e8; color: #fff; }
.whatsapp-icon { background: #0bbd6d; color: #fff; }
.contact-icon { background: rgba(4, 27, 20, .95); color: var(--neon); }
.card-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: center; padding-inline: .2rem; direction: rtl; text-align: center; }
.card-copy strong { max-width: 100%; overflow: hidden; font-family: "Space Grotesk", "Cairo", sans-serif; font-size: 1.12rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.card-copy small { max-width: 100%; margin-top: .22rem; overflow: hidden; font-size: .78rem; font-weight: 500; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.card-arrow { display: grid; flex: 0 0 1.8rem; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 50%; background: rgba(4, 27, 20, .1); color: #062017; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; line-height: 1; }
.contact-card { border: 1px dashed rgba(32,245,141,.6); background: rgba(18, 53, 36, .5); color: var(--ink); box-shadow: none; }
.contact-card .card-copy strong { font-family: "Space Grotesk", "Cairo", sans-serif; }
.contact-card .card-copy small { color: var(--muted); }
.contact-card .card-arrow { background: rgba(32,245,141,.14); color: var(--neon); }
.profile-footer { display: flex; align-items: center; gap: .55rem; justify-content: center; margin-top: 1.8rem; color: rgba(160,184,170,.7); font-family: "Space Grotesk", sans-serif; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-line { height: 1px; width: 2.4rem; background: linear-gradient(90deg, transparent, rgba(32,245,141,.45)); }
.footer-line:last-child { transform: rotate(180deg); }
.toast { position: fixed; right: 50%; bottom: 1.4rem; z-index: 5; max-width: calc(100% - 2rem); padding: .72rem 1rem; border: 1px solid rgba(32,245,141,.35); border-radius: 999px; background: rgba(3, 17, 11, .92); color: var(--neon-bright); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.35); font-size: .8rem; opacity: 0; pointer-events: none; transform: translate(50%, 1rem); transition: .28s ease; }
.toast.visible { opacity: 1; transform: translate(50%, 0); }

@media (min-width: 560px) {
  .profile-page { padding-top: 2rem; }
  .link-stack { gap: .85rem; }
  .link-card { min-height: 5.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
