:root {
  /* Safe Area Insets for iPhone and Modern Devices */
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);

  --bg-primary: #080a10;
  --bg-secondary: #0f121d;
  --bg-card: rgba(18, 21, 32, 0.88);
  --bg-card-hover: rgba(24, 28, 42, 0.98);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(239, 68, 68, 0.6);
  --accent-primary: #ef4444;
  --accent-secondary: #dc2626;
  --accent-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --btn-setup-bg: #222d3f;
  --btn-setup-hover: #2e3e57;
  --btn-buy-bg: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  --btn-buy-hover: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

h1,
h2,
h3,
.logo-text,
.card-title,
.filter-btn,
.price-value {
  font-family: var(--font-heading);
}

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

html {
  scroll-behavior: smooth;
  font-size: 14.5px;
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 680px) {
  html {
    font-size: 13.5px;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  position: relative;
  padding-left: var(--sal);
  padding-right: var(--sar);
}

/* =========================================
   FULLSCREEN RESPONSIVE BACKGROUND VIDEO (ALL DEVICES: PC, LAPTOP, IPAD, IPHONE)
   ========================================= */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  z-index: -4;
  pointer-events: none;
}

.video-bg-container video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.video-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  background: rgba(8, 10, 16, 0.45);
  z-index: -3;
  pointer-events: none;
}

/* =========================================
   BACKGROUND WHITE GRID LINES (AS REQUESTED)
   ========================================= */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 45px 45px;
  background-position: center center;
  z-index: -2;
  pointer-events: none;
}

/* Red ambient glows for gaming aesthetic */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #dc2626, transparent);
  top: -100px;
  left: 10%;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #7f1d1d, transparent);
  bottom: 10%;
  right: 10%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: calc(0.65rem + var(--sat)) 0 0.65rem 0;
  width: 100%;
}

.nav-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  user-select: none;
}

.store-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover .store-brand-logo {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.8) !important;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-accent {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.logo-badge {
  background: var(--accent-gradient);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
}

.nav-controls {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* =========================================
   NAVBAR MUSIC ICON BUTTON (NO TEXT, PURE ICON)
   ========================================= */
.nav-music-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-music-icon-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.6);
}

.nav-music-icon-btn:active {
  transform: scale(0.92);
}

.music-icon-glyph {
  font-size: 1.15rem;
  display: inline-block;
  line-height: 1;
  transition: transform 0.25s ease;
}

.nav-music-icon-btn.active .music-icon-glyph {
  animation: musicBounce 1.5s infinite ease-in-out;
}

.music-sound-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.6);
  opacity: 0;
  pointer-events: none;
}

.nav-music-icon-btn.active .music-sound-pulse {
  animation: musicRingPulse 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-music-icon-btn.off {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.nav-music-icon-btn.off .music-icon-glyph {
  opacity: 0.6;
  animation: none;
}

.nav-music-icon-btn.off .music-sound-pulse {
  display: none;
}

@keyframes musicBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.12) rotate(-6deg); }
  75% { transform: scale(1.08) rotate(6deg); }
}

@keyframes musicRingPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Official Brand SVGs */
.brand-svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.apple-svg {
  color: #ffffff;
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.25));
}

.pc-svg {
  filter: drop-shadow(0 1px 4px rgba(0, 120, 212, 0.4));
}

.android-svg {
  filter: drop-shadow(0 1px 4px rgba(61, 220, 132, 0.4));
}

.dual-brand-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* =========================================
   STORE PACKAGES SECTION (ZOOMED OUT & COMPACT FOR ALL DEVICES)
   ========================================= */
.store-section {
  padding: 1.75rem 0 3.5rem;
  zoom: 0.92;
}

@media (max-width: 680px) {
  .store-section {
    zoom: 0.88;
    padding: 1rem 0 2.5rem;
  }
}

.store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.store-title-area h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-title-area p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Filter Buttons */
.store-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.45);
}

