:root {
  --bg-main: #070a12;
  --bg-sidebar: #0b0f19;
  --bg-card: #111726;
  --bg-card-hover: #151d30;
  --bg-input: #0c121e;
  --border-color: #1e293b;
  --border-focus: #38bdf8;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --crimson: #ef4444;
  --crimson-glow: rgba(239, 68, 68, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  height: 100vh;
}

/* ================= AUTH / LOGIN SCREEN ================= */
.auth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 30%, #111a33 0%, #070a12 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
  animation: floatBlobs 12s infinite alternate ease-in-out;
}
.blob-1 {
  width: 450px;
  height: 450px;
  background: rgba(14, 165, 233, 0.25);
  top: 15%;
  left: 20%;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, 0.25);
  bottom: 15%;
  right: 20%;
  animation-delay: -6s;
}

@keyframes floatBlobs {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.1); }
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(17, 23, 38, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 8px 24px var(--cyan-glow);
}

.auth-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-error-msg {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--crimson);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.925rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px var(--cyan-glow);
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper .form-control {
  padding-right: 2.75rem;
}

.btn-toggle-password {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.btn-toggle-password:hover {
  color: var(--cyan);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.auth-secure-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--cyan);
  background: rgba(14, 165, 233, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.auth-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ================= APP LAYOUT (FULL-WIDTH WORKSPACE WITH TOP DROPDOWN) ================= */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  width: 100%;
  max-width: 100vw;
  background-color: var(--bg-main);
  overflow: hidden;
  position: relative;
}

/* Sidebar is completely replaced by Top Dropdown Menu */
.sidebar,
.sidebar-backdrop,
.btn-sidebar-toggle,
.btn-sidebar-close {
  display: none !important;
}

/* ================= ADMIN TOPBAR & DROPDOWN NAVIGATION ================= */
.admin-top-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.admin-top-brand:hover {
  transform: translateY(-1px);
}

.admin-top-brand .logo-icon {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  border-radius: 10px;
}

.admin-top-brand-text {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-top-brand-text h2 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.topbar-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0.75rem;
}

/* Dropdown Navigation Wrap */
.admin-nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 1050;
}

/* Trigger Button */
.btn-admin-nav-drop {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  text-align: left;
  user-select: none;
}

.btn-admin-nav-drop:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.btn-admin-nav-drop.active,
.btn-admin-nav-drop:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.drop-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.drop-nav-icon.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.drop-nav-icon.purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.drop-nav-icon.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.drop-nav-icon.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.drop-nav-text {
  display: flex;
  flex-direction: column;
}

.drop-nav-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.drop-nav-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.1;
  font-weight: 500;
}

.drop-chevron {
  font-size: 0.75rem;
  color: var(--cyan);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 0.25rem;
}

.btn-admin-nav-drop.active .drop-chevron {
  transform: rotate(180deg);
}

/* Floating Dropdown Panel */
.admin-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 360px;
  max-width: calc(100vw - 1rem);
  max-height: calc(100dvh - 85px);
  background: #0b1120;
  background: linear-gradient(180deg, #0e1628 0%, #070b16 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.92), 0 0 25px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-nav-dropdown-menu.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.dropdown-menu-header {
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-header-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.server-live-indicator-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 600;
}

.dropdown-items-scroll {
  padding: 0.65rem 0.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dropdown-cat-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.6rem 0.65rem 0.25rem;
}

/* Individual Dropdown Item Button */
.dropdown-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  user-select: none;
}

.dropdown-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(2px);
}

.dropdown-nav-item.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.dropdown-nav-item .nav-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.dropdown-nav-item .nav-label-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dropdown-nav-item .nav-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #f1f5f9;
}

.dropdown-nav-item .nav-desc {
  font-size: 0.7rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-menu-footer {
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.server-status-pill-small {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dropdown-footer-btns {
  display: flex;
  gap: 0.4rem;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.logo-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.badge-version {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.sidebar-nav {
  flex: 1;
  padding: 1.25rem 0.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-category {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.75rem 0.75rem 0.35rem;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.nav-item.active {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--text-main);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cyan-icon {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
}
.purple-icon {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
}
.emerald-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.nav-label-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-weight: 700;
  font-size: 0.925rem;
}

.nav-desc {
  font-size: 0.725rem;
  color: var(--text-dim);
}

.nav-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}
.nav-badge.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
}
.nav-badge.purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.server-status-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}

.pulse-dot.green {
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.server-info-small {
  display: flex;
  flex-direction: column;
}

.srv-name {
  font-weight: 700;
  font-size: 0.85rem;
}

.srv-ip {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--crimson);
  border-color: var(--crimson);
}

/* ================= MAIN WRAPPER & TOPBAR ================= */
.main-wrapper {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  height: 72px;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.topbar-left h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.topbar-left p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-muted);
}

.metric-pill strong {
  color: var(--text-main);
}

.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-color);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.user-role {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ================= CONTENT BODY ================= */
.content-body {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 1.75rem 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.tab-pane {
  display: none;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  animation: fadeIn 0.2s ease;
}

.tab-pane.active {
  display: block;
}

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

/* Sector Summary Bar */
.sector-stats-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  min-width: 200px;
}

.mini-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.mini-stat-icon.cyan { background: rgba(56, 189, 248, 0.15); color: var(--cyan); }
.mini-stat-icon.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.mini-stat-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.mini-stat-icon.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold); }

.mini-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mini-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
}

.ml-auto {
  margin-left: auto;
}

/* ================= CARDS & TABLES ================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.table-card {
  padding: 0;
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.card-header-left i {
  font-size: 1.4rem;
}

.card-header-left h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-header-left p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.search-input-wrap input {
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  min-width: 240px;
}

.search-input-wrap input:focus {
  border-color: var(--border-focus);
}

/* Data Table */
.table-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  vertical-align: middle;
}

.data-table tr:hover td {
  background: var(--bg-card-hover);
}

.site-title-cell strong {
  display: block;
  font-size: 0.95rem;
}

