/* صفحة اختيار البروبوزال — غروب بنفسجي وردي */
:root {
  --dusk-1: #2a1430; --dusk-2: #4b2440; --dusk-3: #8a4a66; --dusk-4: #e7a3a1;
  --crimson: #8e1534; --crimson-2: #b3243f; --rose-glow: rgba(240, 120, 140, .55);
}
html { scroll-behavior: smooth; background: #3a1a32; }
body {
  min-height: 100vh; color: #fff6f4; overflow-x: hidden;
  background: linear-gradient(180deg, var(--dusk-1) 0%, var(--dusk-2) 30%, var(--dusk-3) 62%, #c77f88 82%, var(--dusk-2) 100%) fixed;
}
body[dir="ltr"] { font-family: 'Amiri', Georgia, serif; }

/* السما والصورة */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky::before { /* نور الغروب ورا الكلام */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 45% at 30% 62%, rgba(255, 190, 170, .45), transparent 70%),
              radial-gradient(40% 30% at 75% 20%, rgba(180, 120, 200, .35), transparent 70%);
}
.sky-photo {
  position: absolute; top: 0; left: 0; width: 64%; aspect-ratio: 840 / 545;
  background: url(/img/propose-hero.webp) left top / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 40%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, #000 55%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 40%);
}
body[dir="ltr"] .sky-photo { left: auto; right: 0; transform: scaleX(-1); }
.heart { position: absolute; width: 18px; height: 18px; background: #c8233f; transform: rotate(-45deg); opacity: .75; filter: blur(.5px); animation: drift 9s ease-in-out infinite; }
.heart::before, .heart::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: inherit; }
.heart::before { top: -9px; left: 0; } .heart::after { left: 9px; top: 0; }
.h1 { top: 14%; left: 4%; } .h2 { top: 26%; left: 9%; transform: rotate(-35deg) scale(1.3); animation-delay: -3s; }
.h3 { top: 18%; right: 6%; transform: rotate(-50deg) scale(.8); animation-delay: -5s; } .h4 { top: 60%; right: 3%; transform: rotate(-40deg) scale(.7); animation-delay: -7s; }
@keyframes drift { 50% { translate: 0 -14px; } }
@media (prefers-reduced-motion: reduce) { .heart { animation: none; } html { scroll-behavior: auto; } }

/* الهيدر */
.bar { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 1.1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.brand-lockup { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 46px; height: 32px; fill: none; stroke: #e0405e; stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(224, 64, 94, .6)); }
.brand-name { font-family: var(--script); font-size: 2.1rem; line-height: 1.3; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.lang button { font: inherit; font-size: .95rem; border: 0; background: transparent; color: #fff6f4; padding: .2em .9em; border-radius: 999px; cursor: pointer; }
.lang button.on { background: rgba(255, 255, 255, .9); color: var(--crimson); font-weight: 700; }

main { position: relative; z-index: 1; }

/* الهيرو */
.hero { max-width: 1280px; margin: 0 auto; padding: 4vh 1.5rem 2rem; min-height: 56vh; display: flex; justify-content: flex-start; align-items: center; }
.hero-copy { width: min(560px, 100%); text-align: center; }
.headline { font-family: var(--font); font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.3rem); line-height: 1.35; margin: 0; color: #fff4f1; text-shadow: 0 2px 18px rgba(60, 15, 40, .45); }
.headline span { display: inline; }
.headline em {
  font-style: normal; font-family: var(--script); color: #ff6b86; font-size: 1.35em; padding: 0 .1em;
  text-shadow: 0 0 26px rgba(255, 120, 150, .7);
}
body[dir="ltr"] .headline em { font-family: 'Amiri', Georgia, serif; font-style: italic; }
.second { margin: .6rem 0 0; font-size: 1.35rem; color: #ffe6e2; opacity: .9; font-style: italic; }
body[dir="rtl"] .second { direction: ltr; }
body[dir="ltr"] .second { direction: rtl; font-style: normal; }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 1.4rem auto; }
.divider::before, .divider::after { content: ''; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, #ff8aa0); }
.divider::after { transform: scaleX(-1); }
.divider i { width: 8px; height: 8px; transform: rotate(45deg); background: #ff8aa0; }
.btn-cta {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.25rem;
  padding: .65rem 2.2rem; border-radius: 999px;
  background: linear-gradient(180deg, #a51d3d, #6e0f27);
  box-shadow: inset 0 0 0 1.5px rgba(243, 214, 160, .8), 0 12px 30px -10px rgba(110, 15, 39, .8), 0 0 30px -6px var(--rose-glow);
  transition: transform .2s, filter .2s;
}
.btn-cta::after { content: '←'; } body[dir="ltr"] .btn-cta::after { content: '→'; }
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* الكروت */
.pick-q { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; text-align: center; scroll-margin-top: 20px; }
.step { font-family: var(--script); font-weight: 700; font-size: 1.8rem; color: #fff6f4; margin: 1.6rem 0 .9rem; }
body[dir="ltr"] .step { font-family: 'Amiri', Georgia, serif; font-style: italic; }
.kinds { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.kind {
  display: inline-flex; align-items: center; gap: .8rem; cursor: pointer; font: inherit; color: #fff6f4; text-align: start;
  padding: .7rem 1.4rem; border-radius: 18px; background: rgba(40, 16, 30, .6); border: 1px solid rgba(243, 214, 160, .35); backdrop-filter: blur(8px);
}
.kind svg { width: 40px; height: 24px; fill: none; stroke: #f0c98a; stroke-width: 1.6; stroke-linecap: round; }
.kind b { display: block; font-size: 1.15rem; } .kind small { color: rgba(255, 240, 238, .75); font-size: .95rem; }
.kind.on { border-color: #f3d6a0; background: linear-gradient(160deg, rgba(120, 50, 70, .8), rgba(60, 22, 40, .9)); box-shadow: 0 0 30px -8px var(--rose-glow), inset 0 0 0 1px rgba(243, 214, 160, .6); }
.choose { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.choice {
  display: grid; grid-template-rows: 200px 1fr; align-items: stretch; overflow: hidden; border-radius: 22px;
  background: linear-gradient(160deg, rgba(70, 30, 48, .78), rgba(40, 16, 30, .88));
  box-shadow: inset 0 0 0 1px rgba(243, 214, 160, .55), 0 0 40px -12px var(--rose-glow), 0 30px 60px -30px rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px); transition: transform .3s, box-shadow .3s;
}
.choice:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(243, 214, 160, .85), 0 0 50px -8px var(--rose-glow), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.choice-art { background: var(--img) var(--pos, center) / cover no-repeat; -webkit-mask-image: linear-gradient(0deg, transparent, #000 40%); mask-image: linear-gradient(0deg, transparent, #000 40%); }
.choice-body { padding: .6rem 1.3rem 1.3rem; display: flex; flex-direction: column; justify-content: flex-start; }
.choice p { flex: 1; }
.choice-icon { width: 40px; height: 24px; fill: none; stroke: #f0c98a; stroke-width: 1.6; stroke-linecap: round; margin-bottom: .2rem; }
.choice h2 { font-family: var(--script); font-weight: 700; font-size: 2.1rem; line-height: 1.45; margin: 0; color: #fff6f4; }
body[dir="ltr"] .choice h2 { font-family: 'Amiri', Georgia, serif; font-style: italic; }
.choice p { margin: .2rem 0 1rem; color: rgba(255, 240, 238, .8); font-size: 1.05rem; line-height: 1.8; }
.choice-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.btn-start {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; text-decoration: none; color: #fff6f4; font-weight: 700;
  padding: .35rem 1.3rem; border-radius: 999px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1.2px rgba(243, 214, 160, .85);
}
.btn-start::after { content: '←'; } body[dir="ltr"] .btn-start::after { content: '→'; }
.btn-start:hover { background: rgba(243, 214, 160, .18); }
.btn-peek { color: rgba(255, 240, 238, .75); font-size: .95rem; text-underline-offset: 5px; }
.how { max-width: 620px; margin: 2.4rem auto 3rem; padding: 0 1.5rem; text-align: center; color: rgba(255, 240, 238, .85); font-size: 1.05rem; line-height: 1.9; }

@media (max-width: 900px) {
  .sky-photo { width: 100%; aspect-ratio: auto; bottom: 30%; opacity: .55; -webkit-mask-image: linear-gradient(0deg, transparent 15%, #000 60%); mask-image: linear-gradient(0deg, transparent 15%, #000 60%); }
  .hero { justify-content: center; min-height: 48vh; }
  .headline, .second { color: #fff6f4; text-shadow: 0 2px 16px rgba(40, 10, 30, .6); }
  .choose { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 480px) {
  .choice-body { text-align: center; align-items: center; }
  .choice-actions { justify-content: center; }
}

/* صفحة عيد الميلاد: نفس التصميم بصورة عيد الميلاد */
body[data-page="birthday"] .sky-photo { background-image: url(/img/ahlna-birthday.webp); }

.how-more { text-align: center; margin: 1.4rem auto 0; }
.how-more a { color: #f3d6a0; font-size: 1.1rem; text-underline-offset: 5px; }
