:root {
  --bg-0: #07090f;
  --bg-1: #0e121d;
  --bg-glass: rgba(15, 19, 31, 0.76);
  --bg-glass-strong: rgba(20, 25, 40, 0.88);
  --bg-2: #151a2a;
  --bg-3: #1c2337;
  --bg-hover: #252e47;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --text-0: #f4f6fc;
  --text-1: #b4bfd8;
  --text-2: #77839e;
  --accent: #5865f2;
  --accent-2: #8b5cf6;
  --accent-hover: #4752c4;
  --accent-soft: rgba(88, 101, 242, 0.16);
  --green: #23c567;
  --green-soft: rgba(35, 197, 103, 0.15);
  --yellow: #f5b938;
  --yellow-soft: rgba(245, 185, 56, 0.15);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.15);
  --cyan: #06b6d4;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --font: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hidden {
  display: none !important;
}

code {
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  color: #cdd8ff;
}

/* ================= AMBIENT BACKGROUND ================= */
.ambient-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.26;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, #5865f2, transparent 70%);
}

.orb-2 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  animation-delay: -7s;
}

.orb-3 {
  width: 380px;
  height: 380px;
  top: 40%;
  left: 52%;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  opacity: 0.16;
  animation-delay: -13s;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(35px, -28px) scale(1.08); }
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.16s ease;
  color: var(--text-0);
  background: var(--bg-3);
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  background: var(--bg-hover);
  transform: translateY(-1px);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #5865f2, #6f5cf6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.32), var(--highlight-top);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #6470f8, #7b68fb);
  box-shadow: 0 8px 26px rgba(88, 101, 242, 0.45), var(--highlight-top);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-success {
  background: linear-gradient(135deg, #1ea958, #23c567);
  color: #fff;
  box-shadow: 0 6px 18px rgba(35, 197, 103, 0.26);
}

.btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #22b961, #2ad471);
}

.btn-danger {
  background: var(--red-soft);
  border-color: rgba(239, 68, 68, 0.34);
  color: #ff9494;
}

.btn-danger:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.065);
  color: var(--text-0);
}

.btn-sm {
  padding: 6px 11px;
  font-size: 12.5px;
  border-radius: 8px;
}

.btn-lg {
  padding: 11px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-1);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.icon-btn:hover {
  background: var(--bg-3);
  color: var(--text-0);
  border-color: var(--border-strong);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 6px;
  transition: all 0.15s;
}

.text-btn:hover {
  color: var(--text-0);
  background: rgba(255, 255, 255, 0.07);
}

.danger-text {
  color: #ff8e91 !important;
}

/* ================= LOGIN ================= */
.login-screen {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 430px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow), var(--highlight-top);
  animation: fadeUp 0.32s ease;
}

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

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5865f2, #8b5cf6 60%, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(88, 101, 242, 0.42), var(--highlight-top);
}

.brand-badge.sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.login-brand h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.login-brand p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-2);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.input-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-1);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-ico {
  position: absolute;
  left: 12px;
  color: var(--text-2);
  display: inline-flex;
  pointer-events: none;
}

.input-icon-wrap input {
  padding-left: 38px;
  padding-right: 38px;
}

.input-action-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  display: inline-flex;
}

.input-action-btn:hover {
  color: var(--text-0);
  background: rgba(255, 255, 255, 0.07);
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  background: rgba(7, 9, 15, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-0);
  font-family: inherit;
  font-size: 13.5px;
  padding: 9.5px 12px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: rgba(7, 9, 15, 0.92);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.22);
}

select option {
  background: var(--bg-1);
  color: var(--text-0);
}

.help-text {
  font-size: 12px;
  color: var(--text-2);
}

.alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-danger {
  background: var(--red-soft);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ffb4b4;
}

.alert-info {
  background: var(--accent-soft);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #cbd2ff;
}

.btn-discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.38), var(--highlight-top);
}

.btn-discord:hover:not(.disabled) {
  background: linear-gradient(135deg, #6571f7, #525ed4);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.52), var(--highlight-top);
}

.btn-discord.disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.2);
}

.discord-logo-svg {
  flex-shrink: 0;
}

.login-access-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.28);
}

.login-access-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.2);
  color: #b7c0ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-access-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 2px;
}

.login-access-desc {
  font-size: 12.2px;
  color: var(--text-1);
  line-height: 1.45;
}

.login-setup-box {
  background: rgba(245, 185, 56, 0.1);
  border: 1px solid rgba(245, 185, 56, 0.32);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: #ffe3a3;
}

.login-setup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.login-setup-title {
  font-weight: 700;
  font-size: 13px;
  color: #ffd67a;
}

.portal-link {
  color: #93c5fd !important;
  text-decoration: none;
}

.inline-link {
  color: #93c5fd;
  text-decoration: underline;
}

.login-setup-box p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.login-guild-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guild-picker-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

.guild-picker-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.guild-picker-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-0);
}

.guild-picker-sub {
  margin: -4px 0 4px;
  font-size: 12px;
  color: var(--text-2);
}

.guild-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.guild-pick-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-0);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.15s ease;
}

.guild-pick-btn:hover:not(:disabled) {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.55);
  transform: translateY(-1px);
}

.guild-pick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #5865f2, #8b5cf6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.guild-pick-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.guild-pick-name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guild-pick-meta {
  font-size: 11.5px;
  color: var(--text-2);
}

.redirect-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.redirect-copy-label {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 600;
}

.redirect-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.redirect-copy-row code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 9px;
}

.auth-roles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.auth-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.auth-role-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-0);
}

.auth-role-chip.selected {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.65);
  color: #fff;
}

.auth-role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.login-footnote {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
}

/* ================= APP SHELL ================= */
.app-shell {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 35;
}

.sidebar {
  width: 288px;
  flex-shrink: 0;
  background: rgba(11, 14, 23, 0.86);
  backdrop-filter: blur(22px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 40;
}

.sidebar-top {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.brand-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
}

.guild-banner {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(88, 101, 242, 0.26);
  border-radius: 11px;
}

.guild-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
}

.guild-banner-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.guild-name {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guild-meta {
  font-size: 11px;
  color: var(--text-1);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(35, 197, 103, 0.2);
  flex-shrink: 0;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--text-2);
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8.5px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-1);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  margin-bottom: 4px;
}

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

.nav-item.active {
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.22), rgba(88, 101, 242, 0.08));
  border-color: rgba(88, 101, 242, 0.38);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--highlight-top);
}

.nav-svg {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-item.active .nav-svg {
  background: var(--accent);
  color: #fff;
}

.nav-bot-avatar-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-bot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--bg-3);
  border: 1px solid var(--border);
}

.nav-bot-status-ring {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0b0e17;
}

.nav-bot-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}

.nav-sub {
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dot-online { background: var(--green); box-shadow: 0 0 8px rgba(35, 197, 103, 0.8); }
.dot-stopped { background: var(--red); }
.dot-errored { background: var(--yellow); }
.dot-unknown { background: #596580; }

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* ================= MAIN ================= */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.topbar {
  height: 58px;
  flex-shrink: 0;
  background: rgba(11, 14, 23, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.breadcrumb {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-pill.online {
  background: var(--green-soft);
  border-color: rgba(35, 197, 103, 0.3);
  color: #6df5a6;
}
.status-pill.stopped {
  background: var(--red-soft);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ff9999;
}
.status-pill.warn {
  background: var(--yellow-soft);
  border-color: rgba(245, 185, 56, 0.3);
  color: #ffd67a;
}
.status-pill.neutral {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text-1);
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-0);
}

.user-pill-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.user-pill-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.22);
  border: 1px solid rgba(88, 101, 242, 0.42);
  color: #c8d0ff;
}

.banner-warning {
  background: linear-gradient(90deg, rgba(245, 185, 56, 0.16), rgba(245, 185, 56, 0.08));
  border-bottom: 1px solid rgba(245, 185, 56, 0.3);
  color: #ffe29a;
  padding: 9px 24px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-container {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 110px;
}

/* ================= OVERVIEW HERO & KPI ================= */
.overview-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(15, 19, 31, 0.85) 55%, rgba(6, 182, 212, 0.14));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-sm), var(--highlight-top);
}

.overview-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.overview-guild-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.overview-guild-fallback {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5865f2, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.overview-hero h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.overview-hero p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-1);
}

.overview-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 17px 18px;
  box-shadow: var(--highlight-top);
  transition: transform 0.16s, border-color 0.16s;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

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

.stat-label {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
}

.stat-value {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-0);
}

.stat-bar {
  margin-top: 10px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.stat-sub {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= BOT CARDS ================= */
.bot-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(335px, 1fr));
  gap: 16px;
}

.bot-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm), var(--highlight-top);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent, #5865f2), transparent 85%);
  opacity: 0.9;
}

.bot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42), var(--highlight-top);
}

.bot-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bot-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bot-avatar-shell {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.bot-avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.bot-avatar-status {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2.5px solid #0f131f;
}

.bot-card-title h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.bot-folder-name {
  font-size: 11.5px;
  color: var(--text-2);
  font-family: var(--mono);
  margin-top: 1px;
}

.bot-card-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-1);
  min-height: 38px;
}

.bot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(7, 9, 15, 0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.metric-item span {
  display: block;
  font-size: 10.5px;
  color: var(--text-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.metric-item strong {
  font-size: 13px;
  color: var(--text-0);
}

.mini-gauge {
  margin-top: 4px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.mini-gauge-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--card-accent, var(--accent));
}

.bot-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.empty-state {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px 26px;
  text-align: center;
  max-width: 600px;
  margin: 30px auto;
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--text-1);
  margin: 0 0 18px;
}

/* ================= BOT DETAIL HERO & TABS ================= */
.bot-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--bot-accent, #5865f2) 20%, rgba(15, 19, 31, 0.9)),
    rgba(15, 19, 31, 0.84) 65%
  );
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm), var(--highlight-top);
}

.bot-hero-left {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.bot-hero-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  letter-spacing: -0.3px;
}

.bot-hero-meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(7, 9, 15, 0.5);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 8px;
  font-size: 12px;
}

.bot-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.tab-btn:hover {
  color: var(--text-0);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #fff;
  background: color-mix(in srgb, var(--bot-accent, #5865f2) 24%, rgba(255, 255, 255, 0.06));
  border-color: color-mix(in srgb, var(--bot-accent, #5865f2) 55%, transparent);
  box-shadow: var(--highlight-top);
}

/* ================= VISUAL ENV EDITOR ================= */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.search-box input {
  padding-left: 38px;
}

.search-box .search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  display: inline-flex;
  pointer-events: none;
}

.group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.group-pill {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-1);
  border-radius: 999px;
  padding: 5.5px 13px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.group-pill:hover {
  background: var(--bg-3);
  color: var(--text-0);
}

.group-pill.active {
  background: var(--bot-accent, var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--bot-accent, #5865f2) 45%, transparent);
}

.field-group-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--highlight-top);
}

.field-group-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-group-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bot-accent, var(--accent));
}

.field-group-count {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 600;
}

.field-list {
  display: flex;
  flex-direction: column;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(290px, 1.4fr);
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.14s;
}

.field-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.field-row:last-child {
  border-bottom: none;
}

.field-row.modified {
  background: rgba(88, 101, 242, 0.085);
  box-shadow: inset 3px 0 0 var(--accent);
}

.field-meta-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-0);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.field-key-code {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-2);
}

.field-comment {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--text-2);
}

.req-star {
  color: var(--red);
}

/* ================= ROLE / CHANNEL / EMOJI PICKER FIELD ================= */
.picker-field {
  background: rgba(7, 9, 15, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.picker-field:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.14);
}

.picker-placeholder {
  color: var(--text-2);
  font-size: 13px;
  padding: 2px 5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 3.5px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-0);
  max-width: 100%;
}

.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-remove {
  background: none;
  border: none;
  color: var(--text-1);
  cursor: pointer;
  padding: 0 2px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.7;
}

.chip-remove:hover {
  opacity: 1;
  color: #fff;
}

.emoji-preview-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

.picker-add-tag {
  margin-left: auto;
  font-size: 12px;
  color: #8f9bff;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(88, 101, 242, 0.12);
}

/* POPOVER */
.picker-popover {
  position: fixed;
  z-index: 200;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: rgba(18, 23, 37, 0.96);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popIn 0.14s ease-out;
}

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

.popover-head {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popover-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
}

.popover-cat {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-2);
  padding: 9px 9px 4px;
}

.popover-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7.5px 10px;
  border: none;
  background: transparent;
  color: var(--text-0);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  transition: background 0.12s;
}

.popover-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.popover-option.selected {
  background: var(--accent-soft);
}

.popover-option .opt-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-option .opt-check {
  color: var(--green);
  font-weight: 800;
}

.popover-foot {
  padding: 9px 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 6px;
  background: rgba(7, 9, 15, 0.6);
}

.popover-foot input {
  padding: 6px 9px;
  font-size: 12px;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 6px;
  padding: 8px;
}

.emoji-btn {
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.12s;
}

.emoji-btn:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  transform: scale(1.06);
}

.emoji-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* TOGGLE SWITCH */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.switch input {
  display: none;
}

.switch-track {
  width: 46px;
  height: 25px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  position: relative;
  transition: background 0.16s, border-color 0.16s;
}

.switch-track::after {
  content: '';
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.16s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.switch input:checked + .switch-track {
  background: var(--green);
  border-color: var(--green);
}

.switch input:checked + .switch-track::after {
  transform: translateX(21px);
}

.switch-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}

/* SECRET FIELD */
.secret-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.secret-wrap input {
  font-family: var(--mono);
  font-size: 12.5px;
}

/* ================= RAW EDITOR & LOGS & BACKUPS ================= */
.raw-editor-card,
.logs-card,
.backups-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--highlight-top);
}

.raw-textarea {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  min-height: 450px;
  resize: vertical;
  tab-size: 2;
}

.terminal-box {
  background: #05070c;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #d7e2fa;
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.terminal-box.err {
  color: #ffb2b5;
}

.backup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 9px;
  background: rgba(7, 9, 15, 0.55);
}

/* ================= FLOATING SAVE BAR ================= */
.save-bar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 23, 38, 0.94);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(88, 101, 242, 0.55);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.62), var(--highlight-top);
  border-radius: 15px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 100;
  max-width: calc(100vw - 32px);
  animation: fadeUp 0.2s ease;
}

.save-bar-info {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 600;
}

.save-bar-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 1px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245, 185, 56, 0.22);
  flex-shrink: 0;
}

.save-bar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ================= MODALS ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(6px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--highlight-top);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  animation: popIn 0.16s ease;
}

.modal-card.modal-lg {
  max-width: 660px;
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.modal-header p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--text-2);
}

.modal-body {
  padding: 20px 22px;
  overflow-y: auto;
}

.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-1);
  cursor: pointer;
}

.checkbox-row input {
  width: auto;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.section-subhead h3 {
  margin: 0;
  font-size: 14px;
}

.section-subhead p {
  margin: 3px 0 12px;
  font-size: 12px;
  color: var(--text-2);
}

.pm2-mapping-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm2-map-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  align-items: center;
  background: rgba(7, 9, 15, 0.55);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
}

/* ================= SKELETON ================= */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ================= TOAST ================= */
.toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 390px;
}

.toast {
  background: rgba(18, 23, 38, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  color: var(--text-0);
  padding: 11px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.2s ease-out;
}

.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast.warn { border-left-color: var(--yellow); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ================= RESPONSIVE ================= */
.mobile-only {
  display: none;
}

@media (max-width: 920px) {
  .mobile-only {
    display: inline-flex;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .save-bar {
    flex-direction: column;
    align-items: stretch;
    width: calc(100vw - 24px);
    gap: 12px;
  }
  .page-container {
    padding: 16px 14px 130px;
  }
}


/* ================= STOREFRONT & CUSTOMER PORTAL ================= */
.btn-reset {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.store-shell,
.portal-shell {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.store-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 10, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.store-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-0);
}

.store-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.store-links a {
  color: var(--text-1);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.store-links a:hover {
  color: var(--text-0);
}

.store-nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-alert-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 16px auto 0;
  padding: 0 24px;
}

.store-main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* HERO */
.hero-section {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
  padding: 28px 0 64px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.34);
  color: #cbd2ff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.9px;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8, #60a5fa 45%, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-1);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-actions a {
  text-decoration: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-metric strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-0);
}

.hero-metric span {
  font-size: 12px;
  color: var(--text-2);
}

/* HERO VISUAL MOCKUP */
.hero-mock-card {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow), var(--highlight-top);
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.mock-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-1);
}

.mock-bot-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-bot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.mock-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mock-bot-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mock-bot-info strong {
  font-size: 13.5px;
}

.mock-bot-info span {
  font-size: 11.5px;
  color: var(--text-2);
}

.mock-ping {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #6df5a6;
  background: var(--green-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.mock-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-2);
}

.mock-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #c8d0ff;
  background: rgba(88, 101, 242, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
}

/* SECTIONS */
.store-section {
  padding: 56px 0;
  scroll-margin-top: 76px;
}

/* ── Müzik Botu Ücretsiz Banner ── */
.music-free-section {
  padding: 20px 0 32px;
}

.music-free-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(120deg, rgba(99,197,246,0.07) 0%, rgba(14,21,33,0.5) 60%);
  border: 1px solid rgba(99,197,246,0.18);
  border-radius: 20px;
  padding: 28px 32px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.music-free-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(99,197,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.music-free-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.music-free-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  background: #2ee59d;
  color: #090e15;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 20px;
  line-height: 1.4;
}

.music-free-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(99,197,246,0.1);
  border: 1px solid rgba(99,197,246,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #63c5f6;
  margin-top: 8px;
}

.music-free-avatar {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(99,197,246,0.3);
  object-fit: cover;
  margin-top: 4px;
  background: rgba(99,197,246,0.08);
}

.music-free-avatar-fallback {
  border-radius: 14px;
}

.music-free-text {
  flex: 1;
  min-width: 0;
}

.music-free-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 5px;
  letter-spacing: -0.01em;
}

.music-free-desc {
  font-size: 13.5px;
  color: var(--text-soft-1);
  margin: 0 0 12px;
  line-height: 1.5;
}

.music-free-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mf-chip {
  background: rgba(99,197,246,0.1);
  border: 1px solid rgba(99,197,246,0.18);
  color: #9CB4CE;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

.music-free-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,197,246,0.12);
  border: 1px solid rgba(99,197,246,0.3);
  color: #63c5f6;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.music-free-cta:hover {
  background: rgba(99,197,246,0.2);
  border-color: rgba(99,197,246,0.5);
  color: #EEF4FC;
}

@media (max-width: 640px) {
  .music-free-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
  .music-free-cta {
    width: 100%;
    justify-content: center;
  }
}


.section-heading {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #a5b4fc;
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.3);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-heading p {
  margin: 0;
  color: var(--text-1);
  font-size: 14.5px;
}

/* BOT CARDS */
.store-bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.store-bot-card {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--highlight-top);
}

.store-bot-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.store-bot-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-bot-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.store-bot-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.store-bot-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-bot-tagline {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-1);
}

.store-bot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-1);
}

.store-bot-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.store-bot-list li::before {
  content: '✓';
  color: #6df5a6;
  font-weight: 800;
  flex-shrink: 0;
}

/* PRICING */
.store-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.package-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm), var(--highlight-top);
}

.package-card.popular {
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.16), rgba(15, 19, 31, 0.92) 48%);
  border-color: rgba(88, 101, 242, 0.55);
  box-shadow: 0 18px 46px rgba(88, 101, 242, 0.22), var(--highlight-top);
}

.package-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-1);
}

.package-card.popular .package-badge {
  background: linear-gradient(135deg, #5865f2, #8b5cf6);
  color: #fff;
}

.package-name {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.package-price strong {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}

.package-price span {
  font-size: 14px;
  color: var(--text-2);
}

.package-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-1);
}

.package-bots-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.package-bot-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-1);
}

.package-features {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  font-size: 13px;
  color: var(--text-1);
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.package-features li::before {
  content: '✓';
  color: #6df5a6;
  font-weight: 800;
}

/* FEATURES & FAQ */
.store-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.store-feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.feature-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.store-feature-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.store-feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-1);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--text-2);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--text-1);
}

.store-footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 18, 0.7);
}

.store-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.store-footer-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.store-footer-links a:hover {
  color: var(--text-0);
}

/* CUSTOMER PORTAL */
.portal-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 10px;
}

.portal-tab {
  background: transparent;
  border: none;
  color: var(--text-1);
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.portal-tab:hover {
  color: var(--text-0);
}

.portal-tab.active {
  background: var(--accent);
  color: #fff;
}

.portal-main {
  flex: 1;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.portal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.portal-header h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 800;
}

.portal-header p {
  margin: 0;
  color: var(--text-1);
  font-size: 13.5px;
}

.portal-guilds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.portal-guild-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-guild-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-guild-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  background: linear-gradient(135deg, #5865f2, #8b5cf6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.portal-guild-meta {
  min-width: 0;
  flex: 1;
}

.portal-guild-meta strong {
  display: block;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-guild-meta span {
  font-size: 12px;
  color: var(--text-2);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}

.order-id-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.order-note-box {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.order-admin-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-admin-controls select {
  width: auto;
  min-width: 140px;
  padding: 7px 10px;
}

.empty-card {
  background: var(--bg-glass);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  color: var(--text-1);
}

@media (max-width: 960px) {
  .store-packages-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 16px 0 36px;
  }
  .store-links {
    display: none;
  }
  .portal-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .store-nav-inner {
    flex-wrap: wrap;
  }
}


/* ================= SIGNATURE TRANSLUCENT FLOATING RIGHT RAIL ================= */
.store-shell {
  padding-right: 92px;
}

.store-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
}

.channel-hash {
  color: #818cf8;
  font-weight: 800;
}

.discord-rail {
  position: fixed;
  top: 50%;
  right: 16px;
  bottom: auto;
  transform: translateY(-50%);
  width: 66px;
  z-index: 60;
  background: rgba(15, 20, 36, 0.36);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 10px;
}

.rail-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
}

