/* Virexosmm.shop — Custom Style */
:root {
  --purple: #aa56ff;
  --purple-dark: #8b3fdd;
  --bg-1: #0f0f1a;
  --bg-2: #1a1a2e;
  --bg-3: #16213e;
  --border: rgba(255,255,255,0.08);
  --text: #e2e2e2;
  --text-muted: #8892a4;
}

* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: var(--bg-1); color: var(--text); margin: 0; }
body.dark { background: var(--bg-1); }
a { text-decoration: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* Navbar */
#mainNav {
  background: rgba(15,15,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  z-index: 1000;
}
.navbar-brand { color: #fff !important; font-size: 1.3rem; }
.navbar-nav .nav-link { color: var(--text-muted) !important; font-size: 14px; font-weight: 500; padding: 8px 16px !important; border-radius: 8px; transition: all .2s; }
.navbar-nav .nav-link:hover { color: var(--purple) !important; background: rgba(170,86,255,.1); }

/* Buttons */
.btn-purple { background: var(--purple); color: #fff !important; border: none; border-radius: 10px; font-weight: 500; transition: all .2s; }
.btn-purple:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(170,86,255,.4); }
.btn-outline-purple { border: 1px solid var(--purple); color: var(--purple) !important; border-radius: 10px; background: transparent; font-weight: 500; transition: all .2s; }
.btn-outline-purple:hover { background: var(--purple); color: #fff !important; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.3); color: #fff !important; border-radius: 10px; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-xs { padding: 3px 8px; font-size: 12px; border-radius: 6px; }
.text-purple { color: var(--purple) !important; }

/* Hero Section */
.hero-section {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(170,86,255,.25) 0%, transparent 70%);
}
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.badge-label {
  display: inline-block; background: rgba(170,86,255,.15); color: var(--purple);
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(170,86,255,.3);
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; }
.section-title span { color: var(--purple); }

/* Login card */
.login-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 0 auto;
}
.form-control, .form-select {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 10px 16px;
  font-size: 14px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--purple) !important;
  box-shadow: 0 0 0 3px rgba(170,86,255,.2) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.input-group-text { background: var(--bg-3) !important; border: 1px solid var(--border) !important; color: var(--text-muted); border-radius: 10px 0 0 10px !important; }
.input-group .form-control { border-radius: 0 10px 10px 0 !important; }
.input-group .form-control:only-child { border-radius: 10px !important; }

/* Stats */
.stats-section { padding: 40px 0; }
.stats-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}
.stat-number { font-size: 1.5rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Features */
.features-section { background: linear-gradient(180deg, transparent, rgba(170,86,255,.05), transparent); }
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all .3s;
  height: 100%;
}
.feature-card:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(170,86,255,.2); }
.feature-icon { font-size: 32px; color: var(--purple); }