/* =========================================
   PACKAGE CARDS GRID (3 COLUMNS)
   ========================================= */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Single Package Card */
.package-card {
  background: rgba(18, 21, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(220, 38, 38, 0.2);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.card-device-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.package-card:hover .card-device-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.card-title-group {
  display: flex;
  flex-direction: column;
}

.card-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
}

/* Card Banner Visual */
.card-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Banner Overlay Graphics */
.banner-content {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.banner-tag {
  align-self: flex-start;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.banner-features-preview {
  display: flex;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: #cbd5e1;
}

.banner-features-preview span {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Description */
.card-desc {
  font-size: 0.85rem;
  color: #8e97a8;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  min-height: 2.6rem;
}

/* Card Footer */
.card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

/* Action Buttons */
.card-buttons {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.65rem;
}

.btn-setup {
  background: var(--btn-setup-bg);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-setup:hover {
  background: var(--btn-setup-hover);
  color: #fff;
  border-color: rgba(147, 197, 253, 0.4);
  transform: translateY(-2px);
}

.btn-buy {
  background: var(--btn-buy-bg);
  color: #fff;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.btn-buy:hover {
  background: var(--btn-buy-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

/* =========================================
   HOSTING PLANS CARDS (4 BOT PACKAGES)
   ========================================= */
.hosting-plans-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 0.25rem 0.5rem 0.25rem;
}

.hosting-plans-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hosting-card {
  background: rgba(18, 22, 34, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.hosting-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hosting-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.15);
}

.hosting-card:hover::before {
  opacity: 1;
}

.hosting-card.highlight {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(24, 28, 44, 0.82);
}

/* Card Header */
.hosting-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hosting-header-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.pkg-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  border: 2px solid #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.55);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hosting-card:hover .pkg-brand-logo {
  transform: scale(1.08) rotate(4deg);
}

.hosting-card-title-group {
  display: flex;
  flex-direction: column;
}

.hosting-card-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

.hosting-card-bots {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hosting-card-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}

.hosting-card-badge.starter {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.hosting-card-badge.popular {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
}

.hosting-card-badge.pro {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.hosting-card-badge.vip {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

/* Specs Grid */
.hosting-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.hosting-spec-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hosting-spec-pill strong {
  color: #fff;
}

/* Card Footer */
.hosting-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  gap: 0.75rem;
}

.hosting-price-wrap {
  display: flex;
  flex-direction: column;
}

.hosting-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hosting-price-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.hosting-price-sub {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 800;
}

.hosting-price-desc {
  font-size: 0.72rem;
  color: #64748b;
}

.hosting-btn-deploy {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.hosting-btn-deploy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.hosting-btn-deploy:active {
  transform: scale(0.96);
}

/* =========================================
   PURCHASE & SETUP MODAL POPUP
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #111420;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(220, 38, 38, 0.3);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

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

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

.duration-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.duration-opt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.duration-opt:hover,
.duration-opt.selected {
  background: rgba(220, 38, 38, 0.2);
  border-color: #ef4444;
}

.duration-opt strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.duration-opt span {
  font-size: 0.8rem;
  color: #f87171;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  text-align: center;
  background: rgba(8, 10, 16, 0.9);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.tech-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* =========================================
   BOTTOM NAVIGATION DOCK (HOME - MY BOTS - DEPLOY - DEPOSIT - PROFILE)
   ========================================= */
.bottom-nav-dock {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background: rgba(12, 15, 24, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 8px 0.75rem calc(8px + var(--sab)) 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.8), 0 -1px 0 rgba(255, 255, 255, 0.05) !important;
  pointer-events: auto !important;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: #8e97a8;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-item .nav-svg {
  display: block;
  transition: all 0.25s ease;
}

.bottom-nav-item:hover {
  color: #fff;
}

.bottom-nav-item:active {
  transform: scale(0.86);
}

.bottom-nav-item.active {
  color: #fff;
}

.bottom-nav-item.active .nav-icon-wrap {
  transform: translateY(-2px);
  color: #ef4444;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.7));
  animation: navBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-item.active .nav-label {
  color: #fff;
  font-weight: 800;
}

.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  width: 16px;
  height: 3px;
  background: #ef4444;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
  animation: navIndicatorIn 0.3s ease;
}

@keyframes navBounce {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.22); }
  100% { transform: translateY(-2px) scale(1); }
}

@keyframes navIndicatorIn {
  from { width: 0; opacity: 0; }
  to { width: 16px; opacity: 1; }
}

/* Deploy Center Floating Highlight Button */
.bottom-nav-item.deploy-action-btn {
  margin-top: -14px;
}

.deploy-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.65), 0 0 0 4px rgba(14, 17, 26, 0.95);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: deployBtnPulse 2.4s infinite ease-in-out;
}

.bottom-nav-item.deploy-action-btn:active .deploy-icon-bubble {
  transform: scale(0.88);
}

.deploy-label {
  font-weight: 800;
  color: #f87171 !important;
}

@keyframes deployBtnPulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.65), 0 0 0 4px rgba(14, 17, 26, 0.95);
  }
  50% {
    box-shadow: 0 8px 26px rgba(239, 68, 68, 0.95), 0 0 14px rgba(239, 68, 68, 0.7), 0 0 0 4px rgba(14, 17, 26, 0.95);
  }
}

/* Tab Sheet Modals */
.tab-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tab-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tab-sheet {
  background: #111422;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 540px;
  padding: 1.75rem 1.5rem calc(1.75rem + var(--sab)) 1.5rem;
  box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.tab-sheet.active {
  display: block;
  transform: translateY(0);
}

.tab-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.tab-sheet-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.tab-sheet-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.tab-sheet-close:hover {
  color: #fff;
}

/* My Bots Sheet UI */
.bot-card-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bot-card-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bot-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.badge-online {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.server-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.server-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.server-stat-box .stat-lbl {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.server-stat-box .stat-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

/* Deploy Sheet UI */
.deploy-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deploy-opt-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.deploy-opt-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.deploy-opt-icon {
  font-size: 1.5rem;
}

/* Accessible Off-Screen File Input (Never display:none - fixes Android & iOS WebView file pickers) */
.sr-only-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.btn-fast-deploy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--btn-buy-bg);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fast-deploy:hover {
  transform: scale(1.05);
}

/* Deposit Sheet UI */
.wallet-balance-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(185, 28, 28, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.payment-method-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.payment-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

/* =========================================
   BANGLADESH MFS DEPOSIT SYSTEM (BKASH, NAGAD, UPAY)
   ========================================= */
.mfs-deposit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.mfs-method-card {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mfs-method-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}

.mfs-logo-wrap {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.mfs-method-card:hover .mfs-logo-wrap {
  transform: scale(1.05);
}

.mfs-real-logo {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  display: block;
  margin: auto;
  pointer-events: none;
}

.mfs-method-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.mfs-method-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 1px 7px;
}

/* Selected Method Active Glows */
.mfs-method-card.active.bkash-card,
.mfs-method-card.bkash-active {
  border-color: #e2136e !important;
  background: rgba(226, 19, 110, 0.12) !important;
  box-shadow: 0 6px 20px rgba(226, 19, 110, 0.35) !important;
}

.mfs-method-card.active.nagad-card,
.mfs-method-card.nagad-active {
  border-color: #f26522 !important;
  background: rgba(242, 101, 34, 0.12) !important;
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35) !important;
}

.mfs-method-card.active.upay-card,
.mfs-method-card.upay-active {
  border-color: #004899 !important;
  background: rgba(0, 72, 153, 0.15) !important;
  box-shadow: 0 6px 20px rgba(0, 72, 153, 0.45) !important;
}

/* Deposit Sheet Details Box */
.mfs-deposit-box {
  background: rgba(18, 22, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: pageViewFadeIn 0.3s ease;
}

.mfs-box-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mfs-selected-logo-wrap {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 11px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}

.mfs-selected-logo {
  max-width: 74%;
  max-height: 74%;
  object-fit: contain;
  display: block;
  margin: auto;
}

.mfs-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(239, 68, 68, 0.45);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.mfs-number-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mfs-number-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mfs-target-number {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  font-family: monospace;
}

.mfs-copy-btn {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ef4444;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mfs-copy-btn:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.04);
}

.mfs-copy-btn.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
}

.mfs-instructions {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.mfs-instructions p {
  margin: 0.25rem 0;
}

.mfs-quick-amounts {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mfs-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mfs-chip:hover,
.mfs-chip.selected {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

.mfs-inputs-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mfs-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mfs-input-wrap label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
}

.mfs-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  padding: 0.75rem 0.95rem;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.mfs-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.mfs-confirm-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45);
  transition: all 0.25s ease;
  user-select: none;
}

.mfs-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.6);
}