.rail-bottom {
  margin-top: 2px;
}

.rail-sep {
  width: 26px;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.rail-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-1);
  cursor: pointer;
}

.rail-pill {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3.5px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transition: height 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s ease, background-color 0.2s ease;
}

.rail-item:hover .rail-pill {
  height: 18px;
  transform: translateY(-50%) scaleY(1);
}

.rail-item.active .rail-pill {
  height: 30px;
  transform: translateY(-50%) scaleY(1);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.72);
}

.rail-orb {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  transition:
    border-radius 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.rail-item:hover .rail-orb,
.rail-item.active .rail-orb {
  border-radius: 15px;
  background: color-mix(in srgb, var(--rail-accent, #5865f2) 86%, transparent);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--rail-accent, #5865f2) 45%, transparent);
}

.rail-item:active .rail-orb {
  transform: translateY(1px);
}

.rail-orb-brand {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.88), rgba(139, 92, 246, 0.85) 60%, rgba(6, 182, 212, 0.85));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.rail-orb-discord {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.42);
  color: #d4dcff;
}

.rail-badge {
  position: absolute;
  left: -3px;
  bottom: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  border: 2px solid rgba(11, 14, 24, 0.92);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rail-badge-pro {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  font-size: 8px;
  letter-spacing: 0.3px;
  padding: 0 5px;
}

/* RICH HOVER POPOUT CARD (OPENS TO THE LEFT FROM FLOATING RAIL) */
.rail-popout {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%) translateX(8px) scale(0.96);
  width: 238px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 20, 35, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.16s;
  z-index: 90;
}

.rail-popout::before {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: rgba(15, 20, 35, 0.86);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.rail-item:hover .rail-popout,
.rail-item:focus-visible .rail-popout {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

.rail-popout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.rail-popout-head strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-0);
}

.rail-popout-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.22);
  color: #c7d2fe;
}

.rail-popout p {
  margin: 0;
  font-size: 11.8px;
  line-height: 1.45;
  color: var(--text-1);
}

.rail-popout-emojis {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  letter-spacing: 3px;
}

.rail-popout-prices {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rail-popout-prices span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
}

.rail-popout-prices span.accent {
  background: rgba(88, 101, 242, 0.28);
  color: #fff;
}

/* MOBILE: FLOATING TRANSLUCENT BOTTOM DOCK */
@media (max-width: 768px) {
  .store-shell {
    padding-right: 0;
    padding-bottom: 84px;
  }

  .channel-indicator {
    display: none;
  }

  .discord-rail {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    width: auto;
    height: 62px;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 10px;
    border-radius: 22px;
    background: rgba(15, 20, 36, 0.62);
  }

  .rail-group {
    flex-direction: row;
    width: auto;
    gap: 8px;
  }

  .rail-bottom {
    margin-top: 0;
  }

  .rail-sep {
    width: 1px;
    height: 24px;
  }

  .rail-item {
    width: auto;
  }

  .rail-orb {
    width: 40px;
    height: 40px;
  }

  .rail-pill {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -9px;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3.5px;
    border-radius: 999px;
  }

  .rail-item.active .rail-pill,
  .rail-item:hover .rail-pill {
    height: 3.5px;
    transform: translateX(-50%) scaleX(1);
  }

  .rail-popout {
    display: none;
  }
}


/* ================= CUSTOMER GUILD BOT MANAGER ================= */
.manage-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.manage-guild-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.manage-workspace {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
  align-items: start;
}

.manage-bot-rail {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manage-rail-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: var(--text-2);
  padding: 4px 8px 8px;
}

.manage-bot-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-1);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.manage-bot-item:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-0);
}

.manage-bot-item.active {
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.22), rgba(88, 101, 242, 0.08));
  border-color: rgba(88, 101, 242, 0.42);
  color: #fff;
}

.manage-bot-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.manage-bot-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.manage-bot-text strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manage-bot-text span {
  font-size: 11px;
  color: var(--text-2);
}

.manage-editor-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manage-editor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.manage-group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.manage-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}

.manage-field-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.manage-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.manage-field-head label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-0);
}

.manage-field-group {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.manage-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}

.manage-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

@media (max-width: 860px) {
  .manage-workspace {
    grid-template-columns: 1fr;
  }
}


/* ================= COMPACT SEARCHABLE MULTI-PICKER ================= */
.compact-picker {
  position: relative;
  width: 100%;
}

.compact-picker-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  background: rgba(7, 9, 15, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.compact-picker-box:hover,
.compact-picker-box:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

.compact-picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.compact-placeholder {
  font-size: 13px;
  color: var(--text-2);
  padding: 2px 2px;
}

.compact-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.22);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  max-width: 210px;
}

.compact-chip > span:nth-last-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-chip-rm {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 1px;
  display: inline-flex;
  align-items: center;
}

.compact-chip-rm:hover {
  color: #ff8e91;
}

.compact-picker-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.compact-count {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.18);
  border: 1px solid rgba(46, 229, 157, 0.3);
  color: #8cfad0;
}

.compact-arrow {
  color: var(--text-2);
  font-size: 12px;
}

.compact-picker-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #101423;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.compact-search-wrap {
  padding: 8px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.compact-picker-search {
  padding: 7px 10px !important;
  font-size: 12.5px !important;
}

.compact-picker-list {
  max-height: 230px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compact-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-1);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.compact-opt:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-0);
}

.compact-opt.selected {
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
  font-weight: 600;
}

.compact-opt-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.compact-opt.selected .compact-opt-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.compact-opt-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ================= SOFT CARDS, BUNDLE BUILDER, PREVIEWS & LEGAL ================= */
.store-bot-card {
  border-radius: 18px;
  background: rgba(16, 21, 35, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.store-bot-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.store-bot-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.store-bot-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-0);
}

.store-bot-price span {
  font-weight: 500;
  color: var(--text-2);
  font-size: 11.5px;
}

.store-bot-preview-hint {
  font-size: 12px;
  font-weight: 600;
  color: #a5b4fc;
}

/* PRICING MODE SWITCH */
.pricing-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 20, 35, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.pricing-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--text-1);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pricing-mode-btn:hover {
  color: var(--text-0);
}

.pricing-mode-btn.active {
  background: linear-gradient(135deg, #5865f2, #7c5cf6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}

.pricing-mode-badge {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(35, 197, 103, 0.22);
  color: #86efac;
}

.pricing-mode-btn.active .pricing-mode-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* CUSTOM BUNDLE BUILDER */
.custom-bundle-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: start;
}

.bundle-bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.bundle-bot-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(16, 21, 35, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-0);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.16s ease;
}

.bundle-bot-tile:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.bundle-bot-tile.selected {
  background: linear-gradient(145deg, rgba(88, 101, 242, 0.18), rgba(16, 21, 35, 0.8));
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.2);
}

.bundle-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bundle-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: transparent;
  transition: all 0.15s ease;
}

.bundle-bot-tile.selected .bundle-check {
  background: #5865f2;
  border-color: #818cf8;
  color: #fff;
}

.bundle-summary-card {
  position: sticky;
  top: 86px;
  background: rgba(16, 21, 35, 0.72);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bundle-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.bundle-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-1);
}

.bundle-summary-row.discount {
  color: #6df5a6;
  font-weight: 600;
}

.bundle-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.bundle-summary-total strong {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

/* TESTIMONIALS */
.testimonials-block {
  margin-top: 52px;
}

.testimonials-head {
  text-align: center;
  margin-bottom: 24px;
}

.testimonials-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.testimonial-card {
  background: rgba(16, 21, 35, 0.52);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.testimonial-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 13px;
}

.testimonial-quote {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-1);
  flex: 1;
}

.testimonial-author {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  font-size: 13.5px;
  color: var(--text-0);
}

.testimonial-author span {
  font-size: 11.5px;
  color: var(--text-2);
}

/* REALISTIC DISCORD EMBED PREVIEW INSIDE BOT MODAL */
.discord-mock-window {
  background: #1e1f22;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.discord-mock-channel {
  padding: 10px 14px;
  background: #2b2d31;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-mock-msg {
  padding: 16px;
  background: #313338;
  display: flex;
  gap: 12px;
}

.discord-mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.discord-mock-content {
  flex: 1;
  min-width: 0;
}

.discord-mock-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.discord-app-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: #5865f2;
  color: #fff;
}

.discord-mock-embed {
  background: #2b2d31;
  border-left: 4px solid #5865f2;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discord-mock-embed-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.discord-mock-embed-desc {
  font-size: 12.8px;
  color: #dbdee1;
  line-height: 1.5;
}

.discord-mock-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.discord-mock-field strong {
  display: block;
  font-size: 11.5px;
  color: #b5bac1;
  margin-bottom: 2px;
}

.discord-mock-field span {
  font-size: 12.5px;
  color: #f2f3f5;
}

.preview-cmds-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.footer-link-btn:hover {
  color: var(--text-0);
}

.legal-body h3 {
  margin: 14px 0 6px;
  font-size: 14.5px;
  color: var(--text-0);
}

.legal-body p {
  margin: 0 0 10px;
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--text-1);
}

@media (max-width: 960px) {
  .store-packages-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .custom-bundle-layout {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   2026 OBSIDIAN LUXURY GLASS — GLOBAL VISUAL OVERHAUL
   Applies cohesive modern depth, lighting, and refined typography across
   Storefront, Customer Portal, and Admin Control Center.
   ========================================================================== */

:root {
  --bg-0: #05070c;
  --bg-1: #0a0d16;
  --bg-glass: rgba(13, 17, 29, 0.56);
  --bg-glass-strong: rgba(15, 20, 34, 0.78);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --surface-card: linear-gradient(180deg, rgba(255, 255, 255, 0.042) 0%, rgba(255, 255, 255, 0.015) 100%);
  --surface-card-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.062) 0%, rgba(255, 255, 255, 0.022) 100%);
  --specular-top: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.34);
  --shadow-card-hover: 0 20px 48px rgba(0, 0, 0, 0.48);
}

/* Subtle architectural micro-dot grid + soft aurora spotlight */
body {
  background-color: var(--bg-0);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -12%, rgba(99, 102, 241, 0.16), transparent 65%),
    radial-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px;
  background-attachment: fixed;
}

.orb {
  opacity: 0.16;
  filter: blur(130px);
}

/* Status pills never wrap or squash */
.status-pill {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 0.1px;
  backdrop-filter: blur(10px);
}

/* Refined Buttons */
.btn {
  border-radius: 10px;
  letter-spacing: -0.01em;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease, box-shadow 0.2s ease, border-color 0.18s ease;
}

