/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #10b981;
  --red: #ef4444;
  --gold: #f59e0b;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.10);
  --shadow-lg: 0 8px 48px rgba(37, 99, 235, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bg: var(--white);
  --surface: var(--gray-50);
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
}

[data-theme="dark"] {
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --blue-pale: #1e3a5f;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLASS ===== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .glass {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: none;
  padding: 0.65rem 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-sm:hover {
  background: var(--blue-dark);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: #d97706;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: var(--gray-100);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.85);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-pale);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-actions {
    gap: 0.25rem;
  }
}

/* ===== HERO — defined in HERO BG IMAGE section below ===== */

/* ===== SECTIONS ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

/* ===== FEATURES ===== */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--bg);
}

.steps {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  text-align: center;
  max-width: 200px;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.2;
  display: block;
}

.step h3 {
  margin: 0.5rem 0 0.25rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--blue);
  opacity: 0.4;
}

@media (max-width: 600px) {
  .step-arrow {
    display: none;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author div {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-q:hover {
  background: var(--gray-50);
}

.faq-q span {
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.faq-q.open span {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
}

.faq-a.open {
  max-height: 200px;
  padding: 0 1.25rem 1.1rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--blue);
}

.cta-banner .btn-primary:hover {
  background: var(--gray-100);
}

/* ===== AUTH ===== */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--blue-pale), var(--white));
}

[data-theme="dark"] .auth-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.auth-container {
  width: 100%;
  max-width: 460px;
}

.auth-card {
  border-radius: var(--radius);
  padding: 2.5rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-header .logo-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.auth-header h2 {
  margin-bottom: 0.25rem;
}

.auth-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1.75rem;
}

[data-theme="dark"] .auth-tabs {
  background: var(--gray-800);
}