.site-title-cell span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.domain-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.domain-link:hover {
  text-decoration: underline;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-crimson {
  background: rgba(239, 68, 68, 0.15);
  color: var(--crimson);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ================= GAMES GRID & CARDS ================= */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.game-card.active-console {
  border-color: var(--purple);
  box-shadow: 0 0 20px var(--purple-glow);
}

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

.game-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.game-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.game-title h4 {
  font-size: 1.05rem;
  font-weight: 800;
}

.game-type-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.game-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.game-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.game-spec-item {
  display: flex;
  flex-direction: column;
}

.game-spec-item span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.game-spec-item strong {
  font-size: 0.85rem;
}

.game-path-box {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-path-box code {
  color: var(--cyan);
}

.game-actions-bar {
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.power-btn-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-power {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-power:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}
.btn-power.start:hover { color: var(--emerald); border-color: var(--emerald); }
.btn-power.stop:hover { color: var(--crimson); border-color: var(--crimson); }
.btn-power.restart:hover { color: var(--gold); border-color: var(--gold); }

/* ================= LIVE CONSOLE ================= */
.console-card {
  padding: 0;
  overflow: hidden;
  border-color: rgba(168, 85, 247, 0.3);
  margin-top: 1.5rem;
}

.console-header {
  padding: 1rem 1.5rem;
  background: #0d121f;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.console-title-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
}

.console-title-wrap p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.console-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.console-screen {
  height: 380px;
  background: #060911;
  padding: 1.25rem;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.825rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.console-line {
  margin-bottom: 0.2rem;
  word-break: break-all;
}

.console-line.cmd {
  color: var(--cyan);
  font-weight: 700;
}

.console-quick-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #0a0e1a;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.quick-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}

.btn-quick-cmd {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-quick-cmd:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
  border-color: var(--purple);
}

.console-input-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: #090d18;
  border-top: 1px solid var(--border-color);
  gap: 0.75rem;
}

.console-prompt {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--purple);
  font-size: 1.1rem;
}

.console-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

/* ================= HARDWARE & DISKS ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.stat-icon.cyan { background: rgba(56, 189, 248, 0.12); color: var(--cyan); }
.stat-icon.purple { background: rgba(168, 85, 247, 0.12); color: var(--purple); }
.stat-icon.emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.stat-icon.gold { background: rgba(245, 158, 11, 0.12); color: var(--gold); }

.stat-title {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 800;
}

.stat-sub {
  font-size: 0.75rem;
}

/* Disks */
.disks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.disk-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

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

.disk-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.disk-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  width: fit-content;
}

.disk-badge.disk1 { background: var(--cyan); color: #000; }
.disk-badge.disk2 { background: var(--purple); color: #fff; }

.disk-mount {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: monospace;
}

.disk-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.disk-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.disk1-fill { background: linear-gradient(90deg, var(--cyan), #0284c7); }
.disk2-fill { background: linear-gradient(90deg, var(--purple), #7c3aed); }

.disk-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.service-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.service-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.service-dot.online { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }

/* ================= BUTTONS & MODALS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--cyan);
  color: #070a12;
}
.btn-primary:hover {
  background: #7dd3fc;
  box-shadow: 0 4px 14px var(--cyan-glow);
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover {
  background: #c084fc;
  box-shadow: 0 4px 14px var(--purple-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.btn-xs {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}
.btn-icon.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--crimson);
  border-color: var(--crimson);
}

.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.15s ease;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.modal-box.modal-lg {
  max-width: 850px;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-modal {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.btn-close-modal:hover { color: #fff; }

.modal-body {
  padding: 1.5rem;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-main);
}

/* File Split in Modal */
.files-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  height: 440px;
}

.files-sidebar {
  background: #090d18;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.files-header-small {
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.files-tree {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  font-size: 0.825rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.file-item.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  font-weight: 600;
}

.files-editor-area {
  display: flex;
  flex-direction: column;
  background: #060911;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.editor-header {
  padding: 0.65rem 1rem;
  background: #0d121f;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--cyan);
}

.code-editor {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  white-space: pre;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  z-index: 100000;
}

.toast {
  background: #111726;
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #fff;
  animation: slideUp 0.25s ease;
}

.toast.success { border-color: var(--emerald); }
.toast.error { border-color: var(--crimson); }

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

.mb-4 { margin-bottom: 1.5rem; }

/* ================= BILLING & COMMERCIAL PLANS ================= */
.gold-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
}

.nav-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
}

.billing-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.billing-plan-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.billing-plan-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.plan-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.plan-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.plan-icon.cyan { background: rgba(56, 189, 248, 0.15); color: var(--cyan); }
.plan-icon.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.plan-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.plan-icon.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold); }

.plan-title-box h4 {
  font-size: 1rem;
  font-weight: 700;
}

.plan-category-tag {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.plan-price-box {
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-currency {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

.plan-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  min-height: 38px;
}

.plan-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.plan-specs-list li {
  font-size: 0.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-specs-list li i {
  color: var(--emerald);
  font-size: 0.75rem;
}

.plan-disk-target {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================
   PUBLIC STOREFRONT (LOJA DE SERVIÇOS & GAMING)
   ========================================================== */
.store-wrapper {
  min-height: 100vh;
  width: 100vw;
  background: radial-gradient(circle at 50% 10%, #10172e 0%, #07090e 65%);
  color: var(--text-main);
  overflow-x: hidden;
}

.store-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 16, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.store-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.store-brand-text h2 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.store-tagline {
  font-size: 0.7rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

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

.store-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.store-nav-links a:hover {
  color: var(--cyan);
}

.store-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.server-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

/* Hero Section */
.store-hero {
  position: relative;
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
  overflow: hidden;
}

.store-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.35;
}

.blob-left {
  width: 500px;
  height: 500px;
  background: rgba(14, 165, 233, 0.3);
  top: 5%;
  left: 5%;
}

.blob-right {
  width: 450px;
  height: 450px;
  background: rgba(168, 85, 247, 0.3);
  top: 15%;
  right: 5%;
}

.store-hero-content {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  z-index: 10;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-pill-badge {
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(10px);
}

.hero-pill-badge.cyan {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #7dd3fc;
}

.hero-pill-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.hero-pill-badge.purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
}

.store-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2.25rem;
}

/* Payment Highlights Bar */
.hero-payment-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.payment-badge-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(17, 23, 38, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.payment-badge-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.payment-badge-pill i {
  font-size: 1.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.payment-badge-pill.mbway i {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.payment-badge-pill.bank i {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.payment-badge-pill.paypal i {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.payment-badge-pill.crypto i {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.payment-badge-pill.phantom i {
  background: linear-gradient(135deg, rgba(171, 159, 242, 0.25), rgba(81, 45, 168, 0.35));
  color: #ab9ff2;
  border: 1px solid rgba(171, 159, 242, 0.4);
}

.payment-badge-pill.solana i {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.2), rgba(20, 241, 149, 0.2));
  color: #14F195;
  border: 1px solid rgba(20, 241, 149, 0.35);
}

.payment-badge-pill.usdc i {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.payment-badge-pill strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.payment-badge-pill span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.store-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Filter Bar */
.section-header-centered {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-header-centered h2 {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.75px;
  margin-bottom: 0.4rem;
}

.section-header-centered p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.store-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-btn.active {
  background: var(--cyan);
  color: #04101e;
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* Store Cards Grid */
.store-cards-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.store-card {
  position: relative;
  background: rgba(17, 23, 38, 0.8);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.15);
}

.store-card.featured {
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(180deg, rgba(28, 22, 54, 0.85) 0%, rgba(17, 23, 38, 0.85) 100%);
}

.store-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.store-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.store-card-icon.cyan { background: rgba(14, 165, 233, 0.15); color: var(--cyan); }
.store-card-icon.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.store-card-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.store-card-icon.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold); }

.store-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.store-card-badge.cyan { background: rgba(14, 165, 233, 0.15); color: var(--cyan); border: 1px solid rgba(14, 165, 233, 0.3); }
.store-card-badge.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); border: 1px solid rgba(168, 85, 247, 0.3); }
.store-card-badge.emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.store-card-badge.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold); border: 1px solid rgba(245, 158, 11, 0.3); }

.store-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 0.35rem;
}

.store-card-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  min-height: 38px;
}

.store-card-pricing {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-main {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.price-currency {
  font-size: 1.2rem;
  color: var(--cyan);
  font-weight: 700;
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.price-savings {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.store-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.store-spec-list li {
  font-size: 0.825rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-spec-list li i {
  color: var(--emerald);
  font-size: 0.75rem;
}

.store-card-footer {
  margin-top: auto;
}

/* Features Grid */
.store-features-section {
  padding: 5rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

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

.feature-card {
  background: rgba(17, 23, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.feature-icon.cyan { background: rgba(14, 165, 233, 0.12); color: var(--cyan); }
.feature-icon.purple { background: rgba(168, 85, 247, 0.12); color: var(--purple); }
.feature-icon.emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.feature-icon.gold { background: rgba(245, 158, 11, 0.12); color: var(--gold); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.store-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 1.5rem 1.5rem;
  background: rgba(7, 10, 16, 0.9);
}

.store-footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .store-footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .store-footer-content {
    grid-template-columns: 1fr;
  }
}

.brand-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.75rem 0 1.25rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-badges span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
}

.store-footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.store-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-footer ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.store-footer ul a:hover {
  color: var(--cyan);
}

.payment-methods-list {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pay-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.store-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-status-pill code {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* ==========================================================
   CHECKOUT MODAL & PAYMENT SELECTORS
   ========================================================== */
.modal-lg {
  max-width: 640px !important;
}

.checkout-summary-card {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.checkout-plan-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.checkout-plan-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(14, 165, 233, 0.2);
  color: var(--cyan);
}

.checkout-plan-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.checkout-plan-text span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.checkout-price-tag {
  text-align: right;
}

.checkout-price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
}

.checkout-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payment-method-selector {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.payment-option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-option-card input[type="radio"] {
  display: none;
}

.payment-option-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.payment-option-card.active {
  background: rgba(14, 165, 233, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.15);
}

.pay-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pay-card-icon.mbway-color { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.pay-card-icon.bank-color { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.pay-card-icon.paypal-color { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.pay-card-icon.crypto-color { background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25)); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.pay-card-icon.phantom-color { background: linear-gradient(135deg, rgba(171, 159, 242, 0.25), rgba(81, 45, 168, 0.35)); color: #ab9ff2; border: 1px solid rgba(171, 159, 242, 0.4); box-shadow: 0 0 12px rgba(171, 159, 242, 0.25); }

.pay-card-info {
  flex-grow: 1;
}

.pay-card-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.pay-card-info span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.pay-check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
  transition: all var(--transition-fast);
}

.payment-option-card.active .pay-check-badge {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04101e;
}

.payment-details-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.iban-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  margin: 0.65rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.btn-copy-iban {
  background: var(--cyan);
  color: #000;
  border: none;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-back-to-store {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.825rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.btn-back-to-store:hover {
  color: var(--cyan);
}

/* ==========================================================
   RESPONSIVE STORE MOBILE NAVIGATION & ENHANCEMENTS
   ========================================================== */

/* Mobile Menu Button */
.btn-mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-mobile-menu:hover,
.btn-mobile-menu.active {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

.mobile-nav-footer {
  display: none;
}

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

/* Tablet & Mobile Breakpoint (<= 992px) */
@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }

  .btn-mobile-menu {
    display: flex;
  }

  .store-nav-container {
    padding: 0.75rem 1.25rem;
    position: relative;
    gap: 0.75rem;
  }

  .store-brand-text h2 {
    font-size: 1.1rem;
  }

  .store-tagline {
    font-size: 0.65rem;
  }

  .store-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #080c17;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
    padding: 1.15rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    z-index: 1000;
    animation: slideDownNav 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .store-nav-links.mobile-open {
    display: flex;
  }

  .store-nav-links a {
    padding: 0.9rem 1.15rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .store-nav-links a i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    color: var(--cyan);
  }

  .store-nav-links a:hover,
  .store-nav-links a:active {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.35);
    color: #fff;
  }

  .mobile-nav-footer {
    display: block;
    margin-top: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-live-pill {
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.45rem 1rem;
  }
}

/* Smartphone Breakpoint (<= 768px) */
@media (max-width: 768px) {
  .store-brand-text h2 {
    font-size: 1.1rem;
  }

  .store-tagline {
    font-size: 0.65rem;
  }

  .store-hero {
    padding: 2.25rem 1rem 2rem;
  }

  .store-hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
  }

  .hero-badges-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .hero-pill-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .store-hero-desc {
    font-size: 0.925rem;
    margin-bottom: 1.75rem;
  }

  .hero-payment-bar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
  }

  .payment-badge-pill {
    padding: 0.75rem 1rem;
  }

  .store-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .store-hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header-centered h2 {
    font-size: 1.65rem;
  }

  .store-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
    overflow: visible;
  }

  .filter-btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap;
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
    max-width: 220px;
  }

  .filter-btn:last-child:nth-child(odd) {
    flex: 0 1 auto;
    min-width: 180px;
  }

  .store-cards-grid {
    grid-template-columns: 1fr;
    padding: 0 0.25rem;
  }

  .modal-box.modal-lg {
    max-width: 95vw !important;
    margin: 0.5rem auto;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   G-PORTAL STORE DESIGN SYSTEM
   ========================================================== */
:root {
  --gp-cyan: #50fcea;
  --gp-cyan-glow: rgba(80, 252, 234, 0.45);
  --gp-bg-dark: #080c16;
  --gp-card-bg: #0f1523;
  --gp-border: rgba(255, 255, 255, 0.08);
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #50fcea 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Trustpilot & Header Announcement */
.gp-announcement-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(80, 252, 234, 0.08);
  border: 1px solid rgba(80, 252, 234, 0.25);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gp-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.gp-announcement-bar .stars {
  color: #10b981;
}

/* Section Headings */
.gp-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.gp-section-title h2 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gp-section-title .gp-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Top Games Carousel / Track */
.gp-top-track-wrapper {
  position: relative;
  margin-bottom: 3rem;
}

.gp-top-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gp-top-track::-webkit-scrollbar {
  display: none;
}

.gp-top-card {
  flex: 0 0 215px;
  height: 310px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gp-card-bg);
  border: 2px solid var(--gp-border);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.gp-top-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gp-cyan);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--gp-cyan-glow);
}

.gp-top-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  background: #0d1527 linear-gradient(180deg, #101c36 0%, #080d19 100%);
  color: transparent;
}

.gp-top-card:hover img {
  transform: scale(1.08);
}

.gp-top-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(9, 14, 26, 0.98) 0%, rgba(9, 14, 26, 0.85) 60%, transparent 100%);
  padding: 1.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  z-index: 2;
}

.gp-top-overlay h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-top-price {
  font-size: 0.825rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.2s;
}

.gp-top-btn {
  display: none;
  width: 100%;
  background: var(--gp-cyan);
  color: #0c121e;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--gp-cyan-glow);
}

.gp-top-card:hover .gp-top-price {
  display: none;
}

.gp-top-card:hover .gp-top-btn {
  display: block;
}

/* Toolbar: Search & Filter */
.gp-toolbar {
  background: rgba(15, 21, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.gp-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.gp-search-wrapper {
  position: relative;
  flex: 1 1 320px;
  max-width: 550px;
}

.gp-search-wrapper i {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gp-cyan);
  font-size: 1rem;
}

.gp-search-input {
  width: 100%;
  background: rgba(9, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 2.85rem;
  color: #fff;
  font-size: 0.925rem;
  outline: none;
  transition: all var(--transition-fast);
}

.gp-search-input:focus {
  border-color: var(--gp-cyan);
  box-shadow: 0 0 16px var(--gp-cyan-glow);
}

.gp-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.gp-search-clear:hover {
  color: #fff;
}

.gp-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gp-count-pill {
  background: rgba(80, 252, 234, 0.1);
  border: 1px solid rgba(80, 252, 234, 0.2);
  color: var(--gp-cyan);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.gp-platform-select {
  background: rgba(9, 14, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.gp-platform-select:focus {
  border-color: var(--gp-cyan);
}

/* Genre Filter Pills */
.gp-pills-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gp-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.gp-pill-btn.active {
  background: var(--gp-cyan);
  color: #080d1a;
  border-color: var(--gp-cyan);
  box-shadow: 0 0 16px var(--gp-cyan-glow);
}

/* Full Games Grid */
.gp-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.gp-game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 215 / 305;
  background: var(--gp-card-bg);
  border: 2px solid var(--gp-border);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.gp-game-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gp-cyan);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8), 0 0 22px var(--gp-cyan-glow);
}

.gp-game-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  background: #0d1527 linear-gradient(180deg, #101c36 0%, #080d19 100%);
  color: transparent;
}

.gp-game-card:hover img {
  transform: scale(1.08);
}

.gp-game-badge-plat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(9, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gp-game-badge-top {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.gp-game-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(9, 14, 26, 0.98) 0%, rgba(9, 14, 26, 0.85) 60%, transparent 100%);
  padding: 1.15rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.gp-game-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-game-price {
  font-size: 0.825rem;
  font-weight: 600;
  color: #94a3b8;
  display: block;
  transition: all 0.2s;
}

.gp-game-btn {
  display: none;
  width: 100%;
  background: var(--gp-cyan);
  color: #080d1a;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--gp-cyan-glow);
}

.gp-game-card:hover .gp-game-price {
  display: none;
}

.gp-game-card:hover .gp-game-btn {
  display: block;
}

/* Empty search state */
.gp-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.gp-empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.gp-empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.gp-empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Modal Thumbnail */
.checkout-game-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(80, 252, 234, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gp-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gp-game-card {
    aspect-ratio: 215 / 290;
  }

  .gp-top-card {
    flex: 0 0 170px;
    height: 250px;
  }

  .gp-game-title {
    font-size: 0.825rem;
  }

  .gp-game-price {
    font-size: 0.75rem;
  }

  .gp-game-card:hover .gp-game-price {
    display: block;
  }

  .gp-game-btn {
    display: block;
    padding: 0.4rem 0.5rem;
    font-size: 0.725rem;
    margin-top: 0.25rem;
  }

  .gp-toolbar {
    padding: 1rem;
  }

  .gp-search-wrapper {
    max-width: 100%;
  }

  .gp-pills-row {
    gap: 0.4rem;
  }

  .gp-pill-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }
}





/* Web Mode & Smooth Anchor Offset Fixes */
.store-plans-section, #gp-games-catalog-section, #gp-top-games-section {
  scroll-margin-top: 85px;
}

.gp-games-grid.web-mode {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  max-width: 1200px !important;
  margin: 1.5rem auto 3.5rem auto !important;
  gap: 2rem !important;
  padding: 0 0.5rem !important;
}

@media (max-width: 768px) {
  .gp-games-grid.web-mode {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

.gp-games-grid.web-mode .store-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}

.gp-games-grid.web-mode .store-card:hover {
  transform: translateY(-6px);
  border-color: rgba(80, 252, 234, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(80, 252, 234, 0.2);
}

.gp-games-grid.web-mode .store-card.featured {
  border-color: rgba(16, 185, 129, 0.6);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 23, 38, 0.95) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(16, 185, 129, 0.25);
}

/* ================= COMMERCIAL SEGMENTS & PRICE/PAYMENT MANAGEMENT ================= */
.billing-segment-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 23, 38, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.billing-segment-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.billing-segment-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.billing-segment-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.billing-segment-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15);
}

.billing-subsegment {
  animation: fadeInSegment 0.25s ease-out;
}

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

/* Table Price Inputs */
.price-input-compact {
  width: 100%;
  max-width: 120px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.45rem 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  transition: border-color var(--transition-fast);
}

.price-input-compact:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan-glow);
}

.badge-input-compact {
  width: 100%;
  max-width: 180px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-input-compact:focus {
  outline: none;
  border-color: var(--purple);
}

/* Payment Configuration Cards */
.payment-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.payment-config-card {
  background: rgba(11, 15, 25, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.payment-config-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.payment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-card-badge-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.payment-card-badge-title i {
  font-size: 1.6rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-card-badge-title.mbway i {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
}

.payment-card-badge-title.bank i {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}

.payment-card-badge-title.paypal i {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
}

.payment-card-badge-title h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.payment-card-badge-title span {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}

/* Switch Toggle Custom Component */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #27272a;
  transition: 0.25s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.25s;
  border-radius: 50%;
}

.switch-toggle input:checked + .slider {
  background-color: var(--emerald);
  box-shadow: 0 0 12px var(--emerald-glow);
}

.switch-toggle input:checked + .slider:before {
  transform: translateX(22px);
}

/* Live Checkout Preview Box inside Admin */
.live-preview-box {
  background: rgba(7, 10, 18, 0.7) !important;
  border: 1px dashed rgba(56, 189, 248, 0.35) !important;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.preview-tab-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.preview-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.preview-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--cyan);
  color: #fff;
}

/* ================= AGENTE IA DEVOPS & COPILOT ================= */
.ai-quick-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.785rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.ai-quick-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.ai-bubble {
  display: flex;
  gap: 0.85rem;
  max-width: 88%;
  animation: fadeIn 0.25s ease-out;
}

.ai-bubble.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-bubble.assistant {
  align-self: flex-start;
}

.ai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ai-bubble.user .ai-avatar {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #04101e;
}

.ai-bubble.assistant .ai-avatar {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.ai-msg-content {
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ai-bubble.user .ai-msg-content {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #f1f5f9;
  border-top-right-radius: 4px;
}

.ai-bubble.assistant .ai-msg-content {
  background: #0f172a;
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #e2e8f0;
  border-top-left-radius: 4px;
}

.ai-msg-content h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem 0;
  color: #c084fc;
}

.ai-msg-content ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.ai-msg-content li {
  margin-bottom: 0.25rem;
}

.ai-msg-content blockquote {
  margin: 0.75rem 0 0.25rem 0;
  padding: 0.5rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid #a855f7;
  border-radius: 4px;
  font-size: 0.825rem;
}

.ai-typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.4rem 0.6rem;
}

.ai-typing-indicator span {
  width: 8px;
  height: 8px;
  background: #a855f7;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.ai-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* ================= PORTAL DO CLIENTE ================= */
.client-service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.client-service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(56, 189, 248, 0.3);
}

.client-svc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-svc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ================= CPANEL INTERFACE (IMAGE 1 REPLICA) ================= */
.cpanel-overlay {
  position: fixed;
  inset: 0;
  background: #090d16;
  z-index: 10000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #cbd5e1;
}

.cpanel-topbar {
  background: #111827;
  border-bottom: 2px solid #1f2937;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cpanel-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cpanel-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.cpanel-brand-logo {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.cpanel-brand-logo .nbm-logo-brand {
  color: #06b6d4;
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
}

.cpanel-brand-logo .nbm-logo-panel {
  color: #ffffff;
  font-style: normal;
  font-weight: 800;
  margin-left: 1px;
}

.cpanel-brand-logo .cpanel-edition-tag {
  color: #38bdf8;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.75px;
  margin-left: 0.35rem;
  text-transform: uppercase;
}


.cpanel-nav-icon {
  color: #94a3b8;
  font-size: 1.25rem;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.cpanel-nav-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cpanel-search-bar {
  flex: 1;
  max-width: 520px;
  position: relative;
  margin: 0 1.5rem;
}

.cpanel-search-bar input {
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.5rem 1rem 0.5rem 2.4rem;
  color: #f1f5f9;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.cpanel-search-bar input:focus {
  outline: none;
  border-color: #ff6c2c;
  box-shadow: 0 0 0 3px rgba(255, 108, 44, 0.15);
  background: #0f172a;
}

.cpanel-search-bar i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.9rem;
}

.cpanel-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cpanel-user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #334155;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #f8fafc;
  font-weight: 600;
}

.cpanel-btn-logout {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.cpanel-btn-logout:hover {
  background: #b91c1c;
  transform: scale(1.02);
}

/* cPanel Main Container */
.cpanel-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  max-width: 1650px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 1100px) {
  .cpanel-container {
    grid-template-columns: 1fr;
  }
}

/* cPanel Quick Notice */
.cpanel-quick-banner {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid #334155;
  border-left: 4px solid #ff6c2c;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* cPanel Section */
.cpanel-section {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.cpanel-section-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.cpanel-section-header h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f1f5f9;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cpanel-section-toggle {
  color: #94a3b8;
  font-size: 0.85rem;
}

.cpanel-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem;
}

.cpanel-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.cpanel-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 108, 44, 0.3);
  transform: translateY(-2px);
}

.cpanel-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #38bdf8;
  transition: all 0.2s;
}

.cpanel-item:hover .cpanel-item-icon {
  background: #ff6c2c;
  color: #fff;
  border-color: #ff6c2c;
  box-shadow: 0 0 12px rgba(255, 108, 44, 0.4);
}

.cpanel-item-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.25;
}

.cpanel-item:hover .cpanel-item-label {
  color: #ff6c2c;
}

/* ================= CPANEL SIDEBAR (GENERAL INFO & STATS) ================= */
.cpanel-sidebar-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.cpanel-sidebar-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cpanel-info-list {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cpanel-info-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.65rem;
}

.cpanel-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cpanel-info-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.2rem;
}

.cpanel-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc;
  word-break: break-all;
}

.cpanel-stat-gauge {
  margin-top: 0.4rem;
}

.cpanel-gauge-bar {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.3rem 0;
}

.cpanel-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6c2c, #f59e0b);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* ================= PHP SELECTOR & MODULES MANAGER ================= */
.cpanel-php-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1.25rem;
}

.cpanel-php-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1e293b;
}

.cpanel-php-version-select {
  background: #1e293b;
  border: 1px solid #475569;
  color: #f8fafc;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.cpanel-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.cpanel-module-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
  cursor: pointer;
}

.cpanel-module-card:hover {
  background: #273549;
  border-color: #ff6c2c;
}

.cpanel-module-card.locked {
  opacity: 0.5;
  cursor: not-allowed;
  border-style: dashed;
}

.cpanel-module-card.locked:hover {
  background: #1e293b;
  border-color: #334155;
}

.cpanel-module-info {
  display: flex;
  flex-direction: column;
}

.cpanel-module-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #f8fafc;
}