.btn-primary,
.btn-discord {
  background: linear-gradient(180deg, #6b76ff 0%, #5661f2 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover:not(:disabled),
.btn-discord:hover:not(.disabled) {
  background: linear-gradient(180deg, #7782ff 0%, #616cf7 100%);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ================= ADMIN PANEL REDESIGN ================= */
.sidebar {
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(26px) saturate(140%);
  border-right: 1px solid rgba(255, 255, 255, 0.065);
}

.topbar {
  height: 62px;
  background: rgba(8, 10, 18, 0.58);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.nav-item {
  border-radius: 11px;
  padding: 9px 11px;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.04));
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.22);
}

.guild-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Overview Hero */
.overview-hero {
  background:
    radial-gradient(500px circle at 0% 0%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(400px circle at 100% 100%, rgba(16, 185, 129, 0.1), transparent 60%),
    var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: var(--shadow-card), var(--specular-top);
}

.overview-guild-img {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.overview-hero h1 {
  font-size: 23px;
  letter-spacing: -0.03em;
}

/* KPI Stat Cards */
.stat-card {
  background: var(--surface-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  padding: 19px 20px;
  box-shadow: var(--shadow-card), var(--specular-top);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  background: var(--surface-card-hover);
  border-color: rgba(255, 255, 255, 0.14);
}

.stat-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.stat-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Bot Overview Cards — Modernized (No harsh 2px top stripe, no wrapping pills!) */
.bot-cards-grid {
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.bot-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(240px circle at 12% 0%, color-mix(in srgb, var(--card-accent, #5865f2) 15%, transparent), transparent 65%),
    var(--surface-card);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-card), var(--specular-top);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.22s ease;
}

.bot-card::before {
  display: none !important;
}

.bot-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent, #5865f2) 40%, rgba(255, 255, 255, 0.14));
  box-shadow: var(--shadow-card-hover), var(--specular-top);
}

.bot-card-head {
  align-items: center;
  gap: 10px;
}

.bot-card-title {
  flex: 1;
  min-width: 0;
}

.bot-card-identity {
  min-width: 0;
  flex: 1;
}

.bot-card-identity h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.bot-folder-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11.5px;
  opacity: 0.85;
}

.bot-avatar {
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.bot-card-desc {
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.bot-metrics {
  background: rgba(5, 7, 13, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  padding: 11px 13px;
  font-variant-numeric: tabular-nums;
}

.mini-gauge {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.bot-card-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  padding-top: 4px;
}

.bot-act-main {
  flex: 1;
  min-width: 0;
  height: 35px;
}

.bot-act-ico {
  width: 35px;
  height: 35px;
  padding: 0;
  flex-shrink: 0;
}

/* ================= CUSTOMER PORTAL REDESIGN ================= */
.portal-welcome-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  margin-bottom: 24px;
  border-radius: 22px;
  background:
    radial-gradient(420px circle at 0% 0%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(360px circle at 100% 100%, rgba(6, 182, 212, 0.1), transparent 60%),
    var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-card), var(--specular-top);
}

.portal-welcome-left {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 580px;
}

.portal-welcome-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(129, 140, 248, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.portal-welcome-avatar.fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5865f2, #8b5cf6);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.portal-welcome-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}

.portal-welcome-hero h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.portal-welcome-hero p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-1);
}

.portal-welcome-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.portal-mini-kpis {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(5, 7, 13, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.portal-mini-kpi {
  padding: 2px 12px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.portal-mini-kpi:last-child {
  border-right: none;
}

.portal-mini-kpi strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.portal-mini-kpi span {
  font-size: 10.5px;
  color: var(--text-2);
  font-weight: 600;
}

.portal-guild-card,
.order-card,
.manage-bot-rail,
.manage-editor-panel {
  background: var(--surface-card);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-card), var(--specular-top);
}

.portal-guild-card {
  padding: 20px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-guild-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.32);
  box-shadow: var(--shadow-card-hover), var(--specular-top);
}

.manage-field-card {
  background: rgba(5, 7, 13, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 15px 16px;
  transition: border-color 0.16s ease;
}

.manage-field-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* ================= STOREFRONT REFINEMENTS ================= */
.store-nav {
  background: rgba(6, 8, 15, 0.62);
  backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.hero-mock-card {
  background:
    radial-gradient(360px circle at 100% 0%, rgba(99, 102, 241, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.52), var(--specular-top);
}

.mock-bot-row {
  background: rgba(5, 7, 13, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.mock-bot-row:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.14);
}

.store-bot-card,
.store-feature-card,
.testimonial-card,
.faq-item {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  box-shadow: var(--shadow-card), var(--specular-top);
}

.package-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-card), var(--specular-top);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.22s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.package-card.popular {
  background:
    radial-gradient(380px circle at 50% 0%, rgba(99, 102, 241, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(12, 16, 28, 0.9) 100%);
  border-color: rgba(129, 140, 248, 0.48);
  box-shadow: 0 24px 58px rgba(88, 101, 242, 0.22), var(--specular-top);
}

.modal-card {
  background: rgba(12, 15, 26, 0.92);
  backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), var(--specular-top);
}


/* ==========================================================================
   BEKOFF SIGNATURE MINT-EMERALD IDENTITY (MATCHED TO /logo.png)
   Original deep obsidian + luminous mint-emerald aesthetic (#38E8A5 / #10B981)
   ========================================================================== */

:root {
  --bg-0: #040709;
  --bg-1: #090e12;
  --accent: #2ee59d;
  --accent-2: #10b981;
  --accent-hover: #22c58b;
  --accent-soft: rgba(46, 229, 157, 0.14);
}

body {
  background-color: #040709;
  background-image:
    radial-gradient(ellipse 75% 48% at 50% -12%, rgba(46, 229, 157, 0.14), transparent 65%),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px;
}

.orb-1 {
  background: radial-gradient(circle, #2ee59d, transparent 70%);
}
.orb-2 {
  background: radial-gradient(circle, #0d9488, transparent 70%);
}
.orb-3 {
  background: radial-gradient(circle, #10b981, transparent 70%);
}

/* Real BEKOFF Logo Badge */
.brand-badge {
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.28);
  box-shadow: 0 8px 24px rgba(46, 229, 157, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 6px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(46, 229, 157, 0.35));
}

.rail-orb-brand {
  background: rgba(46, 229, 157, 0.14) !important;
  border-color: rgba(46, 229, 157, 0.4) !important;
  padding: 8px;
}

.rail-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rail-item:hover .rail-orb,
.rail-item.active .rail-orb {
  color: #031d14;
}

.rail-item:hover .rail-orb-brand,
.rail-item.active .rail-orb-brand {
  background: rgba(46, 229, 157, 0.26) !important;
  border-color: rgba(56, 232, 165, 0.72) !important;
  box-shadow: 0 8px 24px rgba(46, 229, 157, 0.32);
}

.rail-orb-discord {
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.36);
  color: #7df5c7;
}

.rail-badge-pro {
  background: linear-gradient(135deg, #2ee59d, #0d9488);
  color: #031d14;
}

.rail-popout-tag {
  background: rgba(46, 229, 157, 0.18);
  color: #7df5c7;
}

.rail-popout-prices span.accent {
  background: rgba(46, 229, 157, 0.25);
  color: #8af7cc;
}

.channel-hash {
  color: #2ee59d;
}

/* Luminous Mint-Emerald Primary & Discord CTAs */
.btn-primary,
.btn-discord {
  background: linear-gradient(180deg, #3df0ac 0%, #14b87a 100%);
  color: #031c13;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 10px 26px rgba(46, 229, 157, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover:not(:disabled),
.btn-discord:hover:not(.disabled) {
  background: linear-gradient(180deg, #52f5b8 0%, #1ac986 100%);
  color: #02140e;
  box-shadow: 0 14px 32px rgba(46, 229, 157, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gradient-text {
  background: linear-gradient(135deg, #86fcd0 0%, #2ee59d 48%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-eyebrow,
.section-tag {
  background: rgba(46, 229, 157, 0.11);
  border-color: rgba(46, 229, 157, 0.28);
  color: #86fcd0;
}

.pricing-mode-btn.active,
.portal-tab.active {
  background: linear-gradient(180deg, #3df0ac 0%, #14b87a 100%);
  color: #031c13;
  box-shadow: 0 6px 20px rgba(46, 229, 157, 0.3);
}

.pricing-mode-btn.active .pricing-mode-badge {
  background: rgba(3, 28, 19, 0.18);
  color: #031c13;
}

.package-card.popular {
  background:
    radial-gradient(380px circle at 50% 0%, rgba(46, 229, 157, 0.2), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(9, 14, 18, 0.92) 100%);
  border-color: rgba(46, 229, 157, 0.46);
  box-shadow: 0 24px 58px rgba(46, 229, 157, 0.16), var(--specular-top);
}

.package-card.popular .package-badge {
  background: linear-gradient(135deg, #3df0ac, #10b981);
  color: #031c13;
}

.bundle-bot-tile.selected {
  background: linear-gradient(145deg, rgba(46, 229, 157, 0.16), rgba(9, 14, 18, 0.85));
  border-color: rgba(46, 229, 157, 0.62);
  box-shadow: 0 10px 28px rgba(46, 229, 157, 0.16);
}

.bundle-bot-tile.selected .bundle-check {
  background: #2ee59d;
  border-color: #6ef7c0;
  color: #031c13;
}

.store-bot-card:hover,
.portal-guild-card:hover {
  border-color: rgba(46, 229, 157, 0.34);
}

.store-bot-preview-hint,
.portal-welcome-eyebrow {
  color: #6ef7c0;
}

.user-pill-badge,
.mock-badge {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.36);
  color: #86fcd0;
}

.nav-item.active,
.manage-bot-item.active {
  background: linear-gradient(90deg, rgba(46, 229, 157, 0.16), rgba(46, 229, 157, 0.03));
  border-color: rgba(46, 229, 157, 0.34);
}

.nav-item.active .nav-svg {
  background: #2ee59d;
  color: #031c13;
}

.overview-hero,
.portal-welcome-hero {
  background:
    radial-gradient(460px circle at 0% 0%, rgba(46, 229, 157, 0.15), transparent 60%),
    radial-gradient(380px circle at 100% 100%, rgba(13, 148, 136, 0.1), transparent 60%),
    var(--surface-card);
}

.portal-welcome-avatar {
  border-color: rgba(46, 229, 157, 0.5);
}

.compact-chip {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.42);
}

.compact-opt.selected {
  background: rgba(46, 229, 157, 0.16);
}

.compact-opt.selected .compact-opt-check {
  background: #2ee59d;
  border-color: #2ee59d;
  color: #031c13;
}

input:focus,
select:focus,
textarea:focus,
.compact-picker-box:hover,
.compact-picker-box:focus {
  border-color: #2ee59d;
  box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.18);
}

/* 3-Step Workflow Cards */
.steps-3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card), var(--specular-top);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 229, 157, 0.34);
}

.step-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: #031c13;
  background: linear-gradient(135deg, #3df0ac, #10b981);
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(46, 229, 157, 0.28);
}

.step-card h3 {
  margin: 4px 0 0;
  font-size: 16.5px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--text-1);
}

/* BEKOFF TOOLBOX QUICK INVITE BAR & ACTIONS STRIP */
.toolbox-invite-card {
  background:
    radial-gradient(360px circle at 100% 0%, rgba(46, 229, 157, 0.12), transparent 65%),
    var(--surface-card);
  border: 1px solid rgba(46, 229, 157, 0.24);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card), var(--specular-top);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toolbox-invite-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbox-invite-row input {
  flex: 1;
  min-width: 240px;
}

.toolbox-resolved-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(4, 7, 9, 0.55);
  border: 1px solid rgba(46, 229, 157, 0.28);
}

.toolbox-actions-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  background:
    radial-gradient(300px circle at 0% 50%, rgba(46, 229, 157, 0.14), transparent 70%),
    var(--surface-card);
  border: 1px solid rgba(46, 229, 157, 0.26);
}

.toolbox-actions-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 960px) {
  .store-packages-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .steps-3-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   2026 SOFT-PREMIUM OBSIDIAN GLASS REFINEMENT
   Ultra-calm eye-friendly cards + Modern Linear/Vercel Admin & Customer UI
   ========================================================================== */

:root {
  --surface-soft: linear-gradient(180deg, rgba(16, 23, 28, 0.56) 0%, rgba(10, 15, 19, 0.52) 100%);
  --surface-soft-hover: linear-gradient(180deg, rgba(20, 29, 36, 0.68) 0%, rgba(12, 18, 23, 0.62) 100%);
  --surface-recessed: rgba(6, 10, 14, 0.48);
  --hairline: rgba(255, 255, 255, 0.052);
  --hairline-hover: rgba(46, 229, 157, 0.22);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.26);
  --shadow-soft-hover: 0 18px 42px rgba(0, 0, 0, 0.34);
  --text-soft-0: #eef3f7;
  --text-soft-1: #9aa7b4;
  --text-soft-2: #687584;
}

body {
  color: var(--text-soft-0);
  background-image:
    radial-gradient(ellipse 70% 42% at 50% -10%, rgba(46, 229, 157, 0.1), transparent 64%),
    radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
}

/* --- Centered Minimal Hero (No Cluttered Mock Card) --- */
.hero-section.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 0 28px;
  grid-template-columns: none;
  gap: 0;
}

.hero-section.hero-centered .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-section.hero-centered .hero-title {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 18px 0 16px;
}

.hero-section.hero-centered .hero-subtitle {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--text-soft-1);
  font-size: 15.5px;
  line-height: 1.65;
}

.hero-section.hero-centered .hero-tagline {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-soft-1);
  margin: 14px auto 28px;
  letter-spacing: 0.01em;
}

.hero-section.hero-centered .hero-actions {
  justify-content: center;
  gap: 12px;
}

.hero-section.hero-centered .hero-metrics {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 12px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero-section.hero-centered .hero-metric {
  padding: 2px 26px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-section.hero-centered .hero-metric:last-child {
  border-right: none;
}

.hero-section.hero-centered .hero-metric strong {
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text-soft-0);
}

.hero-section.hero-centered .hero-metric span {
  font-size: 12px;
  color: var(--text-soft-2);
}

/* --- Eye-Friendly Soft Storefront Cards --- */
.store-bot-card,
.step-card,
.store-feature-card,
.testimonial-card,
.faq-item,
.package-card,
.bundle-bot-tile,
.bundle-summary-card {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.store-bot-card {
  padding: 22px 24px;
}

.store-bot-card:hover,
.step-card:hover,
.store-feature-card:hover,
.package-card:hover,
.bundle-bot-tile:hover {
  transform: translateY(-2px);
  background: var(--surface-soft-hover);
  border-color: var(--hairline-hover);
  box-shadow: var(--shadow-soft-hover), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.store-bot-icon {
  border-radius: 14px;
  width: 44px;
  height: 44px;
  font-size: 20px;
  filter: saturate(0.85);
}

.store-bot-cat {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-soft-2);
  font-weight: 600;
}

.store-bot-title {
  color: var(--text-soft-0);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.store-bot-tagline,
.store-bot-list li,
.step-card p,
.store-feature-card p,
.faq-item p,
.testimonial-card p {
  color: var(--text-soft-1);
  line-height: 1.62;
}

.store-bot-list li::before {
  color: rgba(46, 229, 157, 0.78);
}

.store-bot-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.048);
  padding-top: 14px;
  margin-top: 14px;
}

.store-bot-price {
  color: #dce5ed;
}

.store-bot-preview-hint {
  color: rgba(110, 247, 192, 0.86);
  font-weight: 600;
}

.package-card.popular {
  background:
    radial-gradient(360px circle at 50% 0%, rgba(46, 229, 157, 0.13), transparent 65%),
    linear-gradient(180deg, rgba(18, 27, 32, 0.74) 0%, rgba(10, 15, 19, 0.78) 100%);
  border-color: rgba(46, 229, 157, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(46, 229, 157, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* --- Softer Calm Buttons & Badges --- */
.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-primary,
.btn-discord {
  background: linear-gradient(180deg, #34e4a0 0%, #16b579 100%);
  color: #031a12;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(46, 229, 157, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover:not(:disabled),
.btn-discord:hover:not(.disabled) {
  background: linear-gradient(180deg, #45ebb0 0%, #1bc484 100%);
  box-shadow: 0 10px 26px rgba(46, 229, 157, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.042);
  border: 1px solid rgba(255, 255, 255, 0.085);
  color: #d6e0ea;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-ghost {
  color: var(--text-soft-1);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft-0);
}

.status-pill {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-width: 1px;
  backdrop-filter: blur(8px);
}

.status-pill.online {
  background: rgba(46, 229, 157, 0.1);
  border-color: rgba(46, 229, 157, 0.24);
  color: #7df5c7;
}

.status-pill.warn {
  background: rgba(245, 185, 56, 0.1);
  border-color: rgba(245, 185, 56, 0.24);
  color: #f6cd6d;
}

/* --- Soft-Premium Customer Portal & BEKOFF Toolbox --- */
.portal-shell .store-nav {
  background: rgba(6, 10, 13, 0.76);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}

.portal-tabs {
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.portal-tab {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft-1);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.portal-tab:hover {
  color: var(--text-soft-0);
  background: rgba(255, 255, 255, 0.04);
}

.portal-tab.active {
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.28);
  color: #86fcd0;
  box-shadow: none;
}

.portal-main {
  max-width: 1180px;
  padding: 28px 24px 64px;
}

.portal-welcome-hero {
  background:
    radial-gradient(420px circle at 0% 0%, rgba(46, 229, 157, 0.1), transparent 62%),
    var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portal-mini-kpis {
  background: var(--surface-recessed);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

.toolbox-invite-card {
  background:
    radial-gradient(380px circle at 100% 0%, rgba(46, 229, 157, 0.08), transparent 64%),
    var(--surface-soft);
  border: 1px solid rgba(46, 229, 157, 0.16);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.toolbox-actions-strip {
  background:
    radial-gradient(320px circle at 0% 50%, rgba(46, 229, 157, 0.09), transparent 68%),
    var(--surface-soft);
  border: 1px solid rgba(46, 229, 157, 0.16);
  border-radius: 18px;
  padding: 16px 20px;
}

.portal-guild-card,
.order-card,
.manage-bot-rail,
.manage-editor-panel {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(20px);
}

.manage-top-bar {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.manage-bot-rail {
  padding: 14px;
  gap: 6px;
}

.manage-rail-title {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-soft-2);
  padding: 4px 10px 8px;
}

.manage-bot-item {
  border-radius: 13px;
  padding: 10px 12px;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.16s ease;
}

.manage-bot-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.05);
}

.manage-bot-item.active {
  background: rgba(46, 229, 157, 0.09);
  border-color: rgba(46, 229, 157, 0.22);
  box-shadow: inset 2px 0 0 #2ee59d;
}

.manage-editor-panel {
  padding: 24px 26px;
  gap: 18px;
}

.manage-editor-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.manage-field-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--hairline);
  border-radius: 15px;
  padding: 15px 16px;
}

.manage-field-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.manage-field-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-soft-2);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 10.5px;
}

/* --- Soft-Premium Admin Panel (Linear / Vercel Obsidian Style) --- */
.app-shell {
  background: transparent;
}

.sidebar {
  width: 268px;
  background: rgba(7, 11, 14, 0.8);
  backdrop-filter: blur(26px) saturate(140%);
  border-right: 1px solid var(--hairline);
  padding: 16px 14px;
  gap: 14px;
}

.sidebar-top {
  padding: 0;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-brand {
  padding: 4px 6px;
}

.guild-banner {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 10px 12px;
}

.sidebar-nav {
  padding: 4px 0;
  gap: 3px;
}

.nav-section-header {
  margin-top: 14px;
  padding: 6px 10px 4px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-soft-2);
}

.nav-item {
  border-radius: 11px;
  padding: 8px 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft-1);
  transition: all 0.16s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.038);
  color: var(--text-soft-0);
}

.nav-item .nav-svg {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.038);
  color: var(--text-soft-1);
  transition: all 0.16s ease;
}

.nav-item.active {
  background: rgba(46, 229, 157, 0.1);
  border-color: rgba(46, 229, 157, 0.22);
  color: #e6fff5;
  box-shadow: inset 2px 0 0 #2ee59d;
}

.nav-item.active .nav-svg {
  background: rgba(46, 229, 157, 0.18);
  color: #5cf2b8;
}

.sidebar-footer {
  padding: 12px 0 0;
  border-top: 1px solid var(--hairline);
  gap: 7px;
}

.sidebar-footer .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hairline);
  justify-content: flex-start;
  padding: 8px 12px;
  font-size: 12.5px;
}

.sidebar-footer .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.12);
}

.topbar {
  height: 62px;
  background: rgba(5, 8, 11, 0.68);
  backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  padding: 0 28px;
}

.page-container {
  padding: 26px 28px 80px;
  max-width: 1280px;
}

.overview-hero {
  background:
    radial-gradient(460px circle at 0% 0%, rgba(46, 229, 157, 0.09), transparent 60%),
    var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-card,
.bot-card,
.bot-hero,
.field-card {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.bot-card {
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bot-card:hover {
  transform: translateY(-2px);
  background: var(--surface-soft-hover);
  border-color: var(--hairline-hover);
}

.bot-metrics {
  background: var(--surface-recessed);
  border: 1px solid var(--hairline);
  border-radius: 13px;
}

.stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.055);
}

/* Modern Segmented Pill Tabs in Admin Bot Detail */
.tabs-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 20px;
}

.tab-btn {
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft-1);
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.16s ease;
}

.tab-btn:hover {
  color: var(--text-soft-0);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  background: rgba(46, 229, 157, 0.12);
  border-color: rgba(46, 229, 157, 0.24);
  color: #86fcd0;
  box-shadow: none;
}

.tab-btn.active::after {
  display: none;
}

/* Softer Form Inputs & Modals */
input[type='text'],
input[type='password'],
input[type='number'],
select,
textarea,
.compact-picker-box {
  background: rgba(5, 9, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  color: var(--text-soft-0);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input[type='text']:hover,
input[type='password']:hover,
input[type='number']:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.modal-card {
  background: rgba(10, 15, 19, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal-header {
  border-bottom: 1px solid var(--hairline);
}

.modal-footer {
  border-top: 1px solid var(--hairline);
}

.save-bar {
  background: rgba(10, 16, 20, 0.9);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(46, 229, 157, 0.24);
  border-radius: 16px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.56);
}

@media (max-width: 720px) {
  .hero-section.hero-centered .hero-metrics {
    flex-direction: column;
    width: 100%;
  }
  .hero-section.hero-centered .hero-metric {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
    width: 100%;
  }
  .hero-section.hero-centered .hero-metric:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   ULTRA-CLEAN TRANSPARENT NAVBAR & LUXURY PILL MENUS
   ========================================================================== */

.store-nav.store-nav-transparent,
.portal-shell .store-nav.store-nav-transparent {
  background: linear-gradient(180deg, rgba(4, 7, 9, 0.34) 0%, rgba(4, 7, 9, 0.06) 100%);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.032);
  box-shadow: none;
}

.store-nav.store-nav-transparent .store-nav-inner {
  height: 70px;
  gap: 16px;
}

.store-nav.store-nav-transparent .store-brand {
  gap: 11px;
  transition: opacity 0.16s ease;
}

.store-nav.store-nav-transparent .store-brand:hover {
  opacity: 0.9;
}

.store-nav.store-nav-transparent .brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f0f6fa;
}

/* Center Floating Frosted Glass Navigation Pill */
.nav-glass-menu {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(14, 21, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.nav-glass-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #9aa8b6;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-glass-link:hover {
  color: #eef5fa;
  background: rgba(255, 255, 255, 0.055);
}

.nav-glass-link.active {
  color: #8cfad0;
  background: rgba(46, 229, 157, 0.12);
  border-color: rgba(46, 229, 157, 0.24);
  font-weight: 600;
}

/* Right Luxury Action Pill Buttons */
.store-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 43px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  color: #d6e2ec;
  background: rgba(255, 255, 255, 0.042);
  border: 1px solid rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(14px);
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.nav-pill-btn .discord-logo-svg,
.nav-cart-btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.nav-pill-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-pill-btn.nav-pill-mint {
  color: #8cfad0;
  background: rgba(46, 229, 157, 0.13);
  border-color: rgba(46, 229, 157, 0.3);
  box-shadow: 0 6px 20px rgba(46, 229, 157, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-pill-btn.nav-pill-mint:hover {
  color: #031a12;
  background: linear-gradient(180deg, #3ee8a8 0%, #17bc7e 100%);
  border-color: rgba(134, 252, 208, 0.55);
  box-shadow: 0 10px 26px rgba(46, 229, 157, 0.28);
}

/* Integrated Luxury User + Logout Capsule */
.nav-user-capsule {
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 4px 6px 4px 7px;
  border-radius: 999px;
  background: rgba(14, 21, 26, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  gap: 7px;
}

.nav-user-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 4px;
}

.nav-user-inner .user-pill-badge {
  display: none;
}

.nav-user-inner .user-avatar,
.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(46, 229, 157, 0.34);
  display: block;
}

.nav-user-avatar-fallback {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(46, 229, 157, 0.18);
  color: #8cfad0;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-user-name,
.nav-user-inner .user-pill-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #e6eff6;
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-capsule-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.09);
}

.nav-logout-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #8493a3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-logout-icon-btn:hover {
  color: #ff8c8c;
  background: rgba(239, 68, 68, 0.14);
}

/* Refine Portal Segmented Tabs to Match Storefront Center Pill */
.portal-shell .portal-tabs {
  background: rgba(14, 21, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

@media (max-width: 820px) {
  .nav-glass-menu {
    display: none;
  }
}

/* ==========================================================================
   BEKOFF BOT'S WORDMARK & ULTRA-MINIMAL RIGHT HAIRLINE INDICATOR
   ========================================================================== */

/* Full-width centered layout (no side or bottom clutter) */
.store-shell {
  padding-right: 0 !important;
}

.store-footer {
  padding-bottom: 42px;
}

.brand-title-accent {
  font-weight: 600;
  color: #5cf2b8;
  letter-spacing: 0.01em;
}

/* Ultra-Minimal Right-Side Glowing Hairline Indicator (Apple / Stripe style) */
.minimal-tick-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tick-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  padding: 6px 0;
  text-decoration: none;
  cursor: pointer;
}

.tick-nav-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9aa8b6;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.tick-nav-item:hover .tick-nav-label,
.tick-nav-item.active .tick-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.tick-nav-item:hover .tick-nav-label {
  color: #eef5fa;
}

.tick-nav-item.active .tick-nav-label {
  color: #86fcd0;
}

.tick-nav-bar {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.tick-nav-item:hover .tick-nav-bar {
  width: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.tick-nav-item.active .tick-nav-bar {
  width: 32px;
  background: #2ee59d;
  box-shadow: 0 0 12px rgba(46, 229, 157, 0.72);
}

@media (max-width: 980px) {
  .minimal-tick-nav {
    display: none;
  }
}

/* ==========================================================================
   CLEAN LUXURY PACKAGE CARDS + SHOPPING CART DRAWER + DETAILED CHECKOUT UI
   ========================================================================== */

.store-bot-card {
  cursor: default;
}

.bot-add-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #86fcd0;
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.24);
  cursor: pointer;
  transition: all 0.18s ease;
}

.bot-add-cart-btn:hover {
  color: #031a12;
  background: linear-gradient(180deg, #3ee8a8 0%, #17bc7e 100%);
  border-color: rgba(134, 252, 208, 0.5);
  transform: translateY(-1px);
}

/* Reference-Inspired Clean Vertical Package Cards (BEKOFF Mint-Obsidian Edition) */
.store-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 25, 31, 0.72) 0%, rgba(10, 16, 21, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.068);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  gap: 0;
}

.package-card.popular {
  background:
    radial-gradient(360px circle at 50% 0%, rgba(46, 229, 157, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(18, 28, 34, 0.82) 0%, rgba(10, 16, 21, 0.84) 100%);
  border-color: rgba(46, 229, 157, 0.28);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(46, 229, 157, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.pkg-popular-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.14);
  border: 1px solid rgba(46, 229, 157, 0.3);
  color: #86fcd0;
}

.pkg-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f3f7fa;
  line-height: 1.2;
}

.pkg-sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: #9aa7b4;
  line-height: 1.5;
  min-height: 40px;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 22px;
}

.pkg-price-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #c6f7e2;
  text-shadow: 0 0 26px rgba(46, 229, 157, 0.3);
  line-height: 1;
}

.pkg-price-unit {
  font-size: 15px;
  font-weight: 700;
  color: #93d6bb;
  letter-spacing: -0.01em;
}

.pkg-checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pkg-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5df;
  line-height: 1.45;
}

.pkg-checklist li svg {
  width: 16px;
  height: 16px;
  color: #2ee59d;
  flex-shrink: 0;
  margin-top: 2px;
}

.pkg-cart-cta {
  width: 100%;
  height: 46px;
  border-radius: 13px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid rgba(46, 229, 157, 0.28);
  background: linear-gradient(135deg, rgba(46, 229, 157, 0.24) 0%, rgba(16, 185, 129, 0.32) 100%);
  color: #e9fff6;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pkg-cart-cta:hover {
  background: linear-gradient(135deg, #38e8a5 0%, #14b87a 100%);
  color: #031a12;
  border-color: rgba(134, 252, 208, 0.55);
  box-shadow: 0 14px 32px rgba(46, 229, 157, 0.3);
  transform: translateY(-2px);
}

.package-card.popular .pkg-cart-cta {
  background: linear-gradient(135deg, #34e4a0 0%, #14b87a 100%);
  color: #031a12;
  border-color: rgba(134, 252, 208, 0.45);
  box-shadow: 0 12px 30px rgba(46, 229, 157, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.package-card.popular .pkg-cart-cta:hover {
  background: linear-gradient(135deg, #4df0b4 0%, #1ac986 100%);
  box-shadow: 0 16px 36px rgba(46, 229, 157, 0.36);
}

/* Navbar Cart Badge */
.nav-cart-btn {
  position: relative;
}

.nav-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #2ee59d;
  color: #031a12;
  line-height: 1;
}

/* Slide-Over Glass Cart Drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(2, 5, 8, 0.66);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
}

.cart-drawer {
  width: min(440px, 100vw);
  height: 100%;
  background: rgba(9, 14, 18, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideInRight {
  from { transform: translateX(36px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-drawer-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.cart-drawer-head p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #8f9ead;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 10, 14, 0.72);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  padding: 14px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #eef5fa;
}

.cart-item-sub {
  font-size: 12px;
  color: #8a99a8;
  margin-top: 2px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 7, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 6px;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #cbd5df;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.cart-remove-btn {
  border: none;
  background: transparent;
  color: #7b8a99;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
}

.cart-remove-btn:hover {
  color: #ff8c8c;
  background: rgba(239, 68, 68, 0.12);
}

.billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.billing-plan-btn {
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.024);
  color: #b4c0cc;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: all 0.16s ease;
}

.billing-plan-btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: #eef5fa;
}

.billing-plan-btn.active {
  background: rgba(46, 229, 157, 0.12);
  border-color: rgba(46, 229, 157, 0.36);
  color: #86fcd0;
}

.billing-plan-tag {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.16);
  color: #7df5c7;
}

.coupon-row {
  display: flex;
  gap: 8px;
}

.coupon-row input {
  flex: 1;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 12.5px;
}

.cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aa7b4;
}

.cart-summary-line.discount {
  color: #5cf2b8;
}

.cart-summary-line.total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 800;
  color: #f0f6fa;
}

/* Detailed Checkout Modal */
.modal-card.modal-xl {
  width: min(860px, 95vw);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  align-items: start;
}

.checkout-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #dce6ee;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pay-methods-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.pay-method-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.022);
  cursor: pointer;
  transition: all 0.16s ease;
}

.pay-method-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.pay-method-card.selected {
  background: rgba(46, 229, 157, 0.09);
  border-color: rgba(46, 229, 157, 0.36);
}

.pay-method-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.24);
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-method-card.selected .pay-method-radio {
  border-color: #2ee59d;
}

.pay-method-card.selected .pay-method-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ee59d;
}

.iban-info-box {
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(4, 7, 10, 0.62);
  border: 1px solid rgba(46, 229, 157, 0.22);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}

.iban-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-summary-box {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: #8a99a8;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   BESPOKE TELEMETRY SPINE NAVIGATION + CUSTOM BOT INQUIRY CARD
   ========================================================================== */

.spine-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 0;
}

.spine-track {
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 4px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(46, 229, 157, 0.22) 50%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.spine-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  padding: 2px 0;
}

.spine-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: rgba(9, 15, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateX(10px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.spine-idx {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: #667584;
  letter-spacing: 0.04em;
}

.spine-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #cdd7e0;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.spine-node {
  position: relative;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0b1216;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: all 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.spine-item:hover .spine-pill,
.spine-item.active .spine-pill {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.spine-item:hover .spine-pill {
  border-color: rgba(255, 255, 255, 0.16);
}

.spine-item:hover .spine-node {
  border-color: rgba(134, 252, 208, 0.85);
  background: rgba(46, 229, 157, 0.35);
  transform: scale(1.15);
}

.spine-item.active .spine-pill {
  background: rgba(10, 22, 19, 0.82);
  border-color: rgba(46, 229, 157, 0.34);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), 0 0 18px rgba(46, 229, 157, 0.1);
}

.spine-item.active .spine-idx {
  color: #3df0ac;
}

.spine-item.active .spine-label {
  color: #eef9f4;
}

.spine-item.active .spine-node {
  width: 9px;
  height: 24px;
  background: linear-gradient(180deg, #5cf2b8 0%, #10b981 100%);
  border-color: rgba(167, 253, 220, 0.8);
  box-shadow: 0 0 16px rgba(46, 229, 157, 0.72);
}

@media (max-width: 1060px) {
  .spine-nav {
    display: none;
  }
}

/* Bespoke Full-Width "İsteğe Özel Bot" Card */
.package-card.bespoke-bot-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  background:
    radial-gradient(480px circle at 100% 50%, rgba(46, 229, 157, 0.12), transparent 65%),
    radial-gradient(360px circle at 0% 0%, rgba(16, 185, 129, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(16, 25, 31, 0.76) 0%, rgba(9, 15, 20, 0.82) 100%);
  border: 1px solid rgba(46, 229, 157, 0.22);
}

.bespoke-left {
  flex: 1;
  min-width: 260px;
}

.bespoke-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6ef7c0;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.22);
  margin-bottom: 10px;
}

.bespoke-checklist {
  margin: 16px 0 0 !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 10px 22px !important;
}

.bespoke-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 230px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.065);
}

.bespoke-price-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bespoke-price-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c8c9b;
}

.bespoke-price-main {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #c6f7e2;
  text-shadow: 0 0 22px rgba(46, 229, 157, 0.26);
  line-height: 1.15;
}

.bespoke-price-note {
  font-size: 12px;
  color: #8a99a8;
}

.bespoke-discord-cta {
  width: 100%;
  min-width: 210px;
  height: 46px;
  padding: 0 20px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #031a12;
  background: linear-gradient(135deg, #38e8a5 0%, #14b87a 100%);
  border: 1px solid rgba(134, 252, 208, 0.48);
  box-shadow: 0 12px 30px rgba(46, 229, 157, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.bespoke-discord-cta:hover {
  background: linear-gradient(135deg, #50f2b6 0%, #1ac986 100%);
  box-shadow: 0 16px 36px rgba(46, 229, 157, 0.36);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .store-packages-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .package-card.bespoke-bot-card {
    flex-direction: column;
    align-items: stretch;
  }
  .bespoke-right {
    align-items: stretch;
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
  }
  .bespoke-price-box {
    text-align: left;
  }
}

/* ==========================================================================
   EDITORIAL TESTIMONIALS CAROUSEL + FLOATING LUXURY GLASS CART DRAWER
   ========================================================================== */

.testimonials-title {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #f3f9f6 0%, #98ebd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials-carousel-host {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.tcarousel-stage {
  width: 100%;
  max-width: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.tcarousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(13, 21, 26, 0.62);
  backdrop-filter: blur(16px);
  color: #9fb0bf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.tcarousel-arrow:hover {
  color: #86fcd0;
  border-color: rgba(46, 229, 157, 0.36);
  background: rgba(16, 29, 26, 0.85);
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 18px rgba(46, 229, 157, 0.14);
}

.tcarousel-card {
  position: relative;
  flex: 1;
  max-width: 680px;
  padding: 36px 44px 30px;
  border-radius: 24px;
  background:
    radial-gradient(380px circle at 15% 0%, rgba(46, 229, 157, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(16, 24, 30, 0.72) 0%, rgba(9, 14, 19, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  animation: tFadeIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.tcarousel-qmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 56px;
  line-height: 1;
  color: rgba(46, 229, 157, 0.24);
  user-select: none;
  pointer-events: none;
}

.tcarousel-qmark.open {
  position: absolute;
  top: 18px;
  left: 22px;
}

.tcarousel-qmark.close {
  display: block;
  text-align: right;
  margin-top: -12px;
  margin-bottom: -14px;
  font-size: 48px;
}

.tcarousel-quote {
  margin: 0;
  padding: 4px 12px 0 26px;
  font-size: 16px;
  font-style: italic;
  line-height: 1.76;
  color: #dce6ee;
  min-height: 88px;
}

.tcarousel-divider {
  height: 1px;
  margin: 22px 0 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09) 20%, rgba(255, 255, 255, 0.09) 80%, transparent);
}

.tcarousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.tcarousel-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tcarousel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(46, 229, 157, 0.22), rgba(10, 18, 22, 0.92));
  border: 1.5px solid rgba(46, 229, 157, 0.44);
  box-shadow: 0 0 20px rgba(46, 229, 157, 0.16);
  color: #8cfad0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcarousel-author-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #f2f7fa;
  line-height: 1.25;
}

.tcarousel-author-meta {
  font-size: 12.5px;
  color: #8b9baa;
  margin-top: 2px;
}

.tcarousel-verified {
  font-size: 11.5px;
  font-weight: 600;
  color: #7df5c7;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.09);
  border: 1px solid rgba(46, 229, 157, 0.22);
}

.tcarousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tcarousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: width 0.26s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.tcarousel-dot:hover {
  background: rgba(255, 255, 255, 0.42);
}

.tcarousel-dot.active {
  width: 28px;
  background: #3df0ac;
  box-shadow: 0 0 12px rgba(46, 229, 157, 0.6);
}

/* Floating Luxury Cart Drawer Refinement */
.cart-backdrop {
  padding: 14px;
  background: rgba(2, 5, 8, 0.62);
  backdrop-filter: blur(10px);
}

.cart-drawer {
  width: min(430px, 100%);
  height: 100%;
  border-radius: 24px;
  background:
    radial-gradient(360px circle at 100% 0%, rgba(46, 229, 157, 0.1), transparent 55%),
    rgba(9, 15, 19, 0.92);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cart-drawer-head {
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.cart-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-head-ico {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.26);
  color: #6ef7c0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-head-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #b4c2cf;
}

.cart-close-btn {
  border-radius: 50%;
  width: 34px;
  height: 34px;
}

.cart-drawer-body {
  padding: 18px 22px;
  gap: 18px;
}

.cart-items-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-card {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.065);
  gap: 12px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.cart-item-card:hover {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.036);
}

.cart-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.cart-item-price strong {
  font-size: 15.5px;
  font-weight: 800;
  color: #d4faea;
}

.cart-item-price span {
  font-size: 11.5px;
  color: #8797a6;
}

.cart-qty-val {
  font-size: 12.5px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  color: #eef5fa;
}

.cart-block {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cart-block-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7c8c9b;
}

.billing-plan-btn {
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
}

.billing-plan-btn.active {
  background: linear-gradient(135deg, rgba(46, 229, 157, 0.15), rgba(16, 185, 129, 0.08));
  border-color: rgba(46, 229, 157, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Integrated Single-Capsule Coupon Input */
.cart-coupon-capsule {
  display: flex;
  align-items: center;
  padding: 4px 4px 4px 12px;
  border-radius: 13px;
  background: rgba(4, 8, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.cart-coupon-capsule:focus-within {
  border-color: rgba(46, 229, 157, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.12);
}

.cart-coupon-capsule input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 6px 8px 6px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  text-transform: uppercase;
  color: #eef5fa;
  outline: none;
}

.cart-coupon-apply-btn {
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #e6eff6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cart-coupon-apply-btn:hover {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.35);
  color: #86fcd0;
}

.cart-coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 13px;
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #86fcd0;
  font-size: 12.5px;
}

.cart-coupon-rm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #d4faea;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-coupon-rm:hover {
  background: rgba(239, 68, 68, 0.24);
  color: #fff;
}

.cart-perks-strip {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  font-weight: 500;
  color: #8797a6;
}

.cart-empty-state {
  margin: auto 0;
  text-align: center;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cart-empty-orb {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(46, 229, 157, 0.08);
  border: 1px solid rgba(46, 229, 157, 0.2);
  color: #6ef7c0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cart-empty-state h3 {
  margin: 0;
  font-size: 16px;
}

.cart-empty-state p {
  margin: 0;
  font-size: 13px;
  color: #8a99a8;
  max-width: 260px;
}

.cart-drawer-foot {
  padding: 18px 22px 22px;
  background: rgba(5, 9, 13, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 14px;
}

.cart-total-glow {
  font-size: 20px;
  color: #8cfad0;
  text-shadow: 0 0 20px rgba(46, 229, 157, 0.28);
  font-variant-numeric: tabular-nums;
}

.cart-checkout-primary-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(134, 252, 208, 0.45);
  background: linear-gradient(135deg, #3df0ac 0%, #14b87a 100%);
  color: #031a12;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(46, 229, 157, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-checkout-primary-btn:hover {
  background: linear-gradient(135deg, #56f4ba 0%, #1bc887 100%);
  box-shadow: 0 16px 36px rgba(46, 229, 157, 0.4);
  transform: translateY(-1px);
}

.pkg-cart-locked {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #c2d0dc !important;
  box-shadow: none !important;
}

.pkg-cart-locked:hover {
  background: rgba(46, 229, 157, 0.14) !important;
  border-color: rgba(46, 229, 157, 0.34) !important;
  color: #86fcd0 !important;
}

@media (max-width: 720px) {
  .tcarousel-stage {
    gap: 10px;
  }
  .tcarousel-card {
    padding: 26px 22px 22px;
  }
  .tcarousel-arrow {
    width: 36px;
    height: 36px;
  }
  .cart-backdrop {
    padding: 0;
  }
  .cart-drawer {
    border-radius: 0;
  }
}

/* ==========================================================================
   BEKOFF ORIGINAL LAYERED DECK TESTIMONIALS + INTERACTIVE AUTHOR PILL SWITCHER
   ========================================================================== */

.tdeck-wrap {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.tdeck-card {
  position: relative;
  width: 100%;
  padding: 30px 34px 28px;
  border-radius: 26px;
  background:
    radial-gradient(420px circle at 0% 0%, rgba(46, 229, 157, 0.11), transparent 58%),
    radial-gradient(320px circle at 100% 100%, rgba(13, 148, 136, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(16, 24, 30, 0.78) 0%, rgba(9, 14, 19, 0.86) 100%);
  border: 1px solid rgba(46, 229, 157, 0.16);
  backdrop-filter: blur(24px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: tFadeIn 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle stacked depth layer peeking cleanly beneath the card */
.tdeck-card::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -9px;
  height: 18px;
  border-radius: 0 0 22px 22px;
  background: rgba(12, 20, 25, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-top: none;
  z-index: -1;
  pointer-events: none;
}

.tdeck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.tdeck-counter {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #5cf2b8;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.tdeck-counter em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  color: #667584;
}

.tdeck-top-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tdeck-stars {
  font-size: 13px;
  letter-spacing: 2px;
  color: #3df0ac;
  text-shadow: 0 0 12px rgba(46, 229, 157, 0.4);
}

.tdeck-quote {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: #e4edf4;
  min-height: 92px;
}

.tdeck-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5cf2b8 0%, rgba(16, 185, 129, 0.2) 100%);
  box-shadow: 0 0 14px rgba(46, 229, 157, 0.45);
}

.tdeck-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.tdeck-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 229, 157, 0.2), rgba(10, 18, 22, 0.92));
  border: 1px solid rgba(46, 229, 157, 0.36);
  box-shadow: 0 8px 22px rgba(46, 229, 157, 0.14);
  color: #e4effb;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.tdeck-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tdeck-arrows {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tdeck-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.032);
  color: #9aaab9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tdeck-nav-btn:hover {
  color: #8cfad0;
  background: rgba(46, 229, 157, 0.12);
  border-color: rgba(46, 229, 157, 0.3);
  transform: translateY(-1px);
}

/* Interactive Bottom Author Pill Switcher with Live Auto-Progress Bar */
.tdeck-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.tdeck-tab {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 8px 9px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(13, 20, 25, 0.56);
  backdrop-filter: blur(14px);
  color: #8999a8;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.tdeck-tab:hover {
  color: #e4edf4;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(18, 28, 34, 0.72);
  transform: translateY(-1px);
}

.tdeck-tab.active {
  color: #eefaf4;
  background: rgba(14, 28, 24, 0.82);
  border-color: rgba(46, 229, 157, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 18px rgba(46, 229, 157, 0.1);
}

.tdeck-tab-mono {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #93a3b2;
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tdeck-tab.active .tdeck-tab-mono {
  background: rgba(46, 229, 157, 0.2);
  color: #7df5c7;
}

.tdeck-tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #10b981, #5cf2b8);
  box-shadow: 0 0 8px rgba(46, 229, 157, 0.75);
  transform-origin: left center;
  animation: tDeckProgress 6.5s linear forwards;
}

@keyframes tDeckProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 680px) {
  .tdeck-card {
    padding: 24px 20px 22px;
  }
  .tdeck-quote {
    font-size: 15px;
    padding-left: 16px;
  }
}

/* ==========================================================================
   CENTERED FLOATING "LÜTFEN GİRİŞ YAPINIZ" GLASS BUBBLE
   ========================================================================== */

.login-bubble-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(2, 6, 9, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-bubble-card {
  width: min(370px, 100%);
  padding: 30px 28px 26px;
  border-radius: 26px;
  text-align: center;
  background:
    radial-gradient(280px circle at 50% 0%, rgba(46, 229, 157, 0.14), transparent 65%),
    rgba(10, 17, 22, 0.94);
  border: 1px solid rgba(46, 229, 157, 0.24);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bubblePop 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bubblePop {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.login-bubble-orb {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.32);
  color: #6ef7c0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 10px 26px rgba(46, 229, 157, 0.16);
}

.login-bubble-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f2f7fa;
}

.login-bubble-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: #93a3b2;
  max-width: 290px;
}

.login-bubble-actions {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-bubble-primary {
  width: 100%;
  height: 44px;
  border-radius: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 700;
  color: #031a12;
  background: linear-gradient(135deg, #3df0ac 0%, #14b87a 100%);
  border: 1px solid rgba(134, 252, 208, 0.48);
  box-shadow: 0 10px 26px rgba(46, 229, 157, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.18s ease;
}

.login-bubble-primary:hover {
  background: linear-gradient(135deg, #56f4ba 0%, #1bc887 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(46, 229, 157, 0.38);
}

.login-bubble-close {
  width: 100%;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #9aa8b6;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.login-bubble-close:hover {
  background: rgba(255, 255, 255, 0.075);
  color: #eef5fa;
}

/* ==========================================================================
   AIRY TWILIGHT-SLATE ATMOSPHERE & ELEVATED FLOATING FOOTER
   Lifts pitch-black voids into a breathable, luminous slate-emerald canvas
   ========================================================================== */

:root {
  --bg-0: #0c141c;
  --bg-1: #121d28;
  --bg-2: #182735;
  --bg-3: #203344;
  --bg-hover: #294055;
  --bg-glass: rgba(24, 37, 49, 0.74);
  --bg-glass-strong: rgba(21, 33, 44, 0.9);
  --surface-soft: linear-gradient(180deg, rgba(30, 45, 58, 0.68) 0%, rgba(20, 32, 43, 0.64) 100%);
  --surface-soft-hover: linear-gradient(180deg, rgba(37, 55, 70, 0.8) 0%, rgba(25, 39, 52, 0.74) 100%);
  --surface-recessed: rgba(14, 24, 33, 0.52);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-hover: rgba(46, 229, 157, 0.32);
  --shadow-soft: 0 12px 30px rgba(3, 8, 14, 0.22);
  --shadow-soft-hover: 0 18px 40px rgba(3, 8, 14, 0.3);
  --text-soft-0: #f3f8fc;
  --text-soft-1: #b4c4d2;
  --text-soft-2: #879aab;
  --text-0: #f3f8fc;
  --text-1: #b4c4d2;
  --text-2: #879aab;
}

html,
body {
  background-color: #0c141c;
}

body {
  background-color: #0c141c;
  background-image:
    radial-gradient(ellipse 82% 46% at 50% -6%, rgba(46, 229, 157, 0.16), transparent 64%),
    radial-gradient(ellipse 56% 42% at 12% 46%, rgba(20, 184, 166, 0.11), transparent 66%),
    radial-gradient(ellipse 56% 42% at 88% 62%, rgba(56, 189, 248, 0.085), transparent 66%),
    radial-gradient(ellipse 85% 44% at 50% 104%, rgba(46, 229, 157, 0.13), transparent 66%),
    radial-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed, fixed, fixed, fixed, scroll;
}

.orb {
  opacity: 0.32;
}

.orb-1 {
  background: radial-gradient(circle, rgba(46, 229, 157, 0.72), transparent 70%);
}

.orb-2 {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.62), transparent 70%);
}

.orb-3 {
  opacity: 0.22;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
}

/* Lift Cards, Panels & Controls Out of Heavy Black */
.package-card {
  background: linear-gradient(180deg, rgba(30, 45, 58, 0.74) 0%, rgba(20, 32, 43, 0.78) 100%);
  border-color: rgba(255, 255, 255, 0.095);
  box-shadow: 0 16px 38px rgba(3, 8, 14, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.package-card:hover {
  background: linear-gradient(180deg, rgba(36, 54, 69, 0.84) 0%, rgba(24, 38, 50, 0.84) 100%);
  border-color: rgba(46, 229, 157, 0.34);
  box-shadow: 0 22px 46px rgba(3, 8, 14, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.package-card.bespoke-bot-card {
  background:
    radial-gradient(500px circle at 100% 50%, rgba(46, 229, 157, 0.16), transparent 64%),
    radial-gradient(380px circle at 0% 0%, rgba(20, 184, 166, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(30, 46, 59, 0.78) 0%, rgba(20, 32, 43, 0.82) 100%);
  border-color: rgba(46, 229, 157, 0.28);
}

.tdeck-card {
  background:
    radial-gradient(440px circle at 0% 0%, rgba(46, 229, 157, 0.14), transparent 58%),
    radial-gradient(340px circle at 100% 100%, rgba(20, 184, 166, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(30, 45, 58, 0.78) 0%, rgba(20, 32, 43, 0.84) 100%);
  border-color: rgba(46, 229, 157, 0.22);
  box-shadow: 0 20px 50px rgba(3, 8, 14, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.tdeck-card::after {
  background: rgba(24, 38, 49, 0.62);
  border-color: rgba(255, 255, 255, 0.08);
}

.tdeck-tab {
  background: rgba(25, 39, 51, 0.64);
  border-color: rgba(255, 255, 255, 0.095);
  color: #a9bac9;
}

.tdeck-tab:hover {
  background: rgba(34, 51, 66, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
}

.tdeck-tab.active {
  background: rgba(22, 47, 45, 0.86);
  border-color: rgba(46, 229, 157, 0.4);
}

.faq-item {
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.68) 0%, rgba(20, 32, 43, 0.66) 100%);
  border-color: rgba(255, 255, 255, 0.095);
}

.faq-item:hover,
.faq-item[open] {
  background: linear-gradient(180deg, rgba(34, 51, 66, 0.78) 0%, rgba(23, 37, 49, 0.76) 100%);
  border-color: rgba(46, 229, 157, 0.26);
}

.sidebar {
  background: rgba(16, 26, 35, 0.84);
  border-right-color: rgba(255, 255, 255, 0.085);
}

.topbar {
  background: rgba(15, 25, 34, 0.74);
  border-bottom-color: rgba(255, 255, 255, 0.085);
}

.store-nav.store-nav-transparent,
.portal-shell .store-nav.store-nav-transparent {
  background: linear-gradient(180deg, rgba(12, 20, 28, 0.42) 0%, rgba(12, 20, 28, 0.06) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.055);
}

.modal-card {
  background:
    radial-gradient(360px circle at 50% 0%, rgba(46, 229, 157, 0.1), transparent 62%),
    rgba(20, 32, 43, 0.95);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 70px rgba(3, 8, 14, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cart-drawer {
  background:
    radial-gradient(360px circle at 100% 0%, rgba(46, 229, 157, 0.14), transparent 58%),
    rgba(19, 31, 42, 0.94);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 68px rgba(3, 8, 14, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.login-bubble-backdrop {
  background: rgba(8, 16, 23, 0.52);
}

.login-bubble-card {
  background:
    radial-gradient(280px circle at 50% 0%, rgba(46, 229, 157, 0.18), transparent 65%),
    rgba(21, 34, 45, 0.94);
  border-color: rgba(46, 229, 157, 0.3);
  box-shadow: 0 24px 60px rgba(3, 8, 14, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Elevated, Airy Floating Glass Footer */
.store-footer {
  position: relative;
  margin-top: 64px;
  padding: 24px 24px 52px;
  border-top: none;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(46, 229, 157, 0.11), transparent 72%);
}

.store-footer-inner {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 30px;
  border-radius: 22px;
  background:
    radial-gradient(360px circle at 0% 50%, rgba(46, 229, 157, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(31, 47, 61, 0.74) 0%, rgba(21, 34, 45, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.105);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 18px 46px rgba(3, 8, 14, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
}

.store-footer-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 232, 165, 0.65), transparent);
  pointer-events: none;
}

.store-footer .store-brand {
  gap: 13px;
}

.store-footer .store-brand strong {
  font-size: 15.5px;
  letter-spacing: -0.015em;
  color: #f3f8fc;
}

.store-footer .help-text {
  font-size: 12.5px;
  color: #96a9ba;
  margin-top: 2px;
}

.store-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-link-btn,
.store-footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.032);
  color: #bfd0de;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.footer-link-btn:hover,
.store-footer-links a:hover {
  color: #ecfff7;
  background: rgba(46, 229, 157, 0.13);
  border-color: rgba(46, 229, 157, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .store-footer {
    padding: 18px 16px 38px;
  }
  .store-footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
  }
  .store-footer .store-brand {
    justify-content: center;
  }
  .store-footer-links {
    justify-content: center;
  }
}

/* ==========================================================================
   BEKOFF SIGNATURE CENTERED SPLIT-COLUMN FLOATING CART SHEET
   Architectural 2-column order sheet replacing the generic right drawer
   ========================================================================== */

.cart-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 14, 21, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cart-drawer {
  position: relative;
  width: min(860px, 100%);
  height: auto;
  max-height: min(680px, 90vh);
  border-radius: 26px;
  background:
    radial-gradient(500px circle at 0% 0%, rgba(46, 229, 157, 0.14), transparent 56%),
    radial-gradient(420px circle at 100% 100%, rgba(20, 184, 166, 0.11), transparent 58%),
    linear-gradient(180deg, rgba(24, 37, 49, 0.96) 0%, rgba(16, 26, 36, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 32px 90px rgba(3, 8, 14, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: csheetPop 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.cart-drawer-empty {
  width: min(500px, 100%);
}

.cart-drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 232, 165, 0.72), transparent);
  pointer-events: none;
  z-index: 2;
}

@keyframes csheetPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cart-drawer-head {
  padding: 20px 26px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-head-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  padding: 7px;
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.3);
  box-shadow: 0 8px 22px rgba(46, 229, 157, 0.14);
}

.cart-head-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cart-head-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cart-head-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.14);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #8cfad0;
}

.cart-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-clear-all-btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  padding: 6px 12px;
  color: #a6b7c6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cart-clear-all-btn:hover {
  color: #ffb0b0;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.32);
}

.cart-drawer-body {
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

/* Split-Column Architecture */
.csheet-split {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  min-height: 430px;
}

.csheet-left {
  padding: 22px 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.csheet-right {
  padding: 22px 26px 24px 24px;
  background: rgba(11, 20, 28, 0.42);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.csheet-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.csheet-col-meta {
  font-size: 12px;
  font-weight: 600;
  color: #889bab;
}

.csheet-save-mini {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.15);
  color: #7df5c7;
}

/* Architectural Bot Ticket Cards */
.csheet-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.csheet-item {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(35, 51, 65, 0.62) 0%, rgba(23, 36, 48, 0.66) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.csheet-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.csheet-item-accent {
  width: 4px;
  flex-shrink: 0;
  background: var(--item-accent, #2ee59d);
  box-shadow: 0 0 14px var(--item-accent, #2ee59d);
  opacity: 0.9;
}

.csheet-item-body {
  flex: 1;
  min-width: 0;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.csheet-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.csheet-item-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.csheet-item-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8ca0b2;
}

.csheet-item-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #f3f8fc;
}

.csheet-item-rm {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #7f93a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.csheet-item-rm:hover {
  color: #ff9c9c;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.28);
}

.csheet-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.csheet-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(11, 20, 28, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.csheet-step-btn {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #c7d6e3;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.csheet-step-btn:hover {
  background: rgba(46, 229, 157, 0.16);
  color: #8cfad0;
}

.csheet-step-val {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #f3f8fc;
  font-variant-numeric: tabular-nums;
}

.csheet-item-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.csheet-item-price strong {
  font-size: 16px;
  font-weight: 800;
  color: #d7fcec;
}

.csheet-item-price span {
  font-size: 11.5px;
  color: #8ea2b4;
}

/* Smart Companion Quick-Add Strip */
.csheet-upsell {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.csheet-upsell-row,
.csheet-empty-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.csheet-empty-picks {
  justify-content: center;
  margin-top: 6px;
}

.csheet-upsell-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.085);
  color: #d2e0ec;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.csheet-upsell-chip strong {
  color: #7df5c7;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.csheet-upsell-plus {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(46, 229, 157, 0.16);
  color: #7df5c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.csheet-upsell-chip:hover {
  background: rgba(46, 229, 157, 0.13);
  border-color: rgba(46, 229, 157, 0.34);
  transform: translateY(-1px);
}

/* Right Column: 4-Segment Compact Billing Track */
.csheet-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.csheet-plan-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(10, 18, 26, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.csheet-plan-seg {
  padding: 9px 4px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #a6b7c6;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.16s ease;
}

.csheet-plan-seg strong {
  font-size: 12.5px;
  font-weight: 700;
}

.csheet-plan-seg span {
  font-size: 10px;
  font-weight: 700;
  color: #73889b;
}

.csheet-plan-seg:hover {
  color: #eef6fc;
  background: rgba(255, 255, 255, 0.045);
}

.csheet-plan-seg.active {
  background: linear-gradient(180deg, rgba(46, 229, 157, 0.22) 0%, rgba(16, 185, 129, 0.14) 100%);
  border-color: rgba(46, 229, 157, 0.42);
  color: #ecfff7;
  box-shadow: 0 6px 16px rgba(46, 229, 157, 0.14);
}

.csheet-plan-seg.active span {
  color: #7df5c7;
}

/* Receipt Breakdown Surface */
.csheet-receipt {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(27, 41, 54, 0.7) 0%, rgba(18, 29, 39, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.csheet-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.8px;
  color: #a9bac8;
  font-variant-numeric: tabular-nums;
}

.csheet-receipt-row.is-discount {
  color: #6ef7c0;
  font-weight: 600;
}

.csheet-free-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #6ef7c0;
}

.csheet-receipt-divider {
  height: 1px;
  margin: 4px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.csheet-total-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.csheet-total-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #eef6fc;
}

.csheet-total-sub {
  font-size: 11px;
  color: #889bab;
  margin-top: 2px;
}

.csheet-total-val-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.csheet-total-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #8cfad0;
  text-shadow: 0 0 22px rgba(46, 229, 157, 0.28);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.csheet-savings-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.16);
  color: #7df5c7;
}

.csheet-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  font-size: 11px;
  font-weight: 600;
  color: #8ca0b2;
}

.csheet-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.csheet-trust-bar svg {
  color: #5cf2b8;
  flex-shrink: 0;
}

/* Empty State inside Centered Sheet */
.csheet-empty {
  padding: 40px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.csheet-empty h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f3f8fc;
}

.csheet-empty p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #9bb0c2;
  max-width: 340px;
}

.cart-coupon-capsule {
  background: rgba(10, 18, 26, 0.56);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 780px) {
  .cart-backdrop {
    padding: 10px;
  }
  .cart-drawer {
    border-radius: 22px;
    max-height: 92vh;
  }
  .csheet-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .csheet-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
  }
  .csheet-right {
    padding: 18px;
  }
}

/* ==========================================================================
   BEKOFF HUB — PROTECTED ONBOARDING / LOCKED GATE CARD
   Clean single-focus state for logged-in visitors without an active license
   ========================================================================== */

.hub-locked-card {
  position: relative;
  overflow: hidden;
  padding: 44px 32px 34px;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(460px circle at 50% 0%, rgba(46, 229, 157, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(29, 44, 57, 0.76) 0%, rgba(19, 31, 42, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 54px rgba(3, 8, 14, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hub-locked-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 232, 165, 0.7), transparent);
  pointer-events: none;
}

.hub-locked-orb {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(46, 229, 157, 0.13);
  border: 1px solid rgba(46, 229, 157, 0.34);
  color: #7df5c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(46, 229, 157, 0.18);
}

.hub-locked-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #8cfad0;
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.26);
}

.hub-locked-card h2 {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f3f8fc;
}

.hub-locked-desc {
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.65;
  color: #a9bac9;
}

.hub-locked-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.hub-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(13, 23, 32, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.085);
  font-size: 12.5px;
  font-weight: 600;
  color: #dce7f0;
}

.hub-step-chip span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: #5cf2b8;
}

.hub-locked-actions {
  margin-top: 8px;
}

.hub-locked-actions .btn {
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 13px;
}

.hub-locked-id-bar {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 13px;
  background: rgba(11, 20, 28, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12.5px;
  color: #93a7b8;
}

.hub-id-copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 10px;
  color: #e6f2fa;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hub-id-copy-btn:hover {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.34);
  color: #8cfad0;
}

/* ==========================================================================
   BEKOFF ADMIN COMMAND CENTER — CALM, HIGH-CRAFT LINEAR / VERCEL OVERHAUL
   Eliminates visual noise, rainbow clutter & screaming repeated CTAs
   ========================================================================== */

/* Slimmer, calmer sidebar */
.sidebar {
  width: 256px;
  padding: 18px 14px 14px;
  background: linear-gradient(180deg, rgba(16, 26, 36, 0.92) 0%, rgba(12, 20, 29, 0.94) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-section-header.nav-section-first {
  margin-top: 2px;
}

.sidebar .nav-item {
  padding: 8px 10px;
  border-radius: 10px;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.sidebar .nav-item.active {
  background: rgba(46, 229, 157, 0.11);
  border-color: rgba(46, 229, 157, 0.24);
  color: #ebfff7;
  box-shadow: none;
}

.sidebar .nav-item .nav-svg {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-bot-slim {
  padding: 6px 9px !important;
  gap: 9px !important;
}

.nav-bot-avatar-wrap.slim {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.nav-bot-avatar-wrap.slim .nav-bot-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.nav-bot-slim .nav-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.8px;
  font-weight: 500;
  text-align: left;
}

.nav-bot-slim.active .nav-label {
  font-weight: 700;
}

.nav-bot-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.14);
  color: #7df5c7;
  flex-shrink: 0;
}

.nav-bot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-bot-dot.online {
  background: #2ee59d;
  box-shadow: 0 0 8px rgba(46, 229, 157, 0.7);
}

.nav-bot-dot.offline {
  background: #64748b;
}

.sidebar-portal-btn {
  justify-content: center !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
}

.topbar {
  height: 60px;
  padding: 0 32px;
  background: rgba(14, 23, 32, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.page-container {
  max-width: 1260px;
  padding: 28px 32px 72px;
}

/* Single-Row Command Header */
.adm-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 22px;
}

.adm-header-left h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f3f8fc;
}

.adm-header-left p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #93a7b9;
}

.adm-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.adm-ghost-btn {
  height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: #bfd0de;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f3f8fc;
}

.adm-cta-btn {
  height: 36px;
  padding: 0 15px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

/* Unified Architectural Telemetry Strip (Replaces 4 Rainbow KPI Boxes) */
.adm-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(16, 24, 38, 0.78) 0%, rgba(9, 14, 23, 0.88) 100%);
  border: 1px solid rgba(214, 229, 247, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(238, 244, 252, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.adm-kpi-cell {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: background 0.18s ease;
}

.adm-kpi-cell:hover {
  background: rgba(255, 255, 255, 0.02);
}

.adm-kpi-cell:last-child {
  border-right: none;
}

.adm-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CB4CE;
}

.adm-kpi-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #EEF4FC;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.adm-kpi-val span {
  font-size: 14px;
  font-weight: 600;
  color: #7c91a4;
}

.adm-kpi-val.is-mint {
  color: #2ee59d;
}

.adm-kpi-val.is-warn {
  color: #fbbf24;
}

.adm-kpi-hint {
  font-size: 12px;
  color: #7a8e9f;
}

/* Filter Pills + Search + View Switcher Toolbar */
.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.adm-filter-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(14, 21, 32, 0.75);
  border: 1px solid rgba(214, 229, 247, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.adm-filter-pill {
  border: 1px solid transparent;
  background: transparent;
  color: #9bb0c2;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
}

.adm-filter-pill em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #8fa3b5;
}

.adm-filter-pill:hover {
  color: #eef6fc;
}

.adm-filter-pill.active {
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.28);
  color: #ecfff7;
}

.adm-filter-pill.active em {
  background: rgba(46, 229, 157, 0.22);
  color: #8cfad0;
}

.adm-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(14, 21, 32, 0.75);
  border: 1px solid rgba(214, 229, 247, 0.1);
  color: #8296a8;
  width: 220px;
  transition: all 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.adm-search-box:focus-within {
  border-color: rgba(46, 229, 157, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  width: 240px;
}

.adm-search-box input {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 13px;
  color: #EEF4FC;
  outline: none;
}

.adm-view-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 12px;
  background: rgba(14, 21, 32, 0.75);
  border: 1px solid rgba(214, 229, 247, 0.1);
}

.adm-view-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #8296a8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-view-btn:hover {
  color: #EEF4FC;
}

.adm-view-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #2ee59d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
  background: rgba(14, 24, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  gap: 2px;
}

.adm-view-btn {
  width: 30px;
  height: 28px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #8296a8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-view-btn:hover {
  color: #eef6fc;
}

.adm-view-btn.active {
  background: rgba(46, 229, 157, 0.16);
  color: #7df5c7;
}

/* ==========================================================================
   ADMIN KONTROL MERKEZİ — BENTO BOT KARTLARI (YENİ MİMARİ)
   ========================================================================== */

.adm-bots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.adm-bot-card {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(16, 24, 38, 0.85) 0%, rgba(9, 14, 23, 0.92) 100%);
  border: 1px solid rgba(214, 229, 247, 0.1);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(238, 244, 252, 0.08);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1),
              border-color 0.22s ease,
              box-shadow 0.22s ease;
  overflow: hidden;
}

.adm-bot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 244, 252, 0.25) 30%, rgba(46, 229, 157, 0.4) 70%, transparent);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.adm-bot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 229, 157, 0.35);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.48), 0 0 28px rgba(46, 229, 157, 0.08), inset 0 1px 0 rgba(238, 244, 252, 0.16);
}

.adm-bot-card:hover::before {
  opacity: 1;
}

/* Card Header */
.adm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.adm-card-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.adm-avatar-box {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 229, 247, 0.16);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.adm-bot-card:hover .adm-avatar-box {
  border-color: rgba(46, 229, 157, 0.4);
  transform: scale(1.02);
}

.adm-avatar-box.sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.adm-avatar-box .bot-avatar {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.adm-status-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2.5px solid #0d1522;
}

.adm-status-dot.online {
  background: #2ee59d;
  box-shadow: 0 0 10px rgba(46, 229, 157, 0.6);
}

.adm-status-dot.offline {
  background: #64748b;
}

.adm-card-titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.adm-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.adm-card-titles h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #EEF4FC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

.adm-bot-card:hover .adm-card-titles h3 {
  color: #ffffff;
}

.adm-card-handle {
  font-size: 11.5px;
  font-weight: 500;
  color: #9CB4CE;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.adm-kind-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.adm-kind-chip.core {
  background: rgba(255, 255, 255, 0.06);
  color: #9eb2c4;
}

.adm-kind-chip.shared {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.adm-kind-chip.clone {
  background: rgba(46, 229, 157, 0.14);
  color: #7df5c7;
  border: 1px solid rgba(46, 229, 157, 0.28);
}

/* State Pill (Aktif / Kapalı) */
.adm-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.adm-state-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.adm-state-pill.online {
  background: rgba(46, 229, 157, 0.08);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #2ee59d;
}

.adm-state-pill.online .adm-state-pulse {
  background: #2ee59d;
  box-shadow: 0 0 8px rgba(46, 229, 157, 0.8);
  animation: admLivePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes admLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.15); }
}

.adm-state-pill.offline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #93a7b9;
}

.adm-state-pill.offline .adm-state-pulse {
  background: #64748b;
}

/* Telemetry Row — Sleek, Open, No Nested Dark Box! */
.adm-telemetry-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(214, 229, 247, 0.08);
  border-bottom: 1px solid rgba(214, 229, 247, 0.08);
  background: transparent;
  cursor: pointer;
}

.adm-tel-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 10px;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-tel-cell:first-child {
  padding-left: 2px;
}

.adm-tel-cell:last-child {
  border-right: none;
  padding-right: 2px;
}

.adm-tel-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7e94a8;
}

.adm-tel-val {
  font-size: 13px;
  font-weight: 700;
  color: #EEF4FC;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.adm-tel-val.has-load {
  color: #2ee59d;
}

/* Card Footer: Action Bar */
.adm-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.adm-manage-btn {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(214, 229, 247, 0.14);
  background: rgba(238, 244, 252, 0.05);
  color: #EEF4FC;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.adm-manage-btn-icon {
  display: inline-flex;
  align-items: center;
  color: #9CB4CE;
  transition: color 0.18s ease;
}

.adm-manage-arrow {
  color: #9CB4CE;
  transition: transform 0.2s ease, color 0.18s ease;
}

.adm-bot-card:hover .adm-manage-btn,
.adm-manage-btn:hover {
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.38);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(46, 229, 157, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.adm-bot-card:hover .adm-manage-btn-icon,
.adm-manage-btn:hover .adm-manage-btn-icon,
.adm-bot-card:hover .adm-manage-arrow,
.adm-manage-btn:hover .adm-manage-arrow {
  color: #2ee59d;
}

.adm-bot-card:hover .adm-manage-arrow,
.adm-manage-btn:hover .adm-manage-arrow {
  transform: translateX(3px);
}

.adm-manage-btn:active {
  transform: scale(0.98);
}

.adm-icon-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adm-ico-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #9ab0c2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.adm-ico-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.adm-ico-btn.is-restart:hover svg {
  transform: rotate(180deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.adm-ico-btn.is-stop:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.38);
  color: #fca5a5;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.2);
}

.adm-ico-btn.is-start:hover {
  background: rgba(46, 229, 157, 0.18);
  border-color: rgba(46, 229, 157, 0.42);
  color: #8cfad0;
  box-shadow: 0 4px 14px rgba(46, 229, 157, 0.2);
}

.adm-ico-btn.is-logs:hover {
  background: rgba(99, 197, 246, 0.15);
  border-color: rgba(99, 197, 246, 0.38);
  color: #93c5fd;
  box-shadow: 0 4px 14px rgba(99, 197, 246, 0.2);
}

/* Compact Table / List View */
.adm-list-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.7) 0%, rgba(19, 31, 42, 0.76) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 36px rgba(3, 8, 14, 0.22);
}

.adm-list-head,
.adm-list-row {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr 0.75fr 1.2fr 1.15fr;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
}

.adm-list-head {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7d92a5;
  background: rgba(11, 20, 28, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.adm-list-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.15s ease;
}

.adm-list-row:last-child {
  border-bottom: none;
}

.adm-list-row:hover {
  background: rgba(255, 255, 255, 0.032);
}

.adm-row-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  cursor: pointer;
}

.adm-row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.adm-row-text strong {
  font-size: 13.8px;
  font-weight: 700;
  color: #f3f8fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-row-text span {
  font-family: var(--mono);
  font-size: 11px;
  color: #8296a8;
}

.adm-row-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c4d3e0;
  font-variant-numeric: tabular-nums;
}

