@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #07080f;
  --accent: #2563eb;
  --accent-hover: #3b82f6;
  --accent-dim: rgba(37, 99, 235, 0.15);
  --accent-glow: rgba(37, 99, 235, 0.45);
  --indigo: #4f46e5;
  --cyan: #38bdf8;
  --text: #f4f4f5;
  --text-muted: #94a3b8;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --nav-height: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Lexend', monospace;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .logo, .btn, input, button, select, textarea {
  font-family: var(--font-sans);
}


* {
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.4) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 999px;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.modal-overlay,
.modal-content,
.cart-drawer,
.cart-drawer-body,
#adminPackagesList,
#adminDevsList {
  overscroll-behavior: contain;
}


.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 20% 20%, rgba(37, 99, 235, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 80% 60%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #080b18 0%, #07080f 50%, #05060b 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
}

.bg-glow-1 {
  width: 550px;
  height: 550px;
  top: -100px;
  right: -100px;
  background: rgba(37, 99, 235, 0.18);
}

.bg-glow-2 {
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: -80px;
  background: rgba(59, 130, 246, 0.15);
}


.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  pointer-events: none;
  transition: padding 0.3s ease;
}

.nav-shell.scrolled {
  padding: 10px 24px;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  height: 60px;
  padding: 0 14px 0 18px;
  background: rgba(10, 12, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  position: relative;
  transition:
    height 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  gap: 12px;
}

.nav-shell.scrolled .nav {
  height: 52px;
  background: rgba(8, 10, 18, 0.94);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(37, 99, 235, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.65)) drop-shadow(0 0 24px rgba(99, 102, 241, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease;
  display: block;
  flex-shrink: 0;
}

.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.9)) drop-shadow(0 0 30px rgba(99, 102, 241, 0.65));
}

.nav-shell.scrolled .logo-img {
  height: 28px;
}

.logo-icon-fallback {
  display: none !important;
}


.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-nav {
  background: var(--accent);
  color: var(--text);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.55s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
}

.btn-nav:hover {
  background: var(--accent-hover);
}

.btn-nav.is-loading {
  opacity: 0.9;
  cursor: wait !important;
  pointer-events: none;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.55);
}

.btn-nav .btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: navBtnSpin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

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

.nav-shell.scrolled .btn-nav {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(37, 99, 235, 0.3);
}

.btn-discord {
  background: rgba(88, 101, 242, 0.14);
  color: #ffffff;
  border: 1px solid rgba(88, 101, 242, 0.35);
  height: 34px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.35);
}

.nav-shell.scrolled .btn-discord {
  opacity: 0;
  max-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  pointer-events: none;
  transform: scale(0.85);
}

.btn-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.5);
  color: #ffffff;
}

.discord-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-discord:hover .discord-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.discord-server-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(88, 101, 242, 0.5);
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
  flex-shrink: 0;
}

.discord-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}


.dev-chip-wrapper {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  vertical-align: middle;
}

.dev-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  max-width: 100%;
  box-sizing: border-box;
}

.dev-badge-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.dev-badge-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
  flex-shrink: 0;
}

.dev-badge-label {
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.dev-badge-by {
  color: var(--text-muted);
  font-weight: 500;
}

.dev-badge-name {
  color: #ffffff;
  font-weight: 700;
}

.dev-badge-chevron {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.dev-badge-chip:hover .dev-badge-chevron {
  color: #ffffff;
}

.dev-chip-wrapper.is-open .dev-badge-chevron {
  transform: rotate(180deg);
}


.dev-popover-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 236px;
  background: #0c0f17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 2500;
  display: none;
  flex-direction: column;
  gap: 9px;
  animation: popoverFadeIn 0.15s ease-out forwards;
}

.dev-popover-card::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.dev-popover-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-popover-avatar-box {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.dev-popover-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dev-popover-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 1.5px solid #0c0f17;
}

.dev-popover-meta {
  flex: 1;
  min-width: 0;
}

.dev-popover-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.2;
}

.dev-popover-role {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 1px;
}

.dev-popover-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dev-popover-id-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.dev-popover-id-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dev-popover-id-val {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
}

.dev-popover-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #5865F2;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
}

.dev-popover-btn:hover {
  background: #4752C4;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.dev-chip-wrapper:hover .dev-popover-card,
.dev-chip-wrapper.is-open .dev-popover-card,
.dev-chip-wrapper:focus-within .dev-popover-card {
  display: flex;
}

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

#modalDescription {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.6;
}

