/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #f0ebe8;
  --navy:    #1A2B3C;
  --gold:    #C5A371;
  --gold-dk: #A8864E;
  --teal:    #4A7C7C;
  --white:   #ffffff;
  --font-ar: 'Almarai', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--cream);
  font-family: var(--font-ar);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

/* ─── Decorative background layer ──────────────────────────── */
.page {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Sunburst top-left */
.deco.sunburst {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(197,163,113,.08) 6deg,
    transparent 12deg,
    rgba(197,163,113,.08) 18deg,
    transparent 24deg,
    rgba(197,163,113,.08) 30deg,
    transparent 36deg,
    rgba(197,163,113,.08) 42deg,
    transparent 48deg,
    rgba(197,163,113,.08) 54deg,
    transparent 60deg,
    rgba(197,163,113,.08) 66deg,
    transparent 72deg
  );
  opacity: .7;
}

/* Faint doves top-left */
.deco.birds-tl {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 140px;
  height: 110px;
  background:
    radial-gradient(ellipse 48px 30px at 30% 40%, rgba(74,124,124,.10) 100%, transparent 100%),
    radial-gradient(ellipse 38px 24px at 70% 60%, rgba(197,163,113,.10) 100%, transparent 100%);
  filter: blur(2px);
}

/* Subtle halftone dot bottom-left */
.deco.halftone {
  position: absolute;
  bottom: 80px;
  left: -20px;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(197,163,113,.18) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  border-radius: 50%;
  opacity: .8;
}

/* Lotus / flower bottom-right */
.deco.lotus {
  position: absolute;
  bottom: 60px;
  right: -20px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, rgba(74,124,124,.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: 50%;
  opacity: .7;
}

/* ─── Main content ──────────────────────────────────────────── */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0 24px 100px;
  width: 100%;
  max-width: 560px;
}

/* Logo */
.logo-wrap {
  width: 300px;
  height: 300px;
  margin-bottom: 4px;
  animation: floatUp .9s cubic-bezier(.22,1,.36,1) both;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Horizontal gold divider */
.line-divider {
  display: flex;
  align-items: center;
  width: 220px;
  margin-bottom: 22px;
  animation: fadeUp .8s .25s both;
}
.line-divider::before,
.line-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 8px;
  flex-shrink: 0;
}

/* Coming Soon headline */
.headline {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 14px;
  animation: fadeUp .8s .3s both;
}

/* Sub-line */
.subline {
  font-family: var(--font-en);
  font-size: .95rem;
  font-weight: 500;
  color: rgba(26,43,60,.55);
  letter-spacing: .04em;
  margin-bottom: 32px;
  animation: fadeUp .8s .38s both;
}

/* Gold vertical separator above icons */
.vertical-gold {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  margin-bottom: 28px;
  animation: fadeUp .8s .44s both;
}

/* ─── Social Icons ──────────────────────────────────────────── */
.social {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  animation: fadeUp .8s .52s both;
}

/* Per-brand accent colours */
.icon-btn        { --brand: var(--navy); --brand-glow: rgba(26,43,60,.35); }
.icon-btn.fb     { --brand: #1877F2;     --brand-glow: rgba(24,119,242,.35); }
.icon-btn.tg     { --brand: #229ED9;     --brand-glow: rgba(34,158,217,.35); }
.icon-btn.yt     { --brand: #FF0000;     --brand-glow: rgba(255,0,0,.30); }

.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

/* The circle */
.icon-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 0 rgba(0,0,0,.18),
    0 6px 18px var(--brand-glow);
  transition:
    transform .28s cubic-bezier(.34,1.56,.64,1),
    box-shadow .28s ease;
}

/* Inner gloss highlight */
.icon-ring::before {
  content: '';
  position: absolute;
  top: 4px; left: 8px;
  width: 46px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  filter: blur(3px);
  pointer-events: none;
}

/* Outer ring that appears on hover */
.icon-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
}

.icon-btn:hover .icon-ring,
.icon-btn:focus-visible .icon-ring {
  transform: translateY(-6px) scale(1.1);
  box-shadow:
    0 10px 0 rgba(0,0,0,.12),
    0 14px 32px var(--brand-glow);
}

.icon-btn:hover .icon-ring::after,
.icon-btn:focus-visible .icon-ring::after {
  opacity: .55;
  transform: scale(1);
}

.icon-btn:focus-visible { outline: none; }

.ic {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}

/* Label under each icon */
.icon-label {
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: rgba(26,43,60,.60);
  transition: color .2s;
}

.icon-btn:hover .icon-label,
.icon-btn:focus-visible .icon-label {
  color: var(--brand);
}

/* ─── Wave Footer ───────────────────────────────────────────── */
.wave-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 2;
  pointer-events: none;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
}

.w-gold {
  bottom: 0;
  background: var(--gold);
  clip-path: ellipse(56% 100% at 50% 100%);
  opacity: .55;
}

.w-navy {
  bottom: 0;
  background: var(--navy);
  clip-path: ellipse(70% 80% at 50% 110%);
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px) scale(.92); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 480px) {
  html, body { overflow: auto; }

  .logo-wrap  { width: 230px; height: 230px; }
  .headline   { font-size: 2.2rem; }
  .content    { padding-bottom: 90px; }
  .icon-ring  { width: 52px; height: 52px; }
  .ic         { width: 22px; height: 22px; }
  .social     { gap: 20px; }
}