.adm-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

/* Harmonize Orders / Access / Bot Detail cards with the new calm style */
.order-card,
.bot-hero,
.field-card {
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.72) 0%, rgba(19, 31, 42, 0.76) 100%);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 30px rgba(3, 8, 14, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 1160px) {
  .adm-bots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-kpi-cell:nth-child(2) {
    border-right: none;
  }
  .adm-kpi-cell:nth-child(1),
  .adm-kpi-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}

@media (max-width: 760px) {
  .page-container {
    padding: 18px 16px 64px;
  }
  .adm-bots-grid {
    grid-template-columns: 1fr;
  }
  .adm-kpi-strip {
    grid-template-columns: 1fr;
  }
  .adm-kpi-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .adm-kpi-cell:last-child {
    border-bottom: none;
  }
  .adm-list-head {
    display: none;
  }
  .adm-list-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .adm-row-actions {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   SIDEBAR BOTTOM CONTROL DOCK + CLEAN STRUCTURED ADMIN ORDERS BOARD
   ========================================================================== */

.sidebar-dock-wrap {
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.sidebar-dock {
  display: flex;
  align-items: stretch;
  padding: 5px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(24, 38, 50, 0.78) 0%, rgba(14, 24, 34, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow: 0 10px 26px rgba(3, 8, 14, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.sidebar-dock-btn {
  flex: 1;
  min-width: 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 8px 4px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #9bb0c2;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sidebar-dock-btn:hover {
  background: rgba(46, 229, 157, 0.12);
  border-color: rgba(46, 229, 157, 0.24);
  color: #ecfff7;
}

.sidebar-dock-btn.is-danger {
  color: #d68b90;
}

.sidebar-dock-btn.is-danger:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ffb3b7;
}

.sidebar-dock-sep {
  width: 1px;
  margin: 7px 3px;
  background: rgba(255, 255, 255, 0.07);
}

/* Structured Admin Orders Stack */
.adm-orders-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adm-order-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.74) 0%, rgba(19, 31, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 32px rgba(3, 8, 14, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease;
}

.adm-order-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.adm-order-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: #64748b;
}

.adm-order-card.status-pending::before {
  background: #f5b938;
}

.adm-order-card.status-active::before,
.adm-order-card.status-completed::before {
  background: #2ee59d;
}

.adm-order-card.status-cancelled::before {
  background: #ef4444;
}

.adm-ord-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px 13px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.adm-ord-top-left,
.adm-ord-top-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.adm-ord-code {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #e6f3fc;
  background: rgba(11, 20, 28, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-ord-code:hover {
  border-color: rgba(46, 229, 157, 0.4);
  color: #8cfad0;
}

.adm-ord-badge-ok {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.13);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #8cfad0;
}

.adm-ord-badge-ref {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.adm-ord-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.adm-ord-price strong {
  font-size: 16px;
  font-weight: 800;
  color: #8cfad0;
}

.adm-ord-price span {
  font-size: 11.5px;
  font-weight: 600;
  color: #8da2b4;
}

.adm-ord-date {
  font-size: 12px;
  color: #7e93a6;
}

.adm-ord-del-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #8ea2b4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-ord-del-btn:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.adm-ord-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 20px 14px 22px;
}

.adm-ord-meta-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 20, 28, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.adm-ord-meta-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #768b9e;
}

.adm-ord-meta-box strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #f0f6fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-ord-meta-box code {
  font-size: 11px;
  color: #93a9bc;
  background: transparent;
  border: none;
  padding: 0;
}

.adm-ord-bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.adm-ord-bot-chips span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(46, 229, 157, 0.11);
  border: 1px solid rgba(46, 229, 157, 0.22);
  color: #bdfce4;
}

.adm-ord-note {
  margin: 0 20px 14px 22px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(11, 20, 28, 0.45);
  border-left: 2.5px solid rgba(46, 229, 157, 0.5);
  font-size: 12.5px;
  color: #c2d2e0;
}

.adm-ord-note span {
  font-weight: 700;
  color: #8cfad0;
  margin-right: 4px;
}

.adm-ord-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 14px 22px;
  background: rgba(11, 20, 28, 0.34);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-ord-foot-hint {
  font-size: 12px;
  color: #7e94a7;
}

.adm-ord-grant-btn {
  height: 33px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid rgba(46, 229, 157, 0.34);
  background: rgba(46, 229, 157, 0.14);
  color: #8cfad0;
  font-family: inherit;
  font-size: 12.2px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-ord-grant-btn:hover {
  background: linear-gradient(135deg, #3df0ac 0%, #14b87a 100%);
  color: #031c13;
  border-color: rgba(134, 252, 208, 0.5);
}

.adm-ord-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.adm-ord-select {
  height: 33px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
  width: 138px;
}

.adm-ord-input {
  height: 33px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 12.5px;
  width: 210px;
}

@media (max-width: 900px) {
  .adm-ord-meta-grid {
    grid-template-columns: 1fr;
  }
  .adm-ord-input {
    width: 100%;
    flex: 1;
  }
}

/* ==========================================================================
   BEKOFF ARCHITECTURAL RIGHT-SIDE NAVIGATION RAIL (APPLE / LINEAR PRECISION)
   Zero nested boxes, flush 60px topbar alignment, airy open typography
   ========================================================================== */

.app-shell {
  flex-direction: row-reverse;
}

.sidebar {
  position: relative;
  width: 268px;
  height: 100vh;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(320px circle at 100% 0%, rgba(46, 229, 157, 0.08), transparent 62%),
    rgba(13, 22, 31, 0.84);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  box-shadow: -12px 0 36px rgba(3, 8, 14, 0.22);
  overflow: hidden;
  gap: 0;
}

.sidebar::before {
  display: none;
}

/* Top Brand Lockup — Exact 60px Alignment with Main Topbar */
.sidebar-top {
  padding: 0;
  gap: 0;
  border-bottom: none;
}

.sidebar-brand {
  height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  gap: 11px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.sidebar-brand:hover {
  background: rgba(255, 255, 255, 0.035);
}

.sidebar-brand .brand-badge.sm {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  padding: 5px;
}

.sidebar-brand .brand-title {
  font-size: 14.5px;
  letter-spacing: -0.015em;
}

.sidebar-brand .brand-sub {
  font-size: 10.5px;
  color: #778da1;
}

/* Whisper-Light Connected Guild Strip (No Heavy Box) */
.guild-banner {
  margin: 14px 16px 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.guild-banner .guild-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.guild-banner .guild-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #e2edf6;
}

.guild-banner .guild-meta {
  font-size: 11px;
  color: #7a90a4;
}

/* Open, Airy Navigation List */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 16px;
  gap: 2px;
}

.sidebar .nav-section-header {
  margin-top: 18px;
  margin-bottom: 6px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #6b8196;
}

.sidebar .nav-section-header.nav-section-first {
  margin-top: 4px;
}

/* Bot group sub-headers inside bot-list */
.nav-section-bot-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  margin-bottom: 4px;
  padding: 0 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #566d80;
}

.nav-section-bot-group:first-child {
  margin-top: 0;
}

.nav-group-count {
  font-size: 9px;
  font-weight: 600;
  color: #4a6275;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 1px 6px;
  letter-spacing: 0;
}

/* Clean Borderless Primary Navigation Links */
.sidebar > .sidebar-nav > .nav-item {
  position: relative;
  padding: 9px 10px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: #9bb0c4;
  gap: 10px;
  font-size: 13.2px;
  font-weight: 500;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar > .sidebar-nav > .nav-item:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #f0f6fb;
  transform: none;
}

.sidebar > .sidebar-nav > .nav-item.active {
  background: linear-gradient(270deg, rgba(46, 229, 157, 0.14) 0%, rgba(46, 229, 157, 0.025) 100%);
  color: #effdf7;
  font-weight: 600;
  box-shadow: inset -2.5px 0 0 #2ee59d;
}

.sidebar > .sidebar-nav > .nav-item.active::after {
  display: none;
}

.sidebar > .sidebar-nav > .nav-item .nav-svg {
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #7c93a8;
  box-shadow: none;
}

.sidebar > .sidebar-nav > .nav-item:hover .nav-svg {
  color: #d6e4f0;
}

.sidebar > .sidebar-nav > .nav-item.active .nav-svg {
  background: transparent;
  border: none;
  color: #3df0ac;
  box-shadow: none;
}

/* Open Bot List (No Nested Dark Wrapper Box) */
.sidebar .bot-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.sidebar .nav-bot-slim {
  padding: 7px 10px !important;
  border-radius: 9px !important;
  border: none !important;
  background: transparent !important;
  gap: 10px !important;
  color: #9bb0c4 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.sidebar .nav-bot-slim:hover {
  background: rgba(255, 255, 255, 0.045) !important;
  color: #f0f6fb !important;
}

.sidebar .nav-bot-slim.active {
  background: linear-gradient(270deg, rgba(46, 229, 157, 0.14) 0%, rgba(46, 229, 157, 0.025) 100%) !important;
  color: #effdf7 !important;
  box-shadow: inset -2.5px 0 0 #2ee59d !important;
}

.nav-bot-avatar-wrap.slim {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.nav-bot-dot {
  width: 6px;
  height: 6px;
}

.nav-bot-dot.online {
  background: #2ee59d;
  box-shadow: 0 0 6px rgba(46, 229, 157, 0.65);
}

/* Feather-Light Seamless Bottom Utility Strip (No Heavy Dock Box) */
.sidebar-dock-wrap {
  padding: 10px 14px 12px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(9, 17, 25, 0.25);
}

.sidebar-dock {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  gap: 4px;
}

.sidebar-dock-sep {
  display: none;
}

.sidebar-dock-btn {
  padding: 8px 6px;
  border-radius: 9px;
  border: none;
  color: #8ba1b5;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
}

.sidebar-dock-btn:hover {
  background: rgba(255, 255, 255, 0.055);
  border: none;
  color: #eef6fc;
}

.sidebar-dock-btn.is-danger {
  color: #a97c82;
}

.sidebar-dock-btn.is-danger:hover {
  background: rgba(239, 68, 68, 0.12);
  border: none;
  color: #fca5a5;
}

/* Seamless Matching Topbar */
.topbar {
  height: 60px;
  background: rgba(13, 22, 31, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

/* Mobile Slide-In from Right */
@media (max-width: 920px) {
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .sidebar.open {
    transform: translateX(0);
  }
}

/* ==========================================================================
   ADMIN BOT GUILDS TAB (GLOBAL / PUBLIC BOT SERVER LIST)
   ========================================================================== */

.adm-guilds-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.adm-guilds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.adm-guild-card {
  padding: 15px 16px 13px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.72) 0%, rgba(19, 31, 42, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 26px rgba(3, 8, 14, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.adm-guild-card:hover {
  border-color: rgba(46, 229, 157, 0.28);
  transform: translateY(-1px);
}

.adm-guild-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.adm-guild-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.adm-guild-ico.fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 229, 157, 0.13);
  border-color: rgba(46, 229, 157, 0.28);
  color: #8cfad0;
  font-size: 13px;
  font-weight: 800;
}

.adm-guild-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.adm-guild-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: #f3f8fc;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-guild-id-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: #7d93a7;
  cursor: pointer;
  transition: color 0.15s ease;
}

.adm-guild-id-btn:hover {
  color: #8cfad0;
}

.adm-guild-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.adm-guild-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #9bb0c2;
  font-variant-numeric: tabular-nums;
}

.adm-guild-stats strong {
  color: #e6f2fa;
}

.adm-guild-stats .is-on {
  color: #5cf2b8;
  font-weight: 600;
}

.adm-guild-leave-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #9eb2c4;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-guild-leave-btn:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.38);
  color: #fca5a5;
}

@media (max-width: 1120px) {
  .adm-guilds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .adm-guilds-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BEKOFF HUB STUDIO — HORIZONTAL BOT RIBBON & FULL-WIDTH CONFIG CANVAS
   Distinct modern studio layout replacing stacked bars + left sidebar
   ========================================================================== */

.hub-studio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single Unified Studio Header */
.hub-studio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.74) 0%, rgba(19, 31, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow: 0 14px 36px rgba(3, 8, 14, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hub-studio-left,
.hub-studio-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hub-back-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: #bfd0de;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hub-back-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #f3f8fc;
}

.hub-head-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.09);
}

.hub-guild-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hub-guild-ico.fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.3);
  color: #8cfad0;
  font-weight: 800;
  font-size: 15px;
}