#modalDescription p {
  margin: 0 0 8px 0;
  color: #cbd5e1;
}

#modalDescription strong {
  color: #ffffff;
  font-weight: 700;
}

#modalDescription ul {
  margin: 0 0 10px 0;
  padding-left: 18px;
  list-style-type: disc;
}

#modalDescription li {
  margin-bottom: 6px;
  color: #94a3b8;
  line-height: 1.5;
}

#modalDescription li strong {
  color: #e2e8f0;
}

.btn-discord:hover .discord-online-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.btn-outline-glow {
  background: rgba(14, 16, 28, 0.7);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-outline-glow:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 600;
}


.lang-dropdown-wrap,
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-pill-btn,
.lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  height: 34px;
  padding: 0 12px 0 10px;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  flex-shrink: 0;
  outline: none;
}

.lang-pill-btn:hover,
.lang-dropdown-btn:hover,
.lang-dropdown-wrap.is-open .lang-pill-btn,
.lang-dropdown.is-open .lang-dropdown-btn {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 175px;
  background: rgba(10, 12, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.15);
  z-index: 1000;
  animation: popoverFadeIn 0.15s ease;
}

.lang-dropdown-wrap.is-open .lang-dropdown-menu,
.lang-dropdown.is-open .lang-dropdown-menu {
  display: block;
}

.lang-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
  font-size: 0.82rem;
}

.lang-dropdown-item:hover {
  background: rgba(37, 99, 235, 0.14);
  color: #ffffff;
}

.lang-dropdown-item.active {
  background: rgba(37, 99, 235, 0.22);
  color: #60a5fa;
  font-weight: 700;
}


.user-dropdown-wrapper {
  position: relative;
}

.user-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  height: 34px;
  padding: 0 10px 0 6px;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  flex-shrink: 0;
}

.user-pill-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.user-dropdown-wrapper.is-open .user-dropdown-menu {
  display: flex;
}


@media (max-width: 1250px) {
  .btn-discord .discord-badge {
    display: none;
  }
}

@media (max-width: 1050px) {
  .btn-discord span#navDiscordName {
    display: none;
  }
  .nav-links a {
    padding: 5px 9px;
    font-size: 0.76rem;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .logo span {
    max-width: 120px;
    font-size: 0.88rem;
  }
  .nav {
    padding: 0 10px 0 14px;
    height: 52px;
  }
  .btn-outline-glow span {
    display: none;
  }
  .btn-outline-glow {
    padding: 0 9px;
  }
}


.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 30px;
  text-align: center;
}

.hero-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}


.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-title-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.hero-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 32px;
}


.hero-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-btn-main {
  background: #2563eb;
  color: #ffffff;
  padding: 13px 26px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-main:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.6);
}

.hero-btn-discord {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-discord:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}


.hero-stats-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.stat-clean-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stat-clean-item strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-clean-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-clean-divider {
  width: 1px;
  height: 32px;
  background: var(--surface-border);
}

@media (max-width: 640px) {
  .stat-clean-divider {
    display: none;
  }
  .hero-stats-clean {
    gap: 18px;
  }
}


.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto 40px;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  contain: content;
  transform: translateZ(0);
}

.product-card:hover {
  transform: translateY(-4px) translateZ(0);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

.product-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent);
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--text);
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.product-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.product-price strong {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 16px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 42px;
  height: 42px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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


.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
}

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

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}