.cpanel-module-desc {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Custom Switch for Modules */
.cpanel-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}

.cpanel-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cpanel-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: .3s;
  border-radius: 22px;
}

.cpanel-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.cpanel-switch input:checked + .cpanel-slider {
  background-color: #10b981;
}

.cpanel-switch input:checked + .cpanel-slider:before {
  transform: translateX(16px);
}

/* ================= CPANEL FILE MANAGER ================= */
.cpanel-fm-wrap {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  overflow: hidden;
}

.cpanel-fm-toolbar {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cpanel-fm-btn {
  background: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.cpanel-fm-btn:hover {
  background: #273549;
  border-color: #ff6c2c;
  color: #ff6c2c;
}

.cpanel-fm-path-bar {
  background: #111827;
  border-bottom: 1px solid #1f2937;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cpanel-fm-table {
  width: 100%;
  border-collapse: collapse;
}

.cpanel-fm-table th {
  background: #172033;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}

.cpanel-fm-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  vertical-align: middle;
}

.cpanel-fm-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.cpanel-file-row {
  cursor: pointer;
}

.cpanel-file-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: #f8fafc;
}

.cpanel-file-name i {
  font-size: 1.1rem;
}

/* ================= GAMECP LIVE TELEMETRY (IMAGE 2 REPLICA) ================= */
.gamecp-telemetry-box {
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.07) 0%, rgba(11, 15, 25, 0.95) 80%);
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: 10px;
  padding: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

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