.mfs-confirm-btn:active {
  transform: scale(0.98);
}

/* =========================================
   APP PAGE VIEWS (NATIVE TELEGRAM MINI APP)
   ========================================= */
.app-page-view {
  display: none;
  min-height: calc(100vh - 140px);
  min-height: calc(100dvh - 140px);
  padding: 1rem 0 calc(95px + var(--sab)) 0;
  animation: pageViewFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-page-view.active {
  display: block;
}

@keyframes pageViewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   TRANSPARENT GLASS CARD PROFILE
   Photo, Name & Details all inside one transparent card
   ========================================= */
.profile-glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(14, 18, 30, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem 1.25rem 1.5rem 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(239, 68, 68, 0.15);
  margin-bottom: 2rem;
}

.profile-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-img {
  width: 84px;
  height: 84px;
  border-radius: 50% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  border: 2.5px solid #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.65), 0 0 35px rgba(239, 68, 68, 0.25);
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.profile-avatar-wrap:hover .profile-avatar-img {
  transform: scale(1.05);
}

.profile-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.45) 0%, transparent 70%);
  animation: musicRingPulse 2.5s infinite ease-in-out;
  z-index: 1;
}

.profile-online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.9rem;
  z-index: 3;
  filter: drop-shadow(0 0 4px #10b981);
}