.cart-drawer-overlay,
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active,
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer,
.drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: rgba(10, 8, 18, 0.98);
  border-left: 1px solid var(--surface-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.cart-drawer-overlay.active .cart-drawer,
.drawer-overlay.active .drawer {
  transform: translateX(0);
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.12) 0%, rgba(6, 6, 12, 0.65) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-content {
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(12, 10, 20, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(37, 99, 235, 0.25),
    0 0 100px rgba(99, 102, 241, 0.15);
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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


.gateway-modal-content {
  width: 100%;
  max-width: 920px;
  height: 86vh;
  max-height: 820px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(37, 99, 235, 0.3),
    0 0 120px rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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


.gateway-floating-bar {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.gateway-float-btn {
  background: rgba(10, 8, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.gateway-float-btn:hover {
  background: rgba(37, 99, 235, 0.8);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.gateway-close-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.gateway-iframe-wrap {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
}

.gateway-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
  display: block;
}

.gateway-loader {
  position: absolute;
  inset: 0;
  background: #0d0e15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5;
  color: var(--text-muted);
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Payment Success Celebration Modal
   ========================================================================== */
.success-modal-content {
  width: 100%;
  max-width: 540px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(16, 185, 129, 0.14) 0%, rgba(13, 14, 21, 0.98) 70%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 28px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(16, 185, 129, 0.25),
    0 0 140px rgba(56, 189, 248, 0.15);
  padding: 40px 32px 32px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.success-glow-ring {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

.success-hero-icon-wrap {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 2px solid rgba(52, 211, 153, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.5);
  position: relative;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.success-hero-icon {
  width: 44px;
  height: 44px;
  color: #34d399;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.8));
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.success-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 22px;
}

.success-asset-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 18px;
  border-radius: 9999px;
  color: #34d399;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.success-receipt-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.success-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}

.success-receipt-label {
  color: #64748b;
  font-weight: 600;
}

.success-receipt-val {
  color: #f1f5f9;
  font-weight: 700;
  font-family: var(--font-mono);
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-keymaster-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-keymaster-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.6);
  color: #ffffff;
}

.btn-secondary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.gateway-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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


.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  width: calc(100vw - 3rem);
}

.toast {
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  color: var(--text);
  font-size: 0.88rem;
}


.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--surface-border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}


@media (max-width: 900px) {
  .nav-shell {
    padding: 16px 20px;
  }

  .nav-shell.scrolled {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }
}


.team-group {
  margin-bottom: 48px;
}

.team-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-group-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-group-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.team-card {
  background: #08080a;
  border: 1px solid #1f222e;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px rgba(37, 99, 235, 0.2);
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-card-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.team-card-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-card-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #08080a;
  box-shadow: 0 0 6px #22c55e;
}

.team-card-info {
  flex: 1;
  min-width: 0;
}

.team-card-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card-role {
  font-size: 0.74rem;
  color: #60a5fa;
  font-weight: 600;
  margin-top: 2px;
}

.team-card-id-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #11131a;
  border: 1px solid #1a1e2b;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.74rem;
}

.team-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}


.reviews-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(10, 14, 28, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.12);
}

.reviews-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
}

.review-card {
  background: #08090f;
  border: 1px solid #1a2032;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 28px rgba(37, 99, 235, 0.2);
}

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

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-avatar-box {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.review-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.review-author-info {
  min-width: 0;
}

.review-author-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-author-handle {
  font-size: 0.74rem;
  color: #64748b;
  font-family: var(--font-mono);
  margin-top: 1px;
}

.review-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.review-product-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 3px 9px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.review-quote-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  padding-left: 2px;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #64748b;
}

.review-channel-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #60a5fa;
  font-weight: 600;
}


.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.user-pill-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 12, 22, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.2);
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  font-size: 0.8rem;
}

.user-pill-btn:hover,
.user-dropdown-wrapper.is-open .user-pill-btn {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
  background: rgba(15, 20, 36, 0.95);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 270px;
  background: #08090f;
  border: 1px solid #1a2032;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.95), 0 0 32px rgba(37, 99, 235, 0.15);
  z-index: 2500;
  display: none;
  flex-direction: column;
  gap: 4px;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.user-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.user-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-wrapper.is-open .user-dropdown-menu {
  display: flex;
}

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

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.user-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.user-dropdown-info {
  min-width: 0;
  flex: 1;
}

.user-dropdown-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.user-dropdown-handle {
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: 'Lexend', monospace;
  margin-top: 1px;
}

.user-dropdown-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.user-dropdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 999px;
  padding: 2px 7px;
}

.user-dropdown-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.role-pill-owner {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.role-pill-ceo {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.role-pill-developer {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.role-pill-supporter {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.role-pill-member {
  background: rgba(100, 116, 139, 0.16);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.18s ease;
  font-family: inherit;
}

.user-dropdown-item:hover {
  background: rgba(37, 99, 235, 0.14);
  color: #ffffff;
  transform: translateX(3px);
}

.user-dropdown-item.admin-direct {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(30, 58, 138, 0.28) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.15);
  margin-bottom: 2px;
}

.user-dropdown-item.admin-direct:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.32) 0%, rgba(30, 58, 138, 0.48) 100%);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
  transform: translateX(3px);
}

.user-dropdown-item.discord-connect-item {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #c7d2fe;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.12);
  margin-bottom: 2px;
}

.user-dropdown-item.discord-connect-item:hover {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.28) 0%, rgba(59, 130, 246, 0.2) 100%);
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.35);
  transform: translateX(3px);
}

.user-dropdown-icon {
  width: 15px;
  height: 15px;
  color: #60a5fa;
  flex-shrink: 0;
}

