
:root {
  --navy: #0b1739;
  --navy-2: #142657;
  --blue: #3157d5;
  --violet: #8f3ff5;
  --green: #10b981;
  --green-dark: #059669;
  --orange: #f59e0b;
  --red: #ef4444;
  --text: #16203a;
  --muted: #6b7280;
  --line: #e7ebf3;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --shadow: 0 20px 50px rgba(14, 28, 65, .11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(143,63,245,.11), transparent 26%),
    linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(49,87,213,.08), transparent 34%);
  pointer-events: none;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(225,230,240,.9);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: white; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 24px rgba(79,70,229,.26);
}
.brand strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.08rem;
}
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }

.top-actions { display: flex; align-items: center; gap: 10px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border: 1px solid #b8f2df;
  border-radius: 999px;
  color: #08775c;
  background: #ecfdf7;
  font-size: .86rem;
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.balance-card {
  min-width: 152px;
  padding: 10px 16px;
  border-radius: 17px;
  color: white;
  background: linear-gradient(135deg, var(--navy-2), #172f70);
  box-shadow: 0 10px 25px rgba(15,29,70,.18);
}
.balance-card small { display:block; text-transform:uppercase; letter-spacing:.1em; font-size:.63rem; opacity:.78; }
.balance-card strong { display:block; margin-top: 2px; font-size: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-success {
  color: white;
  background: linear-gradient(135deg, #12b886, #08a66d);
  box-shadow: 0 12px 22px rgba(16,185,129,.23);
}
.btn-outline { background: white; border: 1px solid var(--line); color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  min-height: 430px;
  padding: 70px clamp(18px, 7vw, 100px);
  color: white;
  background:
    linear-gradient(125deg, rgba(11,23,57,.98), rgba(24,50,115,.93)),
    radial-gradient(circle at 80% 20%, rgba(143,63,245,.5), transparent 30%);
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #ffd166, var(--orange));
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .03em;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
}
.eyebrow.dark { color: var(--blue); background: #eef2ff; border-color: #dfe5ff; }
.hero h1 {
  margin: 18px 0 16px;
  max-width: 760px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero p { max-width: 680px; font-size: 1.06rem; line-height: 1.8; color: #d4dcf1; }
.hero-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top: 24px; }
.hero-badges span { padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.08); font-size:.86rem; }

.hero-art { position: relative; min-height: 280px; }
.glow-orb { position:absolute; border-radius:50%; filter: blur(4px); }
.orb-one { width:260px; height:260px; right: 0; top: 0; background: rgba(143,63,245,.28); }
.orb-two { width:180px; height:180px; left: 10%; bottom: 0; background: rgba(49,87,213,.3); }
.mini-card {
  position:absolute;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  font-weight: 800;
}
.card-a { right: 8%; top: 15%; transform: rotate(4deg); }
.card-b { left: 5%; top: 45%; transform: rotate(-5deg); }
.card-c { right: 18%; bottom: 2%; transform: rotate(2deg); }

.content { max-width: 1250px; margin: 0 auto; padding: 56px 18px 80px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.section-heading h2 { margin: 10px 0 6px; font-family:"Plus Jakarta Sans"; font-size:clamp(1.8rem,3vw,2.6rem); }
.section-heading p { margin:0; color:var(--muted); }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.profile-card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(228,233,242,.95);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 38px rgba(18,35,76,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.profile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.profile-top { display:flex; align-items:center; gap:14px; }
.avatar-wrap { position:relative; }
.avatar {
  width: 64px; height:64px;
  border-radius: 20px;
  display:grid; place-items:center;
  color:white;
  font-size: 1.15rem;
  font-weight: 800;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #f6b73c, 0 12px 22px rgba(15,32,71,.15);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.online-dot {
  position:absolute; right:-2px; bottom:0;
  width:16px; height:16px; border-radius:50%;
  border:3px solid white; background:#22c55e;
}
.profile-meta { flex:1; min-width:0; }
.profile-name { margin:0 0 5px; font-family:"Plus Jakarta Sans"; font-size:1.1rem; }
.status { display:block; color:#08a66d; font-size:.85rem; font-weight:700; }
.rating { display:block; margin-top:4px; color:#f59e0b; font-size:.84rem; }
.verified {
  width:40px; height:40px; display:grid; place-items:center;
  border-radius:50%; color:white; background:var(--navy); font-weight:800;
}
.profile-details {
  margin: 20px 0 18px;
  padding: 17px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.profile-details p { margin:7px 0; color:#4b5563; font-size:.92rem; }
.profile-details strong { color:var(--navy); text-transform:uppercase; font-size:.8rem; letter-spacing:.025em; }
.card-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.reward { text-align:right; }
.reward strong {
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color:white;
  background: linear-gradient(135deg, #f04f4f, #e93030);
  box-shadow: 0 8px 20px rgba(239,68,68,.22);
}
.reward small { display:block; margin-top:4px; color:#9aa3b2; }

.loading-row {
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding: 34px 0 0;
  color:var(--muted);
}
.spinner { width:20px; height:20px; border-radius:50%; border:3px solid #dce3ef; border-top-color:var(--blue); animation:spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.footer {
  padding: 52px clamp(18px, 7vw, 100px) 24px;
  color:#dce4fa;
  background: linear-gradient(135deg, #08132f, #0e204c);
  border-top: 4px solid var(--orange);
}
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:40px; max-width:1250px; margin:auto; }
.footer h3 { color:white; font-size:1rem; }
.footer p { max-width:420px; color:#9eabc9; line-height:1.7; }
.footer a, .footer-link { display:block; margin:10px 0; color:#bfc9df; background:none; border:0; padding:0; text-align:left; }
.footer a:hover, .footer-link:hover { color:white; }
.footer-brand strong { color:white; }
.footer-brand small { color:#91a0bf; }
.copyright { max-width:1250px; margin:36px auto 0; padding-top:18px; border-top:1px solid rgba(255,255,255,.08); color:#7f8daa; font-size:.82rem; }

.support-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display:flex; align-items:center; gap:2px;
  border:0; border-radius:999px;
  padding: 5px 5px;
  color:white; font-weight:800;
  background:linear-gradient(135deg,#25D366,#17b955);
  box-shadow:0 16px 35px rgba(37,211,102,.35);
}
.support-fab span { font-size:0.9rem; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 18, 45, .74);
  backdrop-filter: blur(10px);
  animation: fadeIn .2s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  width: min(580px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 30px 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: translateY(8px) scale(.98);
  animation: modalIn .26s ease forwards;
}
.modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--orange));
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #7b879b;
  background: #f1f4f9;
  font-size: 1.6rem;
  transition: transform .2s ease, background .2s ease;
}
.modal-close:hover { transform: scale(1.04); background: #e8edf5; }
.modal-title { margin: 6px 0 8px; font-family: "Plus Jakarta Sans"; font-size: 2rem; text-align: center; }
.modal-subtitle { margin: 0 0 24px; color: var(--muted); text-align: center; line-height: 1.7; }
.modal-profile { text-align: center; }
.modal-avatar { margin: 0 auto 14px; width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; color: white; font-size: 1.5rem; font-weight: 800; box-shadow: 0 0 0 4px #f6b73c; overflow: hidden; }
.modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.info-panel { margin: 22px 0; padding: 20px; border-radius: 20px; background: #f5f7fb; text-align: center; }
.info-panel .big { display: block; margin: 8px 0; color: var(--red); font-size: 2.1rem; font-weight: 800; }
.modal-actions { display: grid; gap: 12px; margin-top: 22px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalIn {
  to { transform: translateY(0) scale(1); }
}
.btn-register { color:#14203a; background:linear-gradient(135deg,#ffb11b,#ef9700); box-shadow:0 14px 28px rgba(245,158,11,.27); }
.btn-light { background:white; border:1px solid var(--line); color:var(--navy); }
.support-option {
  display:flex; align-items:center; gap:15px;
  padding:18px;
  margin:12px 0;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fbfcfe;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.support-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
  border-color: #d6dff4;
}
.support-option .icon { font-size:1.7rem; }
.support-option strong { display:block; margin-bottom:3px; }
.support-option small { color:var(--muted); }
.support-option .arrow { margin-left:auto; color:#9aa3b2; font-size:1.4rem; }

@media (max-width: 900px) {
  .topbar { align-items:flex-start; }
  .top-actions { flex-wrap:wrap; justify-content:flex-end; }
  .hero { grid-template-columns:1fr; padding-top:52px; }
  .hero-art { min-height:220px; }
  .profile-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .topbar { position:static; display:block; padding:14px 16px; }
  .top-actions { margin-top:14px; display:grid; grid-template-columns:1fr 1fr; }
  .live-pill { justify-content:center; }
  .top-actions .btn { width:100%; }
  .balance-card { grid-column:1/-1; text-align:center; }
  .hero { min-height:440px; padding:44px 18px; }
  .hero h1 { font-size:2.55rem; }
  .hero-art { display:none; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .profile-card { padding:19px; border-radius:20px; }
  .card-footer { align-items:flex-end; }
  .btn { padding:11px 14px; }
  .reward strong { font-size:.9rem; }
  .support-fab b { display:none; }
  .support-fab { width:56px; height:56px; justify-content:center; padding:0; }
  .modal-backdrop { padding: 14px; }
  .modal { padding: 28px 20px; border-radius: 22px; }
  .modal-title { font-size: 1.7rem; }
}