.profile-user-name {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.profile-user-username {
  color: #38bdf8;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0.25rem 0 1.25rem 0;
  user-select: all;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #94a3b8;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
  transform: scale(1.1);
}

.copy-btn:active {
  transform: scale(0.92);
}

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 50%;
  transform: translateX(50%);
  background: #10b981;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.copy-btn.copied .copy-tooltip {
  opacity: 1;
  visibility: visible;
}

.profile-inner-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.profile-inner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.profile-inner-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(239, 68, 68, 0.3);
}

.row-label {
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
}

.row-val {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
}

.balance-text {
  color: #ef4444 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.apple-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ef4444;
  font-weight: 900;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.apple-admin-badge svg {
  display: block;
  fill: #ef4444;
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.6));
}

/* =========================================
   ADMIN PANEL LAUNCH ROW (PROFILE PAGE)
   ========================================= */
.admin-nav-row {
  border-color: rgba(239, 68, 68, 0.45) !important;
  background: rgba(239, 68, 68, 0.08) !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.admin-nav-row:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: #ef4444 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.admin-nav-row:active {
  transform: scale(0.98);
}

/* =========================================
   ADMIN LOADER OVERLAY (SMOOTH TRANSITION)
   ========================================= */
.admin-loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.admin-loader-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-loader-box {
  background: rgba(18, 22, 34, 0.96);
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.25);
  position: relative;
  min-width: 270px;
  text-align: center;
  animation: adminSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-spinner {
  width: 56px;
  height: 56px;
  border: 3.5px solid rgba(239, 68, 68, 0.2);
  border-top-color: #ef4444;
  border-radius: 50%;
  animation: adminSpin 0.75s linear infinite;
  margin-bottom: 1rem;
}