.user-dropdown-item.admin-direct .user-dropdown-icon {
  color: #60a5fa;
}

.user-dropdown-item.discord-connect-item .user-dropdown-icon {
  color: #818cf8;
}

.user-dropdown-item.logout {
  color: #f87171;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4px;
  padding-top: 10px;
}

.user-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.user-dropdown-item.logout .user-dropdown-icon {
  color: #f87171;
}


.history-profile-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(10, 14, 28, 0.95) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.history-profile-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.history-avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #2563eb;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

.history-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.history-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #08090f;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.history-stats-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.history-stat-pill {
  flex: 1;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}


.admin-modal-box {
  background: #090b14 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(37, 99, 235, 0.15) !important;
  padding: 0 !important;
  overflow: hidden;
  max-width: 780px !important;
  width: 95% !important;
}

.admin-header-strip {
  padding: 24px 28px 20px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #090b14;
  border: 1px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

.admin-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.5));
}

.admin-title-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.admin-status-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.admin-chip-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  color: #4ade80;
}

.admin-chip-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.admin-chip-role {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 0.7rem;
  font-weight: 600;
  color: #93c5fd;
}

.admin-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-sync-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.admin-sync-btn.is-syncing i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.admin-body-content {
  padding: 20px 28px 28px;
}

.admin-nav-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.admin-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.admin-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
}


.admin-pkg-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.admin-pkg-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 99, 235, 0.3);
}

.admin-pkg-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 220px;
}

.admin-pkg-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.admin-pkg-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-pkg-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.admin-pkg-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-pkg-cat {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

.admin-price-pill {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.admin-price-free {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}


.admin-dev-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.admin-dev-preview-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}

.admin-dev-select-styled {
  background: #0d101e;
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 10px;
  padding: 9px 14px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  min-width: 230px;
  transition: all 0.2s ease;
}

.admin-dev-select-styled:hover,
.admin-dev-select-styled:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.3);
  background: #101426;
}


.admin-dev-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s ease;
}

.admin-dev-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 99, 235, 0.35);
}

.admin-dev-card-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-dev-card-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.admin-dev-card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(37, 99, 235, 0.4);
}

.admin-dev-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #090b14;
}

.admin-dev-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-dev-card-meta {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-dev-id-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.admin-btn-copy-id {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 12px;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}


.store-announcement-bar {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.9) 0%, rgba(79, 70, 229, 0.9) 50%, rgba(37, 99, 235, 0.9) 100%);
  color: #ffffff;
  padding: 8px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  animation: bannerSlideDown 0.3s ease-out forwards;
}

.store-announcement-bar.theme-sale {
  background: linear-gradient(90deg, #ea580c 0%, #dc2626 50%, #ea580c 100%);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
}

.store-announcement-bar.theme-success {
  background: linear-gradient(90deg, #16a34a 0%, #059669 50%, #16a34a 100%);
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4);
}

@keyframes bannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.announcement-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  opacity: 0.8;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 16px;
}

.announcement-close-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.badge-hot {
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
  border: 1px solid rgba(254, 202, 202, 0.4);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.badge-new {
  background: rgba(37, 99, 235, 0.85);
  color: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.4);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

.badge-bestseller {
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
  border: 1px solid rgba(253, 230, 138, 0.4);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.badge-featured {
  background: rgba(168, 85, 247, 0.9);
  color: #ffffff;
  border: 1px solid rgba(233, 213, 255, 0.4);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}


.admin-diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.admin-diag-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-diag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.admin-diag-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-diag-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4ade80;
}

.history-item-card {
  background: #08090f;
  border: 1px solid #1a2032;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.history-item-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.history-item-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.history-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.history-id-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #93c5fd;
  cursor: pointer;
  transition: background 0.15s ease;
  border: none;
}

.history-id-copy:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
}

.history-keymaster-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.history-keymaster-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  color: #ffffff;
}


.modal-video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #080a14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.15);
}

.modal-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.modal-video-poster {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.modal-video-poster-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
  transition: background 0.3s ease;
}

.modal-video-poster:hover .modal-video-poster-overlay {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.modal-video-play-btn {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 48px;
  background: #ef4444;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5), 0 0 20px rgba(239, 68, 68, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-video-poster:hover .modal-video-play-btn {
  transform: scale(1.12);
  background: #dc2626;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.75), 0 0 30px rgba(239, 68, 68, 0.6);
}

.modal-video-play-btn svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  fill: #ffffff;
  margin-left: 2px;
}

