@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@600;700&display=swap');

:root {
  --bg-body: #09080b;
  --bg-card: #121015;
  --bg-card-hover: #19161d;
  --bg-card-header: #17141b;
  --gold-primary: #d4af37;
  --gold-hover: #f3cf68;
  --gold-dark: #8c6827;
  --gold-light: #f7d68b;
  --gold-gradient: linear-gradient(135deg, #e5be65 0%, #a27410 100%);
  --gold-button-gradient: linear-gradient(180deg, #dfb757 0%, #a27410 100%);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-glow: rgba(243, 207, 104, 0.5);
  --text-main: #f0f0f5;
  --text-muted: #9c9ba9;
  --text-gold: #f3cf68;
  --font-heading: 'Bebas Neue', 'Cinzel', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html, body {
  background-color: var(--bg-body) !important;
  background: var(--bg-body) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--text-gold);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover, a:focus {
  color: var(--gold-light);
  text-decoration: none;
}

/* ==========================================================================
   FORCE ALL BOOTSTRAP & TEBEX PANELS, MODALS, AND MODULES TO DARK THEME
   ========================================================================== */
body .modal-content,
body .modal-header,
body .modal-body,
body .modal-footer,
body .panel,
body .panel-default,
body .panel-default > .panel-heading,
body .panel-default > .panel-body,
body .panel-default > .panel-footer,
body .panel-heading,
body .panel-body,
body .module,
body .module .panel-heading,
body .module .panel-body,
body .list-group-item,
div[class*="panel"],
div[class*="module"],
div[class*="modal"] {
  background-color: #121015 !important;
  background: #121015 !important;
  color: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}

body .panel-heading,
body .panel-default > .panel-heading,
body .modal-header,
body .modal-footer {
  background-color: #17141b !important;
  background: #17141b !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* MODAL CONTAINER & BACKDROP */
.modal-backdrop, .modal-backdrop.in {
  background-color: #050406 !important;
  opacity: 0.9 !important;
}

.modal-dialog {
  width: 92% !important;
  max-width: 760px !important;
  margin: 40px auto !important;
}

.modal-content {
  border: 1px solid rgba(243, 207, 104, 0.5) !important;
  border-radius: 12px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.3) !important;
  overflow: hidden !important;
}

.modal-header .close, .modal-header button.close {
  color: #ffffff !important;
  opacity: 0.8 !important;
  font-size: 24px !important;
  text-shadow: none !important;
  outline: none !important;
}

.modal-header .close:hover {
  color: var(--gold-primary) !important;
  opacity: 1 !important;
}

.modal-title, .modal-header h4 {
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  letter-spacing: 1.5px !important;
  color: #ffffff !important;
  margin: 0 !important;
}

/* MODAL & MODULE TYPOGRAPHY FIX */
.modal-body p,
.modal-body span,
.modal-body div,
.modal-body li,
.panel-body p,
.panel-body span,
.panel-body div,
.panel-body li,
.module p,
.module span,
.module div,
.module li {
  color: #b5b4c4 !important;
}

.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.panel-body h1,
.panel-body h2,
.panel-body h3,
.panel-body h4,
.module h1,
.module h2,
.module h3,
.module h4 {
  font-family: var(--font-heading) !important;
  color: #f7d68b !important;
}

.modal-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  border: 1px solid var(--border-dark) !important;
  margin: 12px 0 20px 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.modal-footer .btn-primary, .modal-footer .btn-success, .modal-footer a.btn {
  background: var(--gold-button-gradient) !important;
  border: none !important;
  color: #0a090c !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

.modal-footer .btn-primary:hover, .modal-footer .btn-success:hover, .modal-footer a.btn:hover {
  background: linear-gradient(180deg, #f7d68b 0%, #c59d4c 100%) !important;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}

/* LIST ITEMS IN PAYMENTS & MODULES */
ul.payments, ul.top-donator, .panel-body ul, .module ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.payments li, .panel-body ul li, .module ul li {
  list-style: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

ul.payments li:hover, .panel-body ul li:hover, .module ul li:hover {
  border-color: rgba(212, 175, 55, 0.4) !important;
  background: rgba(212, 175, 55, 0.06) !important;
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
.qq-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(180deg, rgba(9, 8, 11, 0.98) 0%, rgba(9, 8, 11, 0.7) 70%, rgba(9, 8, 11, 0) 100%);
  padding: 16px 0;
}

.qq-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.qq-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1.5px;
  color: #ffffff !important;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.qq-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
  flex-shrink: 0;
}

.qq-logo span {
  color: var(--gold-primary);
}

.qq-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.qq-nav-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qq-nav-links a {
  color: #d1d0dd !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 0;
  white-space: nowrap;
  position: relative;
}

.qq-nav-links a:hover,
.qq-nav-links a.active {
  color: var(--gold-light) !important;
}

.qq-nav-links a.active::after,
.qq-nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

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

.qq-cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: #ffffff !important;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.qq-cart-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-primary) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.qq-cart-badge {
  background: var(--gold-gradient);
  color: #0a090c;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.qq-hero {
  position: relative;
  min-height: 540px;
  padding-top: 150px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.qq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(9, 8, 11, 0.85) 0%, rgba(9, 8, 11, 0.45) 50%, #09080b 100%);
}

.qq-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.qq-hero-tag {
  color: #c59d4c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.qq-hero-title {
  font-family: var(--font-heading);
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.qq-hero-title span {
  color: #d4af37;
  display: block;
}

.qq-hero-desc {
  color: #a8a7b6;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
  font-family: var(--font-body);
}

.qq-hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-qq-gold {
  background: #d4af37;
  color: #0a090c !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-qq-gold:hover {
  background: #e5be65;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-qq-discord {
  background: rgba(10, 9, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-qq-discord:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* ==========================================================================
   PACKAGE CARDS & GRID LAYOUT FIX FOR CATEGORY PAGES
   ========================================================================== */
.qq-section {
  margin-bottom: 50px;
}

.qq-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 12px;
}

.qq-section-title {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 1.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qq-section-title .diamond {
  color: var(--gold-primary);
  font-size: 14px;
}

.qq-view-all {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.qq-view-all:hover {
  color: var(--gold-primary);
}

/* STRICT 4-COLUMN GRID FOR CATEGORY PAGES */
.qq-packages-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
}

@media (max-width: 992px) {
  .qq-packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .qq-packages-grid {
    grid-template-columns: 1fr !important;
  }
}

/* HORIZONTAL FEATURED PACKAGE LIST */
.qq-packages-carousel-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin-bottom: 30px;
  width: 100%;
}

.qq-packages-carousel-container::-webkit-scrollbar {
  height: 6px;
}

.qq-packages-carousel-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.qq-packages-carousel-container::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

.qq-packages-slider {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: max-content;
}

.qq-packages-slider.is-marquee {
  animation: qqSlideRight var(--qq-marquee-duration, 38s) linear infinite !important;
  will-change: transform;
}

.qq-packages-carousel-container:hover .qq-packages-slider.is-marquee {
  animation-play-state: paused !important;
}

@keyframes qqSlideRight {
  from {
    transform: translate3d(calc(0px - var(--qq-marquee-distance, 1000px)), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.qq-featured-empty {
  width: min(100%, 480px);
  margin: 0;
  padding: 20px;
  border: 1px dashed var(--border-gold);
  border-radius: 8px;
  color: var(--text-muted);
  text-align: center;
}

.qq-package-card-slide {
  width: 290px !important;
  min-width: 290px !important;
  flex-shrink: 0 !important;
}

.qq-package-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 440px !important;
  transition: all 0.35s ease !important;
  position: relative !important;
}

.qq-package-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--border-gold-glow) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2) !important;
}

.qq-package-img-wrap {
  position: relative;
  height: 170px;
  min-height: 170px;
  overflow: hidden;
  background: #09080b;
}

.qq-package-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.qq-package-card:hover .qq-package-img {
  transform: scale(1.06);
}

.qq-badge-best {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-gradient);
  color: #0a090c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.qq-package-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  overflow: hidden;
}

.qq-package-title {
  font-family: var(--font-heading);
  font-size: 18px !important;
  letter-spacing: 1px;
  color: #ffffff !important;
  margin-bottom: 8px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2 !important;
}

.qq-package-features {
  color: #a7a6b8 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  margin-bottom: 14px !important;
  flex-grow: 1;
  max-height: 90px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: ellipsis !important;
}

.qq-package-features h1,
.qq-package-features h2,
.qq-package-features h3,
.qq-package-features h4,
.qq-package-features h5,
.qq-package-features h6 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 2px 0 !important;
  line-height: 1.3 !important;
  display: inline !important;
}

.qq-package-features p,
.qq-package-features span,
.qq-package-features div,
.qq-package-features li,
.qq-package-features strong {
  font-size: 12px !important;
  color: #a7a6b8 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.qq-package-features ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.qq-package-features ul li::before {
  content: '•';
  color: var(--gold-primary);
  margin-right: 6px;
  font-weight: bold;
}

.qq-package-features img {
  display: none !important;
}

.qq-package-footer {
  border-top: 1px solid var(--border-dark);
  padding-top: 12px;
  margin-top: auto;
}

.qq-package-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.qq-package-price small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-qq-outline {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: #ffffff !important;
  padding: 9px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-qq-outline:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0a090c !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}


.qq-modules-source {
  border: 0 !important;
  background: transparent !important;
}

.qq-modules-source > .module {
  margin-bottom: 18px;
}

/* ==========================================================================
   PREMIUM RECENT PAYMENTS
   ========================================================================== */
.qq-payments-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28) !important;
}

.qq-payments-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  z-index: 2;
}

.qq-payments-panel .qq-payments-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 20px !important;
}

