/* ══════════════════════════════════════════════════════════════════
   ANTIM SURESHOT • ELEGANT LIGHT THEME TELEGRAM LANDING UI
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-gradient: linear-gradient(145deg, #d8ecf8 0%, #edf5fa 32%, #efe6f8 68%, #fae6f4 100%);
  --card-bg: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --text-body: #4b5563;
  --tg-blue-start: #31b8f8;
  --tg-blue-end: #1ca3e8;
  --tg-blue-glow: rgba(30, 165, 232, 0.42);
  --pill-bg: #f0f9ff;
  --pill-border: #bae6fd;
  --pill-highlight: #0284c7;
  --green-ready: #16a34a;
}

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

html, body {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg-gradient);
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  cursor: pointer;
  overflow-x: hidden;
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background Bokeh Orbs */
.bg-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.orb-top {
  top: -10%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.7) 0%, transparent 70%);
}

.orb-bottom {
  bottom: -10%;
  right: -5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 208, 254, 0.6) 0%, transparent 70%);
}

/* Main Viewport Container */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

/* Central Floating White Card */
.main-card {
  width: 100%;
  background: #ffffff;
  border-radius: 32px;
  padding: 2.2rem 1.6rem 1.85rem;
  box-shadow: 
    0 24px 64px rgba(15, 23, 42, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* 1. Avatar with Rainbow Ring & Sparkle Dots */
.avatar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.spark-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 
    0 0 10px #38bdf8,
    0 0 20px #0ea5e9,
    0 0 30px rgba(14, 165, 233, 0.5);
  pointer-events: none;
  animation: floatSparkle 3s ease-in-out infinite alternate;
}

.spark-left {
  left: -14px;
  top: 36%;
}

.spark-right {
  right: -14px;
  bottom: 34%;
  animation-delay: 1.5s;
}

@keyframes floatSparkle {
  0% { transform: translateY(0) scale(1); opacity: 0.85; }
  100% { transform: translateY(-4px) scale(1.15); opacity: 1; }
}

.rainbow-ring {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  padding: 3.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(
    from 180deg,
    #06b6d4 0deg,
    #10b981 45deg,
    #84cc16 90deg,
    #f59e0b 135deg,
    #ef4444 180deg,
    #ec4899 225deg,
    #8b5cf6 270deg,
    #3b82f6 315deg,
    #06b6d4 360deg
  );
  box-shadow: 
    0 0 28px rgba(6, 182, 212, 0.45),
    0 0 45px rgba(59, 130, 246, 0.3);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. Channel Name & Badges */
.channel-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

.channel-badge {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

/* 3. Description */
.channel-description {
  margin-bottom: 1.5rem;
}

.desc-greeting {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.desc-body {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
  max-width: 320px;
}

/* 4. Glowing Telegram CTA Button */
.btn-cta {
  width: 100%;
  height: 52px;
  background: linear-gradient(180deg, var(--tg-blue-start) 0%, var(--tg-blue-end) 100%);
  border: none;
  border-radius: 9999px;
  color: #ffffff;
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 
    0 8px 24px var(--tg-blue-glow),
    0 2px 6px rgba(30, 165, 232, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
  outline: none;
  padding: 0 1.25rem;
}

.btn-cta:active {
  transform: scale(0.98);
  filter: brightness(0.96);
}

.tg-plane-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  transform: rotate(-30deg);
  margin-top: -2px;
}

.btn-text {
  color: #ffffff;
}

/* 5. Auto Redirect Progress Pill */
.redirect-pill {
  width: min(255px, 85%);
  height: 38px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 16px;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.pill-text {
  font-size: 0.82rem;
  color: #1e293b;
  font-weight: 500;
  z-index: 1;
}

.sec-highlight {
  color: var(--pill-highlight);
  font-weight: 700;
}

.btn-stay {
  background: #ffffff;
  border: 1px solid #e0f2fe;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0369a1;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease;
}

.btn-stay:hover {
  background: #f8fafc;
}

.pill-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--pill-highlight);
  width: 0%;
  transition: width 0.1s linear;
}

/* 6. Guidance & Status */
.guide-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.status-indicator {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-ready {
  color: var(--green-ready);
  font-weight: 700;
}

/* 7. Footer Attribution */
.footer-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 1.6rem;
  text-align: center;
}

.ads-managed {
  font-size: 0.74rem;
  color: #94a3b8;
  letter-spacing: 0.015em;
}

.ads-managed strong {
  color: #1e293b;
  font-weight: 700;
}

.made-by-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(186, 230, 253, 0.85);
  border-radius: 9999px;
  padding: 4px 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  font-size: 0.74rem;
  color: #475569;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.made-by-tag strong {
  color: #0284c7;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 2px;
}

/* Responsive adjustments */
@media (max-width: 360px) {
  .main-card {
    padding: 1.8rem 1.25rem 1.5rem;
    border-radius: 26px;
  }
  .rainbow-ring {
    width: 120px;
    height: 120px;
  }
  .channel-name {
    font-size: 1.3rem;
  }
  .btn-cta {
    height: 48px;
    font-size: 0.92rem;
  }
}