.product-trailer-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.product-card:hover .product-trailer-pill {
  background: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.modal-docs-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}


.global-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #06070d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease, transform 0.4s ease;
  will-change: opacity, visibility;
}

.global-preloader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.02);
  pointer-events: none !important;
}

.global-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 380px;
}

.global-preloader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.global-preloader-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 22px rgba(37, 99, 235, 0.95));
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: preloaderLogoPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.global-preloader-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(14px);
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  animation: preloaderGlowPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.global-preloader-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.global-preloader-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 22px;
  min-height: 20px;
}

.global-preloader-bar-bg {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.global-preloader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #38bdf8);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.8);
  will-change: left, width;
  animation: preloaderBarAnim 1.5s ease-in-out infinite;
}

@keyframes preloaderBarAnim {
  0% { left: -40%; width: 40%; }
  50% { left: 30%; width: 60%; }
  100% { left: 100%; width: 40%; }
}

@keyframes preloaderLogoPulse {
  0% {
    transform: translate3d(0, 0, 0) scale(0.96);
  }
  50% {
    transform: translate3d(0, -3px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(0, -5px, 0) scale(1.04);
  }
}

@keyframes preloaderGlowPulse {
  0% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.2);
  }
}

/* ==========================================
   ACCESS DENIED / 403 PRELOADER AESTHETICS
   ========================================== */
.access-denied-preloader {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: #06070d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.access-denied-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 380px;
  width: 100%;
  position: relative;
  z-index: 10;
  animation: deniedFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-denied-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.access-denied-warning-box {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.95));
  animation: preloaderLogoPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.access-denied-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.5) 0%, rgba(239, 68, 68, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(14px);
  animation: preloaderGlowPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.access-denied-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.access-denied-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 22px;
  min-height: 20px;
  line-height: 1.5;
}

.access-denied-bar-bg {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.access-denied-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #dc2626, #ef4444, #f87171);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.85);
  animation: preloaderBarAnim 1.5s ease-in-out infinite;
}

.access-denied-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-denied-clean {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-denied-clean:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.access-denied-switch-link {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
  padding: 4px 8px;
}

.access-denied-switch-link:hover {
  color: #94a3b8;
  text-decoration: underline;
}


.skeleton-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-thumb { height: 160px; border-radius: 12px; }
.skeleton-tag { width: 35%; height: 18px; border-radius: 999px; }
.skeleton-title { width: 65%; height: 22px; }
.skeleton-desc { width: 100%; height: 40px; }
.skeleton-footer { width: 100%; height: 38px; margin-top: auto; border-radius: 10px; }

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


.admin-media-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.2s ease;
}

.admin-media-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 99, 235, 0.35);
}

.admin-media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-media-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.admin-text-input {
  width: 100%;
  background: #080a14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.82rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.admin-text-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.admin-yt-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f87171;
  text-decoration: none;
  transition: all 0.2s ease;
}

.admin-yt-preview-badge:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}


.product-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
  z-index: 4;
}

.product-card-badge i {
  width: 11px;
  height: 11px;
}

.product-card-badge.badge-hot {
  background: rgba(220, 38, 38, 0.28);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fecaca;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
  animation: badgeGlowPulse 2.5s infinite;
}

.product-card-badge.badge-new {
  background: rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(96, 165, 250, 0.7);
  color: #bfdbfe;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.45);
}

.product-card-badge.badge-bestseller {
  background: rgba(217, 119, 6, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.7);
  color: #fef08a;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}

.product-card-badge.badge-featured {
  background: rgba(124, 58, 237, 0.28);
  border: 1px solid rgba(192, 132, 252, 0.7);
  color: #f3e8ff;
  box-shadow: 0 0 16px rgba(147, 51, 234, 0.45);
}

@keyframes badgeGlowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.03); }
}


.admin-review-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.2s ease;
}

.admin-review-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 99, 235, 0.3);
}

.admin-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(37, 99, 235, 0.4);
}

.admin-review-content {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
  font-style: italic;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.admin-page-body {
  background: #06070e;
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

.admin-dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}


.admin-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: rgba(8, 10, 18, 0.94);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  z-index: 100;
}

.admin-sidebar-header {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.admin-sidebar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.8));
}

.admin-sidebar-title-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.admin-brand-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: 0.1em;
}

.admin-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  scrollbar-width: none;
}

.admin-nav-group-title {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #475569;
  margin: 12px 10px 6px 10px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  text-decoration: none;
}

.admin-nav-item i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-nav-item:hover i {
  transform: scale(1.1);
}