.hub-guild-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.hub-guild-title-wrap h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f3f8fc;
  line-height: 1.2;
}

.hub-guild-id-copy {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: #7d93a7;
  cursor: pointer;
  transition: color 0.15s ease;
}

.hub-guild-id-copy:hover {
  color: #8cfad0;
}

.hub-tool-btn {
  height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d0deea;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hub-tool-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f3f8fc;
}

.hub-tool-btn.primary {
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.32);
  color: #8cfad0;
}

.hub-tool-btn.primary:hover {
  background: linear-gradient(135deg, #3df0ac 0%, #14b87a 100%);
  color: #031c13;
  border-color: rgba(134, 252, 208, 0.5);
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.hub-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.hub-pill.online {
  background: rgba(46, 229, 157, 0.13);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #8cfad0;
}

.hub-pill.online i {
  background: #2ee59d;
  box-shadow: 0 0 8px rgba(46, 229, 157, 0.7);
}

.hub-pill.warn {
  background: rgba(245, 185, 56, 0.13);
  border: 1px solid rgba(245, 185, 56, 0.28);
  color: #fcd34d;
}

.hub-pill.warn i {
  background: #f5b938;
}

.hub-pill.info {
  background: rgba(56, 189, 248, 0.13);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
}

.hub-pill.neutral {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9eb2c4;
}

/* Distinctive Bot Category Emblem + Mini Live Avatar Badge */
.hub-emblem {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(46, 229, 157, 0.14) 0%, rgba(15, 29, 39, 0.72) 100%);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #79f4c4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-emblem.lg {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.hub-emblem.lg svg {
  width: 21px;
  height: 21px;
}

.hub-emblem.sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.hub-emblem-av {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #13212d;
  background: #0d1720;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hub-emblem.sm .hub-emblem-av {
  width: 15px;
  height: 15px;
  right: -3px;
  bottom: -3px;
}

/* Mode 1: Bento Module Showcase Gallery */
.hub-bento-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hub-bento-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 0;
}

