/* ══════════════════════════════════════════════════════════════════
   PREDICT SMARTER WITH SAMEER • MODERN DARK TELEGRAM LANDING UI
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-deep: #07080b;
  --text-white: #ffffff;
  --red-accent: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.4);
  --tg-blue-start: #2bb2f8;
  --tg-blue-end: #1793db;
  --tg-glow: rgba(34, 158, 217, 0.48);
  --muted-text: #7e8799;
  --bullet-color: #4b5568;
}

* {
  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-color: var(--bg-deep);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-white);
  cursor: pointer;
  overflow-x: hidden;
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ambient Warm Red Glow at Top */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-top-orb {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.26) 0%, rgba(185, 28, 28, 0.12) 42%, transparent 70%);
  filter: blur(55px);
}

/* Subtle Technical Grid Background */
.tech-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

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

/* 1. Avatar with Multi-colored Rainbow Gradient Ring */
.avatar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.rainbow-ring {
  width: min(240px, 60vw);
  height: min(240px, 60vw);
  border-radius: 50%;
  padding: 4.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(
    from 140deg,
    #10b981 0deg,
    #84cc16 45deg,
    #f59e0b 90deg,
    #f97316 135deg,
    #ef4444 180deg,
    #d946ef 225deg,
    #8b5cf6 270deg,
    #06b6d4 315deg,
    #10b981 360deg
  );
  box-shadow: 
    0 0 35px rgba(239, 68, 68, 0.24),
    0 0 60px rgba(6, 182, 212, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.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. Impactful Titles */
.title-container {
  text-align: center;
  margin-bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.title-main,
.title-sub {
  font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.1rem, 7.8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.title-sub .highlight-name {
  color: var(--red-accent);
  text-shadow: 0 0 24px var(--red-glow);
  margin-left: 0.2rem;
}

/* 3. Telegram Pill CTA Button */
.cta-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.btn-telegram {
  width: 100%;
  max-width: 375px;
  height: 56px;
  background: linear-gradient(180deg, var(--tg-blue-start) 0%, var(--tg-blue-end) 100%);
  border: none;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 
    0 10px 28px var(--tg-glow),
    0 2px 8px rgba(34, 158, 217, 0.3);
  color: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  outline: none;
  padding: 0 1.5rem;
}

.btn-telegram:active {
  transform: scale(0.975);
  filter: brightness(0.95);
}

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

.btn-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

/* 4. Subtitle Features */
.features-text {
  font-size: clamp(0.78rem, 3.2vw, 0.88rem);
  font-weight: 500;
  color: var(--muted-text);
  letter-spacing: 0.015em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
}

.features-text .bullet {
  color: var(--bullet-color);
  font-size: 0.75rem;
}

/* Discreet Made-By Badge */
.made-by-badge {
  position: fixed;
  bottom: 10px;
  right: 12px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(12, 14, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 3px 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: auto;
}

.made-by-badge strong {
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive adjustments for very small screens */
@media (max-width: 360px) {
  .rainbow-ring {
    width: 190px;
    height: 190px;
  }
  .title-main,
  .title-sub {
    font-size: 1.85rem;
  }
  .btn-telegram {
    height: 52px;
  }
  .btn-text {
    font-size: 0.95rem;
  }
}