.admin-nav-item.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.18);
}

.admin-nav-item.active i {
  color: #60a5fa !important;
}

.admin-nav-count {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
}

.admin-nav-exit {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #cbd5e1;
}

.admin-nav-exit:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #60a5fa;
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 6px 8px;
  transition: all 0.2s ease;
  box-shadow: none;
  backdrop-filter: none;
}

.admin-user-pill:hover {
  background: rgba(255, 255, 255, 0.04);
}

.admin-user-avatar-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.admin-user-avatar-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.admin-user-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.admin-user-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.admin-user-role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1;
  width: fit-content;
  font-family: inherit;
}

.admin-user-logout-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.admin-user-logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
  transform: translateX(2px);
}


.admin-main-viewport {
  flex: 1;
  min-width: 0;
  padding: 32px 40px 60px 40px;
}

@media (max-width: 900px) {
  .admin-dashboard-wrapper {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .admin-main-viewport {
    padding: 20px;
  }
}


.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.admin-page-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 4px;
}

.admin-page-desc {
  font-size: 0.85rem;
  color: #94a3b8;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.admin-tab-pane {
  display: none;
  animation: adminFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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


.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  background: rgba(13, 17, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.admin-kpi-card:hover {
  background: rgba(18, 24, 42, 0.85);
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.15);
}

.admin-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.admin-kpi-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.admin-kpi-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-kpi-icon-wrap i {
  width: 18px;
  height: 18px;
}

.admin-kpi-val {
  font-size: 1.95rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.1;
  font-family: var(--font-sans);
}

.admin-kpi-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}

.admin-kpi-trend.positive { color: #34d399; }
.admin-kpi-trend.neutral { color: #94a3b8; }


.admin-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
}

.admin-chart-box {
  background: rgba(13, 17, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.admin-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-chart-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.admin-chart-sub {
  font-size: 0.78rem;
  color: #64748b;
}

.admin-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  flex: 1;
}

.admin-chart-canvas-wrap.doughnut-wrap {
  height: 250px;
}


.admin-panel-card {
  background: rgba(13, 17, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.admin-panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}


.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 260px;
}

.admin-search-wrap i {
  position: absolute;
  left: 12px;
}

.admin-table-search-input {
  width: 100%;
  background: #090b14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 14px 9px 38px;
  color: #ffffff;
  font-size: 0.84rem;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.admin-table-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.admin-data-table-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.admin-data-table th {
  padding: 12px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.admin-data-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.admin-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.tbl-trans-id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.tbl-pkg-tag {
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
}

.tbl-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tbl-status-badge.status-completed {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}



.admin-auth-lock-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 18, 36, 0.94) 0%, rgba(5, 7, 14, 0.98) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.admin-auth-card {
  background: linear-gradient(180deg, rgba(15, 18, 35, 0.85) 0%, rgba(9, 11, 22, 0.95) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 24px;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(88, 101, 242, 0.18);
  animation: adminAuthCardPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.admin-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5865F2, transparent);
}

.admin-auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #818cf8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.admin-auth-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5865F2;
  box-shadow: 0 0 8px #5865F2;
  animation: authDotPulse 1.5s infinite;
}

@keyframes authDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.admin-auth-logos-beam {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-auth-logo-circle {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.admin-auth-logo-circle.maitu-logo {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
}

.admin-auth-logo-circle.maitu-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.admin-auth-logo-circle.discord-logo {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.5);
}

.admin-auth-beam-line {
  width: 44px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.admin-auth-beam-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #5865F2, transparent);
  animation: beamFlow 1.8s infinite linear;
}

@keyframes beamFlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-discord-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 14px;
  background: #5865F2;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.45);
  transition: all 0.22s ease;
}

.btn-discord-large:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.65);
}

.admin-user-logout-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admin-user-logout-btn:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
}


.discord-oauth-fullscreen-page {
  position: fixed;
  inset: 0;
  background: #1e1f22;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-y: auto;
}

.discord-topbar-brand {
  position: absolute;
  top: 28px;
  left: 36px;
}

