*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Inter',sans-serif;
  background:#050a14;
  color:#fff;
  min-height:100vh;
  overflow-x:hidden;
}

#particleCanvas { position:fixed; inset:0; width:100vw; height:100vh; z-index:0; pointer-events:none; }
.cursor-glow {
  position:fixed; top:0; left:0; width:300px; height:300px; border-radius:50%;
  background:radial-gradient(circle,rgba(16,185,129,.10) 0%,transparent 70%);
  pointer-events:none; z-index:1; will-change:transform;
}
@media(hover:none){.cursor-glow{display:none;}}

body::before {
  content:''; position:fixed; inset:0;
  background:url('2b6a1e00235359395c85443d3d4f225f.jpg') center/cover;
  opacity:.07; z-index:0; pointer-events:none;
}

nav, .otp-layout, .toast, .modal-overlay { position:relative; z-index:2; }

/* ── NAVBAR ── */
.navbar {
  position:fixed; top:0; left:0; right:0;
  padding:14px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:rgba(5,10,20,.75); backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06);
  z-index:100;
}
.nav-brand {
  font-size:17px; font-weight:800; color:#00bfff;
  letter-spacing:3px; text-decoration:none;
  text-shadow:0 0 12px rgba(0,191,255,.6);
}
.nav-center { font-size:15px; font-weight:700; color:#e2e8f0; letter-spacing:1px; }
.nav-btn-smm {
  background:linear-gradient(135deg,#1d4ed8,#3b82f6);
  color:#fff; text-decoration:none; font-size:13px; font-weight:600;
  padding:7px 16px; border-radius:20px;
  border:1px solid rgba(59,130,246,.4); transition:all .3s;
}
.nav-btn-smm:hover { box-shadow:0 0 18px rgba(59,130,246,.5); transform:translateY(-1px); }

/* ── LAYOUT ── */
.otp-layout {
  display:flex; padding-top:62px; min-height:100vh;
}

/* ── SIDEBAR ── */
.sidebar {
  width:270px; flex-shrink:0;
  background:rgba(255,255,255,.03);
  border-right:1px solid rgba(255,255,255,.07);
  padding:22px 16px;
  display:flex; flex-direction:column; gap:18px;
  position:sticky; top:62px; height:calc(100vh - 62px);
  overflow-y:auto;
}
.sidebar-label {
  font-size:10px; font-weight:700; letter-spacing:2px;
  color:#10b981; text-transform:uppercase; margin-bottom:8px;
}
.sidebar-section { display:flex; flex-direction:column; gap:8px; }

/* ── INPUTS ── */
.otp-input {
  width:100%; padding:9px 12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px; color:#fff; font-size:13px;
  font-family:'Inter',sans-serif; outline:none; transition:border-color .3s;
}
.otp-input:focus { border-color:rgba(16,185,129,.5); }
.otp-input::placeholder { color:#475569; }
.otp-input[readonly] { opacity:.7; cursor:default; }

.otp-select {
  width:100%; padding:9px 12px;
  background:rgba(10,20,40,.9);
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px; color:#fff; font-size:13px;
  font-family:'Inter',sans-serif; outline:none; cursor:pointer;
}
.otp-select:focus { border-color:rgba(16,185,129,.5); }
.otp-select option { background:#0d1b2e; }

/* ── BUTTONS ── */
.btn-primary {
  padding:10px 18px; border-radius:10px; border:none; cursor:pointer;
  background:linear-gradient(135deg,#065f46,#10b981);
  color:#fff; font-size:13px; font-weight:600;
  font-family:'Inter',sans-serif; transition:all .3s; width:100%;
}
.btn-primary:hover { box-shadow:0 0 18px rgba(16,185,129,.5); transform:translateY(-1px); }

.btn-secondary {
  padding:9px 16px; border-radius:10px; border:none; cursor:pointer;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  color:#cbd5e1; font-size:13px; font-weight:500;
  font-family:'Inter',sans-serif; transition:all .3s; flex:1;
}
.btn-secondary:hover { background:rgba(255,255,255,.14); }

.btn-sm {
  padding:5px 10px; border-radius:8px; border:none; cursor:pointer;
  background:rgba(16,185,129,.15); border:1px solid rgba(16,185,129,.3);
  color:#6ee7b7; font-size:12px; font-weight:600;
  font-family:'Inter',sans-serif; transition:all .3s;
}
.btn-sm:hover { background:rgba(16,185,129,.28); }

/* ── BALANCE ── */
.balance-box {
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.2);
  border-radius:10px; padding:10px 14px;
}
#balanceVal { font-size:16px; font-weight:700; color:#10b981; }

/* ── ACTIVE NUMBERS ── */
.active-list { display:flex; flex-direction:column; gap:8px; }
.active-card {
  background:rgba(16,185,129,.06); border:1px solid rgba(16,185,129,.15);
  border-radius:10px; padding:10px 12px;
}
.active-service { font-size:11px; color:#6ee7b7; font-weight:600; margin-bottom:3px; }
.active-num { font-size:13px; color:#e2e8f0; font-weight:700; font-family:monospace; }
.active-otp { font-size:12px; color:#94a3b8; margin-top:4px; }
.active-otp strong { color:#10b981; }
.active-waiting { font-size:11px; color:#475569; margin-top:4px; }
.empty-hint { font-size:12px; color:#475569; text-align:center; padding:8px 0; }

/* ── MAIN ── */
.otp-main {
  flex:1; padding:28px 28px 60px;
  display:flex; flex-direction:column; gap:24px;
}

/* ── STATS ROW ── */
.stats-row {
  display:flex; gap:14px; flex-wrap:wrap;
}
.stat-card {
  flex:1; min-width:110px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(16,185,129,.2);
  border-radius:14px; padding:18px 20px; text-align:center;
  backdrop-filter:blur(8px); transition:transform .3s, border-color .3s;
}
.stat-card:hover { transform:translateY(-3px); border-color:rgba(16,185,129,.45); }
.stat-num { font-size:24px; font-weight:800; color:#10b981;
  text-shadow:0 0 10px rgba(16,185,129,.5); margin-bottom:4px; }
.stat-label { font-size:11px; color:#64748b; font-weight:500; }

/* ── SERVICES PANEL ── */
.services-panel {
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px; padding:24px;
  backdrop-filter:blur(10px);
}
.services-header {
  display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;
}
.panel-title { font-size:18px; font-weight:700; color:#fff; }
.service-count {
  font-size:12px; color:#475569; font-weight:600;
  background:rgba(255,255,255,.05); padding:4px 12px;
  border-radius:20px; border:1px solid rgba(255,255,255,.08);
}

/* ── QUICK PICKS ── */
.quick-picks { margin-bottom:20px; }
.quick-label { font-size:11px; font-weight:700; letter-spacing:2px; color:#10b981; text-transform:uppercase; margin-bottom:10px; }
.quick-row { display:flex; gap:8px; flex-wrap:wrap; }
.quick-chip {
  padding:7px 14px; border-radius:20px; border:none; cursor:pointer;
  background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.25);
  color:#6ee7b7; font-size:13px; font-weight:600;
  font-family:'Inter',sans-serif; transition:all .3s;
  display:flex; align-items:center; gap:6px;
}
.quick-chip span { color:#10b981; font-weight:700; }
.quick-chip:hover { background:rgba(16,185,129,.22); transform:translateY(-1px); }

/* ── SERVICES GRID ── */
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:14px;
}
.service-card {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:14px; padding:16px; cursor:pointer;
  transition:all .3s; display:flex; flex-direction:column; gap:12px;
}
.service-card:hover {
  border-color:rgba(16,185,129,.35); background:rgba(16,185,129,.05);
  transform:translateY(-3px); box-shadow:0 8px 24px rgba(16,185,129,.1);
}
.svc-top { display:flex; align-items:flex-start; gap:12px; }
.svc-icon { font-size:26px; flex-shrink:0; }
.svc-info { flex:1; min-width:0; }
.svc-name { font-size:13px; font-weight:700; color:#e2e8f0; line-height:1.4; margin-bottom:3px; }
.svc-country { font-size:11px; color:#64748b; }
.svc-bottom { display:flex; align-items:center; justify-content:space-between; }
.svc-price { font-size:16px; font-weight:800; color:#10b981; text-shadow:0 0 8px rgba(16,185,129,.4); }
.btn-buy-sm {
  padding:5px 14px; border-radius:8px; border:none; cursor:pointer;
  background:linear-gradient(135deg,#065f46,#10b981);
  color:#fff; font-size:12px; font-weight:600;
  font-family:'Inter',sans-serif; transition:all .3s;
}
.btn-buy-sm:hover { box-shadow:0 0 12px rgba(16,185,129,.4); }

/* ── EMPTY STATE ── */
.empty-state {
  grid-column:1/-1; text-align:center; padding:60px 20px;
  color:#475569;
}
.empty-icon { font-size:48px; margin-bottom:16px; }
.empty-sub { font-size:13px; margin-top:6px; }
.empty-sub a { color:#10b981; text-decoration:none; }

/* ── MODAL ── */
.modal-overlay {
  position:fixed; inset:0; z-index:500;
  background:rgba(0,0,0,.7); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.modal-overlay.show { opacity:1; pointer-events:all; }
.modal {
  background:#0d1b2e; border:1px solid rgba(16,185,129,.25);
  border-radius:20px; padding:28px; width:min(460px,92vw);
  position:relative; box-shadow:0 20px 60px rgba(0,0,0,.6);
  animation:modalIn .3s ease;
}
@keyframes modalIn { from{transform:scale(.92);opacity:0} to{transform:scale(1);opacity:1} }
.modal-close {
  position:absolute; top:14px; right:16px;
  background:rgba(255,255,255,.08); border:none; color:#94a3b8;
  width:30px; height:30px; border-radius:50%; cursor:pointer;
  font-size:14px; transition:all .2s;
}
.modal-close:hover { background:rgba(255,255,255,.16); color:#fff; }
.modal-title { font-size:18px; font-weight:700; margin-bottom:20px; }
.modal-body { display:flex; flex-direction:column; gap:16px; }
.modal-info { display:flex; flex-direction:column; gap:8px; }
.info-row {
  display:flex; justify-content:space-between; align-items:center;
  font-size:13px; padding:8px 12px;
  background:rgba(255,255,255,.04); border-radius:8px;
}
.info-row span:first-child { color:#64748b; }
.info-row span:last-child { color:#e2e8f0; font-weight:600; }
.modal-form { display:flex; flex-direction:column; gap:10px; }
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-group label { font-size:11px; font-weight:600; color:#64748b; letter-spacing:.5px; }
.price-tag {
  padding:10px 14px; background:rgba(16,185,129,.1);
  border:1px solid rgba(16,185,129,.25); border-radius:10px;
  font-size:20px; font-weight:800; color:#10b981;
  text-shadow:0 0 10px rgba(16,185,129,.5);
}
.btn-buy {
  padding:13px; border-radius:12px; border:none; cursor:pointer;
  background:linear-gradient(135deg,#065f46,#10b981);
  color:#fff; font-size:15px; font-weight:700;
  font-family:'Inter',sans-serif; transition:all .3s; width:100%;
}
.btn-buy:hover { box-shadow:0 0 24px rgba(16,185,129,.5); transform:translateY(-1px); }
.btn-buy:disabled { opacity:.6; cursor:not-allowed; transform:none; }

/* ── OTP MODAL ── */
.otp-modal { border-color:rgba(16,185,129,.35); }
.otp-number-display {
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.25);
  border-radius:12px; padding:14px 18px; margin-bottom:16px;
}
#otpNumber { font-size:20px; font-weight:800; color:#e2e8f0; font-family:monospace; letter-spacing:2px; }
.btn-copy {
  padding:6px 14px; border-radius:8px; border:none; cursor:pointer;
  background:rgba(16,185,129,.2); border:1px solid rgba(16,185,129,.35);
  color:#6ee7b7; font-size:12px; font-weight:600;
  font-family:'Inter',sans-serif; transition:all .3s;
}
.btn-copy:hover { background:rgba(16,185,129,.35); }
.otp-waiting { font-size:14px; color:#94a3b8; text-align:center; padding:12px 0; }
.otp-code-box {
  background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.3);
  border-radius:14px; padding:20px; text-align:center; margin-bottom:8px;
}
.otp-label { font-size:11px; font-weight:700; letter-spacing:2px; color:#10b981; text-transform:uppercase; margin-bottom:10px; }
.otp-code { font-size:36px; font-weight:800; color:#10b981; letter-spacing:6px;
  text-shadow:0 0 20px rgba(16,185,129,.7); font-family:monospace; }
.otp-actions { display:flex; gap:10px; margin-top:8px; }
.btn-cancel-num {
  padding:9px 16px; border-radius:10px; border:none; cursor:pointer;
  background:rgba(248,113,113,.1); border:1px solid rgba(248,113,113,.25);
  color:#fca5a5; font-size:13px; font-weight:500;
  font-family:'Inter',sans-serif; transition:all .3s; flex:1;
}
.btn-cancel-num:hover { background:rgba(248,113,113,.2); }
.otp-timer { font-size:12px; color:#475569; text-align:center; margin-top:10px; }

/* ── TOAST ── */
.toast {
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(20px);
  padding:12px 24px; border-radius:12px; font-size:14px; font-weight:600;
  opacity:0; transition:all .3s; z-index:999; pointer-events:none;
  backdrop-filter:blur(12px); white-space:nowrap;
}
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.toast.success { background:rgba(16,185,129,.2); border:1px solid rgba(16,185,129,.4); color:#6ee7b7; }
.toast.error   { background:rgba(248,113,113,.15); border:1px solid rgba(248,113,113,.4); color:#fca5a5; }
.toast.info    { background:rgba(59,130,246,.15); border:1px solid rgba(59,130,246,.4); color:#93c5fd; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .otp-layout { flex-direction:column; }
  .sidebar { width:100%; position:static; height:auto; border-right:none; border-bottom:1px solid rgba(255,255,255,.07); }
  .stats-row { display:grid !important; grid-template-columns:1fr 1fr; }
}
@media(max-width:480px){
  .otp-main { padding:16px 14px 50px; }
  .services-grid { grid-template-columns:1fr; }
  #otpNumber { font-size:16px; }
  .otp-code { font-size:28px; }
}

/* ══════════════════════════════════════
   MAINTENANCE OVERLAY
══════════════════════════════════════ */
.maintenance-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.97);
  backdrop-filter: blur(16px);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.6s ease both;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.maintenance-box {
  text-align: center;
  padding: 48px 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 28px;
  max-width: 420px;
  width: 90%;
  animation: scaleIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
  box-shadow: 0 0 60px rgba(16,185,129,0.08);
}
@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.maint-icon {
  font-size: 56px;
  margin-bottom: 20px;
  animation: wobble 3s ease-in-out infinite;
  display: inline-block;
}
@keyframes wobble {
  0%,100% { transform: rotate(0deg); }
  20%     { transform: rotate(15deg); }
  40%     { transform: rotate(-15deg); }
  60%     { transform: rotate(8deg); }
  80%     { transform: rotate(-8deg); }
}

.maint-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.maint-sub {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

.maint-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.maint-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: dotPulse 1.4s ease-in-out infinite;
}
.maint-dots span:nth-child(2) { animation-delay: 0.2s; background: #34d399; }
.maint-dots span:nth-child(3) { animation-delay: 0.4s; background: #6ee7b7; }
@keyframes dotPulse {
  0%,80%,100% { transform: scale(0.6); opacity: 0.4; }
  40%          { transform: scale(1.2); opacity: 1; }
}

.maint-back {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 20px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}
.maint-back:hover {
  background: rgba(16,185,129,0.22);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   NAVBAR HAMBURGER
══════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #6ee7b7;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links-mob {
  position: fixed;
  top: 0; right: -100%;
  height: 100dvh;
  width: min(240px, 75vw);
  background: rgba(5,10,20,0.98);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 24px 40px;
  gap: 10px;
  border-left: 1px solid rgba(16,185,129,0.12);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
  display: flex;
}
.nav-links-mob.open { right: 0; }
.nav-links-mob a {
  color: #6ee7b7;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  width: 100%;
  border: 1px solid rgba(16,185,129,0.15);
  transition: all 0.25s;
}
.nav-links-mob a:hover,
.nav-links-mob a.active-link {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.35);
  color: #fff;
}

/* ══════════════════════════════════════
   BORDER RADIUS POLISH
══════════════════════════════════════ */
.otp-input, .otp-select { border-radius: 12px !important; }
.btn-primary, .btn-secondary { border-radius: 12px !important; }
.sidebar { border-radius: 0 16px 16px 0; }
.services-panel { border-radius: 20px !important; }
.service-card { border-radius: 16px !important; }
.modal { border-radius: 24px !important; }
.otp-modal { border-radius: 24px !important; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-btn-smm { display: none; }
  .nav-center { font-size: 14px; }
  .navbar { padding: 12px 18px; }
  .sidebar { border-radius: 0; }
}