/* Steps */
.step-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  transition: all .3s;
}
.step-card:hover { border-color: var(--purple); }
.step-num {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff; font-size: 1.3rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.bg-dark-2 { background: var(--bg-2) !important; }

/* Brand Slider */
.brand-slider {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  position: relative;
}
.brand-slider::before, .brand-slider::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 60px; z-index: 2;
}
.brand-slider::before { top: 0; background: linear-gradient(to bottom, var(--bg-2), transparent); }
.brand-slider::after { bottom: 0; background: linear-gradient(to top, var(--bg-2), transparent); }
.slider-inner { animation: scrollUp 20s linear infinite; }
.slider-inner:hover { animation-play-state: paused; }
@keyframes scrollUp { 0%{transform:translateY(0)} 100%{transform:translateY(-50%)} }
.product-box {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pb-left { color: var(--text); font-weight: 500; }
.pb-right {
  background: rgba(170,86,255,.15);
  color: var(--purple);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Auth Pages */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-wrapper { width: 100%; max-width: 440px; padding: 20px; }
.auth-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}
.auth-logo { font-size: 1.4rem; font-weight: 700; color: #fff !important; }
.admin-logo-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin: 0 auto;
}
.cursor-pointer { cursor: pointer; }

/* Page wrapper */
.page-wrapper { min-height: 100vh; padding-top: 80px; }

/* Dashboard */
.dash-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.stat-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
}
.sw-icon { font-size: 32px; }
.sw-value { font-size: 1.4rem; font-weight: 700; color: #fff; }
.sw-label { font-size: 12px; color: var(--text-muted); }
.charge-display {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--purple);
}
.service-info-box {
  background: rgba(170,86,255,.08);
  border: 1px solid rgba(170,86,255,.3);
  border-radius: 10px;
  padding: 16px;
}
.order-mini-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.api-key-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  word-break: break-all;
}
.balance-chip {
  background: rgba(170,86,255,.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Services Table */
.services-table-wrap { border-radius: 12px; overflow: hidden; }
.services-table { margin: 0; }
.services-table th { background: var(--bg-3) !important; color: var(--text-muted) !important; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.badge-type { background: rgba(170,86,255,.2); color: var(--purple); border: 1px solid rgba(170,86,255,.4); }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-btn { background: var(--bg-2); border: 1px solid var(--border); color: var(--text-muted); padding: 6px 16px; border-radius: 20px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all .2s; }
.cat-btn:hover, .cat-btn.active { background: var(--purple); color: #fff; border-color: var(--purple); }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 40px 0 0; }
.footer-link { color: var(--text-muted) !important; font-size: 13px; display: block; margin-bottom: 8px; transition: color .2s; }
.footer-link:hover { color: var(--purple) !important; }

/* Badges */
.badge-warning { background: #f59e0b; color: #000; }
.badge-info { background: #3b82f6; color: #fff; }
.badge-success { background: #10b981; color: #fff; }
.badge-danger { background: #ef4444; color: #fff; }
.badge-secondary { background: #6b7280; color: #fff; }
.badge-dark { background: #374151; color: #fff; }

/* Alerts */
.alert { border-radius: 10px; font-size: 14px; }
.alert-success { background: rgba(16,185,129,.15); border-color: rgba(16,185,129,.3); color: #6ee7b7; }
.alert-danger { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.3); color: #fca5a5; }
.alert-info { background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.3); color: #93c5fd; }

/* Payment Method Btn */
.payment-method-btn { font-size: 13px; border-radius: 10px; border-color: var(--border) !important; color: var(--text-muted) !important; background: var(--bg-3) !important; }
.btn-check:checked + .payment-method-btn { border-color: var(--purple) !important; background: rgba(170,86,255,.1) !important; color: #fff !important; }

/* Pass toggle */
.pass-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--text-muted); font-size: 18px; }
.p-relative { position: relative; }
.p-absolute { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* Table dark override */
.table-dark { --bs-table-bg: var(--bg-2); --bs-table-hover-bg: rgba(170,86,255,.05); }
.table-dark td, .table-dark th { border-color: var(--border) !important; color: var(--text) !important; vertical-align: middle; }

/* Dropdown */
.dropdown-menu-dark { background: var(--bg-2) !important; border: 1px solid var(--border) !important; border-radius: 12px !important; }
.dropdown-item { font-size: 13px; color: var(--text-muted) !important; border-radius: 8px !important; margin: 2px 4px; width: calc(100% - 8px) !important; }
.dropdown-item:hover { background: rgba(170,86,255,.1) !important; color: var(--purple) !important; }

/* Responsive */
@media(max-width: 768px) {
  .hero-section { padding: 100px 0 50px; }
  .auth-box { padding: 24px 20px; }
}

/* Google Login Button */
.btn-google {
  background: #ffffff !important;
  color: #1f1f1f !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 20px !important;
  transition: all .2s ease !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  width: 100%;
}
.btn-google:hover {
  background: #f1f3f4 !important;
  color: #000000 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
  transform: translateY(-1px) !important;
}
.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.auth-separator:not(:empty)::before {
  margin-right: 15px;
}
.auth-separator:not(:empty)::after {
  margin-left: 15px;
}

/* Floating Telegram Support Button */
.tg-floating-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tg-floating-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.65);
  color: #ffffff !important;
}
.tg-floating-btn i {
  font-size: 20px;
  line-height: 1;
}
.tg-floating-btn .tg-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  border: 2px solid #2AABEE;
  animation: tg-pulse-wave 2s infinite ease-out;
  pointer-events: none;
}
@keyframes tg-pulse-wave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15, 1.35); opacity: 0; }
}
@media (max-width: 576px) {
  .tg-floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }
  .tg-floating-btn span:not(.tg-pulse) {
    display: none;
  }
}