/* ============================================
   BS TRADER - Premium Trading Signals UI
   ============================================ */

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

:root {
  --bg: #0a0c10;
  --surface: #0f1218;
  --card: #141820;
  --border: #1e2530;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.25);
  --green-dim: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --text: #f0f4ff;
  --muted: #8896a8;
  --tg-blue: #2aabee;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34,197,94,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(56,189,248,0.05) 0%, transparent 60%),
    var(--bg);
}

/* Card */
.card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(34,197,94,0.04);
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Top Bar ── */
.top-bar {
  padding: 16px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 20px;
  padding: 4px 12px 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
  width: fit-content;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 7px var(--green); }
  50%       { opacity: 0.15; box-shadow: none; }
}

/* Stats Grid */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  transition: border-color 0.2s;
}

.stat:hover {
  border-color: rgba(34,197,94,0.3);
}

.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ── Card Body ── */
.card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Headline ── */
.headline {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 18px rgba(34,197,94,0.35));
}

.headline h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 9vw, 44px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: #ffffff;
}

.headline h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 9vw, 44px);
  letter-spacing: 0.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--green) 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Checklist ── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 14px;
  padding: 16px 18px;
}

.checklist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #e2fdf0;
  line-height: 1.4;
}

.check-icon {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.check-sub {
  color: var(--muted);
  font-weight: 400;
}

/* ── CTA Text ── */
.cta-text {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ── Feature Pills 2×2 ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s;
}

.feature-pill:hover {
  border-color: rgba(34,197,94,0.3);
}

.pill-icon {
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Telegram Button ── */
.tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: var(--tg-blue);
  border-radius: 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(42,171,238,0.35);
}

.tg-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.tg-btn:active {
  transform: translateY(0);
  opacity: 1;
}

.tg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .card {
    max-width: 100%;
    border-radius: 20px;
  }

  .headline h1,
  .headline h2 {
    font-size: 36px;
  }
}
