/* ALLAYA — тема: фуксия + серебро + чёрный. Тёмная галерея, антиква, острые углы. */
:root {
  color-scheme: dark;
  --bg: #0a090b;
  --bg-2: #100e11;
  --surface: #141216;
  --surface-2: #1e1b20;
  --input-bg: #0f0d10;
  --text: #eeedf0;
  --text-2: #c9c6cd;
  --muted: #9b97a1;
  --line: #29252c;
  --line-strong: #4a4550;
  --accent: #e5197f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(229, 25, 127, .13);
  --price: #dfe2e6;
  --hdr-bg: rgba(10, 9, 11, .8);
  --ftr-bg: #070608;
  --note-bg: #17141a;
  --summary-bg: linear-gradient(180deg, #17141a, #121014);
  --step-bg: transparent;
  --step-ink: #d6d9dd;
  --seg-on: linear-gradient(180deg, #f2f3f5, #b9bec5);
  --seg-on-ink: #0a090b;
  --radius: 3px;
  --radius-sm: 3px;
  --radius-btn: 2px;
  --font-display: 'Cormorant Garamond', 'Frank Ruhl Libre', Georgia, serif;
  --font-logo: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Assistant', 'Segoe UI', system-ui, sans-serif;
  --display-weight: 500;
  --silver: linear-gradient(176deg, #ffffff 0%, #d4d8dd 38%, #8d939b 58%, #e9ecef 82%, #b4b9c0 100%);
  --tarot-bg: linear-gradient(165deg, #1c191e, #0c0a0d);
  --tarot-line: rgba(205, 210, 216, .42);
  --tarot-ink: #d8dbe0;
  --tarot-back-bg: radial-gradient(circle at 50% 50%, #3a0c25 0%, #140a10 55%, #0c0a0d 100%);
  --tarot-shadow: 0 14px 34px rgba(0, 0, 0, .65);
  --fan-bg: radial-gradient(circle at 50% 60%, #2b0b1d, #0e0c0f 70%);
}
::selection { background: var(--accent); color: #fff; }

/* silver lettering */
.logo-mark, .hero-title, .page-head h1, .p-title, .custom-intro h1, .done-head h1, .section-head h2, .banner-body h2 {
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title, .p-title, .page-head h1 { font-weight: 500; }
[lang="he"] .hero-title, [lang="he"] .p-title, [lang="he"] .page-head h1 { font-weight: 500; letter-spacing: 0; }
.eyebrow { color: var(--accent); }
.step-n { border: 1px solid var(--line-strong); font-family: var(--font-display); font-size: 1rem; }
.btn-primary { box-shadow: 0 8px 28px -10px rgba(229, 25, 127, .7); letter-spacing: .02em; }
.btn-ghost { border-color: #8d939b; color: #e6e8eb; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .04); }
.lang-btn { border-color: #6b707a; }

/* header: thin silver rule */
.hdr { border-bottom: 0; }
.hdr::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 205, 212, .45), transparent); }

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 58%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media { -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%); mask-image: linear-gradient(to left, #000 35%, transparent 100%); }
[dir="rtl"] .hero-media { -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 100%); mask-image: linear-gradient(to right, #000 35%, transparent 100%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 25%); }
.hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; inset-inline-start: -20vw; top: -10vw; background: radial-gradient(circle, rgba(229, 25, 127, .16), transparent 60%); z-index: -1; }
.hero-in { padding-block: 80px; }
.hero-copy { max-width: 560px; display: grid; gap: 22px; }
.hero-title { font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: 1.02; }
.hero-sub { color: var(--text-2); font-size: 1.1rem; max-width: 470px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* cards */
.card-media { border: 1px solid var(--line); }
a.card:hover .card-media { border-color: var(--accent); box-shadow: 0 22px 60px -18px rgba(229, 25, 127, .55); }
.card-body h3 { font-size: 1.45rem; }
.card-price { color: var(--price); letter-spacing: .02em; }
.card-tarot .card-media { border: 0; }
a.card-tarot:hover .card-media { box-shadow: none; }
a.card-tarot:hover .tarot { border-color: var(--accent); box-shadow: 0 18px 50px -14px rgba(229, 25, 127, .6); }

/* tiles */
.tile { border: 1px solid var(--line); }
.tile:hover { border-color: rgba(229, 25, 127, .6); }
.tile-body h3 { font-size: 1.8rem; }

/* how-to band */
.how-wrap { background: var(--bg-2); border-block: 1px solid var(--line); }
.how-n { border-color: var(--accent); color: var(--accent); font-size: 1.4rem; }

/* banner */
.banner { border: 1px solid var(--line); background: radial-gradient(circle at 80% 20%, rgba(229, 25, 127, .12), transparent 55%), var(--surface); }

/* product */
.gallery-main { border: 1px solid var(--line); background: #0d0b0e; }
.p-price, .sum-total strong, .buybar strong { font-family: var(--font-body); font-weight: 300; letter-spacing: .01em; }
.p-price { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.4rem; }
.size.on .size-dim { color: #fff; }
.bank { box-shadow: 0 0 0 4px var(--accent-soft); }
.sum-total strong { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 900px) {
  .hero { min-height: auto; align-items: end; }
  .hero-media, [dir="rtl"] .hero-media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-media::after { background: linear-gradient(to top, var(--bg) 8%, rgba(10, 9, 11, .75) 45%, rgba(10, 9, 11, .2) 100%); }
  .hero-in { padding-block: 46vh 40px; }
}
