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

:root {
  --bg: #f5f7fb;
  --text: #1e293b;
  
  /* Brand colors */
  --diwa-theme: #22c55e;
  --wecoin-theme: #06b6d4;
  --uno-theme: #e11d48;
  --dd-theme: #ec4899;
  --come-theme: #7c3aed;
  --shakti-theme: #0da192;
  --alpha-theme: #e11d48;
  --jd-theme: #ea580c;
  --fc-theme: #0da192;
  --sathi-theme: #e11d48;
  --ajay-theme: #7c3aed;
  --redbull-theme: #ea580c;
  
  --radius: 28px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 480px;
  padding: 14px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Header ── */
.header {
  display: flex;
  gap: 10px;
  margin-bottom: 2px;
}

.header-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.header-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-150%) skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.header-btn:hover::after {
  transform: translateX(300%) skewX(-20deg);
  transition: transform 0.8s ease-in-out;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.header-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.support-btn {
  background: linear-gradient(135deg, #00e676 0%, #00a152 100%);
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.support-btn:hover {
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.45);
}

.telegram-btn {
  background: linear-gradient(135deg, #00b0ff 0%, #0088cc 100%);
  box-shadow: 0 4px 15px rgba(0, 176, 255, 0.3);
}

.telegram-btn:hover {
  box-shadow: 0 8px 25px rgba(0, 176, 255, 0.45);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.6; }
}

.telegram-icon {
  width: 14px;
  height: 14px;
}

/* ── Top Kiara Advani Banner ── */
.top-banner-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── App Cards ── */
.cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  position: relative;
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Card Themes backgrounds */
.theme-diwa { background: linear-gradient(135deg, #eafaf1 0%, #f7fdfa 50%, #ffffff 100%); }
.theme-wecoin { background: linear-gradient(135deg, #e6fcfd 0%, #f7fefe 50%, #ffffff 100%); }
.theme-uno { background: linear-gradient(135deg, #fff1f3 0%, #fffbfc 50%, #ffffff 100%); }
.theme-dd { background: linear-gradient(135deg, #fff1f8 0%, #fffbfe 50%, #ffffff 100%); }
.theme-come { background: linear-gradient(135deg, #f4f0ff 0%, #faf9ff 50%, #ffffff 100%); }
.theme-shakti { background: linear-gradient(135deg, #e6faf6 0%, #f7fdfc 50%, #ffffff 100%); }
.theme-alpha { background: linear-gradient(135deg, #fff1f3 0%, #fffbfc 50%, #ffffff 100%); }
.theme-jd { background: linear-gradient(135deg, #fff7ed 0%, #fffdfa 50%, #ffffff 100%); }
.theme-fc { background: linear-gradient(135deg, #e6faf6 0%, #f7fdfc 50%, #ffffff 100%); }
.theme-sathi { background: linear-gradient(135deg, #fff1f3 0%, #fffbfc 50%, #ffffff 100%); }
.theme-ajay { background: linear-gradient(135deg, #f4f0ff 0%, #faf9ff 50%, #ffffff 100%); }
.theme-redbull { background: linear-gradient(135deg, #fff7ed 0%, #fffdfa 50%, #ffffff 100%); }

/* Organic Background Wave Curves */
.card-waves {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.card-waves svg {
  width: 100%;
  height: 100%;
  transform: scaleX(1);
}

.theme-diwa .card-waves { color: var(--diwa-theme); }
.theme-wecoin .card-waves { color: var(--wecoin-theme); }
.theme-uno .card-waves { color: var(--uno-theme); }
.theme-dd .card-waves { color: var(--dd-theme); }
.theme-come .card-waves { color: var(--come-theme); }
.theme-shakti .card-waves { color: var(--shakti-theme); }
.theme-alpha .card-waves { color: var(--alpha-theme); }
.theme-jd .card-waves { color: var(--jd-theme); }
.theme-fc .card-waves { color: var(--fc-theme); }
.theme-sathi .card-waves { color: var(--sathi-theme); }
.theme-ajay .card-waves { color: var(--ajay-theme); }
.theme-redbull .card-waves { color: var(--redbull-theme); }

.wave-1 { opacity: 0.04; }
.wave-2 { opacity: 0.06; }
.wave-3 { opacity: 0.08; }

/* ── Card Header ── */
.card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.app-logo {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  overflow: hidden; /* clip the logo image */
}

.img-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0f172a;
  line-height: 1.1;
}

.app-subtitle {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-top: 3px;
  text-transform: uppercase;
}

.theme-diwa .app-subtitle { color: var(--diwa-theme); }
.theme-wecoin .app-subtitle { color: var(--wecoin-theme); }
.theme-uno .app-subtitle { color: var(--uno-theme); }
.theme-dd .app-subtitle { color: var(--dd-theme); }
.theme-come .app-subtitle { color: var(--come-theme); }
.theme-shakti .app-subtitle { color: var(--shakti-theme); }
.theme-alpha .app-subtitle { color: var(--alpha-theme); }
.theme-jd .app-subtitle { color: var(--jd-theme); }
.theme-fc .app-subtitle { color: var(--fc-theme); }
.theme-sathi .app-subtitle { color: var(--sathi-theme); }
.theme-ajay .app-subtitle { color: var(--ajay-theme); }
.theme-redbull .app-subtitle { color: var(--redbull-theme); }

/* DD PAY specific register code row styling */
.register-code-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}

.reg-value {
  font-family: monospace;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.copy-btn-mini {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.copy-btn-mini:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Register code row themes */
.theme-diwa .reg-value { background: rgba(34, 197, 94, 0.08); color: var(--diwa-theme); }
.theme-diwa .copy-btn-mini:hover { color: var(--diwa-theme); }

.theme-wecoin .reg-value { background: rgba(6, 182, 212, 0.08); color: var(--wecoin-theme); }
.theme-wecoin .copy-btn-mini:hover { color: var(--wecoin-theme); }

.theme-uno .reg-value { background: rgba(225, 29, 72, 0.08); color: var(--uno-theme); }
.theme-uno .copy-btn-mini:hover { color: var(--uno-theme); }

.theme-dd .reg-value { background: rgba(236, 72, 153, 0.08); color: var(--dd-theme); }
.theme-dd .copy-btn-mini:hover { color: var(--dd-theme); }

.theme-come .reg-value { background: rgba(124, 58, 237, 0.08); color: var(--come-theme); }
.theme-come .copy-btn-mini:hover { color: var(--come-theme); }

.theme-shakti .reg-value { background: rgba(13, 161, 146, 0.08); color: var(--shakti-theme); }
.theme-shakti .copy-btn-mini:hover { color: var(--shakti-theme); }

.theme-alpha .reg-value { background: rgba(225, 29, 72, 0.08); color: var(--alpha-theme); }
.theme-alpha .copy-btn-mini:hover { color: var(--alpha-theme); }

.theme-jd .reg-value { background: rgba(234, 88, 12, 0.08); color: var(--jd-theme); }
.theme-jd .copy-btn-mini:hover { color: var(--jd-theme); }

.theme-fc .reg-value { background: rgba(13, 161, 146, 0.08); color: var(--fc-theme); }
.theme-fc .copy-btn-mini:hover { color: var(--fc-theme); }

.theme-sathi .reg-value { background: rgba(225, 29, 72, 0.08); color: var(--sathi-theme); }
.theme-sathi .copy-btn-mini:hover { color: var(--sathi-theme); }

.theme-ajay .reg-value { background: rgba(124, 58, 237, 0.08); color: var(--ajay-theme); }
.theme-ajay .copy-btn-mini:hover { color: var(--ajay-theme); }

.theme-redbull .reg-value { background: rgba(234, 88, 12, 0.08); color: var(--redbull-theme); }
.theme-redbull .copy-btn-mini:hover { color: var(--redbull-theme); }

.copy-btn-mini.copied {
  color: #10b981;
}

/* Badges */
.badge {
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.badge-viral {
  background: linear-gradient(135deg, #ff4e00 0%, #ec9f05 100%);
  color: #ffffff;
}

.badge-fastest {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.badge-trending-blue {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #ffffff;
}

.badge-trending-pink {
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  color: #ffffff;
}

.badge-beta {
  background: #f1c40f;
  color: #000000;
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(241, 196, 15, 0.2);
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: #000000;
  border-radius: 50%;
}

/* ── Card Stats Row ── */
.card-stats {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  width: 100%;
}

.stat-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  padding: 5px 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.pill-icon-container {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.theme-diwa .pill-icon-container { background: var(--diwa-theme); }
.theme-wecoin .pill-icon-container { background: var(--wecoin-theme); }
.theme-uno .pill-icon-container { background: var(--uno-theme); }
.theme-dd .pill-icon-container { background: var(--dd-theme); }
.theme-come .pill-icon-container { background: var(--come-theme); }
.theme-shakti .pill-icon-container { background: var(--shakti-theme); }
.theme-alpha .pill-icon-container { background: var(--alpha-theme); }
.theme-jd .pill-icon-container { background: var(--jd-theme); }
.theme-fc .pill-icon-container { background: var(--fc-theme); }
.theme-sathi .pill-icon-container { background: var(--sathi-theme); }
.theme-ajay .pill-icon-container { background: var(--ajay-theme); }
.theme-redbull .pill-icon-container { background: var(--redbull-theme); }

.icon-pill {
  width: 12px;
  height: 12px;
}

.pill-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.pill-value {
  font-size: 10px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  white-space: nowrap;
}

.pill-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1;
  margin-top: 1px;
}

.theme-diwa .pill-label { color: var(--diwa-theme); }
.theme-wecoin .pill-label { color: var(--wecoin-theme); }
.theme-uno .pill-label { color: var(--uno-theme); }
.theme-dd .pill-label { color: var(--dd-theme); }
.theme-come .pill-label { color: var(--come-theme); }
.theme-shakti .pill-label { color: var(--shakti-theme); }
.theme-alpha .pill-label { color: var(--alpha-theme); }
.theme-jd .pill-label { color: var(--jd-theme); }
.theme-fc .pill-label { color: var(--fc-theme); }
.theme-sathi .pill-label { color: var(--sathi-theme); }
.theme-ajay .pill-label { color: var(--ajay-theme); }
.theme-redbull .pill-label { color: var(--redbull-theme); }

/* USDT Button */
.usdt-btn {
  position: relative;
  overflow: hidden;
  flex: 1.1;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 50px;
  padding: 5px 6px;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.15s, box-shadow 0.15s;
}

.usdt-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  animation: glass-shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

.usdt-btn:active {
  transform: scale(0.96);
}

.theme-diwa .usdt-btn {
  background: linear-gradient(135deg, #4ade80 0%, var(--diwa-theme) 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.theme-wecoin .usdt-btn {
  background: linear-gradient(135deg, #22d3ee 0%, var(--wecoin-theme) 100%);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}
.theme-uno .usdt-btn {
  background: linear-gradient(135deg, #ff4c76 0%, var(--uno-theme) 100%);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.theme-dd .usdt-btn {
  background: linear-gradient(135deg, #f472b6 0%, var(--dd-theme) 100%);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}
.theme-come .usdt-btn {
  background: linear-gradient(135deg, #b373ff 0%, var(--come-theme) 100%);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}
.theme-shakti .usdt-btn {
  background: linear-gradient(135deg, #0be1bf 0%, var(--shakti-theme) 100%);
  box-shadow: 0 4px 12px rgba(13, 161, 146, 0.25);
}
.theme-alpha .usdt-btn {
  background: linear-gradient(135deg, #ff4c76 0%, var(--alpha-theme) 100%);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.theme-jd .usdt-btn {
  background: linear-gradient(135deg, #ff8b2e 0%, var(--jd-theme) 100%);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.theme-fc .usdt-btn {
  background: linear-gradient(135deg, #0be1bf 0%, var(--fc-theme) 100%);
  box-shadow: 0 4px 12px rgba(13, 161, 146, 0.25);
}
.theme-sathi .usdt-btn {
  background: linear-gradient(135deg, #ff4c76 0%, var(--sathi-theme) 100%);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.theme-ajay .usdt-btn {
  background: linear-gradient(135deg, #b373ff 0%, var(--ajay-theme) 100%);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}
.theme-redbull .usdt-btn {
  background: linear-gradient(135deg, #ff8b2e 0%, var(--redbull-theme) 100%);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.usdt-icon-container {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usdt-dollar {
  font-size: 11px;
  font-weight: 900;
}

.theme-diwa .usdt-dollar { color: var(--diwa-theme); }
.theme-wecoin .usdt-dollar { color: var(--wecoin-theme); }
.theme-uno .usdt-dollar { color: var(--uno-theme); }
.theme-dd .usdt-dollar { color: var(--dd-theme); }
.theme-come .usdt-dollar { color: var(--come-theme); }
.theme-shakti .usdt-dollar { color: var(--shakti-theme); }
.theme-alpha .usdt-dollar { color: var(--alpha-theme); }
.theme-jd .usdt-dollar { color: var(--jd-theme); }
.theme-fc .usdt-dollar { color: var(--fc-theme); }
.theme-sathi .usdt-dollar { color: var(--sathi-theme); }
.theme-ajay .usdt-dollar { color: var(--ajay-theme); }
.theme-redbull .usdt-dollar { color: var(--redbull-theme); }

.usdt-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  overflow: hidden;
}

.usdt-value {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.usdt-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1;
}

/* ── Telegram Channel Button ── */
.telegram-btn-container {
  margin: 12px 0 6px;
  display: flex;
  justify-content: center;
}

.telegram-channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  background: linear-gradient(135deg, #2f80ed 0%, #0088cc 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 22px rgba(47, 128, 237, 0.35);
  border: none;
  cursor: pointer;
  z-index: 1;
}

.telegram-channel-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: translateX(-150%) skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.telegram-channel-btn:hover::after {
  transform: translateX(400%) skewX(-20deg);
  transition: transform 1.2s ease-in-out;
}

.telegram-channel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(47, 128, 237, 0.5);
}

.telegram-channel-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(47, 128, 237, 0.3);
}

.telegram-btn-icon {
  width: 16px;
  height: 16px;
}

/* Shine animation container */
.shine-container {
  position: relative;
  overflow: hidden;
}

.shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: glass-shine 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes glass-shine {
  0% { transform: translateX(-150%) skewX(-20deg); }
  55%, 100% { transform: translateX(250%) skewX(-20deg); }
}

/* ── Responsive Spacing ── */
@media (min-width: 400px) {
  .stat-pill, .usdt-btn {
    padding: 6px 8px;
    gap: 6px;
  }
  
  .pill-icon-container, .usdt-icon-container {
    width: 26px;
    height: 26px;
  }
  
  .pill-value, .usdt-value {
    font-size: 11px;
  }
  
  .pill-label, .usdt-label {
    font-size: 8px;
  }
}