.auth-tab {
  flex: 1;
  padding: 0.55rem;
  border: none;
  background: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.auth-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .auth-tab.active {
  background: var(--surface);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.form-check input {
  width: auto;
}

.divider {
  text-align: center;
  position: relative;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-social {
  padding: 0.65rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-social:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.link-small {
  font-size: 0.85rem;
  color: var(--blue);
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.security-badges span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

/* ===== SCREENING ===== */
.screening-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.screening-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reward-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 1rem;
  margin-top: 1rem;
}

.progress-bar-wrap {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.progress-track {
  height: 8px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #7c3aed);
  border-radius: 999px;
  transition: width 0.5s ease;
}

.question-cards {
  max-width: 700px;
  margin: 0 auto;
}

.q-card {
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.q-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.2;
}

.q-card h3 {
  margin: 0.5rem 0 1.25rem;
  font-size: 1.25rem;
}

.q-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.q-opt {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.q-opt:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.q-opt.selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.q-nav {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.completion-card {
  max-width: 500px;
  margin: 2rem auto;
  text-align: center;
  border-radius: var(--radius);
  padding: 3rem 2rem;
}

.completion-anim {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 0.6s ease;
}

.reward-credited {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin: 1rem 0 1.5rem;
}

@keyframes bounce {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.2)
  }
}

/* ===== MEMBERSHIP ===== */
.membership-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.plan-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.plan-badge.popular {
  background: var(--blue);
  color: #fff;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-usd {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.plan-desc {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal h3 {
  margin-bottom: 0.25rem;
}

.modal-amount {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.payment-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .payment-tabs {
  background: var(--gray-800);
}

.pay-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.pay-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .pay-tab.active {
  background: var(--surface);
}

.pay-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.receipt-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row span {
  color: var(--text-muted);
}

.status-ok {
  color: var(--green);
}

.success-anim {
  font-size: 3.5rem;
  text-align: center;
  display: block;
  margin-bottom: 0.75rem;
  animation: bounce 0.6s ease;
}

/* ===== DASHBOARD ===== */
.dashboard-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.dash-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  font-size: 2rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-info strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

.dash-card {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.dash-card h3 {
  margin-bottom: 1.25rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
}

.act-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.act-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.act-info strong {
  font-size: 0.9rem;
  color: var(--text);
}

.act-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.act-reward {
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.task-info {
  display: flex;
  flex-direction: column;
}

.task-info strong {
  font-size: 0.9rem;
  color: var(--text);
}

.task-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.task-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.task-pay {
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
}

.premium-task {
  opacity: 0.7;
}

.referral-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.referral-link-wrap {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: 260px;
}

.referral-link-wrap input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
}

/* ===== WALLET ===== */
.wallet-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.wallet-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.balance-card {
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.balance-info {
  display: flex;
  flex-direction: column;
}

.balance-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.balance-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.balance-usd {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.balance-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.security-indicator {
  font-size: 0.8rem;
  color: var(--green);
}

.tx-section {
  max-width: 700px;
  margin: 0 auto;
}

.tx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tx-filters {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.tx-item:hover {
  transform: translateX(4px);
}

.tx-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tx-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tx-info strong {
  font-size: 0.9rem;
  color: var(--text);
}

.tx-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tx-amount {
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== REWARDS ===== */
.rewards-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.claim-card {
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.claim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.claim-status {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.claim-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.claim-progress {
  margin-bottom: 1.5rem;
}

.claim-progress span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.4rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.check-item.done {
  background: rgba(16, 185, 129, 0.08);
}

.check-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.check-item div {
  display: flex;
  flex-direction: column;
}

.check-item strong {
  font-size: 0.9rem;
  color: var(--text);
}

.check-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.claim-eta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.reward-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--transition);
}

.reward-card:hover {
  transform: translateY(-4px);
}

.reward-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.reward-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0.5rem 0;
}

.reward-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.reward-progress {
  margin-bottom: 1rem;
}

.reward-progress span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.3rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 1.5rem 0;
}

[data-theme="dark"] .footer {
  background: #020617;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-brand .footer-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-left: 0.4rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NOTIFICATION ===== */
.notification {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  background: var(--gray-900);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== HERO BG IMAGE ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  background: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/static/background.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(10, 40, 120, 0.82) 0%,
      rgba(30, 80, 200, 0.70) 40%,
      rgba(10, 30, 90, 0.85) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
}

.gradient-text-white {
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-white:hover {
  background: #e0e7ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-hero {
  display: flex;
  flex-direction: column;
}

.stat-hero strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.stat-hero span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
}

/* Chat mockup dark glass */
.glass-dark {
  background: rgba(10, 20, 60, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.hero-illustration {
  position: relative;
  flex-shrink: 0;
}

.chat-mockup {
  border-radius: var(--radius);
  padding: 0;
  width: 340px;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red {
  background: #ff5f57;
}

.mockup-dot.yellow {
  background: #febc2e;
}

.mockup-dot.green-dot {
  background: #28c840;
}

.mockup-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.5rem;
}

.chat-messages {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.85rem;
  max-width: 85%;
  animation: bubbleIn 0.5s ease forwards;
  opacity: 0;
}

.chat-bubble.user {
  background: var(--blue);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble:nth-child(1) {
  animation-delay: .2s
}

.chat-bubble:nth-child(2) {
  animation-delay: .6s
}

.chat-bubble:nth-child(3) {
  animation-delay: 1s
}

.chat-bubble:nth-child(4) {
  animation-delay: 1.4s
}

.chat-bubble:nth-child(5) {
  animation-delay: 1.8s
}

.mockup-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-input span {
  flex: 1;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.mockup-input button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 0.8rem;
}

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.floating-card span {
  font-size: 1.2rem;
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  color: #fff;
  font-size: 0.9rem;
}

.floating-card small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.fc1 {
  bottom: -20px;
  left: -40px;
  animation: floatUp 3s ease-in-out infinite;
}

.fc2 {
  top: -10px;
  right: -30px;
  animation: floatUp 3s ease-in-out infinite 1.5s;
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.hero-scroll-hint {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-illustration {
    margin-top: 2rem;
  }

  .chat-mockup {
    width: 290px;
  }

  .fc1,
  .fc2 {
    display: none;
  }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--blue);
  padding: 0.75rem 1.5rem;
  overflow: hidden;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-inner span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== LIVE TICKER ===== */
.live-ticker {
  background: var(--gray-900);
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

[data-theme="dark"] .live-ticker {
  background: #020617;
}

.ticker-label {
  background: var(--red);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-items {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-items span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ===== TASK PREVIEW ===== */
.task-preview {
  background: var(--surface);
}

.task-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.tp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.tp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tp-category {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--blue-pale);
  color: var(--blue);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.tp-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tp-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.tp-card p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

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

.tp-pay {
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
}

.premium-tag {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.premium-glow {
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.gold {
  color: var(--gold) !important;
}

.section-cta {
  text-align: center;
  margin-top: 1rem;
}

/* ===== FEATURE LINK ===== */
.feature-link {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.75rem;
}

.feature-link:hover {
  text-decoration: underline;
}

/* ===== CTA BTNS ===== */
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER SOCIALS ===== */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 1.2rem;
}

.footer-socials a {
  text-decoration: none;
  transition: transform var(--transition);
}

.footer-socials a:hover {
  transform: scale(1.2);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
}

.dropdown-menu a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

/* ===== TASKS PAGE ===== */
.tasks-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.tasks-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tasks-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tasks-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-badge {
  background: var(--red);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tasks-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.task-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.filter-sort select {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.task-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.task-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tc-cat {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.tc-cat.survey {
  background: #dbeafe;
  color: #1d4ed8;
}

.tc-cat.poll {
  background: #d1fae5;
  color: #065f46;
}

.tc-cat.review {
  background: #fce7f3;
  color: #9d174d;
}

.tc-cat.chat-cat {
  background: #ede9fe;
  color: #5b21b6;
}

.tc-cat.premium-cat {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

[data-theme="dark"] .tc-cat.survey {
  background: #1e3a5f;
  color: #93c5fd;
}

[data-theme="dark"] .tc-cat.poll {
  background: #064e3b;
  color: #6ee7b7;
}

[data-theme="dark"] .tc-cat.review {
  background: #4a1942;
  color: #f9a8d4;
}

[data-theme="dark"] .tc-cat.chat-cat {
  background: #2e1065;
  color: #c4b5fd;
}

.tc-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.tc-badge.new {
  background: #d1fae5;
  color: #065f46;
}

.tc-badge.hot {
  background: #fee2e2;
  color: #991b1b;
}

.tc-badge.gold-badge {
  background: #fef3c7;
  color: #92400e;
}

.task-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.task-card p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.tc-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tc-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.tc-pay {
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
}

.premium-card {
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.load-more {
  text-align: center;
}

/* ===== SURVEY PAGE ===== */
.survey-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.survey-container {
  max-width: 800px;
  margin: 0 auto;
}

.survey-hero {
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.survey-hero-info {
  flex: 1;
}

.survey-hero-info h2 {
  margin: 0.5rem 0 0.75rem;
}

.survey-meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.survey-meta-row span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.survey-reward-box {
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.survey-reward-box span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.survey-reward-box strong {
  font-size: 2.5rem;
  font-weight: 800;
}

.survey-reward-box small {
  font-size: 0.78rem;
  opacity: 0.7;
}

.reward-breakdown {
  width: 100%;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.75rem;
}

.rb-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.2rem 0;
  opacity: 0.85;
}

.rb-row.total {
  font-weight: 700;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}

.survey-progress {
  margin-bottom: 2rem;
}

.sp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sp-steps {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.sp-step {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.sp-step.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.sq-card {
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.sq-card h3 {
  margin: 0.5rem 0 1.25rem;
  font-size: 1.2rem;
}

.q-options-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.rating-stars {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.star-btn {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-200);
  transition: color var(--transition), transform var(--transition);
}

.star-btn:hover,
.star-btn.active {
  color: var(--gold);
  transform: scale(1.2);
}

.rating-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.survey-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  min-height: 120px;
  resize: vertical;
  outline: none;
  font-family: inherit;
}

.survey-textarea:focus {
  border-color: var(--blue);
}

.optional-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.sq-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.survey-complete {
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.completion-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ===== CHAT PAGE ===== */
.chat-section {
  padding-top: 64px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.chat-layout {
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 64px);
}

.chat-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.online-count {
  font-size: 0.8rem;
  color: var(--green);
}

.room-list {
  flex: 1;
  padding: 0.5rem;
}

.room-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.room-item:hover,
.room-item.active {
  background: var(--blue-pale);
}

[data-theme="dark"] .room-item:hover,
[data-theme="dark"] .room-item.active {
  background: rgba(37, 99, 235, 0.15);
}

.room-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.room-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-info strong {
  font-size: 0.85rem;
  color: var(--text);
}

.room-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.room-earn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
}

.chat-task-box {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.chat-task-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.chat-task-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.chat-task-box small {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.3rem;
}

.chat-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-room-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.room-icon-lg {
  font-size: 1.5rem;
}

.chat-room-info h3 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.chat-room-info small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.chat-earn-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-date-divider {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

.msg-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.msg-row.me {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.msg-avatar.ao {
  background: #7c3aed;
}

.msg-avatar.sk {
  background: #059669;
}

.msg-avatar.gw {
  background: #dc2626;
}

.msg-content {
  display: flex;
  flex-direction: column;
  max-width: 70%;
}

.msg-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.msg-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text);
}

.msg-row.me .msg-bubble {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.msg-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.msg-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.msg-badge.premium {
  background: #fef3c7;
  color: #92400e;
}

.msg-badge.top {
  background: #d1fae5;
  color: #065f46;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.2s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: .2s
}

.typing-dots span:nth-child(3) {
  animation-delay: .4s
}

@keyframes typingDot {

  0%,
  60%,
  100% {
    opacity: .3
  }

  30% {
    opacity: 1
  }
}

.chat-input-area {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-emoji-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem;
}

.chat-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.chat-input:focus {
  border-color: var(--blue);
}

.chat-send {
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.emoji-picker span {
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: background var(--transition);
}

.emoji-picker span:hover {
  background: var(--gray-200);
}

.chat-right {
  padding: 1rem;
  border-left: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-right h4 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.online-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.online-member {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text);
}

.avatar.sm {
  width: 28px;
  height: 28px;
  font-size: 0.65rem;
}

.badge-sm {
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  font-weight: 600;
}

.badge-sm.premium {
  background: #fef3c7;
  color: #92400e;
}

.badge-sm.top {
  background: #d1fae5;
  color: #065f46;
}

.chat-rules ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chat-rules li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 0.75rem;
  position: relative;
}

.chat-rules li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
}

@media (max-width: 900px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .chat-sidebar,
  .chat-right {
    display: none;
  }
}

/* ===== EXTRA TASK CATEGORY COLORS ===== */
.tc-cat.writing {
  background: #fce7f3;
  color: #9d174d;
}

.tc-cat.data-cat {
  background: #e0f2fe;
  color: #0369a1;
}

.tc-cat.translation-cat {
  background: #f0fdf4;
  color: #166534;
}

[data-theme="dark"] .tc-cat.writing {
  background: #4a1942;
  color: #f9a8d4;
}

[data-theme="dark"] .tc-cat.data-cat {
  background: #0c2a3e;
  color: #7dd3fc;
}

[data-theme="dark"] .tc-cat.translation-cat {
  background: #052e16;
  color: #86efac;
}

/* ===== DASHBOARD EXTRAS ===== */
.stat-link {
  text-decoration: none;
  display: flex;
}

.stat-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.quick-actions {
  margin-bottom: 2rem;
}

.quick-actions h3 {
  margin-bottom: 1rem;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.qa-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.qa-btn span {
  font-size: 1.6rem;
}

.qa-btn strong {
  font-size: 0.9rem;
  color: var(--text);
}

.qa-btn small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.weekly-goal p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.wg-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.lb-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lb-prev-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.lb-prev-row span:last-child {
  margin-left: auto;
}

.gold-row {
  background: rgba(245, 158, 11, 0.08);
}

.silver-row {
  background: rgba(148, 163, 184, 0.08);
}

.bronze-row {
  background: rgba(180, 83, 9, 0.08);
}

.lb-you {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.ref-stats-row {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ===== PROFILE PAGE ===== */
.profile-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.profile-container {
  max-width: 1000px;
  margin: 0 auto;
}

.profile-hero {
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-online-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg);
}

.profile-info {
  flex: 1;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.verified-badge {
  font-size: 0.8rem;
  background: #d1fae5;
  color: #065f46;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.premium-badge-lg {
  font-size: 0.8rem;
  background: #fef3c7;
  color: #92400e;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.profile-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.profile-bio {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.profile-stats-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ps-stat {
  display: flex;
  flex-direction: column;
}

.ps-stat strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.ps-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.profile-card h3 {
  margin-bottom: 1.25rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  opacity: 0.35;
}

.achievement.earned {
  opacity: 1;
  background: var(--blue-pale);
  border-color: rgba(37, 99, 235, 0.2);
}

.achievement span {
  font-size: 1.5rem;
}

.achievement small {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

.task-history {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.th-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.th-item:last-child {
  border-bottom: none;
}

.th-item span:nth-child(2) {
  flex: 1;
  color: var(--text);
}

.th-date {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  gap: 1rem;
}

.sec-item div {
  display: flex;
  flex-direction: column;
}

.sec-item strong {
  font-size: 0.9rem;
  color: var(--text);
}

.sec-item small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.referral-stats {
  display: flex;
  gap: 2rem;
}

.ref-stat {
  display: flex;
  flex-direction: column;
}

.ref-stat strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.ref-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== LEADERBOARD ===== */
.leaderboard-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.lb-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  max-width: 360px;
  margin: 0 auto 2.5rem;
}

[data-theme="dark"] .lb-tabs {
  background: var(--gray-800);
}

.lb-tab {
  flex: 1;
  padding: 0.55rem;
  border: none;
  background: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lb-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .lb-tab.active {
  background: var(--surface);
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.podium-crown {
  font-size: 1.5rem;
}

.podium-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.podium-avatar.ao {
  background: #7c3aed;
}

.podium-avatar.sk {
  background: #059669;
}

.podium-avatar.gw {
  background: #dc2626;
}

.podium-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.podium-country {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.podium-earn {
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
}

.podium-block {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.p1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p3 {
  background: linear-gradient(135deg, #b45309, #92400e);
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-table {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.lb-row {
  display: grid;
  grid-template-columns: 40px 1fr 120px 80px 120px 100px;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
  font-size: 0.88rem;
}

.lb-row:last-child {
  border-bottom: none;
}

.lb-head {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
}

.lb-rank {
  font-size: 1.1rem;
}

.lb-member {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lb-prizes {
  margin-top: 1rem;
}

.lb-prizes h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.prize-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.prize-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.prize-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.prize-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}

/* ===== ADMIN PAGE ===== */
.admin-section {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-search {
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.status-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.flagged {
  background: #fee2e2;
  color: #991b1b;
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.payment-monitor {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pm-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.pm-item:last-child {
  border-bottom: none;
}

.pm-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pm-info strong {
  color: var(--text);
}

.pm-info small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.fraud-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fraud-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}

.fraud-item.high {
  background: rgba(239, 68, 68, 0.06);
  border-color: var(--red);
}

.fraud-item.medium {
  background: rgba(245, 158, 11, 0.06);
  border-color: var(--gold);
}

.fraud-item.low {
  background: rgba(37, 99, 235, 0.06);
  border-color: var(--blue);
}

.fraud-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.fraud-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fraud-info strong {
  font-size: 0.88rem;
  color: var(--text);
}

.fraud-info small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fraud-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.ticket-item:last-child {
  border-bottom: none;
}

.ticket-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ticket-info strong {
  font-size: 0.88rem;
  color: var(--text);
}

.ticket-info small {
  font-size: 0.78rem;
  color: var(--text-muted);
}