.gamecp-telemetry-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #00f0ff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.gamecp-engine-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gamecp-metric-row {
  margin-bottom: 0.85rem;
}

.gamecp-metric-row:last-child {
  margin-bottom: 0;
}

.gamecp-metric-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.gamecp-metric-info span {
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gamecp-val-cpu {
  color: #00f0ff;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.gamecp-val-ram {
  color: #c084fc;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
}

.gamecp-val-players {
  color: #34d399;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

/* Glowing Neon Progress Bar */
.gamecp-bar-container {
  height: 9px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.gamecp-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.gamecp-bar-cpu {
  background: linear-gradient(90deg, #00f0ff 0%, #3b82f6 100%);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.6), 0 0 4px rgba(59, 130, 246, 0.8);
}

.gamecp-bar-ram {
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 100%);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6), 0 0 4px rgba(236, 72, 153, 0.8);
}

.gamecp-bar-players {
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6), 0 0 4px rgba(6, 182, 212, 0.8);
}

/* ================= DEDICATED GAMECP SERVER MANAGER (PAGE / MODAL) ================= */
.gamecp-overlay {
  position: fixed;
  inset: 0;
  background: #070a13;
  z-index: 10000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #cbd5e1;
}

.gamecp-topbar {
  background: linear-gradient(90deg, #0b0f1d 0%, #111827 100%);
  border-bottom: 2px solid rgba(168, 85, 247, 0.35);
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.gamecp-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.gamecp-brand-logo {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.gamecp-brand-name {
  color: #00f0ff;
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.5);
}

.gamecp-brand-sub {
  color: #c084fc;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(192, 132, 252, 0.4);
}

.gamecp-brand-badge {
  color: #a855f7;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.75px;
  margin-left: 0.35rem;
  text-transform: uppercase;
}

.gamecp-topbar-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gamecp-power-buttons {
  display: flex;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 8px;
}

.gamecp-power-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.gamecp-power-btn.start:hover {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.gamecp-power-btn.stop:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.gamecp-power-btn.restart:hover {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
}

.gamecp-power-btn.kill:hover {
  background: rgba(225, 29, 72, 0.25);
  color: #f43f5e;
}

.gamecp-btn-close {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.gamecp-btn-close:hover {
  background: #334155;
  border-color: #a855f7;
  color: #a855f7;
}

/* GameCP Tabs Bar */
.gamecp-tabs-nav {
  background: #0d1222;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
}

.gamecp-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.gamecp-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
}

.gamecp-tab-btn.active {
  background: rgba(168, 85, 247, 0.18);
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

/* GameCP Main Container */
.gamecp-container {
  padding: 1.5rem 2rem;
  max-width: 1650px;
  margin: 0 auto;
  width: 100%;
}

/* Telemetry 4-Cards Grid */
.gamecp-metrics-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.gamecp-card {
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.08) 0%, rgba(15, 23, 42, 0.95) 80%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.gamecp-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-2px);
}

.gamecp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.gamecp-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.gamecp-card-value {
  font-size: 1.85rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
  margin-bottom: 0.5rem;
}

.gamecp-card-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

/* Mods & Plugins Section */
.gamecp-mods-header {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-left: 4px solid #a855f7;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.gamecp-mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.gamecp-mod-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.gamecp-mod-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(20, 29, 50, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gamecp-mod-card.installed {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(16, 185, 129, 0.04);
}

.gamecp-mod-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.gamecp-mod-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.gamecp-mod-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.65rem;
}

.gamecp-mod-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}

.gamecp-mod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

/* GameCP Terminal Console */
.gamecp-terminal-wrap {
  background: #060911;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.gamecp-terminal-header {
  background: #0d1222;
  border-bottom: 1px solid #1e293b;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gamecp-terminal-body {
  height: 480px;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e2e8f0;
  background: #040711;
}

.gamecp-terminal-input-bar {
  background: #0d1222;
  border-top: 1px solid #1e293b;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gamecp-terminal-input-bar input {
  flex: 1;
  background: #040711;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 0.55rem 1rem;
  color: #00f0ff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.gamecp-terminal-input-bar input:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

/* ================= COMPACT ROUNDED CLIENT STAT CARDS ================= */
.client-stats-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .client-stats-compact-grid {
    grid-template-columns: 1fr;
  }
}

.client-stat-card {
  background: radial-gradient(circle at 50% 0%, rgba(20, 30, 55, 0.5) 0%, rgba(11, 16, 29, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.client-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.client-stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.client-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.client-stat-icon-wrap.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.client-stat-icon-wrap.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.client-stat-icon-wrap.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.client-stat-icon-wrap.emerald {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.client-stat-icon-wrap.crimson {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.client-stat-val {
  font-size: 2.1rem;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.client-stat-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.client-stat-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
}

.client-stat-sub {
  font-size: 0.78rem;
}

.client-billing-light-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ================= REAL-TIME GAME TRACKER (GAMEDIG UDP) ================= */
.game-tracker-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.game-tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.game-tracker-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.game-tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .game-tracker-grid {
    grid-template-columns: 1fr;
  }
}

.game-tracker-card {
  background: radial-gradient(circle at 50% 0%, rgba(20, 30, 55, 0.75) 0%, rgba(11, 16, 29, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.game-tracker-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.game-tracker-card.online {
  border-left: 4px solid #22c55e;
}

.game-tracker-card.offline {
  border-left: 4px solid #ef4444;
  opacity: 0.88;
}

.game-tracker-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.game-tracker-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
}

.game-tracker-tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.game-tracker-middle {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.game-tracker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.game-tracker-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.25rem;
}

.game-tracker-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #06b6d4 100%);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.game-tracker-connect-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.game-tracker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* ================= ARK BLOCKCHAIN & AUTOMATED RADAR STYLES ================= */
@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pulse-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseGlow 1.8s infinite;
}

.pay-card-icon.ark-color {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(14, 165, 233, 0.35));
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.4);
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.25);
}

.payment-badge-pill.ark i {
  color: #38bdf8;
}

.payment-badge-pill.ark-auto i {
  color: #fbbf24;
}

/* ================= GAME SERVER SLOT SELECTOR & GSLT CHECKOUT ================= */
.checkout-slot-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.checkout-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.checkout-slot-header h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-slot-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-slot-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.checkout-slot-slider {
  flex: 1;
  accent-color: #38bdf8;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
}

.checkout-slot-input {
  width: 70px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.2rem;
}

.checkout-slot-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.checkout-slot-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-slot-btn:hover, .checkout-slot-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #fff;
}

.checkout-steam-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
}

/* ==========================================================
   MOBILE INTERNAL PANEL (PAINEL INTERNO DISPOSITIVOS MÓVEL)
   ========================================================== */

body.sidebar-locked {
  overflow: hidden !important;
}

.mobile-only {
  display: none !important;
}

/* Sidebar Backdrop for Mobile */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Tablet & Mobile Breakpoint (<= 992px) */
@media (max-width: 992px) {
  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  .app-layout {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: 100% !important;
  }

  /* Slide-over Drawer for Sidebar */
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 290px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 10001 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 16px 0 45px rgba(0, 0, 0, 0.85) !important;
    background: #090e1a !important;
    border-right: 1px solid rgba(56, 189, 248, 0.25) !important;
  }

  .sidebar.mobile-open {
    transform: translateX(0) !important;
  }

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

  .btn-sidebar-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all var(--transition-fast);
  }

  .btn-sidebar-close:active {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
  }

  .main-wrapper {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Topbar Toggle Hamburger Button */
.btn-sidebar-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-sidebar-toggle:active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: scale(0.95);
}

