* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  min-height: 100vh;
  color: #e2e8f0;
}

.site-header {
  text-align: center;
  padding: 48px 20px 32px;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.logo {
  margin-bottom: 20px;
}

.logo-img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 20px 35px -10px rgba(139, 92, 246, 0.4));
}

.site-header h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.site-header p {
  color: #94a3b8;
  font-size: 1rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.lang-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 32px;
}

.lang-toggle button {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 8px 20px;
  border-radius: 40px;
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.lang-toggle button:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.lang-toggle button.active {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.form-section {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 32px;
  padding: 32px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin-bottom: 32px;
}

.form-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #c084fc;
}

.redeem-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.redeem-form input {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 1rem;
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.redeem-form input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.redeem-form input::placeholder {
  color: #475569;
}

.redeem-form button {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.redeem-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5);
}

.instructions {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 32px;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.instructions h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #60a5fa;
}

.instructions ul {
  list-style: none;
  padding: 0;
}

.instructions li {
  padding: 10px 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.instructions code {
  background: rgba(139, 92, 246, 0.2);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #a78bfa;
}

.redeem-image {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  margin-bottom: 32px;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.redeem-image img {
  max-width: 55%;
  border-radius: 16px;
}

.purchase-btn {
  text-align: center;
  margin-bottom: 32px;
}

.purchase-btn a {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  padding: 14px 32px;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.purchase-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.footer {
  text-align: center;
  padding: 32px 20px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  font-size: 14px;
  color: #64748b;
}

.footer a {
  color: #8b5cf6;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .site-header h1 {
    font-size: 1.5rem;
  }
  .form-section {
    padding: 24px;
  }
  .container {
    padding: 24px 16px;
  }
}

/* --- NEW SECTION STYLES --- */

/* HitPay Section Customization */
.hitpay-section {
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.2);
}

.hitpay-section h2 {
  color: #34d399; /* Emerald Green text to match the buy button */
}

.hitpay-section p {
  color: #cbd5e1;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* SMS Dashboard Customization */
.sms-section {
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.2);
  text-align: center;
}

.sms-section h2 {
  color: #60a5fa; /* Bright blue for the phone number */
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* Shared Action Button Styles */
.action-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  margin-top: 12px;
}

.action-btn:hover {
  transform: translateY(-2px);
}

/* Specific Button Colors */
.hitpay-btn {
  background: linear-gradient(135deg, #10b981, #059669);
}

.hitpay-btn:hover {
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5);
}

.check-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.check-btn:hover {
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.reject-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  margin-top: 16px;
}

.reject-btn:hover {
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.5);
}

.result-msg {
  margin-top: 16px; 
  text-align: center; 
  font-size: 14px;
  color: #e2e8f0;
}

/* Back Button Style */
.back-btn {
  background: rgba(71, 85, 105, 0.5); /* Semi-transparent slate */
  border: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: 16px;
}

.back-btn:hover {
  background: rgba(71, 85, 105, 0.8);
  box-shadow: 0 10px 25px -5px rgba(71, 85, 105, 0.3);
}