.qq-payments-heading-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qq-payments-panel .qq-payments-title,
.qq-payments-panel .qq-payments-subtitle {
  display: block;
}

.qq-payments-panel .qq-payments-title {
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 1.2px;
  line-height: 1.1;
}

.qq-payments-panel .qq-payments-subtitle {
  margin-top: 4px;
  color: var(--text-muted) !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.qq-payments-panel .qq-live-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(86, 211, 147, .3);
  border-radius: 999px;
  background: rgba(86, 211, 147, .08);
  color: #72dca7 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.qq-payments-panel .qq-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72dca7;
  box-shadow: 0 0 0 4px rgba(114, 220, 167, .1);
}

.qq-payments-panel .panel-body {
  padding: 14px !important;
}

ul.payments.qq-payment-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

ul.payments.qq-payment-list .qq-payment-item {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 255, 255, .07) !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)) !important;
  transition: transform .25s ease, border-color .25s ease, background .25s ease !important;
}

ul.payments.qq-payment-list .qq-payment-item:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, .42) !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, .09), rgba(255, 255, 255, .02)) !important;
}

.qq-payment-avatar {
  position: relative;
  flex: 0 0 44px;
}

.qq-payment-avatar img {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.qq-payments-panel .qq-payment-check {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid !important;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid #121015;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0a090c !important;
  font-size: 10px;
}

.qq-payment-info {
  flex: 1;
  min-width: 0;
}

.qq-payment-topline,
.qq-payment-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qq-payments-panel .qq-payment-ign {
  overflow: hidden;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qq-payments-panel .qq-payment-time {
  flex: 0 0 auto;
  color: var(--text-muted) !important;
  font-size: 9px;
  white-space: nowrap;
}

.qq-payment-extra {
  margin-top: 7px;
}

.qq-payments-panel .qq-payment-package {
  overflow: hidden;
  color: #c5c3ce !important;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qq-payments-panel .qq-payment-package i {
  color: var(--gold-primary);
}

.qq-payments-panel .qq-payment-price {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 5px;
  background: rgba(212, 175, 55, .08);
  color: var(--gold-primary) !important;
  font-size: 10px;
  font-weight: 800;
}

.qq-payments-panel .qq-payment-price small {
  color: #a7a6b8 !important;
  font-size: 8px;
}

ul.payments.qq-payment-list .qq-payment-empty {
  grid-column: 1 / -1;
  justify-content: center;
  color: var(--text-muted) !important;
}

@media (max-width: 768px) {
  ul.payments.qq-payment-list {
    grid-template-columns: 1fr;
  }

  .qq-payments-panel .qq-payments-heading {
    padding: 15px !important;
  }
}

/* ==========================================================================
   GLOBAL POLISH & RESPONSIVE DETAILS
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

html body {
  background:
    radial-gradient(circle at 12% 12%, rgba(212, 175, 55, .055), transparent 28%),
    radial-gradient(circle at 88% 42%, rgba(116, 71, 139, .045), transparent 24%),
    var(--bg-body) !important;
}

::selection {
  background: rgba(212, 175, 55, .35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #09080b;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #09080b;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4af37, #76531a);
}

:focus-visible {
  outline: 2px solid var(--gold-hover) !important;
  outline-offset: 3px;
}

.qq-main {
  position: relative;
  margin-top: 40px;
}

.qq-header {
  border-bottom: 1px solid rgba(212, 175, 55, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.qq-logo-img {
  transition: transform .3s ease, filter .3s ease;
}

.qq-logo:hover .qq-logo-img {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, .7));
}

.qq-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(212, 175, 55, .08);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(212, 175, 55, .05), inset 0 0 80px rgba(212, 175, 55, .035);
  pointer-events: none;
}

.qq-hero-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, .55);
}

.qq-section-header {
  position: relative;
}

.qq-section-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.qq-category-description {
  margin-bottom: 26px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold-primary);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(212, 175, 55, .07), transparent);
  color: var(--text-muted);
  line-height: 1.75;
}

.qq-package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 207, 104, .65), transparent);
  z-index: 3;
}

.qq-package-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 8, 11, .72));
  pointer-events: none;
}

.qq-packages-carousel-container {
  overflow-x: hidden;
  padding: 8px 4px 24px;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.qq-featured-empty {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(255,255,255,.025) 30%, rgba(212,175,55,.07) 48%, rgba(255,255,255,.025) 66%);
  background-size: 220% 100%;
  animation: qqLoadingShimmer 2.2s linear infinite;
}

@keyframes qqLoadingShimmer {
  to { background-position-x: -220%; }
}

body .panel,
body .panel-default {
  border-radius: 10px !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
  overflow: hidden;
}

body .form-control,
body input.form-control,
body select.form-control,
body textarea.form-control {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .035) !important;
  color: #fff !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body .form-control:focus {
  border-color: rgba(212, 175, 55, .65) !important;
  background: rgba(212, 175, 55, .045) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .09) !important;
}

body .form-control::placeholder {
  color: #777584;
}

body .table {
  margin-bottom: 0;
  color: #d7d5df;
  background: transparent !important;
}

body .table > thead > tr > th {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(212, 175, 55, .25) !important;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

body .table > tbody > tr > td {
  padding: 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
  vertical-align: middle;
}

body .table-striped > tbody > tr:nth-of-type(odd),
body .table-hover > tbody > tr:hover {
  background: rgba(212, 175, 55, .035) !important;
}

.checkout .packages {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 8px;
}

body .btn {
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body .btn:hover {
  transform: translateY(-1px);
}

body .alert {
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 8px;
  background: #151219;
  color: #f0eff4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.qq-footer {
  position: relative;
}

.qq-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(520px, 70%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

@media (max-width: 900px) {
  .qq-header .container-fluid {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .qq-nav-links {
    display: none;
  }

  .qq-hero-title {
    font-size: 64px;
  }
}

@media (max-width: 576px) {
  .qq-header {
    padding: 12px 0;
  }

  .qq-logo {
    max-width: 58%;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
  }

  .qq-logo-img {
    height: 32px;
  }

  .qq-nav-actions > .btn-qq-discord {
    display: none;
  }

  .qq-hero {
    min-height: 590px;
    padding-top: 128px;
  }

  .qq-hero-title {
    font-size: 48px;
    line-height: .95;
  }

  .qq-hero-desc {
    font-size: 13px;
  }

  .qq-hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .qq-hero-buttons a {
    justify-content: center;
  }

  .qq-main {
    margin-top: 26px;
  }

  .qq-section {
    margin-bottom: 38px;
  }

  .qq-section-header {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .qq-section-title {
    font-size: 22px;
  }

  .qq-package-card-slide {
    width: 260px !important;
    min-width: 260px !important;
  }

  .qq-package-card {
    min-height: 410px !important;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.qq-footer {
  background: #050406;
  border-top: 1px solid var(--border-dark);
  padding: 50px 0 30px 0;
  margin-top: 60px;
}

.qq-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 36px;
  margin-bottom: 36px;
}

@media (max-width: 992px) {
  .qq-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .qq-footer-grid {
    grid-template-columns: 1fr;
  }
}

.qq-footer-about p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 14px 0 20px 0;
}

.qq-social-links {
  display: flex;
  gap: 12px;
}

.qq-social-links a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 15px;
  transition: all 0.3s ease;
}

.qq-social-links a:hover {
  border-color: var(--border-gold);
  color: var(--gold-primary) !important;
  transform: translateY(-2px);
}

.qq-footer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 16px;
}

.qq-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qq-footer-links li {
  margin-bottom: 8px;
  list-style: none;
}

.qq-footer-links a {
  color: var(--text-muted) !important;
  font-size: 13px;
}

.qq-footer-links a:hover {
  color: var(--gold-primary) !important;
}

.qq-discord-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 20px;
}

.qq-discord-widget p {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 16px;
}

.qq-footer-copyright {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}
.qq-basket-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9d7e0;
  font-size: 11px;
}

.qq-basket-option i {
  color: var(--gold-primary);
}

.qq-basket-option-empty {
  color: var(--text-muted);
}

/* ========================================================================== 
   RECENT SUPPORTERS SHOWCASE & TRUST STRIP
   ========================================================================== */
.qq-supporters-section {
  position: relative;
  margin-top: 10px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(212, 175, 55, .11), transparent 30%),
    linear-gradient(145deg, rgba(23, 20, 27, .96), rgba(12, 11, 14, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .025);
  overflow: hidden;
}

.qq-supporters-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.qq-supporters-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.qq-supporters-header .qq-section-title {
  margin: 2px 0 0;
  font-size: 28px;
}

.qq-supporters-kicker {
  color: var(--gold-primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.qq-supporters-header p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.qq-supporters-header .qq-live-badge {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(86, 211, 147, .28);
  border-radius: 999px;
  background: rgba(86, 211, 147, .075);
  color: #72dca7 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.qq-supporters-header .qq-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72dca7;
  box-shadow: 0 0 0 4px rgba(114, 220, 167, .1), 0 0 12px rgba(114, 220, 167, .45);
  animation: qqLivePulse 1.8s ease-in-out infinite;
}

@keyframes qqLivePulse {
  50% { opacity: .45; transform: scale(.8); }
}

.qq-supporters-section .qq-modules-source,
.qq-supporters-section .qq-payments-panel,
.qq-supporters-section .qq-payments-panel .panel-body {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.qq-supporters-section .qq-payments-heading {
  display: none !important;
}

.qq-supporters-section .qq-payments-panel,
.qq-supporters-section .qq-modules-source > .qq-payments-panel {
  margin: 0 !important;
}

.qq-supporters-section .qq-payments-panel .panel-body {
  padding: 0 !important;
}

.qq-supporters-section ul.payments.qq-payment-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.qq-supporters-section ul.payments.qq-payment-list .qq-payment-item {
  min-height: 82px;
  padding: 16px !important;
  border-color: rgba(212, 175, 55, .12) !important;
  background: linear-gradient(140deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)) !important;
}

.qq-supporters-section ul.payments.qq-payment-list .qq-payment-item::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 9px;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .45));
}

.qq-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -18px 0 56px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 18, 23, .94), rgba(13, 12, 15, .98));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.qq-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, .065);
  transition: background .25s ease, transform .25s ease;
}

