/* =========================================================
   LUDO LANDING PAGE - WELCOME.PNG & AD-SAFE STYLING
   ========================================================= */

:root {
  --bg-dark: #070926;
  --bg-deep-blue: #0c0f38;
  --primary-gold: #ffbe0b;
  --primary-orange: #fb5607;
  --text-light: #ffffff;
  --text-muted: #cbd5e1;
  --font-main: 'Poppins', sans-serif;
  --font-hindi: 'Tiro Devanagari Hindi', 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, #1e1145 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, #0d1e4c 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, #20083b 0%, transparent 50%);
  color: var(--text-light);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Floating Glow Blobs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: pulseBlob 8s ease-in-out infinite alternate;
}
.glow-1 { top: 5%; left: 10%; width: 250px; height: 250px; background: #8338ec; }
.glow-2 { top: 35%; right: 5%; width: 280px; height: 280px; background: #3a86ff; }
.glow-3 { top: 70%; left: 15%; width: 260px; height: 260px; background: #ff006e; }

@keyframes pulseBlob {
  0% { transform: scale(1) translateY(0); opacity: 0.3; }
  100% { transform: scale(1.2) translateY(20px); opacity: 0.5; }
}

/* App Wrapper - Max 480px width (Mobile-First Layout) */
.app-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: linear-gradient(180deg, #090a2a 0%, #0c0e3a 30%, #070822 70%, #100624 100%);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 100px rgba(58, 134, 255, 0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-bottom: 85px;
}

/* TOP STICKY BAR */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(9, 10, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #00f5d4;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f5d4;
  animation: blinkDot 1.5s infinite;
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.top-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffbe0b, #fb5607);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(251, 86, 7, 0.4);
  transition: transform 0.2s ease;
}
.top-download-btn:hover {
  transform: scale(1.05);
}

/* =========================================================
   POSTER SHOWCASE CONTAINER
   ========================================================= */
.poster-showcase-container {
  width: 100%;
  position: relative;
}

.poster-wrapper {
  width: 100%;
  position: relative;
  line-height: 0;
}

.poster-link-wrap {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.main-landing-poster {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5));
}

/* Interactive CTA Overlay beneath the poster */
.poster-cta-overlay {
  padding: 14px 16px 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.interactive-download-btn {
  width: 100%;
  max-width: 420px;
  height: 60px;
  background: linear-gradient(180deg, #ffe066 0%, #ffbe0b 35%, #fb5607 80%, #d00000 100%);
  border: 2px solid #fff5cc;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(251, 86, 7, 0.6), 
              0 0 35px rgba(255, 190, 11, 0.5),
              inset 0 2px 4px #ffffff;
  animation: ctaPulse 2s infinite ease-in-out;
  transition: transform 0.2s ease;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(251, 86, 7, 0.6), 0 0 25px rgba(255, 190, 11, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 10px 35px rgba(251, 86, 7, 0.8), 0 0 45px rgba(255, 190, 11, 0.8); }
}

.interactive-download-btn:hover {
  transform: scale(1.05);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-25deg);
  animation: shineMove 3s infinite;
}

@keyframes shineMove {
  0% { left: -100%; }
  30%, 100% { left: 200%; }
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e0b00;
  z-index: 2;
}

.download-arrow-icon {
  width: 26px;
  height: 26px;
  stroke: #1e0b00;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.4));
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.btn-main-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.trust-micro-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.micro-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}
.micro-icon {
  font-size: 14px;
}
.micro-dot {
  color: #64748b;
  font-size: 10px;
}

/* =========================================================
   FOOTER SECTION (Strictly Compliant & Ad-Safe)
   ========================================================= */
.app-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.footer-emblem-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.laurel-leaf {
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
}

.emblem-center-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crown-mini {
  font-size: 20px;
  margin-bottom: -4px;
}

.emblem-center-text h5 {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #fff;
}

.highlight-brand {
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.footer-bottom-links {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 20px;
  padding: 0 16px;
  z-index: 2;
}

.footer-bottom-links p {
  margin-bottom: 4px;
}

.safe-compliance-notice {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 8px !important;
  line-height: 1.4;
}

.legal-links a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 4px;
}
.legal-links a:hover {
  color: #fff;
}

.cloud-bottom-decor {
  width: 100%;
  position: relative;
  line-height: 0;
}
.cloud-bottom-decor svg {
  width: 100%;
  height: 45px;
}

/* =========================================================
   STICKY BOTTOM DOWNLOAD BAR
   ========================================================= */
.sticky-download-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  background: rgba(9, 10, 42, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 190, 11, 0.4);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-download-bar.active {
  transform: translateX(-50%) translateY(0);
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-logo-mini {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ffbe0b, #fb5607);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(251, 86, 7, 0.5);
}

.sticky-text strong {
  display: block;
  font-size: 13px;
  color: #fff;
}
.sticky-text small {
  font-size: 11px;
  color: #00f5d4;
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffbe0b, #fb5607);
  color: #000;
  font-weight: 900;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(251, 86, 7, 0.5);
}
