:root {
  --bg0: #07140e;
  --bg1: #0d2418;
  --mango: #ffb020;
  --orange: #ff7a18;
  --green: #3ecf6e;
  --text: #f7f3e8;
  --muted: rgba(247, 243, 232, 0.72);
  --glass: rgba(18, 42, 28, 0.55);
  --stroke: rgba(255, 176, 32, 0.35);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --font: "Segoe UI", "Noto Sans Bengali", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, #1a3d28 0%, transparent 55%),
              radial-gradient(900px 600px at 100% 20%, #3a2208 0%, transparent 50%),
              linear-gradient(160deg, var(--bg0), var(--bg1) 55%, #0a1c12);
  overflow-x: hidden;
}

.bg-glow {
  position: fixed; inset: -20%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,176,32,.18), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(62,207,110,.12), transparent 40%);
  animation: glowShift 12s ease-in-out infinite alternate;
  pointer-events: none; z-index: 0;
}

.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, var(--mango), transparent 70%);
  opacity: .35; animation: floatUp linear infinite;
}

.shell {
  position: relative; z-index: 1;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.top { display: flex; justify-content: center; margin-bottom: 18px; }
.logo {
  width: min(180px, 55vw); height: auto;
  filter: drop-shadow(0 8px 24px rgba(255,176,32,.25));
  animation: fadeIn .9s ease both;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  padding: 28px 20px 24px;
  overflow: hidden;
}

.mango-stage {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}

.mango {
  position: absolute;
  width: 72px; height: 90px;
  border-radius: 50% 50% 48% 48%;
  background:
    radial-gradient(circle at 35% 30%, #ffe08a, transparent 40%),
    linear-gradient(160deg, #ffd54a, var(--orange) 70%, #d45500);
  box-shadow: inset -10px -14px 24px rgba(0,0,0,.2), 0 10px 30px rgba(255,122,24,.25);
  animation: floatMango 5.5s ease-in-out infinite;
}
.mango::before {
  content: ""; position: absolute; top: -10px; left: 50%;
  width: 14px; height: 18px; transform: translateX(-50%);
  background: linear-gradient(180deg, #5d8f2f, #2f5a18);
  border-radius: 40% 40% 20% 20%;
}
.mango-a { top: 8%; right: 6%; animation-delay: 0s; }
.mango-b { bottom: 18%; left: 4%; width: 54px; height: 68px; animation-delay: -1.4s; }
.mango-c { top: 42%; right: 22%; width: 40px; height: 50px; opacity: .85; animation-delay: -2.6s; }

.leaf {
  position: absolute; width: 28px; height: 14px; border-radius: 60% 10%;
  background: linear-gradient(90deg, #5dcf6a, #2f8a3a);
  opacity: .55; animation: floatMango 7s ease-in-out infinite;
}
.leaf-1 { top: 22%; left: 18%; transform: rotate(-25deg); }
.leaf-2 { bottom: 28%; right: 30%; transform: rotate(18deg); animation-delay: -2s; }

.copy { position: relative; z-index: 2; text-align: center; }
h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.25;
  background: linear-gradient(90deg, #fff6d4, var(--mango), #ff8a2b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: slideUp .8s ease both;
}
.sub {
  margin: 0 auto 18px; max-width: 34ch;
  color: var(--muted); font-size: clamp(1rem, 3.2vw, 1.15rem);
  animation: slideUp .9s ease both;
}

.promo-card {
  margin: 0 auto 22px; max-width: 520px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,176,32,.08);
  border: 1px solid rgba(255,176,32,.22);
  min-height: 54px;
  display: grid; place-items: center;
}
.promo-text {
  margin: 0; font-weight: 650; color: #ffe9b0;
  animation: promoFade .7s ease;
}

.preview-row {
  display: flex; gap: 18px; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-bottom: 22px;
}
.phone-mock {
  width: 150px; padding: 10px; border-radius: 28px;
  background: linear-gradient(160deg, #1c1c1c, #333);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.phone-screen {
  border-radius: 20px; overflow: hidden; background: #0b1a12;
  aspect-ratio: 9/16; display: grid; place-items: center;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-note { max-width: 180px; text-align: left; color: var(--muted); }
.app-icon {
  border-radius: 14px; margin-bottom: 8px;
  box-shadow: 0 8px 20px rgba(255,122,24,.3);
}

.actions { display: grid; gap: 14px; justify-items: center; margin-bottom: 18px; }
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; color: #1a1205;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:focus-visible { outline: 3px solid #ffe08a; outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(90deg, #ffd76a, var(--mango), var(--orange));
  box-shadow: 0 10px 30px rgba(255,122,24,.35);
  animation: pulseCta 2.2s ease-in-out infinite;
  min-width: min(320px, 92vw);
}
.btn-app {
  background: linear-gradient(90deg, #3ecf6e, #1f9a4a);
  color: #04140a;
  box-shadow: 0 10px 28px rgba(62,207,110,.28);
  min-width: min(300px, 90vw);
}
.btn[disabled], .btn.is-disabled {
  opacity: .55; cursor: not-allowed; animation: none; transform: none;
}
.app-heading { margin: 4px 0 8px; font-size: 1.05rem; color: #e8ffe9; }
.app-soon { margin: 6px 0 0; color: var(--muted); }
.float-mangoes { position: relative; height: 28px; margin: 4px 0 8px; }
.fm { position: absolute; animation: floatMango 5s ease-in-out infinite; filter: drop-shadow(0 6px 12px rgba(255,122,24,.35)); }
.fm-1 { left: 0; top: 0; }
.fm-2 { left: 42px; top: -6px; animation-delay: -1.2s; }
.fm-3 { left: 78px; top: 2px; animation-delay: -2.4s; }
.extra-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,176,32,.28);
  min-width: 120px;
}

.countdown-wrap { max-width: 420px; margin: 0 auto; }
.countdown { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.progress {
  height: 8px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.08);
}
.progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--mango), var(--orange));
  transition: width .2s linear;
}

.foot { text-align: center; margin-top: 18px; color: rgba(247,243,232,.45); font-size: .85rem; }

.disabled-screen {
  position: fixed; inset: 0; z-index: 20;
  display: grid; place-items: center; padding: 20px;
  background: rgba(4, 12, 8, .82);
}
.disabled-screen[hidden] {
  display: none !important;
}
.disabled-card { padding: 28px 22px; text-align: center; max-width: 420px; width: 100%; }

@keyframes glowShift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes promoFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes floatMango {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}
@keyframes pulseCta {
  0%, 100% { box-shadow: 0 10px 30px rgba(255,122,24,.3); }
  50% { box-shadow: 0 14px 40px rgba(255,176,32,.55); }
}
@keyframes floatUp {
  from { transform: translateY(110vh) scale(.6); opacity: 0; }
  20% { opacity: .4; }
  to { transform: translateY(-10vh) scale(1); opacity: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 22px 14px 18px; }
  .mango-c { display: none; }
  .preview-note { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow, .mango, .leaf, .btn-primary, .logo, h1, .sub, .promo-text, .particle, .fm {
    animation: none !important;
  }
  .progress-bar { transition: none; }
}