.discord-oauth-card-main {
  background: #313338;
  border-radius: 8px;
  max-width: 490px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  animation: discordCardFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes discordCardFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.discord-avatars-connect-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.discord-avatar-circle-app {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, #7c3aed 0%, #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.discord-avatar-circle-app img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.discord-avatars-dots {
  color: #80848e;
  font-size: 1.8rem;
  letter-spacing: 4px;
  line-height: 1;
  user-select: none;
  font-weight: 900;
}

.discord-avatar-circle-user {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: #2b2d31;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.discord-avatar-circle-user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-oauth-app-title {
  font-size: 1.42rem;
  font-weight: 800;
  color: #f2f3f5;
  margin: 0 0 4px 0;
  text-align: center;
  letter-spacing: -0.01em;
}

.discord-oauth-app-sub {
  font-size: 0.88rem;
  color: #949ba4;
  margin: 0 0 6px 0;
  text-align: center;
}

.discord-oauth-signed-in {
  font-size: 0.8rem;
  color: #949ba4;
  margin-bottom: 20px;
  text-align: center;
}

.discord-oauth-signed-in strong {
  color: #f2f3f5;
}

.discord-not-you-link {
  color: #00a8fc;
  text-decoration: none;
  margin-left: 6px;
  font-weight: 600;
  cursor: pointer;
}

.discord-not-you-link:hover {
  text-decoration: underline;
}

.discord-oauth-inner-box {
  background: #2b2d31;
  border-radius: 8px;
  padding: 18px 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.discord-inner-heading {
  font-size: 0.78rem;
  font-weight: 800;
  color: #b5bac1;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.discord-inner-scope-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #dbdee1;
  line-height: 1.4;
}

.discord-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4e5058;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.discord-cross-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #383a40;
  color: #80848e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.discord-scope-disabled {
  color: #80848e;
}

.discord-inline-code {
  background: #1e1f22;
  color: #5865F2;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.discord-inner-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 0;
}

.discord-inner-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.73rem;
  color: #949ba4;
  line-height: 1.45;
}

.discord-redirect-link {
  color: #00a8fc;
  text-decoration: none;
  word-break: break-all;
}

.discord-redirect-link:hover {
  text-decoration: underline;
}

.discord-oauth-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  gap: 12px;
}

.btn-discord-oauth-cancel {
  background: #4e5058;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 24px;
  text-decoration: none;
  text-align: center;
  flex: 1;
  transition: background 0.15s ease;
  cursor: pointer;
}

.btn-discord-oauth-cancel:hover {
  background: #6d6f78;
}

.btn-discord-oauth-authorize {
  background: #5865F2;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 24px;
  cursor: pointer;
  flex: 1;
  transition: background 0.15s ease;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.btn-discord-oauth-authorize:hover {
  background: #4752c4;
}




.doughnut-center-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.doughnut-center-number {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}

.doughnut-center-label {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.05em;
}

.doughnut-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.doughnut-breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.doughnut-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.doughnut-bar-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.doughnut-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.admin-connect-portal-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 30%, rgba(88, 101, 242, 0.12) 0%, rgba(10, 15, 29, 0.96) 70%, #060913 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-connect-card {
  width: 100%;
  max-width: 480px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(88, 101, 242, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: cardFadeScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-connect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.8), rgba(0, 242, 254, 0.9), transparent);
  animation: glowShimmerTop 3s ease-in-out infinite;
}

@keyframes glowShimmerTop {
  0% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
  100% { transform: translateX(-30%); }
}

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

.admin-connect-icon-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-connect-logo-circle {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.admin-connect-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.admin-connect-discord-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5865F2;
  border: 2.5px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.6);
}

.admin-connect-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.admin-connect-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.admin-connect-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 24px;
}

.admin-connect-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 24px;
  text-align: left;
}

.admin-connect-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
}

.admin-connect-perk-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.btn-discord-connect-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -4px rgba(88, 101, 242, 0.6), 0 0 20px rgba(88, 101, 242, 0.3);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-discord-connect-main:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #6b77f5 0%, #5865F2 100%);
  box-shadow: 0 15px 35px -4px rgba(88, 101, 242, 0.8), 0 0 30px rgba(88, 101, 242, 0.5);
  color: #ffffff;
}

.btn-discord-connect-main:active {
  transform: translateY(1px);
}

.admin-connect-bottom-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-connect-cancel-link {
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.admin-connect-cancel-link:hover {
  color: #94a3b8;
}

.admin-connect-guild-pill {
  font-size: 0.72rem;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.admin-connect-guild-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.security-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 26px;
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  animation: securityPulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

@keyframes securityPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 0;
  }
}

.security-spinner-ring {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(59, 130, 246, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: securitySpin 0.75s linear infinite;
}

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

@keyframes shieldPulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 14px #3b82f6); }
}