.qq-trust-item:last-child {
  border-right: 0;
}

.qq-trust-item:hover {
  background: rgba(212, 175, 55, .045);
}

.qq-trust-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, .26);
  border-radius: 9px;
  background: rgba(212, 175, 55, .075);
  color: var(--gold-primary);
  font-size: 18px;
  box-shadow: inset 0 0 15px rgba(212, 175, 55, .035);
}

.qq-trust-item div {
  min-width: 0;
}

.qq-trust-item strong,
.qq-trust-item small {
  display: block;
}

.qq-trust-item strong {
  color: #fff;
  font-size: 10px;
  letter-spacing: .8px;
  white-space: nowrap;
}

.qq-trust-item small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .qq-supporters-section ul.payments.qq-payment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qq-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qq-trust-item:nth-child(2) {
    border-right: 0;
  }

  .qq-trust-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .065);
  }
}

@media (max-width: 768px) {
  .qq-supporters-section {
    padding: 20px 16px;
  }

  .qq-supporters-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .qq-supporters-section ul.payments.qq-payment-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .qq-trust-strip {
    grid-template-columns: 1fr;
  }

  .qq-trust-item,
  .qq-trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
  }

  .qq-trust-item:last-child {
    border-bottom: 0;
  }
}

/* ========================================================================== 
   FIXED DISCOUNT COUPON NOTICE
   ========================================================================== */
