
:root {
  --ink: #2c5067;
  --gold: #deb174;
  --accent: #83a0ad;
  --text: #eef3f6;
  --muted: #c9d3d8;
  --bg1: #0b131a;
  --mx: .5; --my: .5;
  --gold-filter: invert(74%) sepia(35%) saturate(525%) hue-rotate(346deg) brightness(96%) contrast(93%);
  --foot-h: 56px;
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; } /* no scroll anywhere */
body {
  margin: 0;
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(120% 80% at 50% 30%, var(--bg1), var(--ink) 70%, #091118 100%);
}

.stage {
  position: relative;
  height: 100svh; min-height: 100svh; max-height: 100svh; /* lock to viewport height */
  display: grid;
  place-items: center;
  padding: 72px 0 calc(var(--foot-h) + 8px);
  overflow: hidden;
  isolation: isolate;
}

.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .10; filter: saturate(1.05) contrast(1.05) blur(0.3px);
}

.brand-art-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.brand-art {
  position: absolute; top: -12%; right: -10%;
  width: min(2200px, 200vw); height: auto;
  opacity: .12; filter: blur(0.6px) saturate(112%);
  mix-blend-mode: screen; transform: rotate(-2deg);
}
.brand-shine {
  position: absolute; top: -30%; right: -25%; width: 220%; height: 220%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 45%, rgba(255,255,255,.15) 50%, rgba(255,255,255,0) 55%);
  filter: blur(12px);
  mix-blend-mode: screen; opacity: .9;
  animation: artSheen 12s ease-in-out infinite;
}
@keyframes artSheen {
  0%   { transform: translateX(-60%) translateY(-10%); }
  50%  { transform: translateX(0%) translateY(0%); }
  100% { transform: translateX(60%) translateY(10%); }
}

/* Effects fixed + clipped (never affect layout or scroll) */
.gloss, .sheen, .parallax, .grain {
  position: fixed; inset: 0; clip-path: inset(0); contain: paint; pointer-events: none; z-index: 0;
}
.gloss {
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0) 0deg, rgba(255,255,255,.18) 30deg, rgba(255,255,255,0) 60deg, rgba(255,255,255,.14) 100deg, rgba(255,255,255,0) 140deg),
    radial-gradient(50% 60% at 50% 50%, rgba(222,177,116,.14), rgba(222,177,116,0) 70%);
  filter: blur(32px);
  mix-blend-mode: screen;
  animation: spin 26s linear infinite;
  opacity: .55;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sheen {
  background: linear-gradient(135deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.12) 50%, rgba(255,255,255,0) 58%);
  background-size: 220% 220%;
  mix-blend-mode: screen;
  filter: blur(6px);
  animation: sweep 9s ease-in-out infinite;
  opacity: .85;
}
@keyframes sweep {
  0%   { background-position: -100% -100%; }
  50%  { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.parallax {
  mix-blend-mode: screen;
  background:
    radial-gradient(28% 32% at calc(var(--mx)*100%) calc(var(--my)*100%), rgba(222,177,116,.16), rgba(222,177,116,0) 60%),
    radial-gradient(24% 28% at calc(100% - (var(--mx)*100%)) calc(100% - (var(--my)*100%)), rgba(131,160,173,.14), rgba(131,160,173,0) 60%);
  transition: background-position .15s ease-out;
  filter: blur(12px) saturate(120%);
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 72px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}
.card {
  position: relative;
  width: min(760px, 92%);
  padding: 26px 18px 24px;
  text-align: center;
  z-index: 5;
  overflow: visible;
}

.logo-wrap { display:flex; justify-content:center; align-items:center; padding: 8px 0 6px; }
.logo { width: 150px; height: auto; display:block; object-fit: contain; margin-inline:auto;
        filter: drop-shadow(0 10px 22px rgba(0,0,0,.42)); }

h1 { margin: 8px 0 0; font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; letter-spacing: .2px; }
.sub { margin: 2px 0 8px; color: var(--muted); opacity: .95; font-weight: 700; letter-spacing: .3px;
       font-size: clamp(16px, 2.6vw, 22px); }
.lead { margin: 0 0 12px; color: var(--muted); font-size: clamp(15px, 2vw, 18px); }

.icons { display: flex; gap: 12px; justify-content: center; margin-top: 6px; flex-wrap: wrap; }
.icon-btn {
  --size: 60px;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  border: 1.6px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  position: relative; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: 0 8px 20px rgba(222,177,116,.18);
  outline: none;
}
.icon-btn:hover, .icon-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(222,177,116,.24);
}
.ico-img { width: 48px; height: 48px; display: block; filter: var(--gold-filter); }

.icon-btn .tip {
  position: absolute; bottom: calc(100% + 8px); right: 50%; translate: 50% 0;
  padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  color: var(--gold); background: rgba(12,20,26,.9);
  border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translateY(6px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none; white-space: nowrap;
}
.icon-btn:hover .tip, .icon-btn:focus-visible .tip { opacity: 1; transform: translateY(0) scale(1); }

.profiles { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 14px; border-radius: 12px; font-weight: 800; text-decoration: none;
       transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn.gold { color: #1b1b1b; background: linear-gradient(100deg, var(--gold), #f3d9b0);
            border: 1.2px solid rgba(0,0,0,.08); box-shadow: 0 10px 20px rgba(222,177,116,.18); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(222,177,116,.24); }

/* Fixed footer without adding height */
.foot {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--foot-h);
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f4ddba, var(--gold)); color: #1b1b1b; font-weight: 800;
  z-index: 6;
}
.foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
                 background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7), rgba(255,255,255,0));
                 opacity: .8; }
.foot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
                background: radial-gradient(60% 40% at 50% -10%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%); }
.foot-inner { position: relative; z-index: 1; }

/* Mobile tweaks (still no scroll) */
@media (max-width: 820px) {
  .stage { padding-top: calc(84px + env(safe-area-inset-top)); padding-bottom: calc(var(--foot-h) + env(safe-area-inset-bottom)); }
  .brand-art { width: 220vw; right: -14%; top: -16%; }
  .logo { width: 80px; max-width: 28vw; height: auto; filter: none; }
  .logo-wrap { padding: 10px 0 8px; }
  .glass { backdrop-filter: none; }
  .gloss { opacity: .44; }
  .sheen { opacity: .74; }
}
