@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #090b10;
  --bg-gradient: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(9, 11, 16, 0.98) 60%), #090b10;
  --card-bg: rgba(18, 22, 33, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(99, 102, 241, 0.4);
  --panel: #121623;
  --panel-elevated: #181e30;
  --txt: #f1f5f9;
  --txt-muted: #94a3b8;
  --txt-dim: #64748b;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent: #8b5cf6;
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.25);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --pending: #f97316;
  --danger: #ef4444;
  --line: rgba(255, 255, 255, 0.07);
  --radius: 14px;
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 2px 1px rgba(99, 102, 241, 0.2);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--txt);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 9px;
  color: #fff;
  -webkit-text-fill-color: initial;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--txt-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--txt);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--txt);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

.btn-small {
  background: var(--success);
  color: #051b11;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 2px 8px var(--success-glow);
}

.btn-small:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
}

.btn-small:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

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

.btn-locked {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-style: dashed !important;
  color: var(--txt-dim) !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-locked:hover {
  transform: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero .badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--txt-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 4rem 1.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

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

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--txt-muted);
  font-size: 0.95rem;
}

/* Investment Plan Cards */
.card-plan {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card-plan:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-plan .plan-badge {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;
  color: #a5b4fc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.card-plan .plan-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.card-plan .plan-roi {
  font-size: 1.8rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.card-plan .plan-duration {
  font-size: 0.85rem;
  color: var(--txt-muted);
  margin-bottom: 0.8rem;
}

.card-plan .plan-min {
  font-size: 0.82rem;
  color: var(--txt-dim);
  margin-bottom: 1.25rem;
}

/* Centered Form Cards (Login / Register) */
.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 2rem 1rem;
}

.auth-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  padding: 2.5rem;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.auth-card .subtext {
  color: var(--txt-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt-muted);
  margin-bottom: 0.4rem;
}

input, select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(14, 18, 28, 0.8);
  border: 1px solid var(--card-border);
  color: #fff;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: rgba(20, 26, 40, 0.95);
}

.error-msg {
  color: #f87171;
  font-size: 0.88rem;
  margin-top: 0.8rem;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: none;
}

.success-msg {
  color: #4ade80;
  font-size: 0.88rem;
  margin-top: 0.8rem;
  padding: 8px 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: none;
}

/* Dashboard Styles */
.dash-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.user-meta span {
  font-size: 0.8rem;
  color: var(--txt-muted);
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 10px var(--gold-glow);
}

.level-badge.level-2 {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px var(--success-glow);
}

.level-badge.level-3 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 70, 239, 0.25));
  color: #fde047;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* Balance Hero Card */
.balance-card {
  background: linear-gradient(145deg, rgba(24, 30, 48, 0.85) 0%, rgba(14, 18, 28, 0.95) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.balance-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.bal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.bal-label {
  font-size: 0.88rem;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.bal-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0.2rem 0;
}

.bal-sub {
  font-size: 0.85rem;
  color: var(--txt-dim);
}

.pending-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pend-info .pend-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pending);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pend-info .pend-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fdba74;
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #fdba74;
}

/* Actions Grid */
.dash-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Sections */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.section-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Tasks */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}

.task-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s ease;
}

.task-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--panel-elevated);
}

.task-item.completed {
  opacity: 0.7;
  border-color: rgba(16, 185, 129, 0.2);
}

.task-content {
  flex: 1;
}

.task-title {
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-desc {
  font-size: 0.86rem;
  color: var(--txt-muted);
  margin-top: 3px;
}

.task-reward {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
}

.task-badge-locked {
  display: inline-block;
  font-size: 0.78rem;
  padding: 3px 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  margin-top: 6px;
}

/* Referral Section */
.ref-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.ref-input-group {
  display: flex;
  gap: 10px;
  margin: 1rem 0;
}

.ref-input {
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid var(--card-border);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #a5b4fc;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ref-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.mini-stat .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.mini-stat .lbl {
  font-size: 0.8rem;
  color: var(--txt-muted);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #141824;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--txt-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

/* Admin Dashboard */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  border-radius: 14px;
}

.stat-card .val {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.3rem;
}

.stat-card .lbl {
  font-size: 0.85rem;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow-x: auto;
  margin-bottom: 2.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--txt-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

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

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.status-badge.approved {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #181f33;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

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

footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--txt-dim);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

/* Task Type & Frequency Badges */
.task-freq-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
}
.task-freq-badge.weekly {
  background: rgba(139, 92, 246, 0.16);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.task-freq-badge.daily {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.task-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: #818cf8;
  flex-shrink: 0;
  margin-right: 14px;
}
.task-icon-wrap.survey {
  color: #c084fc;
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
}
.task-icon-wrap.video {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}
.task-icon-wrap.daily {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}
.task-icon-wrap.profile {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}
.btn-survey {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important;
}
.btn-survey:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
}
.btn-video {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #fff !important;
}
.btn-video:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

/* Survey Modal Styles */
.survey-question {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.survey-q-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.survey-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}
.survey-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.survey-option {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
  color: var(--txt);
}
.survey-option:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.35);
}
.survey-option input[type="radio"] {
  margin-right: 12px;
  accent-color: var(--primary);
  transform: scale(1.1);
}
.survey-option.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}

/* Video Modal Styles */
.video-channel-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.video-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--txt-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.video-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.video-chip.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: #818cf8;
}
.video-player-box {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #090b10;
}
.video-embed-wrap iframe,
.video-embed-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-meta-bar {
  padding: 12px 16px;
  background: rgba(18, 22, 33, 0.95);
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-progress-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.video-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.video-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #10b981);
  border-radius: 999px;
  transition: width 1s linear;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .navbar { padding: 1rem 1.5rem; }
  .dash-actions { grid-template-columns: 1fr; }
  .bal-amount { font-size: 2.2rem; }
  .stat-grid { grid-template-columns: 1fr; }
}