.hub-bento-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f3f8fc;
}

.hub-bento-head p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #8ea3b6;
}

.hub-bento-count {
  font-size: 12px;
  font-weight: 700;
  color: #8cfad0;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.11);
  border: 1px solid rgba(46, 229, 157, 0.24);
}

.hub-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.hub-bento-card {
  position: relative;
  text-align: left;
  font-family: inherit;
  padding: 20px 20px 17px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.72) 0%, rgba(18, 30, 41, 0.8) 100%);
  box-shadow: 0 14px 36px rgba(3, 8, 14, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hub-bento-card::before {
  content: '';
  position: absolute;
  inset: 0 18px auto 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 232, 165, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hub-bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 229, 157, 0.4);
  background: linear-gradient(180deg, rgba(33, 51, 66, 0.84) 0%, rgba(20, 34, 46, 0.9) 100%);
  box-shadow: 0 22px 46px rgba(3, 10, 16, 0.34), 0 0 0 1px rgba(46, 229, 157, 0.14);
}

.hub-bento-card:hover::before {
  opacity: 1;
}

.hub-bento-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hub-bento-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.hub-bento-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.hub-bento-title-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #f3f8fc;
  line-height: 1.25;
}

.hub-bento-nick {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #8fa6ba;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-bento-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #93a7b9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hub-bento-meter {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 112px;
  flex: 1;
}

.hub-meter-text {
  font-size: 11px;
  font-weight: 600;
  color: #7f95a8;
}

.hub-meter-track {
  height: 4px;
  width: 100%;
  max-width: 126px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hub-meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #38e8a5);
}

.hub-bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #c5d6e4;
  white-space: nowrap;
  transition: color 0.16s ease, transform 0.16s ease;
}

.hub-bento-card:hover .hub-bento-cta {
  color: #7bf5c7;
  transform: translateX(2px);
}

/* Mode 2: Floating Bot Command Switcher inside Studio Header */
.hub-switcher-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-switcher-trigger {
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: 11px;
  border: 1px solid rgba(46, 229, 157, 0.32);
  background: rgba(46, 229, 157, 0.1);
  color: #eefbf5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hub-switcher-trigger:hover {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.5);
}

.hub-sw-ico {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(46, 229, 157, 0.16);
  color: #7df5c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hub-sw-ico svg {
  width: 14px;
  height: 14px;
}

.hub-sw-pos {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #8cfad0;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.16);
}

.hub-sw-chev {
  color: #8cfad0;
  transition: transform 0.18s ease;
}

.hub-switcher-trigger[aria-expanded='true'] .hub-sw-chev {
  transform: rotate(180deg);
}

.hub-step-group {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.hub-step-btn {
  width: 32px;
  height: 34px;
  border: none;
  background: transparent;
  color: #b7c9d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.hub-step-btn + .hub-step-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-step-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #f3f8fc;
}

.hub-switcher-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 520px;
  max-width: min(92vw, 520px);
  padding: 14px;
  border-radius: 18px;
  background: rgba(17, 29, 40, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 64px rgba(2, 7, 13, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 60;
}

.hub-sw-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.hub-sw-pop-head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8297aa;
}

.hub-sw-pop-all {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #7df5c7;
  cursor: pointer;
}

.hub-sw-pop-all:hover {
  text-decoration: underline;
}

.hub-sw-pop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hub-sw-pop-item {
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: #c5d4e2;
  font-family: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hub-sw-pop-item:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3f8fc;
}

.hub-sw-pop-item.active {
  background: rgba(46, 229, 157, 0.12);
  border-color: rgba(46, 229, 157, 0.36);
  color: #f3fff9;
}

.hub-sw-pop-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.hub-sw-pop-meta strong {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-sw-pop-meta small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #8297aa;
}

.hub-sw-pop-meta small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  display: inline-block;
}

.hub-sw-pop-meta small.tone-online {
  color: #6ef7c0;
}

.hub-sw-pop-meta small.tone-online i {
  background: #2ee59d;
}

.hub-sw-pop-meta small.tone-warn {
  color: #fbbf24;
}

.hub-sw-pop-meta small.tone-warn i {
  background: #f5b938;
}

.hub-sw-pop-meta small.tone-info {
  color: #7dd3fc;
}

.hub-sw-pop-meta small.tone-info i {
  background: #38bdf8;
}

.hub-sw-pop-check {
  color: #2ee59d;
  flex-shrink: 0;
}

/* Full-Width Configuration Canvas */
.hub-canvas {
  border-radius: 22px;
  padding: 24px 26px 26px;
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.72) 0%, rgba(19, 31, 42, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow: 0 18px 46px rgba(3, 8, 14, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hub-stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.hub-stage-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hub-stage-avatar,
.hub-stage-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
}

.hub-stage-avatar {
  object-fit: cover;
  border: 1px solid rgba(46, 229, 157, 0.36);
}

.hub-stage-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.28);
  color: #7df5c7;
}

.hub-stage-info {
  min-width: 0;
}

.hub-stage-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.hub-stage-title-row h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f3f8fc;
}

.hub-stage-info p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #93a7b9;
}

.hub-stage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Clean Contextual Action Strip (Nickname / Invite / White-Label) */
.hub-context-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 14px 18px;
  border-radius: 15px;
  background: rgba(11, 20, 28, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #2ee59d;
}

.hub-ctx-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 240px;
}

.hub-ctx-copy strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #eef6fc;
}

.hub-ctx-copy span {
  font-size: 12.5px;
  line-height: 1.5;
  color: #97acc0;
}

.hub-ctx-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hub-ctx-controls input {
  width: 240px;
  height: 36px;
}

/* Mint-Emerald Segmented Group Tabs (Replaces Old Purple Pills) */
.hub-group-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(11, 20, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.075);
  width: fit-content;
  max-width: 100%;
}

.hub-group-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #98adc0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hub-group-tab em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #8296a8;
}

.hub-group-tab:hover {
  color: #f0f7fc;
}

.hub-group-tab.active {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.34);
  color: #ecfff7;
}

.hub-group-tab.active em {
  background: rgba(46, 229, 157, 0.24);
  color: #8cfad0;
}

/* Open 2-Column Configuration Fields Grid */
.hub-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-field-tile {
  padding: 15px 16px;
  border-radius: 15px;
  background: rgba(12, 21, 30, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.hub-field-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(14, 24, 34, 0.56);
}

.hub-field-tile:focus-within {
  border-color: rgba(46, 229, 157, 0.38);
}

.hub-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hub-field-head label {
  font-size: 13px;
  font-weight: 600;
  color: #e6f1fa;
  line-height: 1.35;
}

.hub-field-cat {
  font-size: 10.5px;
  font-weight: 600;
  color: #7c92a6;
  white-space: nowrap;
}

.hub-empty-fields {
  padding: 32px 20px;
  text-align: center;
  border-radius: 15px;
  background: rgba(11, 20, 28, 0.38);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: #93a7b9;
  font-size: 13.5px;
}

.hub-empty-fields p {
  margin: 0;
}

@media (max-width: 1060px) {
  .hub-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hub-fields-grid {
    grid-template-columns: 1fr;
  }
  .hub-canvas {
    padding: 18px 16px;
  }
  .hub-ctx-controls input {
    width: 100%;
  }
  .hub-switcher-popover {
    left: 0;
    right: auto;
  }
}

@media (max-width: 640px) {
  .hub-bento-grid,
  .hub-sw-pop-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CHECKOUT CONFIRMATION SHEET — WIDE, SPACIOUS 2-COLUMN SPLIT
   Overrides base .modal-card max-width: 480px cleanly
   ========================================================================== */

#checkout-modal .modal-card.modal-xl {
  width: min(840px, 94vw);
  max-width: 840px;
}

#checkout-modal .modal-header {
  padding: 22px 26px 18px;
}

#checkout-modal .modal-body {
  padding: 22px 26px;
}

#checkout-modal .modal-footer {
  padding: 16px 26px 20px;
  justify-content: space-between;
}

#checkout-modal .checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(275px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.checkout-left-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.checkout-field-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-opt-tag {
  font-size: 11px;
  font-weight: 600;
  color: #7c93a8;
  margin-left: 4px;
}