@keyframes scaleInSuccess {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shakeDenied {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.admin-connect-portal-wrap.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}


.discord-community-banner {
  position: relative;
  border-radius: 24px;
  padding: 40px 44px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14) 0%, rgba(15, 18, 35, 0.95) 50%, rgba(7, 9, 18, 0.98) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(88, 101, 242, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  margin-top: 20px;
}

.discord-banner-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.5;
}

.discord-banner-glow-1 {
  top: -40px;
  left: 20%;
  width: 200px;
  height: 200px;
  background: rgba(88, 101, 242, 0.35);
}

.discord-banner-glow-2 {
  bottom: -60px;
  right: 15%;
  width: 250px;
  height: 250px;
  background: rgba(37, 99, 235, 0.25);
}

.discord-banner-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  flex: 1;
}

.discord-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 14px;
}

.discord-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.discord-partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-left: 2px;
}

.discord-banner-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.discord-banner-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.discord-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.discord-perk-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.discord-perk-chip:hover {
  background: rgba(88, 101, 242, 0.12);
  border-color: rgba(88, 101, 242, 0.3);
  transform: translateY(-1px);
}

.discord-banner-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-discord-join-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5), 0 0 20px rgba(88, 101, 242, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-discord-join-hero:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #6b77f5 0%, #5865F2 100%);
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.7), 0 0 35px rgba(88, 101, 242, 0.5);
  color: #ffffff !important;
}

.discord-btn-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-discord-join-hero:hover .discord-btn-icon {
  transform: scale(1.1) rotate(-5deg);
}

.discord-avatars-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.discord-avatar-stack {
  display: flex;
  align-items: center;
}

.discord-avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #090c18;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.discord-avatar-stack img:first-child {
  margin-left: 0;
}

.discord-avatars-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
}


.discord-wumpus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wumpus-bubble {
  position: absolute;
  top: -24px;
  right: -10px;
  background: rgba(15, 20, 38, 0.95);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e0e7ff;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 10;
  animation: bubbleFloat 3.5s ease-in-out infinite alternate;
}

.wumpus-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 30px;
  width: 10px;
  height: 10px;
  background: rgba(15, 20, 38, 0.95);
  border-right: 1px solid rgba(88, 101, 242, 0.4);
  border-bottom: 1px solid rgba(88, 101, 242, 0.4);
  transform: rotate(45deg);
}

@keyframes bubbleFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-5px); }
}

.wumpus-stage {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wumpus-glow-orb {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbPulse 4s infinite ease-in-out alternate;
}

@keyframes orbPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.wumpus-character-svg {
  width: 170px;
  height: 170px;
  animation: wumpusFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

@keyframes wumpusFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.wumpus-hand-wave {
  transform-origin: 140px 125px;
  animation: waveArm 2.5s ease-in-out infinite;
}

@keyframes waveArm {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-5deg); }
  75% { transform: rotate(10deg); }
}

.wumpus-sparkle-1 { animation: sparkle 2s infinite ease-in-out; }
.wumpus-sparkle-2 { animation: sparkle 2.6s infinite ease-in-out 0.8s; }
.wumpus-sparkle-3 { animation: sparkle 3s infinite ease-in-out 1.5s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.4); }
}

.wumpus-discord-badge {
  position: absolute;
  bottom: 10px;
  right: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.6);
  animation: badgeFloat 3.8s ease-in-out infinite alternate;
}

@keyframes badgeFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(-6deg); }
}

@media (max-width: 900px) {
  .discord-community-banner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 28px;
  }
  .discord-banner-action-row {
    justify-content: center;
  }
  .discord-perks-grid {
    text-align: left;
  }
  .wumpus-bubble {
    right: auto;
  }
}


#modalDescription,
.modal-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

#modalDescription p,
.modal-body p {
  margin: 0 0 10px 0;
  color: #cbd5e1;
}

#modalDescription strong,
.modal-body strong,
#modalDescription b,
.modal-body b {
  color: #ffffff;
  font-weight: 700;
}

#modalDescription ul,
.modal-body ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 10px 0 16px 0 !important;
}

#modalDescription li,
.modal-body li {
  position: relative !important;
  padding-left: 16px !important;
  margin-bottom: 8px !important;
  color: #cbd5e1 !important;
  line-height: 1.55 !important;
  font-size: 0.88rem !important;
}

#modalDescription li::before,
.modal-body li::before {
  content: "" !important;
  position: absolute !important;
  left: 2px !important;
  top: 9px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #60a5fa !important;
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.7) !important;
}

#modalDescription li p,
.modal-body li p {
  display: inline !important;
  margin: 0 !important;
}

#modalDescription a,
.modal-body a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}


