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

:root {
  --bg:          #0a0101;
  --bg-card:     #130303;
  --bg-surface:  #1c0505;
  --bg-item:     #100202;
  --red:         #e5173a;
  --red-deep:    #a00f28;
  --red-glow:    rgba(229, 23, 58, 0.22);
  --red-border:  rgba(229, 23, 58, 0.28);
  --text:        #f0e0e3;
  --text-muted:  #b07080;
  --text-dim:    #7a4050;
  --accent:      #ff4060;
}

body {
  min-height: 100vh;
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(180, 10, 30, 0.18) 0%, transparent 70%);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 48px;
  overflow-x: hidden;
}

.card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--red-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 0 1px rgba(229,23,58,0.1), 0 32px 64px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,80,100,0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(229,23,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }

.r-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #1e0005 0%, #0a0101 100%);
  box-shadow: 0 0 0 1.5px rgba(229,23,58,0.6), 0 0 14px rgba(229,23,58,0.45), 0 0 35px rgba(229,23,58,0.18), 0 10px 24px rgba(0,0,0,0.7);
  animation: iconPulse 2.5s ease-in-out infinite alternate;
}

.r-icon::before {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 55%; height: 200%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.13) 50%, transparent 100%);
  animation: iconShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

.r-icon span {
  position: relative;
  z-index: 1;
  line-height: 1;
  text-shadow: 0 0 6px rgba(255,100,120,1), 0 0 18px rgba(229,23,58,0.8), 0 0 40px rgba(229,23,58,0.4);
}

@keyframes iconPulse {
  from { box-shadow: 0 0 0 1.5px rgba(229,23,58,0.5), 0 0 10px rgba(229,23,58,0.3), 0 10px 24px rgba(0,0,0,0.7); }
  to   { box-shadow: 0 0 0 1.5px rgba(229,23,58,0.9), 0 0 22px rgba(229,23,58,0.6), 0 0 45px rgba(229,23,58,0.25), 0 10px 24px rgba(0,0,0,0.7); }
}

@keyframes iconShimmer {
  0%        { transform: translateX(-20%) skewX(-15deg); opacity: 0; }
  15%, 25%  { opacity: 1; }
  45%       { transform: translateX(280%) skewX(-15deg); opacity: 0; }
  100%      { transform: translateX(280%) skewX(-15deg); opacity: 0; }
}

.r-icon-sm { width: 54px; height: 54px; border-radius: 14px; font-size: 2.1rem; }

.brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--red-border);
  background: rgba(229,23,58,0.08);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.35); opacity: 0.5; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--red-border);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero {
  background: var(--bg-surface);
  border: 1px solid var(--red-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  text-wrap: balance;
}

.hero-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 60%, #f02550 100%);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(180,10,30,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-download::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}

.btn-download:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 18px 40px rgba(180,10,30,0.65), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-download:active { transform: translateY(1px) scale(0.99); }
.btn-icon { font-size: 1.15rem; line-height: 1; }

.section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.services-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--red-border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.service-cell {
  background: var(--bg-item);
  border: 1px solid rgba(229,23,58,0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  transition: border-color 0.2s, background 0.2s;
}

.service-cell:hover { border-color: rgba(229,23,58,0.35); background: rgba(229,23,58,0.06); }

.service-cell img {
  width: 52px; height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  max-width: 100%;
  transition: transform 0.2s ease;
}

.service-cell:hover img { transform: scale(1.08); }

.instructions-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--red-border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--bg-item);
  border: 1px solid rgba(229,23,58,0.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step::before {
  content: counter(step);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(180,10,30,0.5);
}

.step strong { color: var(--text); }

.footer {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.7;
}

.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--red-border);
  border-radius: 20px;
  padding: 28px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 32px 64px rgba(0,0,0,0.8);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }

.modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.progress-bar-wrap {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--accent));
  border-radius: 999px;
  width: 0%;
  transition: width 2.8s cubic-bezier(0.2, 0, 0.8, 1);
}

.progress-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.browser-popup {
  background: linear-gradient(145deg, #1a2030, #252d40);
  border: 1px solid rgba(100,130,255,0.25);
  border-top: 3px solid #4f7fff;
  border-radius: 20px;
  padding: 28px 22px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 32px 64px rgba(0,0,0,0.85);
  transform: scale(0.93);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  position: relative;
}

.modal-overlay.open .browser-popup { transform: scale(1); }

.bp-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 1.4rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  transition: color 0.2s;
}
.bp-close:hover { color: #fff; }

.bp-logo { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; margin: 0 auto 14px; box-shadow: 0 6px 18px rgba(0,0,0,0.4); }
.bp-logo img { width: 100%; height: 100%; object-fit: cover; }

.bp-app-info {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  font-size: 0.82rem;
  color: #d1d5db;
  margin-bottom: 16px;
  line-height: 1.8;
}
.bp-app-info strong { color: #a5b4fc; min-width: 80px; display: inline-block; }

.bp-divider { border: none; height: 1px; background: rgba(255,255,255,0.08); margin: 16px 0; }

.bp-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 12px;
}

.bp-steps { list-style: decimal; list-style-position: inside; text-align: left; padding-left: 4px; margin-bottom: 18px; }
.bp-steps li { font-size: 0.82rem; color: #d1d5db; line-height: 1.7; margin-bottom: 8px; }
.bp-steps li strong { color: #fef08a; font-weight: 600; }

.bp-copy-hint { font-size: 0.75rem; color: #9ca3af; margin-bottom: 10px; line-height: 1.5; }

.bp-btn-copy {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e5e7eb;
  border-radius: 10px;
  padding: 11px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 8px;
  font-weight: 500;
}
.bp-btn-copy:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); }
.bp-btn-copy.copied { background: #059669; border-color: #059669; color: #fff; }

.bp-btn-close {
  width: 100%;
  background: #3b5bdb;
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.bp-btn-close:hover { background: #2f4ac7; }

.ticker-wrap {
  width: 100%;
  background: #0f0101;
  border-bottom: 1px solid rgba(229,23,58,0.3);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 38px;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  z-index: 2;
  box-shadow: 4px 0 12px rgba(0,0,0,0.5);
}

.ticker-track-wrap { flex: 1; overflow: hidden; height: 100%; position: relative; }

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: #ddc0c8;
  padding: 0 24px;
  border-right: 1px solid rgba(229,23,58,0.18);
  white-space: nowrap;
  height: 100%;
}

.ticker-item .t-time {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  background: rgba(229,23,58,0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.ticker-item .t-vs { color: var(--text-dim); font-size: 0.68rem; }

.ticker-item .t-league {
  color: #7a5060;
  font-size: 0.65rem;
  padding: 1px 5px;
  border: 1px solid rgba(229,23,58,0.18);
  border-radius: 4px;
}

@media (max-width: 400px) {
  .brand-name { font-size: 1.15rem; }
  .stat-num   { font-size: 1.05rem; }
  .service-cell img { width: 42px; height: 30px; }
  .btn-download { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, .progress-bar { transition: none !important; animation: none !important; }
}
