/* ============================================================
   Godswill Matrimony – Coming Soon  |  style.css
   Fonts  : Luxurious Script + Tenor Sans + Jost
   Palette: #f2d8e1 blush base
   ============================================================ */

:root {
  --blush:      #f2d8e1;
  --blush-deep: #e8bfcd;
  --rose:       #c8748f;
  --wine:       #8b3a54;
  --gold:       #c9a96e;
  --dark:       #2a1520;
  --white:      #fff;
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: 'Jost', sans-serif;
  background: var(--blush);
  color: var(--dark);
}

/* ── FULL-PAGE BACKGROUND (logo_1.png) — heavily blurred ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-layer::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: url('logo_1.png') center center / cover no-repeat;
  filter: blur(18px);
  -webkit-filter: blur(18px);
  transform: scale(1.05);
}

.bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(242, 216, 225, 0.35);
}

/* ── GRAIN TEXTURE ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── DECORATIVE RINGS ── */
.ring {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(200, 116, 143, 0.2);
  pointer-events: none;
  z-index: 1;
  animation: breathe 9s ease-in-out infinite;
}
.ring-1 { width: 460px; height: 460px; top:50%; left:50%; transform:translate(-50%,-50%); }
.ring-2 { width: 650px; height: 650px; top:50%; left:50%; transform:translate(-50%,-50%); animation-delay:2s; }
.ring-3 { width: 840px; height: 840px; top:50%; left:50%; transform:translate(-50%,-50%); animation-delay:4s; }

@keyframes breathe {
  0%,100% { opacity:.18; transform:translate(-50%,-50%) scale(1);    }
  50%      { opacity:.36; transform:translate(-50%,-50%) scale(1.04); }
}

/* ── STAGE ── */
.stage {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 0;
}

/* ── FROSTED GLASS CARD ── */
.glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.4rem, 3.5vw, 2.8rem) clamp(2.5rem, 8vw, 6rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 8px 40px rgba(139, 58, 84, 0.10),
    0 2px 8px  rgba(139, 58, 84, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ── LOGO ── */
.brand-logo {
  width: clamp(70px, 10vw, 130px);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) .15s forwards;
  filter: drop-shadow(0 4px 16px rgba(139,58,84,.15));
}

/* ── GOLD ORNAMENT ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) .35s forwards;
}
.ornament .line {
  width: clamp(30px, 6vw, 55px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament .line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.ornament .diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.75;
}

/* ── HEADLINE ── */
.headline {
  font-family: 'Tenor Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 4.4rem);
  letter-spacing: 0.14em;
  line-height: 1.12;
  color: var(--wine);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) .55s forwards;
}

.headline em {
  font-family: 'Luxurious Script', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.18em;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--rose);
  display: block;
  line-height: 1.05;
  margin: 0.04em 0 0.08em;
}

/* ── SUB TEXT ── */
.sub {
  margin-top: 0.7rem;
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.52rem, 1vw, 0.68rem);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--wine);
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) .75s forwards;
}

/* ── TAGLINE ROW ── */
.tagline {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.55rem, 1vw, 0.68rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) .92s forwards;
}
.tagline .gem {
  font-size: 0.75em;
  color: var(--gold);
  opacity: 0.75;
}

/* ── SOCIAL ICONS ── */
.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.1rem;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) 1.1s forwards;
}
.socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(200, 116, 143, 0.35);
  background: rgba(255,255,255,0.3);
  color: var(--wine);
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .2s;
}
.socials a:hover {
  background: rgba(232, 191, 205, 0.6);
  border-color: var(--rose);
  transform: translateY(-3px);
}
.socials svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================
   FEATURE CARDS – Auto-scrolling strip
   ============================================================ */

/* Label above the strip */
.features-label {
  margin-top: 1.6rem;
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.5rem, 0.9vw, 0.62rem);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--wine);
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) 1.3s forwards;
}

/* Outer wrapper */
.features-track-wrapper {
  position: relative;
  width: min(960px, 94vw);
  overflow: hidden;
  margin-top: 0.8rem;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) 1.5s forwards;
  /* Soft fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}

/* Inner scrolling row */
.features-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scrollCards 32s linear infinite;
}

/* Pause on hover */
.features-track-wrapper:hover .features-track {
  animation-play-state: paused;
}

@keyframes scrollCards {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual feature card */
.feat-card {
  flex-shrink: 0;
  width: clamp(160px, 20vw, 200px);
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 24px rgba(139, 58, 84, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.55);
  text-align: center;
  cursor: default;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.feat-card:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 12px 36px rgba(139, 58, 84, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Emoji icon circle */
.feat-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.18), rgba(200,116,143,0.15));
  border: 1px solid rgba(201,169,110,0.35);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}

/* Card heading */
.feat-title {
  font-family: 'Tenor Sans', sans-serif;
  font-size: clamp(0.62rem, 1.1vw, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.45rem;
}

/* Card body text */
.feat-desc {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.58rem, 1vw, 0.68rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--dark);
  opacity: 0.72;
}

/* ── FOOTER TAG ── */
.footer-tag {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Jost', sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
  opacity: 0.4;
  z-index: 3;
  white-space: nowrap;
}

/* ── ENTRANCE ANIMATION ── */
@keyframes riseIn {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0);    }
}

/* ── MOBILE: unlock vertical scroll on short screens ── */
@media (max-height: 700px) {
  html, body   { overflow-y: auto; }
  .stage       { height: auto; padding: 2.5rem 1.5rem 5rem; }
  .ring-2,
  .ring-3      { display: none; }
}

/* ── SMALL SCREENS: tighten spacing ── */
@media (max-width: 480px) {
  .glass-card {
    padding: 1.5rem 1.6rem;
  }
  .features-track-wrapper {
    width: 96vw;
  }
  .feat-card {
    width: 155px;
    padding: 1.1rem 0.9rem 1.2rem;
  }
}
