/* CSS Variables for Premium Styling */
:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1527;
  --card-bg: rgba(22, 28, 45, 0.65);
  --card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --color-rose: #f43f5e;
  --color-rose-glow: rgba(244, 63, 94, 0.25);
  --color-rose-muted: rgba(244, 63, 94, 0.1);
  --color-green: #10b981;
  --color-green-glow: rgba(16, 185, 129, 0.2);
  --color-green-hover: #059669;
  --color-blue: #3b82f6;
  --color-blue-glow: rgba(59, 130, 246, 0.15);
  --font-family: 'Outfit', sans-serif;
  --border-radius-lg: 20px;
  --border-radius-md: 14px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Interactive Background Glow */
.background-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, var(--bg-secondary) 0%, var(--bg-primary) 80%);
}
.background-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-rose-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 480px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card Component (Glassmorphism) */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Header Card Specifics */
.header-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid var(--color-rose);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.05);
}

.alert-icon-container {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert-icon {
  width: 64px;
  height: 64px;
  background: var(--color-rose-muted);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-rose);
  z-index: 1;
  box-shadow: inset 0 0 15px rgba(244, 63, 94, 0.2);
}

.alert-icon svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 5px var(--color-rose));
}

.pulse-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid var(--color-rose);
  border-radius: 50%;
  animation: pulse-glow 2.5s infinite ease-in-out;
  opacity: 0;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.company-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.alert-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.alert-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Sections */
.card-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-left: 3px solid var(--color-rose);
  padding-left: 10px;
  margin-bottom: 20px;
}

/* Details Card Grid */
.details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

.detail-value.text-highlight {
  color: var(--color-rose);
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.price-tag {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--color-rose-muted);
  border: 1px solid rgba(244, 63, 94, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
}

/* Payment Steps Layout */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 14px;
}

.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-rose-muted);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: var(--color-rose);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Actions & Buttons */
.actions-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-rose) 0%, #be123c 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.25);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.35);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.action-hint {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 10px 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.divider::before {
  margin-right: 12px;
}
.divider::after {
  margin-left: 12px;
}

.support-buttons {
  display: flex;
  gap: 12px;
}

.btn-whatsapp {
  background: var(--color-green-glow);
  color: var(--color-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.btn-whatsapp:hover {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Spinner Loader */
.btn-loader {
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* Interactive Status Box */
.status-result-box {
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-top: 10px;
  text-align: left;
  font-size: 13px;
  animation: slide-down 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.status-result-box.warning {
  background: var(--color-blue-glow);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.status-result-box h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-result-box p {
  line-height: 1.5;
  color: #bfdbfe;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Section */
.footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Responsive adjustment */
@media (max-width: 400px) {
  .support-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .container {
    padding: 16px 8px;
  }
}
