/* ============================================================
   CLEAN WHITE PAYMENT DESIGN SYSTEM
   PPPoker Uzbekistan Web Platform
   ============================================================ */

:root {
  --bg-dark: #F3F4F6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F9FAFB;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --gold-glow: rgba(16, 185, 129, 0.2);
  --emerald: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --crimson: #EF4444;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --border-gold: #E5E7EB;
  --border-subtle: #E5E7EB;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #F3F4F6;
  color: #1F2937;
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  border-bottom: 1px solid #E5E7EB;
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #111827;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.brand-club-id {
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  font-size: 0.8rem;
  color: #059669;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  color: #111827;
}

.hero-title span {
  color: #10B981;
}

.hero-desc {
  color: #6B7280;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* Action Cards */
.action-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 520px) {
  .action-cards {
    grid-template-columns: 1fr;
  }
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.action-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  background: #ECFDF5;
  color: #10B981;
}

.action-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #111827;
}

.action-card-subtitle {
  font-size: 0.82rem;
  color: #6B7280;
}

/* White Card */
.glass-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.input-box {
  width: 100%;
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  color: #111827;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.input-box:focus {
  border-color: #10B981;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Primary Button */
.btn-primary {
  width: 100%;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary:hover {
  background: #059669;
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Bank Card Display Component */
.payment-card-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.card-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0.85rem 0;
  background: #FFFFFF;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed #D1D5DB;
}

.card-number-text {
  font-family: monospace;
  font-size: clamp(0.95rem, 4.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111827;
  word-break: break-all;
}

.copy-btn {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: #059669;
}

/* Countdown Timer */
.countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  color: #991B1B;
  font-weight: 700;
  font-size: 1rem;
  margin: 1rem 0;
}

.timer-digits {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #DC2626;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: #6B7280;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #059669;
  text-decoration: none;
  font-weight: 600;
}