.checkout-pay-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(46, 229, 157, 0.1) 0%, rgba(16, 30, 38, 0.65) 100%);
  border: 1px solid rgba(46, 229, 157, 0.34);
}

.checkout-pay-banner.is-pending {
  background: rgba(245, 185, 56, 0.08);
  border-color: rgba(245, 185, 56, 0.28);
}

.checkout-pay-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(46, 229, 157, 0.16);
  border: 1px solid rgba(46, 229, 157, 0.32);
  color: #7df5c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-pay-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.checkout-pay-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.checkout-pay-head strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f8fc;
}

.checkout-pay-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.18);
  border: 1px solid rgba(46, 229, 157, 0.32);
  color: #8cfad0;
  white-space: nowrap;
}

.checkout-pay-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #9cb1c4;
}

.checkout-note-area {
  width: 100%;
  resize: none;
  min-height: 68px;
}

.checkout-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.5;
  color: #aec1d2;
  padding-top: 2px;
}

.checkout-agree-row input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #2ee59d;
  flex-shrink: 0;
}

.checkout-agree-row a {
  color: #7df5c7;
  text-decoration: none;
  font-weight: 600;
}

.checkout-agree-row a:hover {
  text-decoration: underline;
}

#checkout-modal .checkout-summary-box {
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(11, 20, 29, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.085);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-summary-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8399ad;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.checkout-summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.checkout-summary-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.checkout-summary-item-info strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #f0f7fc;
}

.checkout-summary-item-info span {
  font-size: 11.5px;
  color: #7e94a8;
}

.checkout-summary-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #e4f0f9;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.checkout-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: #9cb1c4;
}

.checkout-sum-row strong,
.checkout-sum-row span:last-child {
  color: #e3eff8;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-sum-row .is-free {
  color: #5cf2b8 !important;
  font-weight: 700;
}

.checkout-sum-row.discount span:last-child {
  color: #5cf2b8;
  font-weight: 700;
}

.checkout-sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.checkout-sum-total span {
  font-size: 14px;
  font-weight: 700;
  color: #eef6fc;
  white-space: nowrap;
}

.checkout-sum-total strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7df5c7;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.checkout-trust-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.checkout-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #8da4b8;
}

.checkout-trust-list svg {
  color: #2ee59d;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  #checkout-modal .checkout-grid {
    grid-template-columns: 1fr;
  }
  #checkout-modal .modal-header,
  #checkout-modal .modal-body,
  #checkout-modal .modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ==========================================================================
   ADMIN SECURITY LOGS, RISK ANALYSIS & BAN MANAGEMENT
   ========================================================================== */

.adm-kpi-val.is-danger {
  color: #fda4af;
}

.adm-sec-ban-box {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 43, 56, 0.72) 0%, rgba(19, 31, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-sec-ban-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.adm-sec-ban-head strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f7fc;
}

.adm-sec-ban-head span {
  font-size: 12px;
  color: #889eb2;
}

.adm-sec-ban-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 130px auto;
  gap: 10px;
  align-items: center;
}

.adm-sec-ban-grid input,
.adm-sec-ban-grid select {
  height: 36px;
  font-size: 12.5px;
}

.adm-sec-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(12, 21, 30, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.adm-sec-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #93a7ba;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.adm-sec-tab em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #8296a8;
}

.adm-sec-tab:hover {
  color: #f0f7fc;
}

.adm-sec-tab.active {
  background: rgba(46, 229, 157, 0.16);
  border-color: rgba(46, 229, 157, 0.34);
  color: #ecfff7;
}

.adm-sec-tab.active em {
  background: rgba(46, 229, 157, 0.24);
  color: #8cfad0;
}

.adm-sec-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.adm-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 15px;
  background: rgba(21, 33, 45, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.adm-sec-row:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(24, 38, 51, 0.8);
}

.adm-sec-row.type-blocked {
  border-left: 3px solid #f43f5e;
  background: rgba(45, 22, 31, 0.45);
}

.adm-sec-row.is-suspect {
  border-left: 3px solid #f5b938;
}

.adm-sec-row-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.adm-sec-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  margin-top: 2px;
}

.adm-sec-av.fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 229, 157, 0.14);
  border-color: rgba(46, 229, 157, 0.28);
  color: #8cfad0;
  font-weight: 800;
  font-size: 13px;
}

.adm-sec-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.adm-sec-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.adm-sec-title-line strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f7fc;
}