/* Mobile Bottom Navigation Bar (App Bar for Smartphones) */
.mobile-bottom-bar {
  display: none;
}

/* Smartphone Breakpoint (<= 768px) */
@media (max-width: 768px) {
  /* Internal Panel Mobile Bottom Bar */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 62px !important;
    background: #080d19 !important;
    background: linear-gradient(180deg, rgba(11, 16, 30, 0.98) 0%, rgba(6, 9, 18, 0.99) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7) !important;
    z-index: 9998 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 0.25rem !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }

  .bottom-bar-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 5px 1px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    min-width: 0 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    position: relative !important;
  }

  .bottom-bar-item i {
    font-size: 1.15rem !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .bottom-bar-item span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .bottom-bar-item:active {
    transform: scale(0.92) !important;
  }

  .bottom-bar-item.active {
    color: #38bdf8 !important;
    font-weight: 700 !important;
  }

  .bottom-bar-item.active i {
    color: #38bdf8 !important;
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7)) !important;
  }

  .bottom-bar-item.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 2px !important;
    width: 12px !important;
    height: 3px !important;
    border-radius: 3px !important;
    background: #38bdf8 !important;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8) !important;
  }

  /* Safe padding for content body on mobile */
  .content-body {
    padding: 0.95rem 0.85rem !important;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Top Navbar */
  .topbar {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 0.65rem !important;
    gap: 0.45rem !important;
    background: rgba(11, 15, 25, 0.95) !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1000 !important;
  }

  .topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .admin-top-brand .admin-top-brand-text,
  .topbar-divider {
    display: none !important;
  }

  .btn-admin-nav-drop {
    padding: 0.35rem 0.65rem !important;
    gap: 0.45rem !important;
    border-radius: 9px !important;
    max-width: 175px !important;
  }

  .drop-nav-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
  }

  .drop-nav-title {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .admin-nav-dropdown-menu {
    left: -10px !important;
    width: calc(100vw - 1.25rem) !important;
    max-width: 360px !important;
    max-height: calc(100dvh - 75px) !important;
    border-radius: 14px !important;
  }

  .topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }

  /* Compact Icon-Only buttons on mobile topbar (font-size: 0 hides raw text nodes) */
  #topbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  #topbar-actions .btn,
  #btn-toggle-client-view,
  .topbar-btn-store {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }

  #topbar-actions .btn i,
  #btn-toggle-client-view i,
  .topbar-btn-store i {
    font-size: 0.95rem !important;
    margin: 0 !important;
    display: inline-block !important;
  }

  #topbar-actions .btn span,
  #btn-toggle-client-view span,
  .topbar-btn-store span {
    display: none !important;
  }

  .user-profile-menu {
    padding-left: 0.25rem !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    gap: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .user-profile-menu .user-details,
  .user-profile-menu .fa-key {
    display: none !important;
  }

  .user-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
  }

  /* Sector Summary & Stats Bar */
  .sector-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 1.15rem !important;
  }

  .mini-stat {
    min-width: 0 !important;
    padding: 0.7rem 0.85rem !important;
    gap: 0.65rem !important;
    border-radius: 12px !important;
  }

  .mini-stat-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
  }

  .mini-stat-label {
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
  }

  .mini-stat-val {
    font-size: 1.05rem !important;
  }

  .sector-stats-bar .ml-auto {
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  .sector-stats-bar .ml-auto .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    padding: 0.65rem 0.75rem !important;
    text-align: center !important;
    border-radius: 8px !important;
    min-height: 40px !important;
  }

  /* Cards & Tables */
  .card {
    padding: 1rem 0.85rem !important;
    border-radius: 14px !important;
  }

  .table-card {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  .card-header {
    padding: 0.85rem 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .card-header-left {
    gap: 0.65rem !important;
  }

  .card-header-left i {
    font-size: 1.25rem !important;
  }

  .card-header-left h3 {
    font-size: 1rem !important;
  }

  .card-header-left p {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }

  .search-input-wrap {
    width: 100% !important;
  }

  .search-input-wrap input {
    width: 100% !important;
    font-size: 16px !important; /* Prevents auto zoom */
    padding: 0.6rem 0.85rem 0.6rem 2.3rem !important;
    border-radius: 8px !important;
  }

  .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .data-table {
    min-width: 680px !important;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem 0.85rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  .data-table td .btn-group,
  .data-table td div[style*="display: flex"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }

  .data-table td .btn {
    min-height: 32px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  /* Sector Games Responsive */
  .game-tracker-container {
    padding: 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 1.25rem !important;
  }

  .game-tracker-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .game-tracker-title-wrap {
    gap: 0.65rem !important;
  }

  .game-tracker-header > div:last-child {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .game-tracker-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .game-tracker-card {
    padding: 1rem !important;
    border-radius: 10px !important;
  }

  .games-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .game-card {
    border-radius: 14px !important;
  }

  .game-header {
    padding: 1rem !important;
  }

  .game-body {
    padding: 1rem !important;
  }

  .game-specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    padding: 0.75rem !important;
    border-radius: 8px !important;
  }

  .game-actions-footer {
    padding: 0.85rem 1rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }

  .game-actions-footer .btn {
    flex: 1 1 calc(50% - 0.45rem) !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    padding: 0.55rem !important;
  }

  /* Live Game Console Card */
  .console-card {
    margin-top: 1.25rem !important;
    border-radius: 12px !important;
  }

  .console-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    padding: 0.75rem 1rem !important;
  }

  .console-actions {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .console-screen {
    height: 250px !important;
    padding: 0.75rem !important;
    font-size: 0.78rem !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .console-quick-bar {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0.5rem 0.75rem !important;
    gap: 0.4rem !important;
    scrollbar-width: none !important;
  }

  .console-quick-bar::-webkit-scrollbar {
    display: none !important;
  }

  .btn-quick-cmd {
    flex-shrink: 0 !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  .console-input-bar {
    padding: 0.65rem 0.75rem !important;
    gap: 0.5rem !important;
  }

  .console-input {
    font-size: 16px !important;
  }

  /* Telemetry & Server Hardware */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .stat-card {
    padding: 0.85rem !important;
    gap: 0.65rem !important;
    border-radius: 12px !important;
  }

  .stat-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
    border-radius: 10px !important;
  }

  .stat-value {
    font-size: 1.1rem !important;
  }

  .disks-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .disk-card {
    padding: 1rem !important;
    border-radius: 12px !important;
  }

  .services-list {
    gap: 0.5rem !important;
  }

  .service-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 10px !important;
  }

  /* Billing & Subscriptions */
  .billing-segment-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
    padding: 0.65rem !important;
  }

  .billing-segment-nav {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.4rem !important;
    scrollbar-width: none !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .billing-segment-nav::-webkit-scrollbar {
    display: none !important;
  }

  .billing-segment-btn {
    flex-shrink: 0 !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
  }

  .billing-segment-actions {
    width: 100% !important;
  }

  .billing-segment-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.65rem !important;
  }

  .billing-plans-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    padding: 0.5rem 0 !important;
  }

  .billing-plan-card {
    padding: 1rem !important;
    border-radius: 12px !important;
  }

  /* Price Management Filters */
  .price-editor-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
  }

  .price-editor-toolbar .gp-search-wrapper {
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  #price-genre-filters {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    gap: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  #price-genre-filters::-webkit-scrollbar {
    display: none !important;
  }

  #price-genre-filters .btn {
    flex-shrink: 0 !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  /* Payment Configuration Cards */
  .payment-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .payment-config-container {
    padding: 0.75rem !important;
  }

  .payment-config-card {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .payment-card-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
  }

  .payment-card-top .switch-toggle {
    align-self: flex-start !important;
  }

  .payment-card-badge-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .payment-card-badge-title h4 {
    font-size: 1rem !important;
  }

  .payment-card-badge-title span {
    font-size: 0.78rem !important;
  }

  .payment-card-body {
    padding: 1rem !important;
  }

  /* Universal Word Break for URLs, API keys & Webhook Codes */
  code, pre {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    white-space: pre-wrap !important;
  }

  /* DevOps AI Copilot Chat */
  .ai-quick-actions {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.45rem !important;
    gap: 0.45rem !important;
    scrollbar-width: none !important;
  }

  .ai-quick-actions::-webkit-scrollbar {
    display: none !important;
  }

  .ai-quick-btn {
    flex-shrink: 0 !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
  }

  #tab-ai .card {
    height: calc(100vh - 275px) !important;
    min-height: 400px !important;
    border-radius: 14px !important;
  }

  #ai-chat-messages {
    padding: 0.85rem !important;
    gap: 0.75rem !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ai-msg {
    max-width: 95% !important;
    gap: 0.65rem !important;
  }

  .ai-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  .ai-bubble {
    padding: 0.75rem 0.95rem !important;
    font-size: 0.88rem !important;
  }

  #ai-chat-form {
    padding: 0.65rem 0.75rem !important;
    gap: 0.5rem !important;
  }

  #ai-chat-input {
    font-size: 16px !important;
    padding: 0.6rem 0.85rem !important;
  }

  #btn-send-ai {
    padding: 0.6rem 0.95rem !important;
    font-size: 0.85rem !important;
  }

  #btn-send-ai span {
    display: none !important;
  }

  /* Client Portal & Stats */
  .client-stats-compact-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .client-stat-card {
    min-height: auto !important;
    padding: 1.15rem !important;
    border-radius: 14px !important;
  }

  .client-stat-val {
    font-size: 1.85rem !important;
  }

  /* Modals on Mobile */
  .modal-backdrop {
    padding: 0.4rem !important;
    align-items: center !important;
  }

  .modal-box {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
  }

  .modal-header {
    padding: 0.85rem 1rem !important;
  }

  .modal-header h3 {
    font-size: 1.05rem !important;
  }

  .modal-body {
    padding: 1rem !important;
    max-height: calc(88vh - 120px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-footer {
    padding: 0.75rem 1rem !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .modal-footer .btn {
    flex: 1 1 calc(50% - 0.5rem) !important;
    min-height: 42px !important;
    font-size: 0.85rem !important;
  }

  .form-row, .form-row-2, .form-row-3 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .form-control,
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
    padding: 0.65rem 0.85rem !important;
  }

  /* Files Split in Site File Manager */
  .files-split {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 0.75rem !important;
  }

  .files-sidebar {
    height: 180px !important;
    max-height: 180px !important;
    overflow-y: auto !important;
  }

  .files-editor-area {
    height: 280px !important;
  }

  .code-editor {
    height: 230px !important;
    font-size: 13px !important;
  }

  #admin-php-versions-checkboxes {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #admin-php-modules-container {
    grid-template-columns: 1fr !important;
    max-height: 220px !important;
  }

  /* cPanel Overlay Mobile */
  .cpanel-topbar {
    padding: 0.65rem 0.85rem !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .cpanel-search-bar {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.25rem 0 0 0 !important;
  }

  .cpanel-container {
    padding: 1rem 0.75rem !important;
    gap: 1rem !important;
  }

  .cpanel-quick-banner {
    padding: 0.75rem 1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }

  .cpanel-quick-banner div:last-child {
    width: 100% !important;
    display: flex !important;
    gap: 0.5rem !important;
  }

  .cpanel-quick-banner .btn {
    flex: 1 !important;
    justify-content: center !important;
  }

  /* GameCP Overlay Mobile */
  .gamecp-topbar {
    padding: 0.65rem 0.85rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .gamecp-topbar-center {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .gamecp-power-buttons {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    gap: 0.35rem !important;
    padding-bottom: 0.25rem !important;
    scrollbar-width: none !important;
  }

  .gamecp-power-buttons::-webkit-scrollbar {
    display: none !important;
  }

  .gamecp-power-btn {
    flex-shrink: 0 !important;
    font-size: 0.78rem !important;
    padding: 0.4rem 0.75rem !important;
  }

  .gamecp-tabs-nav {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    scrollbar-width: none !important;
  }

  .gamecp-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .gamecp-tab-btn {
    flex-shrink: 0 !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0.85rem !important;
  }

  /* Back-Office Auth & Login Screen on Mobile */
  .auth-card {
    padding: 1.5rem 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: auto !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .auth-header {
    margin-bottom: 1.25rem !important;
  }

  .auth-header h2 {
    font-size: 1.35rem !important;
  }

  .auth-header p {
    font-size: 0.8rem !important;
  }

  .auth-options {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }

  .auth-secure-tag {
    font-size: 0.72rem !important;
  }

  .security-badge {
    font-size: 0.72rem !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }

  /* Full Screen Overlays Mobile Fixes */
  .cpanel-overlay,
  .gamecp-overlay {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* Extra Small Phones Breakpoint (<= 440px) */
@media (max-width: 440px) {
  .sector-stats-bar {
    grid-template-columns: 1fr !important;
  }

  .sector-stats-bar .ml-auto {
    flex-direction: column !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .game-specs-grid {
    grid-template-columns: 1fr !important;
  }

  .modal-footer .btn {
    flex: 1 1 100% !important;
  }
}