@keyframes adminSpin {
  to { transform: rotate(360deg); }
}

.admin-loader-apple {
  position: absolute;
  top: calc(1.75rem + 16px);
  animation: pulseApple 1.2s ease-in-out infinite;
}

@keyframes pulseApple {
  0%, 100% { transform: scale(0.9); opacity: 0.85; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 8px #ef4444); }
}

.admin-loader-text {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.25rem 0 0.2rem 0;
}

.admin-loader-sub {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================
   DEDICATED ADMIN PANEL PAGE
   ========================================= */
.admin-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-back-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.admin-back-button:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.admin-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
}

.admin-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  text-align: left;
}

.admin-hero-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0;
  color: #fff;
}

.admin-hero-title-wrap p {
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0.2rem 0 0 0;
}

.admin-live-tag {
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.admin-dash-card {
  background: rgba(18, 22, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.admin-dash-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
}

.dash-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dash-card-data {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dash-card-lbl {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dash-card-num {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  margin-top: 0.15rem;
}

.admin-section-box {
  background: rgba(18, 22, 34, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.15rem;
  text-align: left;
}

.admin-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.65rem;
}

.admin-box-header h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
}

.admin-bot-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-bot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.admin-bot-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-bot-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}

.admin-bot-info strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-bot-info span {
  color: #94a3b8;
  font-size: 0.72rem;
}

.admin-bot-pid {
  font-size: 0.7rem;
  color: #ef4444;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.admin-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.admin-tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.admin-tool-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.admin-tool-btn:active {
  transform: scale(0.96);
}

/* =========================================
   DAYTONA CLOUD & LIVE USERS (ADMIN PANEL)
   ========================================= */
.daytona-card-box {
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: rgba(15, 23, 42, 0.85) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12) !important;
}

.daytona-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.daytona-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  gap: 0.5rem;
}

.daytona-info-label {
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.daytona-info-val {
  color: #f1f5f9;
  font-size: 0.85rem;
  font-family: monospace;
  font-weight: 600;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daytona-key-val {
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.daytona-copy-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  border-radius: 6px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.daytona-copy-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}

.daytona-copy-btn.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
}

.daytona-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.daytona-stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.daytona-stat-pill strong {
  font-size: 0.82rem;
}

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

.daytona-sandbox-item {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sandbox-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sandbox-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
}

.sandbox-name {
  color: #fff;
  font-size: 0.85rem;
  font-family: monospace;
  font-weight: 700;
  flex-grow: 1;
}

.sandbox-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.sandbox-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.admin-user-list-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 2px;
}

.admin-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.admin-user-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-user-row.user-is-blocked {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.35);
}

.admin-user-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.admin-user-avatar-img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  background: #111;
  flex-shrink: 0;
}

.user-is-blocked .admin-user-avatar-img {
  border-color: #ef4444;
  filter: grayscale(40%);
}