.adm-sec-type {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.adm-sec-type.online {
  background: rgba(46, 229, 157, 0.15);
  color: #6ef7c0;
}

.adm-sec-type.neutral {
  background: rgba(255, 255, 255, 0.08);
  color: #a9bac9;
}

.adm-sec-type.danger {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

.adm-sec-type.info {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.adm-sec-flag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.adm-sec-flag.warn {
  background: rgba(245, 185, 56, 0.16);
  border: 1px solid rgba(245, 185, 56, 0.28);
  color: #fcd34d;
}

.adm-sec-flag.danger {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
}

.adm-sec-flag.neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #93a7b9;
}

.adm-sec-code,
.adm-sec-ip,
.adm-sec-ip-chip {
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #9bb1c5;
  padding: 1px 7px;
  border-radius: 6px;
  cursor: pointer;
}

.adm-sec-code:hover,
.adm-sec-ip:hover,
.adm-sec-ip-chip:hover {
  color: #8cfad0;
  border-color: rgba(46, 229, 157, 0.35);
}

.adm-sec-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 12px;
  color: #889eb2;
}

.adm-sec-note {
  font-size: 12px;
  color: #b4c6d6;
}

.adm-sec-ips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.adm-sec-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.adm-sec-ban-btn {
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(244, 63, 94, 0.34);
  background: rgba(244, 63, 94, 0.13);
  color: #fda4af;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-sec-ban-btn:hover {
  background: rgba(244, 63, 94, 0.26);
  color: #fff1f2;
}

.adm-sec-unban-btn {
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(46, 229, 157, 0.35);
  background: rgba(46, 229, 157, 0.14);
  color: #8cfad0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-sec-unban-btn:hover {
  background: rgba(46, 229, 157, 0.24);
  color: #ecfff7;
}

@media (max-width: 1020px) {
  .adm-sec-ban-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .adm-sec-ban-grid {
    grid-template-columns: 1fr;
  }
  .adm-sec-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   2026 PLATINUM CHROME & DEEP OBSIDIAN-SLATE LUXURY REBRAND
   Matches the beveled 3D Frosted Platinum 'B' monogram (#EEF4FC / #C4D4E8 / #162231)
   ========================================================================== */

:root {
  --bg-0: #090e15;
  --bg-1: #0e1622;
  --bg-2: #141f2e;
  --bg-3: #1b293b;
  --bg-hover: #22344b;
  --bg-glass: rgba(18, 27, 39, 0.78);
  --bg-glass-strong: rgba(15, 23, 34, 0.94);
  --surface-soft: linear-gradient(180deg, rgba(25, 36, 51, 0.74) 0%, rgba(16, 24, 35, 0.72) 100%);
  --surface-soft-hover: linear-gradient(180deg, rgba(31, 45, 63, 0.86) 0%, rgba(20, 30, 44, 0.82) 100%);
  --surface-recessed: rgba(11, 18, 27, 0.56);
  --accent: #dbe7f5;
  --accent-2: #9db6d4;
  --accent-hover: #edf4fc;
  --accent-soft: rgba(204, 222, 244, 0.14);
  --hairline: rgba(226, 238, 252, 0.095);
  --hairline-hover: rgba(220, 235, 252, 0.34);
  --shadow-soft: 0 16px 40px rgba(2, 6, 12, 0.36);
  --shadow-soft-hover: 0 24px 54px rgba(2, 6, 12, 0.46);
  --text-0: #f5f8fc;
  --text-1: #b6c4d6;
  --text-2: #8294aa;
  --text-soft-0: #f5f8fc;
  --text-soft-1: #b6c4d6;
  --text-soft-2: #8294aa;
}

html,
body {
  background-color: #090e15;
}

body {
  background-color: #090e15;
  background-image:
    radial-gradient(ellipse 84% 48% at 50% -8%, rgba(196, 218, 244, 0.14), transparent 64%),
    radial-gradient(ellipse 52% 40% at 10% 42%, rgba(126, 160, 206, 0.085), transparent 66%),
    radial-gradient(ellipse 54% 42% at 90% 62%, rgba(182, 206, 236, 0.075), transparent 66%),
    radial-gradient(ellipse 85% 44% at 50% 104%, rgba(158, 190, 228, 0.11), transparent 66%),
    radial-gradient(rgba(226, 238, 252, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-attachment: fixed, fixed, fixed, fixed, scroll;
}

.orb-1 {
  background: radial-gradient(circle, rgba(206, 224, 248, 0.45), transparent 70%);
}

.orb-2 {
  background: radial-gradient(circle, rgba(132, 166, 212, 0.38), transparent 70%);
}

.orb-3 {
  background: radial-gradient(circle, rgba(184, 208, 238, 0.3), transparent 70%);
}

/* Platinum Brand Monogram Lockup */
.brand-badge {
  background: linear-gradient(145deg, rgba(235, 244, 255, 0.11) 0%, rgba(22, 34, 49, 0.72) 100%);
  border: 1px solid rgba(224, 237, 252, 0.24);
  box-shadow:
    0 10px 26px rgba(3, 8, 15, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  padding: 6px;
}

.brand-logo-img {
  filter: drop-shadow(0 3px 8px rgba(10, 18, 28, 0.55));
}

.brand-title-accent {
  background: linear-gradient(135deg, #ffffff 0%, #c8daee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Hero Typography & Top Navigation */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #dbe7f5 46%, #93acc9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-eyebrow {
  background: rgba(20, 30, 43, 0.72);
  border-color: rgba(214, 229, 247, 0.2);
  color: #dce8f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section-tag {
  color: #bfd3ea;
  border-color: rgba(208, 224, 244, 0.22);
  background: rgba(208, 224, 244, 0.08);
}

.store-nav.store-nav-transparent,
.portal-shell .store-nav.store-nav-transparent {
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.64) 0%, rgba(9, 14, 21, 0.14) 100%);
  border-bottom-color: rgba(226, 238, 252, 0.075);
}

.nav-pill-btn.nav-pill-mint {
  color: #f0f6fd;
  background: rgba(214, 229, 247, 0.11);
  border-color: rgba(214, 229, 247, 0.28);
  box-shadow: 0 8px 22px rgba(4, 9, 16, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-pill-btn.nav-pill-mint:hover {
  color: #080e16;
  background: linear-gradient(135deg, #f7faff 0%, #d4e2f2 55%, #b5c7dd 100%);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(196, 218, 244, 0.25);
}

.nav-user-inner .user-avatar,
.nav-user-avatar {
  border-color: rgba(214, 229, 247, 0.35);
}

.nav-user-avatar-fallback {
  background: rgba(214, 229, 247, 0.16);
  color: #e6f0fc;
}

.nav-cart-badge {
  background: linear-gradient(135deg, #f3f7fc, #bdd0e6);
  color: #080e16;
}

/* Satin Platinum Primary CTA Buttons */
.btn-primary,
.btn-discord,
.login-bubble-primary,
.hub-tool-btn.primary {
  background: linear-gradient(135deg, #f4f8fd 0%, #d5e2f1 52%, #b5c7dc 100%);
  color: #080e16 !important;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 26px rgba(4, 9, 16, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.btn-primary:hover:not(:disabled),
.btn-discord:hover:not(.disabled),
.login-bubble-primary:hover,
.hub-tool-btn.primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e4eef9 52%, #c5d6ea 100%);
  color: #050a10 !important;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(196, 218, 244, 0.28), inset 0 1px 0 #ffffff;
  transform: translateY(-1px);
}

/* Cards, Modals & Frosted Obsidian Surfaces */
.package-card,
.store-feature-card,
.faq-item,
.tdeck-card,
.hub-studio-head,
.hub-canvas,
.hub-bento-card,
.guild-card,
.order-card,
.adm-kpi-strip,
.adm-orders-stack .adm-order-card,
.adm-sec-ban-box,
.adm-sec-row {
  background: linear-gradient(180deg, rgba(24, 34, 48, 0.76) 0%, rgba(15, 23, 34, 0.82) 100%);
  border-color: rgba(224, 237, 252, 0.095);
  box-shadow: 0 16px 40px rgba(2, 6, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.package-card:hover,
.store-feature-card:hover,
.faq-item:hover,
.faq-item[open],
.guild-card:hover,
.hub-bento-card:hover {
  background: linear-gradient(180deg, rgba(30, 42, 59, 0.86) 0%, rgba(18, 27, 40, 0.88) 100%);
  border-color: rgba(218, 232, 248, 0.32);
  box-shadow: 0 22px 48px rgba(2, 6, 12, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.package-card.bespoke-bot-card {
  background:
    radial-gradient(500px circle at 100% 50%, rgba(204, 224, 248, 0.14), transparent 64%),
    radial-gradient(380px circle at 0% 0%, rgba(138, 170, 212, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(26, 37, 52, 0.82) 0%, rgba(16, 24, 35, 0.86) 100%);
  border-color: rgba(214, 229, 247, 0.24);
}

.package-price,
.package-price strong,
.bot-price strong {
  color: #f3f8ff;
}

.package-features li::before {
  color: #c5d7ec;
}

.pkg-cart-cta {
  background: rgba(214, 229, 247, 0.1);
  border-color: rgba(214, 229, 247, 0.24);
  color: #eef5fd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pkg-cart-cta:hover,
.package-card.popular .pkg-cart-cta:hover {
  background: linear-gradient(135deg, #f4f8fd 0%, #d4e2f2 55%, #b5c7dc 100%);
  border-color: rgba(255, 255, 255, 0.72);
  color: #080e16;
  box-shadow: 0 12px 28px rgba(196, 218, 244, 0.24), inset 0 1px 0 #ffffff;
}

.package-card.popular .pkg-cart-cta {
  background: linear-gradient(135deg, #eef4fc 0%, #c8d8ec 100%);
  border-color: rgba(255, 255, 255, 0.55);
  color: #080e16;
}

.bespoke-badge {
  background: rgba(214, 229, 247, 0.11);
  border-color: rgba(214, 229, 247, 0.25);
  color: #dce9f8;
}

.bespoke-discord-cta {
  background: linear-gradient(135deg, #f4f8fd 0%, #d5e2f1 52%, #b5c7dc 100%);
  color: #080e16 !important;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 26px rgba(4, 9, 16, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bespoke-discord-cta:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e4eef9 52%, #c5d6ea 100%);
  color: #050a10 !important;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(196, 218, 244, 0.28), inset 0 1px 0 #ffffff;
}

.portal-welcome-hero {
  background:
    radial-gradient(520px circle at 0% 0%, rgba(204, 222, 244, 0.12), transparent 60%),
    radial-gradient(400px circle at 100% 100%, rgba(132, 166, 212, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(24, 34, 48, 0.82) 0%, rgba(15, 23, 34, 0.86) 100%);
  border-color: rgba(224, 237, 252, 0.14);
  box-shadow: 0 18px 44px rgba(2, 6, 12, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portal-welcome-avatar {
  border-color: rgba(214, 229, 247, 0.35);
}

.portal-welcome-eyebrow {
  color: #c8daee;
}

.toolbox-invite-card {
  background:
    radial-gradient(420px circle at 100% 0%, rgba(204, 222, 244, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(24, 34, 48, 0.78) 0%, rgba(15, 23, 34, 0.82) 100%);
  border-color: rgba(224, 237, 252, 0.13);
}

.hub-locked-card {
  background:
    radial-gradient(440px circle at 50% 0%, rgba(204, 222, 244, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(24, 34, 48, 0.82) 0%, rgba(15, 23, 34, 0.86) 100%);
  border-color: rgba(224, 237, 252, 0.14);
}

.hub-locked-orb,
.hub-locked-pill,
.hub-step-chip span {
  background: rgba(214, 229, 247, 0.13);
  border-color: rgba(214, 229, 247, 0.28);
  color: #e4effb;
}

.package-bot-chip {
  background: rgba(214, 229, 247, 0.075);
  border-color: rgba(214, 229, 247, 0.14);
  color: #ceddf0;
}

/* Spine Navigation & Testimonial Deck */
.spine-item:hover .spine-node {
  border-color: rgba(226, 238, 252, 0.88);
  background: rgba(208, 224, 244, 0.35);
}

.spine-item.active .spine-pill {
  background: rgba(17, 26, 38, 0.86);
  border-color: rgba(218, 232, 248, 0.34);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(196, 218, 244, 0.12);
}

.spine-item.active .spine-idx {
  color: #dce9f8;
}

.spine-item.active .spine-label {
  color: #f6faff;
}

.spine-item.active .spine-node {
  background: linear-gradient(180deg, #f3f7fc 0%, #9ab4d2 100%);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 16px rgba(208, 224, 244, 0.55);
}

.tdeck-card {
  background:
    radial-gradient(440px circle at 0% 0%, rgba(208, 226, 248, 0.12), transparent 58%),
    radial-gradient(340px circle at 100% 100%, rgba(134, 166, 208, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(25, 36, 51, 0.8) 0%, rgba(16, 24, 35, 0.86) 100%);
  border-color: rgba(214, 229, 247, 0.2);
}

.tdeck-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 210px;
  padding: 36px 28px;
}

.tdeck-empty-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #eef4fc;
}

.tdeck-empty-sub {
  max-width: 520px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9cb4ce;
}

.tdeck-tab.active {
  background: rgba(27, 40, 56, 0.88);
  border-color: rgba(214, 229, 247, 0.36);
  color: #f4f8fd;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(196, 218, 244, 0.1);
}

.tdeck-tab.active .tdeck-tab-mono {
  background: rgba(214, 229, 247, 0.18);
  color: #e4effb;
}

.tdeck-tab-progress {
  background: linear-gradient(90deg, #98b4d4, #eef4fc);
  box-shadow: 0 0 8px rgba(214, 229, 247, 0.65);
}

.tdeck-nav-btn:hover {
  color: #edf4fc;
  background: rgba(214, 229, 247, 0.12);
  border-color: rgba(214, 229, 247, 0.32);
}

/* Elevated Floating Glass Footer */
.store-footer {
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(186, 210, 238, 0.09), transparent 72%);
}

.store-footer-inner {
  background:
    radial-gradient(360px circle at 0% 50%, rgba(204, 222, 244, 0.09), transparent 65%),
    linear-gradient(180deg, rgba(25, 36, 51, 0.76) 0%, rgba(16, 24, 35, 0.8) 100%);
  border-color: rgba(224, 237, 252, 0.11);
}

.store-footer-inner::before,
.cart-drawer::before {
  background: linear-gradient(90deg, transparent, rgba(226, 238, 252, 0.65), transparent);
}

.footer-link-btn:hover,
.store-footer-links a:hover {
  color: #f4f8fd;
  background: rgba(214, 229, 247, 0.13);
  border-color: rgba(214, 229, 247, 0.3);
}

/* Modals, Cart Split-Sheet & Checkout */
.modal-card,
.cart-drawer {
  background:
    radial-gradient(480px circle at 0% 0%, rgba(208, 226, 248, 0.11), transparent 56%),
    radial-gradient(380px circle at 100% 100%, rgba(132, 166, 212, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(22, 32, 46, 0.96) 0%, rgba(14, 21, 31, 0.97) 100%);
  border-color: rgba(224, 237, 252, 0.12);
}

.login-bubble-card {
  background:
    radial-gradient(280px circle at 50% 0%, rgba(208, 226, 248, 0.16), transparent 65%),
    rgba(16, 24, 36, 0.95);
  border-color: rgba(214, 229, 247, 0.28);
}

.login-bubble-orb {
  background: rgba(214, 229, 247, 0.12);
  border-color: rgba(214, 229, 247, 0.3);
  color: #dce9f8;
  box-shadow: 0 10px 26px rgba(196, 218, 244, 0.14);
}

.billing-seg.active,
.csheet-quick-chip:hover,
.hub-group-tab.active,
.adm-filter-pill.active,
.adm-sec-tab.active,
.portal-tab.active {
  background: rgba(214, 229, 247, 0.15);
  border-color: rgba(218, 232, 248, 0.34);
  color: #f4f8fd;
}

.hub-group-tab.active em,
.adm-filter-pill.active em,
.adm-sec-tab.active em {
  background: rgba(214, 229, 247, 0.22);
  color: #eef5fd;
}

.csheet-item-card::before {
  background: linear-gradient(180deg, #eef4fc 0%, #90aac8 100%);
}

.csheet-summary-total strong,
.checkout-sum-total strong {
  color: #eef5fd;
}

.checkout-pay-banner {
  background: linear-gradient(180deg, rgba(208, 226, 248, 0.09) 0%, rgba(15, 23, 34, 0.72) 100%);
  border-color: rgba(214, 229, 247, 0.28);
}

.checkout-pay-ico {
  background: rgba(214, 229, 247, 0.14);
  border-color: rgba(214, 229, 247, 0.28);
  color: #e4effb;
}

.checkout-pay-pill {
  background: rgba(214, 229, 247, 0.15);
  border-color: rgba(214, 229, 247, 0.28);
  color: #e4effb;
}

.checkout-trust-list svg,
.csheet-trust-row svg {
  color: #cbdcf0;
}

.checkout-agree-row input[type='checkbox'] {
  accent-color: #d6e4f4;
}

.checkout-agree-row a {
  color: #dbe8f7;
}

/* BEKOFF Hub Bento & Focus Studio */
.hub-emblem {
  background: linear-gradient(155deg, rgba(214, 229, 247, 0.14) 0%, rgba(14, 22, 33, 0.76) 100%);
  border-color: rgba(214, 229, 247, 0.24);
  color: #dce9f8;
}

.hub-bento-card::before {
  background: linear-gradient(90deg, transparent, rgba(226, 238, 252, 0.65), transparent);
}

.hub-bento-count,
.hub-sw-pos,
.hub-sw-pop-all,
.compact-count {
  color: #e4effb;
  background: rgba(214, 229, 247, 0.14);
  border-color: rgba(214, 229, 247, 0.26);
}

.hub-meter-fill {
  background: linear-gradient(90deg, #8fa9c7, #eef5fd);
}

.hub-bento-card:hover .hub-bento-cta {
  color: #eef5fd;
}

.hub-switcher-trigger {
  background: rgba(214, 229, 247, 0.1);
  border-color: rgba(214, 229, 247, 0.28);
  color: #f1f7fe;
}

.hub-switcher-trigger:hover {
  background: rgba(214, 229, 247, 0.16);
  border-color: rgba(214, 229, 247, 0.45);
}

.hub-sw-ico,
.hub-sw-chev,
.hub-sw-pop-check {
  color: #dce9f8;
}

.hub-sw-ico {
  background: rgba(214, 229, 247, 0.14);
}

.hub-sw-pop-item.active {
  background: rgba(214, 229, 247, 0.12);
  border-color: rgba(214, 229, 247, 0.34);
}

.hub-context-strip {
  border-left-color: #c8daef;
}

.hub-field-tile:focus-within,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(214, 229, 247, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(214, 229, 247, 0.1) !important;
}

/* Admin Right Architectural Rail & Telemetry */
.sidebar {
  background: rgba(11, 17, 25, 0.9);
  border-left-color: rgba(226, 238, 252, 0.09);
}

.topbar {
  background: rgba(11, 17, 25, 0.78);
  border-bottom-color: rgba(226, 238, 252, 0.08);
}

.sidebar .nav-item.active,
.sidebar .bot-item.active {
  background: linear-gradient(270deg, rgba(214, 229, 247, 0.12) 0%, rgba(214, 229, 247, 0.02) 85%, transparent 100%) !important;
  color: #f5f9fe !important;
}

.sidebar .nav-item.active::after,
.sidebar .bot-item.active::after {
  background: linear-gradient(180deg, #f3f7fc 0%, #98b4d4 100%);
  box-shadow: -2px 0 12px rgba(214, 229, 247, 0.5);
}

.adm-kpi-val.is-mint {
  color: #eef5fd;
}

.adm-bot-telemetry-fill {
  background: linear-gradient(90deg, #8ca7c6, #eef5fd);
}

.adm-manage-btn {
  background: rgba(214, 229, 247, 0.11);
  border-color: rgba(214, 229, 247, 0.26);
  color: #e6f0fc;
}

.adm-manage-btn:hover {
  background: linear-gradient(135deg, #f4f8fd 0%, #c8d8ec 100%);
  color: #080e16;
  border-color: rgba(255, 255, 255, 0.7);
}

code {
  color: #d6e5f7;
}

/* Complete Platinum Chrome Sweep for Remaining Storefront, Cart, Hub & Admin Selectors */
.pkg-price-amount,
.bespoke-price-main,
.mock-ping,
.store-bot-list li::before,
.channel-hash,
.tdeck-counter,
.tdeck-stars,
.tdeck-quote::before {
  color: #e4effb !important;
}

.pkg-checklist li svg {
  color: #c5d7ec !important;
}

.pkg-popular-tag,
.package-card.popular .package-badge,
.bespoke-eyebrow,
.mock-badge,
.pricing-mode-badge,
.step-num,
.cart-head-ico,
.cart-head-pill,
.csheet-save-mini,
.csheet-savings-pill,
.csheet-free-tag,
.billing-plan-tag,
.nav-bot-chip,
.adm-kind-chip.clone {
  background: rgba(214, 229, 247, 0.14) !important;
  border-color: rgba(214, 229, 247, 0.28) !important;
  color: #eef5fd !important;
}

.package-card.popular {
  background:
    radial-gradient(380px circle at 50% 0%, rgba(208, 226, 248, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(26, 37, 52, 0.84) 0%, rgba(16, 24, 35, 0.88) 100%) !important;
  border-color: rgba(218, 232, 248, 0.36) !important;
  box-shadow: 0 24px 56px rgba(2, 6, 12, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.bundle-bot-tile.selected {
  background: linear-gradient(145deg, rgba(214, 229, 247, 0.15), rgba(14, 22, 33, 0.88)) !important;
  border-color: rgba(218, 232, 248, 0.48) !important;
  box-shadow: 0 10px 28px rgba(196, 218, 244, 0.12) !important;
}

.bundle-bot-tile.selected .bundle-check,
.pay-method-card.selected .pay-method-radio::after {
  background: #e4effb !important;
  border-color: #ffffff !important;
  color: #080e16 !important;
}

.pay-method-card.selected,
.iban-info-box,
.toolbox-resolved-preview,
.toolbox-actions-strip,
.overview-hero {
  background: linear-gradient(180deg, rgba(24, 34, 48, 0.78) 0%, rgba(15, 23, 34, 0.84) 100%) !important;
  border-color: rgba(214, 229, 247, 0.24) !important;
}

.pay-method-card.selected .pay-method-radio {
  border-color: #dbe8f7 !important;
}

.bundle-summary-row.discount,
.cart-summary-line.discount,
.csheet-receipt-row.is-discount,
.csheet-upsell-chip strong,
.csheet-upsell-plus,
.csheet-total-val,
.hub-guild-id-copy:hover,
.hub-id-copy-btn:hover,
.adm-ord-code:hover,
.adm-ord-price strong,
.adm-guild-id-btn:hover,
.adm-sec-ip-chip:hover {
  color: #e4effb !important;
}

.csheet-upsell-chip:hover,
.csheet-step-btn:hover,
.step-card:hover,
.portal-guild-card:hover,
.adm-guild-card:hover,
.adm-search-box:focus-within,
.compact-picker-box:focus {
  border-color: rgba(218, 232, 248, 0.38) !important;
}

.csheet-item-accent {
  background: linear-gradient(180deg, #eef4fc 0%, #90aac8 100%) !important;
}

.csheet-plan-seg.active,
.billing-plan-btn.active,
.adm-view-btn.active,
.tab-btn.active,
.compact-opt.selected,
.manage-bot-item.active {
  background: rgba(214, 229, 247, 0.16) !important;
  border-color: rgba(218, 232, 248, 0.36) !important;
  color: #f4f8fd !important;
}

.csheet-plan-seg.active span,
.compact-opt.selected .compact-opt-check,
.csheet-trust-bar svg {
  color: #e4effb !important;
}

.compact-chip {
  background: rgba(214, 229, 247, 0.12) !important;
  border-color: rgba(214, 229, 247, 0.26) !important;
  color: #e6f0fc !important;
}

.cart-checkout-primary-btn {
  background: linear-gradient(135deg, #f4f8fd 0%, #d5e2f1 52%, #b5c7dc 100%) !important;
  color: #080e16 !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 12px 28px rgba(4, 9, 16, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.cart-checkout-primary-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e4eef9 52%, #c5d6ea 100%) !important;
  color: #050a10 !important;
}

.cart-empty-orb,
.cart-coupon-applied,
.hub-guild-ico.fallback,
.hub-stage-ico,
.adm-guild-ico.fallback,
.adm-sec-av.fallback {
  background: rgba(214, 229, 247, 0.13) !important;
  border-color: rgba(214, 229, 247, 0.28) !important;
  color: #e4effb !important;
}

.hub-stage-avatar {
  border-color: rgba(214, 229, 247, 0.38) !important;
}

.hub-locked-card::before {
  background: linear-gradient(90deg, transparent, rgba(226, 238, 252, 0.65), transparent) !important;
}

.spine-track {
  background: linear-gradient(180deg, transparent, rgba(214, 229, 247, 0.24), transparent) !important;
}

/* Admin Rail, Orders & Quick Actions */
.sidebar > .sidebar-nav > .nav-item.active,
.sidebar .nav-bot-slim.active {
  background: linear-gradient(270deg, rgba(214, 229, 247, 0.13) 0%, rgba(214, 229, 247, 0.02) 85%, transparent 100%) !important;
  color: #f5f9fe !important;
}

.sidebar > .sidebar-nav > .nav-item.active .nav-svg {
  color: #eef5fd !important;
}

.adm-ord-bot-chips span,
.adm-ord-note {
  background: rgba(214, 229, 247, 0.08) !important;
  border-color: rgba(214, 229, 247, 0.18) !important;
  color: #dce9f8 !important;
}

.adm-ord-note span {
  color: #bfd3ea !important;
}

.adm-ord-grant-btn {
  background: rgba(214, 229, 247, 0.12) !important;
  border-color: rgba(214, 229, 247, 0.28) !important;
  color: #eef5fd !important;
}

.adm-ord-grant-btn:hover {
  background: linear-gradient(135deg, #f4f8fd 0%, #c8d8ec 100%) !important;
  color: #080e16 !important;
}

.sidebar-dock-btn:hover {
  color: #f4f8fd !important;
  background: rgba(214, 229, 247, 0.1) !important;
}

.rail-orb-brand,
.rail-orb-discord,
.rail-popout-tag,
.rail-popout-prices span.accent {
  background: rgba(214, 229, 247, 0.14) !important;
  border-color: rgba(214, 229, 247, 0.3) !important;
  color: #e6f0fc !important;
}

.rail-badge-pro {
  background: linear-gradient(135deg, #f3f7fc, #9cb4ce) !important;
  color: #080e16 !important;
}

.bot-add-cart-btn {
  background: rgba(214, 229, 247, 0.1) !important;
  border-color: rgba(214, 229, 247, 0.24) !important;
  color: #eef5fd !important;
}

.bot-add-cart-btn:hover {
  background: linear-gradient(135deg, #f4f8fd 0%, #c8d8ec 100%) !important;
  color: #080e16 !important;
}

/* ==========================================================================
   ADM CUSTOMER ACCESS (BEKOFF HUB YETKİLERİ) - BESPOKE ARCHITECTURAL REDESIGN
   ========================================================================== */
.adm-access-header-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- Access Composer Form Card --- */
.adm-access-composer {
  background: linear-gradient(180deg, rgba(20, 32, 46, 0.72) 0%, rgba(12, 21, 31, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 16px 36px rgba(4, 9, 16, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.adm-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.adm-composer-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-composer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.25);
  color: #2ee59d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adm-composer-title {
  font-size: 15px;
  font-weight: 600;
  color: #eef4fc;
  letter-spacing: -0.01em;
}

.adm-composer-sub {
  font-size: 12px;
  color: #8fa5bc;
  margin-top: 2px;
}

.adm-composer-quick-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm-composer-quick-select label {
  font-size: 11.5px;
  font-weight: 500;
  color: #8fa5bc;
  white-space: nowrap;
}

.adm-quick-select {
  background: rgba(14, 23, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 12px;
  color: #d8e5f3;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
  max-width: 240px;
}

.adm-quick-select:focus {
  border-color: #2ee59d;
}

.adm-composer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 14px;
  align-items: flex-end;
}

@media (max-width: 1024px) {
  .adm-composer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .adm-submit-group {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .adm-composer-grid {
    grid-template-columns: 1fr;
  }
  .adm-submit-group {
    grid-column: span 1;
  }
}

.adm-composer-grid .input-group {
  margin: 0;
}

.adm-composer-grid .input-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #b3c7db;
  margin-bottom: 6px;
}

.adm-composer-grid .input-group label .req {
  color: #ef4444;
}

.adm-composer-grid .input-group label .hint-paren {
  font-weight: 400;
  color: #6d849a;
  font-size: 11px;
}

.adm-inp-wrap {
  position: relative;
  width: 100%;
}

.adm-add-access-btn {
  height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ee59d 0%, #17b375 100%);
  color: #061e13;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 229, 157, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.adm-add-access-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 229, 157, 0.38);
}

/* --- Live Preview Pill Row --- */
.adm-access-live-preview {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(46, 229, 157, 0.05);
  border: 1px dashed rgba(46, 229, 157, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: fadeIn 0.2s ease;
}

.adm-preview-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.adm-preview-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2ee59d;
}

.adm-preview-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(14, 25, 37, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #eef4fc;
}

.adm-preview-pill.guild {
  border-color: rgba(46, 229, 157, 0.25);
}

.adm-preview-ico {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.adm-preview-sub {
  font-size: 11px;
  color: #8da3b8;
}

.adm-preview-arrow {
  color: #587186;
  font-size: 12px;
}

/* --- Access Cards Stack --- */
.adm-access-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-acc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(20, 33, 47, 0.76) 0%, rgba(13, 22, 33, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(4, 9, 16, 0.2);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.adm-acc-card:hover {
  border-color: rgba(214, 229, 247, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(4, 9, 16, 0.28);
}

.adm-acc-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.adm-acc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.adm-acc-avatar.fallback {
  background: linear-gradient(135deg, #1e3347 0%, #112130 100%);
  color: #d5e4f4;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 229, 247, 0.2);
}

.adm-acc-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.adm-acc-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.adm-acc-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #f0f6fd;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.adm-acc-user-tag {
  font-size: 12px;
  color: #7d96ae;
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 7px;
  border-radius: 6px;
}

.adm-acc-chip-id {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #a4bad0;
  font-size: 11.5px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.adm-acc-chip-id .adm-chip-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #6d869e;
  text-transform: uppercase;
}

.adm-acc-chip-id code {
  font-family: inherit;
  font-size: 12px;
  color: #dce7f3;
}

.adm-acc-chip-id:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.adm-acc-row-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.adm-acc-guild-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 6px;
  border-radius: 8px;
  background: rgba(46, 229, 157, 0.08);
  border: 1px solid rgba(46, 229, 157, 0.22);
  color: #d1f4e5;
  font-size: 12px;
}

.adm-acc-guild-badge.global {
  background: rgba(94, 168, 255, 0.08);
  border-color: rgba(94, 168, 255, 0.22);
  color: #d2e7ff;
}

.adm-acc-guild-ico {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.adm-acc-guild-fallback-ico {
  font-size: 13px;
  line-height: 1;
}

.adm-acc-guild-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.adm-acc-guild-name {
  font-weight: 600;
  color: inherit;
}

.adm-acc-guild-id {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.adm-acc-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.adm-acc-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #7b94aa;
}

.adm-acc-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.adm-acc-del-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-acc-del-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fee2e2;
  transform: translateY(-1px);
}

/* --- Environment IDs Info Box --- */
.adm-access-env-info {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(16, 27, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-env-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8da4bb;
}

.adm-env-info-row strong {
  color: #d3e3f4;
  font-size: 12px;
}

.adm-env-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-env-code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #c9dbe9;
}

/* ==========================================================================
   BEKOFF HUB - SUNUCULARIM (MY SERVERS) ARCHITECTURAL BENTO REDESIGN
   ========================================================================== */

/* --- Hero Console --- */
.hub-portal-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 33, 48, 0.82) 0%, rgba(10, 19, 29, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(3, 8, 14, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hub-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}

.hub-hero-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.hub-hero-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  border: 1.5px solid rgba(214, 229, 247, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hub-hero-avatar.fallback {
  background: linear-gradient(135deg, #1c3044 0%, #10202e 100%);
  color: #eef4fc;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(214, 229, 247, 0.25);
}

.hub-hero-pulse {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ee59d;
  border: 2.5px solid #0a131d;
  box-shadow: 0 0 10px rgba(46, 229, 157, 0.6);
}

.hub-hero-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hub-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-badge-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2ee59d;
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.22);
  padding: 2px 8px;
  border-radius: 6px;
}

.hub-hero-user-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: #8da4bb;
}

.hub-hero-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #f1f6fc;
  letter-spacing: -0.02em;
  margin: 0;
}

.hub-hero-text p {
  font-size: 13px;
  color: #8da4bb;
  margin: 0;
  line-height: 1.45;
  max-width: 520px;
}

.hub-hero-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hub-hero-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-metric-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(14, 24, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hub-metric-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa5bc;
  flex-shrink: 0;
}

.hub-metric-ico.bot {
  background: rgba(46, 229, 157, 0.1);
  border-color: rgba(46, 229, 157, 0.22);
  color: #2ee59d;
}

.hub-metric-ico.vds {
  background: rgba(214, 229, 247, 0.08);
  border-color: rgba(214, 229, 247, 0.18);
  color: #d6e5f7;
}

.hub-metric-info {
  display: flex;
  flex-direction: column;
}

.hub-metric-info strong {
  font-size: 15px;
  font-weight: 700;
  color: #f0f6fc;
  line-height: 1.15;
}

.hub-metric-info span {
  font-size: 11px;
  font-weight: 500;
  color: #7991a7;
}

.hub-hero-order-btn {
  height: 42px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ee59d 0%, #17b375 100%);
  color: #061e13;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 229, 157, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.hub-hero-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 229, 157, 0.38);
}

/* --- Fast Connect / Invite Command Bar --- */
.hub-connect-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(16, 27, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hub-connect-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hub-connect-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(214, 229, 247, 0.08);
  border: 1px solid rgba(214, 229, 247, 0.16);
  color: #d2e4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-connect-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #eef4fc;
}

.hub-connect-info span {
  font-size: 11.5px;
  color: #8da4ba;
}

.hub-connect-info code {
  color: #2ee59d;
  font-family: inherit;
}

.hub-connect-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 440px;
  min-width: 240px;
}

.hub-connect-form input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  background: rgba(9, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef4fc;
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.hub-connect-form input:focus {
  border-color: #2ee59d;
}

/* --- Section Header --- */
.hub-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.hub-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-section-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #eef4fc;
  letter-spacing: -0.01em;
  margin: 0;
}

.hub-section-count {
  font-size: 11px;
  font-weight: 600;
  color: #2ee59d;
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.22);
  padding: 1px 8px;
  border-radius: 6px;
}

.hub-section-desc {
  font-size: 12px;
  color: #7b94aa;
}

/* --- Server Cards Bento Grid --- */
.hub-server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

@media (max-width: 768px) {
  .hub-server-grid {
    grid-template-columns: 1fr;
  }
}

.hub-srv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 33, 47, 0.78) 0%, rgba(12, 21, 31, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(3, 8, 14, 0.24);
  padding: 20px;
  gap: 16px;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hub-srv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(214, 229, 247, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
}

.hub-srv-card:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 229, 247, 0.24);
  box-shadow: 0 16px 36px rgba(3, 8, 14, 0.35);
}

.hub-srv-card.is-authorized:hover {
  border-color: rgba(46, 229, 157, 0.32);
}

/* Head */
.hub-srv-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-srv-avatar-wrap {
  flex-shrink: 0;
}

.hub-srv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hub-srv-icon.fallback {
  background: linear-gradient(135deg, #1b2f42 0%, #10202e 100%);
  color: #eef4fc;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(214, 229, 247, 0.2);
}

.hub-srv-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hub-srv-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hub-srv-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #f1f6fc;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-srv-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-srv-role {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.2;
}

.hub-srv-role.owner {
  background: rgba(245, 185, 56, 0.12);
  border: 1px solid rgba(245, 185, 56, 0.25);
  color: #fcd34d;
}

.hub-srv-role.admin {
  background: rgba(214, 229, 247, 0.08);
  border: 1px solid rgba(214, 229, 247, 0.18);
  color: #d4e3f4;
}

.hub-srv-role.assigned {
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.24);
  color: #3df0ac;
}

.hub-srv-id-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8da4bb;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hub-srv-id-chip code {
  font-family: inherit;
  color: #c8d8ec;
}

.hub-srv-id-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Body / Bots Cluster */
.hub-srv-body {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(10, 18, 27, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hub-srv-bots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hub-srv-bots-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #6d869e;
  text-transform: uppercase;
}

.hub-srv-pkg-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #2ee59d;
  background: rgba(46, 229, 157, 0.08);
  border: 1px solid rgba(46, 229, 157, 0.2);
  padding: 1px 7px;
  border-radius: 5px;
}

.hub-srv-bots-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hub-srv-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #dbe7f4;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hub-srv-bot-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hub-srv-bot-emoji {
  font-size: 13px;
  line-height: 1;
}

.hub-srv-bot-name {
  font-weight: 500;
}

.hub-srv-bot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}

.hub-srv-bot-dot.online {
  background: #2ee59d;
  box-shadow: 0 0 6px rgba(46, 229, 157, 0.6);
}

.hub-srv-no-bots {
  font-size: 11.5px;
  color: #7992a8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}

/* Foot / Actions */
.hub-srv-foot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-srv-manage-btn {
  flex: 1;
  height: 38px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2ee59d 0%, #17b375 100%);
  color: #061e13;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(46, 229, 157, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.hub-srv-manage-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(46, 229, 157, 0.35);
}

.hub-srv-manage-btn svg {
  transition: transform 0.15s ease;
}

.hub-srv-manage-btn:hover svg {
  transform: translateX(2px);
}

.hub-srv-add-btn {
  height: 38px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c9dceb;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.hub-srv-add-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.hub-srv-locked-btn {
  height: 38px;
  font-size: 12px;
  opacity: 0.8;
}
