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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f5f6f8;
  min-height: 100vh;
  padding-bottom: 40px;
}

.bg-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #0f1c3f 0%, #1a2d5a 40%, #f5f6f8 40.1%);
  z-index: -1;
}

/* Top bar */
.top-bar {
  background: #0f1c3f;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.top-logo { width: 28px; height: 28px; }

.top-bar-right .secure-badge {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Container */
.container {
  max-width: 440px;
  margin: -20px auto 0;
  padding: 0 16px;
  position: relative;
}

/* Card */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Alert header */
.alert-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.alert-icon-circle {
  width: 44px;
  height: 44px;
  background: #fff3e0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f57c00;
  flex-shrink: 0;
}

.alert-header h1 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.alert-sub {
  font-size: 13px;
  color: #888;
}

/* Body */
.alert-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.detail-box {
  background: #f8f9fb;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.detail-row span:first-child { color: #888; }
.detail-row .val { color: #333; font-weight: 500; }
.mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11px; }

/* Download button */
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: #1447e1;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.15s;
  box-shadow: 0 4px 12px rgba(20, 71, 225, 0.25);
}

.btn-download:active {
  transform: scale(0.98);
  background: #0d35b0;
}

.after-download {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 10px;
  margin-bottom: 16px;
}

/* Trust row */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #666;
}

/* Urgency bar */
.urgency-bar {
  background: #fff8e1;
  border: 1px solid #ffecb3;
  border-radius: 10px;
  padding: 14px 16px;
}

.urgency-text span {
  font-size: 12px;
  color: #856404;
  font-weight: 500;
}

.countdown {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  color: #d84315;
  font-variant-numeric: tabular-nums;
}

.cd-box {
  display: inline-block;
  background: #fff;
  border: 1px solid #ffcc80;
  border-radius: 6px;
  padding: 4px 8px;
  margin: 0 2px;
  min-width: 42px;
  text-align: center;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #999;
}

.footer .dot { margin: 0 6px; }
.footer a { color: #666; text-decoration: none; }
.ref { margin-top: 6px; font-size: 11px; color: #bbb; }

@media (max-width: 380px) {
  .card { padding: 20px 16px; }
  .countdown { font-size: 22px; }
  .cd-box { min-width: 36px; font-size: 20px; }
}