.qq-coupon-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  display: flex;
  gap: 14px;
  width: min(390px, calc(100vw - 32px));
  padding: 20px 18px;
  border: 1px solid rgba(212, 175, 55, .34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(212, 175, 55, .14), transparent 34%),
    linear-gradient(145deg, rgba(24, 21, 28, .97), rgba(11, 10, 13, .985));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .62), 0 0 32px rgba(212, 175, 55, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: qqCouponNoticeIn .48s cubic-bezier(.2, .8, .2, 1) both;
  overflow: hidden;
}

.qq-coupon-notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hover), transparent);
}

.qq-coupon-notice.is-closing {
  pointer-events: none;
  animation: qqCouponNoticeOut .25s ease both;
}

@keyframes qqCouponNoticeIn {
  from { opacity: 0; transform: translate3d(24px, 18px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes qqCouponNoticeOut {
  to { opacity: 0; transform: translate3d(28px, 12px, 0) scale(.96); }
}

.qq-coupon-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  background: rgba(255, 255, 255, .035);
  color: #aaa8b4;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.qq-coupon-close:hover {
  border-color: rgba(212, 175, 55, .42);
  background: rgba(212, 175, 55, .09);
  color: #fff;
  transform: rotate(5deg);
}

.qq-coupon-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-top: 2px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .045));
  color: var(--gold-hover);
  font-size: 22px;
  box-shadow: inset 0 0 18px rgba(212, 175, 55, .05), 0 8px 24px rgba(0, 0, 0, .25);
}

.qq-coupon-content {
  min-width: 0;
  padding-right: 18px;
}

.qq-coupon-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-primary);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.qq-coupon-content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: .9px;
  line-height: 1.1;
}

.qq-coupon-content p {
  margin: 0;
  color: #b8b6c1;
  font-size: 11px;
  line-height: 1.58;
}

.qq-coupon-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.qq-coupon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(212, 175, 55, .42);
  border-radius: 7px;
  background: var(--gold-button-gradient);
  color: #0a090c !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
  white-space: nowrap;
  box-shadow: 0 7px 20px rgba(212, 175, 55, .16);
}

.qq-coupon-button:hover {
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(212, 175, 55, .28);
}

.qq-coupon-actions > span {
  color: #8f8d99;
  font-size: 8px;
  white-space: nowrap;
}

.qq-coupon-actions > span i {
  color: #72dca7;
}

@media (max-width: 520px) {
  .qq-coupon-notice {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px 16px;
  }

  .qq-coupon-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .qq-coupon-content {
    padding-right: 12px;
  }

  .qq-coupon-content h3 {
    font-size: 18px;
  }

  .qq-coupon-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
