:root {
  --bg: #141118;
  --bg-deep: #0c0a0f;
  --panel: #1d1923;
  --panel-2: #241f2c;
  --text: #f3eee3;
  --muted: #cfc7b9;
  --magenta: #ff4fa3;
  --magenta-deep: #b8166a;
  --teal: #35d6c8;
  --teal-deep: #0f8a80;
  --line: rgba(243, 238, 227, 0.22);
  --radius: 14px;
  --font: "Rubik", "Heebo", "Arial Hebrew", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 79, 163, 0.16), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(53, 214, 200, 0.10), transparent 60%),
    var(--bg);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
}

/* טקסטורה שחוקה עדינה וקווי סריקה סטטיים — בלי תנועה */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0 1px, transparent 1px 3px);
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

/* ---------- עטיפת VHS ---------- */

.sleeve {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.25rem 1.75rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(140% 90% at 0% 0%, rgba(243, 238, 227, 0.06), transparent 55%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow:
    0 0 0 4px var(--bg-deep),
    0 0 0 5px rgba(243, 238, 227, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.45);
}

/* פסים אלכסוניים בסגנון עטיפת קלטת */
.sleeve__stripes {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 0.9rem;
  background:
    linear-gradient(90deg,
      var(--magenta) 0 33%,
      var(--text) 33% 36%,
      var(--teal) 36% 69%,
      var(--text) 69% 72%,
      var(--magenta-deep) 72% 100%);
  opacity: 0.9;
}

.sleeve__stripes::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 9px, rgba(20, 17, 24, 0.35) 9px 11px);
}

.sleeve__tags {
  position: absolute;
  top: 1.45rem;
  inset-inline: 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.1rem 0.45rem;
  border: 1.5px solid var(--text);
  border-radius: 4px;
  color: var(--text);
  opacity: 0.8;
}

.tag--ghost {
  border-color: transparent;
  font-weight: 500;
  opacity: 0.55;
}

/* ---------- תמונת פרופיל / ראשי תיבות ---------- */

.avatar {
  position: relative;
  width: 9rem;
  height: 9rem;
  margin: 0.75rem auto 1.1rem;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 200deg, var(--magenta), var(--teal), var(--magenta));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.avatar::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, rgba(243, 238, 227, 0.035) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 35% 30%, #2d2636, #120f16 70%);
}

.avatar__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  /* היסט צבע סטטי בסגנון VHS */
  text-shadow: -2px 0 var(--magenta), 2px 0 var(--teal);
}

.avatar__img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 45%;
}

.avatar.is-loading .avatar__initials,
.avatar.has-image .avatar__initials {
  visibility: hidden;
}

/* ---------- שם ותיאור ---------- */

.name {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: -1px 0 rgba(255, 79, 163, 0.55), 1px 0 rgba(53, 214, 200, 0.55);
}

.tagline {
  margin: 0.6rem auto 0;
  max-width: 24rem;
  font-size: 1.05rem;
  color: var(--muted);
  text-wrap: balance;
}

@media (max-width: 30rem) {
  .tagline__part {
    display: block;
  }
  .tagline__sep {
    display: none;
  }
}

/* ---------- קישורים ---------- */

.links {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}


.section {
  margin-top: 2.25rem;
}

[hidden] {
  display: none !important;
}

#content:focus {
  outline: none;
}

/* כותרת אזור בסגנון מדבקת קלטת */
.section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section__title::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 1.4rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--magenta) 0 50%, var(--teal) 50% 100%);
}

.section__title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px);
}

.section .links {
  margin-top: 1rem;
  gap: 0.75rem;
}

.link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.25rem;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.link--compact {
  grid-template-columns: 1fr auto;
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  border-inline-start: 4px solid var(--magenta);
}

.links li:nth-child(even) .link--compact {
  border-inline-start-color: var(--teal);
}

.link--compact .link__title {
  font-size: 1.05rem;
  font-weight: 500;
}

.link__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  color: var(--bg-deep);
  background: var(--magenta);
}

.links li:nth-child(even) .link__icon {
  background: var(--teal);
}

.link__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.link__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.link__title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.link__subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.link__arrow {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.link__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (hover: hover) {
  .link:hover {
    transform: translate(3px, -3px);
    border-color: var(--teal);
    box-shadow: -5px 5px 0 var(--magenta-deep);
  }
  .links li:nth-child(even) .link:hover {
    border-color: var(--magenta);
    box-shadow: -5px 5px 0 var(--teal-deep);
  }
}

.link:active {
  transform: translate(1px, -1px);
}

.link__icon--brand svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* ---------- הביקורת המובילה ---------- */

.section--feature {
  margin-top: 1.75rem;
}

.feature {
  display: block;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 5px rgba(243, 238, 227, 0.08), 0 14px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.feature__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(115deg, transparent 0 14px, rgba(20, 17, 24, 0.35) 14px 17px),
    linear-gradient(90deg, var(--magenta-deep), var(--magenta) 40%, var(--teal) 60%, var(--teal-deep));
  border-bottom: 1.5px solid var(--line);
}

.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__placeholder {
  display: none;
}

.feature__media--empty .feature__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--bg-deep);
}

.feature__placeholder svg {
  width: 3rem;
  height: 3rem;
  opacity: 0.75;
}

.feature__body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.1rem;
}

.feature__label {
  justify-self: start;
  padding: 0.1rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--bg-deep);
  background: var(--teal);
  border-radius: 4px;
}

.feature__title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}

.feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--magenta);
}

.feature__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (hover: hover) {
  .feature:hover {
    transform: translate(3px, -3px);
    border-color: var(--teal);
    box-shadow: -6px 6px 0 var(--magenta-deep);
  }
}

.feature:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

/* ---------- כפתור הזמנות ---------- */

.cta-wrap {
  margin-top: 1.25rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 4rem;
  padding: 0.8rem 1.1rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  color: var(--bg-deep);
  text-decoration: none;
  background: var(--text);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  box-shadow: -5px 5px 0 var(--magenta);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (hover: hover) {
  .cta:hover {
    transform: translate(2px, -2px);
    box-shadow: -7px 7px 0 var(--teal);
  }
}

.cta:active {
  transform: translate(-2px, 2px);
  box-shadow: -2px 2px 0 var(--magenta);
}

/* ---------- שורת אייקונים ---------- */

.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.social {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  color: var(--text);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social svg {
  width: 1.3rem;
  height: 1.3rem;
}

.socials li:nth-child(odd) .social:hover {
  color: var(--magenta);
  border-color: var(--magenta);
}

.socials li:nth-child(even) .social:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ---------- נגישות ---------- */

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.link:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-color: var(--text);
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.6rem 1rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--text);
  border-radius: 8px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.notice {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.footer {
  margin-top: 2.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .link:hover,
  .link:active,
  .feature:hover,
  .cta:hover,
  .cta:active {
    transform: none;
  }
}

@media (forced-colors: active) {
  .link {
    border: 2px solid ButtonText;
  }
  .avatar {
    background: ButtonText;
  }
}

@media (min-width: 48rem) {
  .page {
    padding-top: 3.5rem;
  }
}