.admin-user-avatar-small {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.admin-user-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.admin-user-primary-name {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.admin-user-username-link {
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.admin-user-sub-id {
  color: #64748b;
  font-size: 0.7rem;
  font-family: monospace;
}

.admin-user-active-badge {
  font-size: 0.74rem;
  color: #10b981;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.badge-blocked-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-block;
}

.admin-user-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-toggle-block {
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-toggle-block.btn-block {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.btn-toggle-block.btn-block:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.btn-toggle-block.btn-unblock {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.btn-toggle-block.btn-unblock:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
}

.btn-adm-edit-bal {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-adm-edit-bal:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* =========================================
   UNIVERSAL RESPONSIVE ADAPTATION (PC, LAPTOP, TABLET, IPHONE, ANDROID)
   ========================================= */

/* Large PC / 4K Screens */
@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
  }
}

/* Standard Laptops & Landscape Tablets */
@media (max-width: 1199px) {
  .container {
    max-width: 980px;
    padding: 0 1.25rem;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Tablets, iPad Portrait & Large Mobile */
@media (max-width: 820px) {
  .container {
    padding: 0 1rem;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .store-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .filter-bar {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }
}

/* Mobile Devices, iPhones (iPhone 11/12/13/14/15/16 Pro & Max), Android */
@media (max-width: 680px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .store-title {
    font-size: 1.65rem;
  }

  .store-subtitle {
    font-size: 0.9rem;
  }

  .nav-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem;
    width: 100% !important;
  }

  .nav-controls {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .package-card {
    padding: 1.15rem;
  }
}

/* Small Screen Phones (iPhone SE, Small Androids) */
@media (max-width: 420px) {
  .container {
    padding: 0 0.75rem;
  }

  .store-brand-logo {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .package-card {
    padding: 1rem;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .price-amount {
    font-size: 1.75rem;
  }

  .duration-selector {
    gap: 0.35rem;
  }

  .dur-btn {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }

  .card-action-btns {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ========================================================
   DEPLOYMENT OPTIONS & FILE UPLOAD RUN PANEL
   ======================================================== */
.deploy-type-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.deploy-run-panel {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.95), rgba(12, 15, 25, 0.98));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.15);
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.deploy-run-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.deploy-file-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deploy-selected-filename {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.deploy-selected-filesize {
  display: block;
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 700;
}

.btn-change-file {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-change-file:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
  border-color: #ef4444;
}

.deploy-form-group {
  margin-bottom: 0.9rem;
}

.deploy-input-label {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deploy-custom-input {
  width: 100%;
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.deploy-custom-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
  background: rgba(15, 20, 32, 0.95);
}

.btn-run-bot {
  width: 100%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.5rem;
}

.btn-run-bot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.65);
}

.btn-run-bot:active {
  transform: scale(0.98);
}

.deploy-guarantee-note {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.65rem;
  font-weight: 600;
}

/* ========================================================
   MY HOSTED BOTS LIST & ACTIONS
   ======================================================== */
.my-bots-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.my-bot-card {
  background: rgba(18, 22, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.my-bot-card:hover {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.my-bot-card.running {
  border-left: 4px solid #10b981;
}

.my-bot-card.stopped {
  border-left: 4px solid #ef4444;
  opacity: 0.92;
}

.my-bot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.my-bot-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.my-bot-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.my-bot-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-bot-meta {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 2px;
  display: block;
}

.my-bot-status-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 20px;
  white-space: nowrap;
}

.my-bot-status-tag.online {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.my-bot-status-tag.offline {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.my-bot-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.8rem 0;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.my-bot-spec-box {
  display: flex;
  flex-direction: column;
}

.my-bot-spec-lbl {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.my-bot-spec-val {
  font-size: 0.82rem;
  color: #fff;
  font-weight: 700;
}

.my-bot-actions-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-bot-action {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-bot-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-bot-action.btn-restart:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #60a5fa;
}

.btn-bot-action.btn-start {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.btn-bot-action.btn-start:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
}

.btn-bot-action.btn-stop {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.btn-bot-action.btn-stop:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}

.btn-bot-action.btn-delete {
  flex: 0 0 auto;
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-bot-action.btn-delete:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

.my-bots-empty {
  background: rgba(18, 22, 34, 0.8);
  border: 1px dashed rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  padding: 1.75rem 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

/* ========================================================
   DEPLOY ACTIVE PLAN BANNER & FALLBACK (X1 HOSTING)
   ======================================================== */
.deploy-plan-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14) 0%, rgba(18, 22, 34, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.38);
  box-shadow: 0 10px 30px -5px rgba(239, 68, 68, 0.28);
  border-radius: 18px;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.deploy-plan-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ef4444, #f87171, transparent);
}

.deploy-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.5rem;
}

.deploy-plan-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
}

.deploy-plan-sub-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ef4444;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.deploy-plan-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.deploy-plan-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.deploy-plan-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.deploy-spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}

.deploy-spec-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(239, 68, 68, 0.3);
}

.deploy-spec-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.deploy-spec-lbl {
  font-size: 0.68rem;
  color: #94a3b8;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.deploy-spec-val {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 800;
  display: block;
  letter-spacing: 0.3px;
}

.deploy-no-plan-box {
  background: rgba(18, 22, 34, 0.8);
  border: 1px dashed rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.btn-browse-plans {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-browse-plans:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

/* ========================================================
   ADMIN PANEL DEDICATED DOCK & SUB-VIEWS (DYNAMIC WORKSPACE)
   Buttons: user list, dp request, all deploys, edit subs, pay method
   ======================================================== */
.bottom-nav-dock.dock-hidden {
  display: none !important;
}

.admin-bottom-dock {
  background: rgba(10, 13, 22, 0.98) !important;
  border-top: 1px solid rgba(239, 68, 68, 0.25) !important;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.9), 0 -1px 12px rgba(239, 68, 68, 0.15) !important;
  padding: 6px 4px calc(6px + var(--sab)) 4px !important;
}

.admin-bottom-dock .bottom-nav-item {
  flex: 1;
  min-width: 0;
  padding: 4px 2px;
  gap: 2px;
}

.admin-bottom-dock .nav-label {
  font-size: 0.62rem;
  letter-spacing: -0.2px;
  white-space: nowrap;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.admin-bottom-dock .bottom-nav-item.active .nav-label {
  color: #ef4444;
  font-weight: 800;
}

.admin-bottom-dock .bottom-nav-item.active .nav-svg {
  color: #ef4444;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6));
}

.nav-badge-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Admin Subviews */
.admin-subview {
  display: none;
}

.admin-subview.active {
  display: block;
  animation: adminFadeIn 0.25s ease-out forwards;
}

@keyframes adminFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Admin Quick Top Navigation Pills */
.admin-subnav-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 12px 0;
  margin-bottom: 0.75rem;
  scrollbar-width: none;
}

.admin-subnav-pills::-webkit-scrollbar {
  display: none;
}

.admin-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-pill-btn.active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.08));
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

.admin-pill-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 10px;
  line-height: 1;
}

/* Admin Search Bar */
.admin-search-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.admin-search-input {
  width: 100%;
  background: rgba(18, 22, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.admin-search-input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

/* Admin Edit Cards: Subs & Pay */
.admin-manage-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.95rem;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}

.admin-manage-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.admin-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.admin-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.55rem;
  border-radius: 8px;
  margin-bottom: 0.65rem;
}

.admin-spec-col {
  text-align: center;
}

.admin-spec-col span {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
}

.admin-spec-col strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  font-weight: 700;
}

.admin-card-btn-action {
  width: 100%;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.admin-card-btn-action:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

/* ========================================================
   BLOCKED ACCOUNT FULLSCREEN OVERLAY & MODAL
   ======================================================== */
.blocked-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 12, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.blocked-card-dialog {
  background: linear-gradient(180deg, #181216 0%, #0d0b0e 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(239, 68, 68, 0.25), 0 0 0 1px rgba(239, 68, 68, 0.2);
  max-width: 420px;
  width: 100%;
  padding: 2.2rem 1.6rem;
  text-align: center;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blocked-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  border: 2px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.25);
}

.blocked-headline {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem 0;
}

.blocked-status-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.5);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.blocked-message {
  color: #f1f5f9;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.blocked-submessage {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0 0 1.25rem 0;
}

.blocked-info-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blocked-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94a3b8;
}

.btn-blocked-exit {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
  transition: all 0.2s;
}

.btn-blocked-exit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ========================================================
   ADMIN IN-APP MODAL (EDIT PAY METHOD & CONFIG)
   ======================================================== */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.admin-modal-card {
  background: #131117;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.admin-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
  transition: color 0.2s;
}

.admin-modal-close:hover {
  color: #ef4444;
}



/* ==========================================================================
   VPS WORKER TELEMETRY & JOB QUEUE STYLES
   ========================================================================== */
.admin-job-toggle-btn {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-job-toggle-btn.paused {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.worker-queue-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0.85rem 0;
}

@media (max-width: 480px) {
  .worker-queue-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.worker-summary-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.worker-summary-pill .label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.worker-summary-pill .val {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: monospace;
}

.worker-summary-pill.pending .val { color: #f59e0b; }
.worker-summary-pill.processing .val { color: #38bdf8; }
.worker-summary-pill.completed .val { color: #22c55e; }
.worker-summary-pill.failed .val { color: #ef4444; }

.worker-node-card {
  position: relative;
  overflow: hidden;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.worker-node-card.node-online {
  border-left-color: #22c55e;
}

.worker-node-card.node-offline {
  border-left-color: #ef4444;
}

.worker-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 0.6rem 0;
}

@media (max-width: 440px) {
  .worker-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-mini-tile {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-mini-label {
  font-size: 0.6rem;
  color: #94a3b8;
  font-weight: 600;
}

.metric-mini-val {
  font-size: 0.8rem;
  color: #fff;
  font-family: monospace;
}

.metric-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.worker-empty-state {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  margin: 0.5rem 0;
}

.admin-jobs-history-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 0.5rem;
}

.worker-job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  gap: 0.6rem;
  transition: border-color 0.2s;
}

.worker-job-row:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.job-col-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.job-type-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.job-type-badge {
  font-size: 0.68rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: monospace;
}

.job-uuid-text {
  font-size: 0.68rem;
  color: #94a3b8;
  font-family: monospace;
}

.job-bot-ref {
  font-size: 0.68rem;
  color: #64748b;
}

.job-sub-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: #64748b;
}

.job-err-msg {
  color: #ef4444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.job-col-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.job-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.job-status-pill.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.job-status-pill.processing {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.job-status-pill.completed {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.job-status-pill.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.job-status-pill.cancelled {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.job-actions-wrap {
  display: flex;
  gap: 0.25rem;
}

.btn-job-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  font-size: 0.62rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-retry-job:hover {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border-color: #22c55e;
}

.btn-cancel-job:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

/* =========================================
   WALLET TOP TAB SWITCH (DEPOSIT vs HISTORY)
   ========================================= */
.wallet-tab-switch {
  display: flex;
  background: rgba(18, 22, 34, 0.9);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.15rem 0 0.85rem 0;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.wallet-nav-btn {
  flex: 1;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.wallet-nav-btn.active {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
}

/* =========================================
   HISTORY PANEL STYLES
   ========================================= */
.history-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 0.85rem 0;
  gap: 8px;
}

.history-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.history-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.history-filter-btn.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.history-refresh-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.history-refresh-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.history-list-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 180px;
}

/* History Card */
.history-item-card {
  background: rgba(18, 22, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  animation: pageViewFadeIn 0.25s ease;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.history-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.history-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.history-type-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-type-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.history-type-icon.deposit-icon {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.history-type-icon.plan-icon {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.history-title-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.history-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.history-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.history-badge.approved,
.history-badge.completed,
.history-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.history-badge.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.history-badge.expired {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.history-item-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.5rem;
}

.history-amount-text {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: monospace;
}

.history-amount-text.deposit-amount {
  color: #10b981;
}

.history-amount-text.plan-amount {
  color: #ef4444;
}

.history-date-text {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.history-item-details {
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-trx {
  font-family: monospace;
  color: #38bdf8;
  font-weight: 700;
}

.history-empty-card {
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(18, 22, 34, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #94a3b8;
}

.history-empty-card span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

/* Profile Support Button Row */
.profile-support-action-row:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.06);
}

.profile-support-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.profile-support-pill:hover {
  background: #38bdf8;
  color: #0b0f19;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.4);
}
