/* ========================================= */
/* ========== AURORA MC THEME ============= */
/* ========================================= */

:root {
  /* Aurora Colors */
  --aurora-cyan: #00D9FF;
  --aurora-cyan-dark: #00B4D8;
  --aurora-purple: #A855F7;
  --aurora-purple-dark: #7C3AED;
  --aurora-magenta: #E879F9;
  --aurora-green: #10B981;
  --aurora-blue: #3B82F6;
  --aurora-yellow: #FBBF24;
  --aurora-orange: #F97316;
  --aurora-pink: #EC4899;

  /* Theme Colors - Uses config value from layout.html, fallback to cyan */
  --p-color: var(--p-color, #00D9FF);
  --bg-primary: #1a1525;
  --bg-secondary: #1a1525;
  --bg-card: #211c2e;
  --bg-card-hover: #2a2440;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #888888;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-cyan: 0 0 15px rgba(0, 217, 255, 0.3);
  --glow-purple: 0 0 15px rgba(168, 85, 247, 0.3);

  /* Tebex Footer */
  --tebex-legal-footer-background-color: #1c1c1c;
  --tebex-legal-footer-text-color: #6a6a6a;
  --tebex-legal-footer-border-color: transparent;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

/* ========== HEADER ========== */
.header-wrapper {
  height: var(--header-height, 550px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  z-index: 2;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.9), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(0,217,255,0.9), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(168,85,247,0.9), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 200px 50px, rgba(0,217,255,0.8), transparent);
  background-size: 550px 300px;
  animation: moveStars 60s linear infinite;
}

.stars::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 100px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 180px 120px, rgba(0,217,255,0.7), transparent),
    radial-gradient(1px 1px at 220px 40px, rgba(168,85,247,0.6), transparent),
    radial-gradient(2px 2px at 280px 170px, rgba(255,255,255,0.8), transparent);
  background-size: 480px 250px;
  animation: moveStars2 45s linear infinite;
}

@keyframes moveStars {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

@keyframes moveStars2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30%, -40%); }
}

.header-top-row {
  position: absolute;
  top: 1.5rem;
  left: 5%;
  right: 5%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
}

/* Header Buttons - Home */
.btn-header-home {
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-header-home:hover {
  background: rgba(0, 217, 255, 0.2);
  border-color: var(--aurora-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.btn-header-home i {
  font-size: 1.1rem;
  color: var(--aurora-cyan);
}

/* Header Buttons - Cart */
.btn-header-cart {
  border-radius: 25px;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
  border: none;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-header-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
  color: #fff;
}

.btn-header-cart i {
  font-size: 1.1rem;
}

.cart-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 0.3rem;
}

/* Legacy support */
.btn-header-new {
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-header-new:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* Logo Area */
.logo-ds-flex {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  max-width: 1600px;
  padding: 0 2rem;
  z-index: 10;
  align-items: center;
  gap: 4rem;
}

.logo-container {
  display: flex;
  justify-content: center;
  padding: 0 3rem;
  min-height: var(--logo-height, 300px);
}

.logo {
  height: var(--logo-height, 300px);
  width: auto;
  transition: transform 0.3s ease;
  animation: floatLogo 4s ease-in-out infinite, logoRgbGlow 10s linear infinite;
}

.logo:hover {
  transform: scale(1.05);
  animation: logoRgbGlow 10s linear infinite;
  filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.8))
          drop-shadow(0 0 60px rgba(168, 85, 247, 0.6))
          drop-shadow(0 0 90px rgba(0, 217, 255, 0.4));
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes logoRgbGlow {
  0% {
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.7))
            drop-shadow(0 0 30px rgba(0, 217, 255, 0.4))
            drop-shadow(0 0 45px rgba(0, 217, 255, 0.2));
  }
  25% {
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.7))
            drop-shadow(0 0 30px rgba(168, 85, 247, 0.4))
            drop-shadow(0 0 45px rgba(168, 85, 247, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.7))
            drop-shadow(0 0 30px rgba(6, 182, 212, 0.4))
            drop-shadow(0 0 45px rgba(6, 182, 212, 0.2));
  }
  75% {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7))
            drop-shadow(0 0 30px rgba(139, 92, 246, 0.4))
            drop-shadow(0 0 45px rgba(139, 92, 246, 0.2));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.7))
            drop-shadow(0 0 30px rgba(0, 217, 255, 0.4))
            drop-shadow(0 0 45px rgba(0, 217, 255, 0.2));
  }
}

/* Status Boxes */
.status-box-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 2rem;
}

.discord-box-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 2rem;
}

/* RGB Animation Keyframes */
@keyframes rgb-border {
  0% { border-color: #00d9ff; box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), inset 0 0 20px rgba(0, 217, 255, 0.1); }
  33% { border-color: #a855f7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), inset 0 0 20px rgba(168, 85, 247, 0.1); }
  66% { border-color: #06b6d4; box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), inset 0 0 20px rgba(6, 182, 212, 0.1); }
  100% { border-color: #00d9ff; box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), inset 0 0 20px rgba(0, 217, 255, 0.1); }
}

@keyframes discord-rgb-border {
  0% { border-color: #5865F2; box-shadow: 0 0 25px rgba(88, 101, 242, 0.5), inset 0 0 20px rgba(88, 101, 242, 0.1); }
  33% { border-color: #7289da; box-shadow: 0 0 25px rgba(114, 137, 218, 0.5), inset 0 0 20px rgba(114, 137, 218, 0.1); }
  66% { border-color: #a855f7; box-shadow: 0 0 25px rgba(168, 85, 247, 0.5), inset 0 0 20px rgba(168, 85, 247, 0.1); }
  100% { border-color: #5865F2; box-shadow: 0 0 25px rgba(88, 101, 242, 0.5), inset 0 0 20px rgba(88, 101, 242, 0.1); }
}

/* Aurora Borealis Particle Animations */
@keyframes aurora-particle-1 {
  0% { transform: translateY(0) translateX(0) scale(0.8); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translateY(-25px) translateX(8px) scale(1); }
  80% { opacity: 0.8; }
  100% { transform: translateY(-50px) translateX(-5px) scale(0.3); opacity: 0; }
}

@keyframes aurora-particle-2 {
  0% { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
  30% { opacity: 0.9; }
  60% { transform: translateY(-30px) translateX(-10px) scale(1.2); }
  100% { transform: translateY(-60px) translateX(5px) scale(0); opacity: 0; }
}

@keyframes aurora-wave {
  0% { transform: translateY(0) scaleX(1); opacity: 0.6; }
  25% { transform: translateY(-10px) scaleX(1.1); opacity: 1; }
  50% { transform: translateY(-20px) scaleX(0.9); opacity: 0.8; }
  75% { transform: translateY(-30px) scaleX(1.05); opacity: 0.5; }
  100% { transform: translateY(-40px) scaleX(1); opacity: 0; }
}

@keyframes aurora-glow-pulse {
  0%, 100% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor; }
  50% { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor; }
}

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

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

.status-text, .discord-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.3rem;
  background:
    linear-gradient(180deg,
      rgba(0, 217, 255, 0.15) 0%,
      rgba(168, 85, 247, 0.08) 50%,
      rgba(10, 10, 30, 0.95) 100%),
    linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.85));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid #00d9ff;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  animation: rgb-border 10s linear infinite;
  margin-top: 15px;
}

.status-text::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00d9ff, #a855f7, #06b6d4, #00d9ff);
  background-size: 300% 300%;
  border-radius: 18px;
  z-index: -1;
  animation: shimmer 8s ease infinite, aurora-curtain 6s ease-in-out infinite;
  opacity: 0.6;
  filter: blur(8px);
}

@keyframes aurora-curtain {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.6; }
  50% { transform: translateY(-3px) scaleY(1.1); opacity: 0.8; }
}

/* Aurora Borealis Particles - Server */
.status-text::after {
  content: '✧ ✦ ✧';
  position: absolute;
  font-size: 14px;
  letter-spacing: 8px;
  color: #00d9ff;
  animation: aurora-float 5s ease-in-out infinite;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  text-shadow:
    0 0 10px #00d9ff,
    0 0 20px #00d9ff,
    0 0 30px #a855f7,
    0 0 40px #a855f7;
  filter: blur(0.5px);
}

@keyframes aurora-float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
    text-shadow:
      0 0 10px #00d9ff,
      0 0 20px #00d9ff,
      0 0 30px #a855f7;
  }
  25% {
    transform: translateX(-50%) translateY(-5px);
    opacity: 1;
    text-shadow:
      0 0 15px #a855f7,
      0 0 25px #a855f7,
      0 0 35px #06b6d4;
  }
  50% {
    transform: translateX(-50%) translateY(-2px);
    opacity: 0.9;
    text-shadow:
      0 0 10px #06b6d4,
      0 0 20px #06b6d4,
      0 0 30px #00d9ff;
  }
  75% {
    transform: translateX(-50%) translateY(-6px);
    opacity: 1;
    text-shadow:
      0 0 15px #00d9ff,
      0 0 25px #a855f7,
      0 0 35px #a855f7;
  }
}

.status-text:hover, .discord-text:hover {
  transform: translateY(-3px) scale(1.02);
  border-width: 2px;
}

.status-text .icon, .discord-text .icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00d9ff, #06b6d4);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.status-text .icon svg, .discord-text .icon svg {
  width: 22px;
  height: 22px;
  fill: white;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.discord-text .icon {
  background: linear-gradient(135deg, #5865F2, #7289da);
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

.discord-text {
  border-color: #5865F2;
  animation: discord-rgb-border 10s linear infinite;
}

.discord-text::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #5865F2, #7289da, #a855f7, #5865F2);
  background-size: 300% 300%;
  border-radius: 18px;
  z-index: -1;
  animation: discord-shimmer 8s ease infinite;
  opacity: 0.6;
  filter: blur(8px);
}

/* Aurora Borealis Particles - Discord */
.discord-text::after {
  content: '✧ ✦ ✧';
  position: absolute;
  font-size: 14px;
  letter-spacing: 8px;
  color: #7289da;
  animation: aurora-float-discord 5s ease-in-out infinite;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  text-shadow:
    0 0 10px #5865F2,
    0 0 20px #5865F2,
    0 0 30px #a855f7,
    0 0 40px #a855f7;
  filter: blur(0.5px);
}

@keyframes aurora-float-discord {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
    text-shadow:
      0 0 10px #5865F2,
      0 0 20px #5865F2,
      0 0 30px #7289da;
  }
  25% {
    transform: translateX(-50%) translateY(-5px);
    opacity: 1;
    text-shadow:
      0 0 15px #7289da,
      0 0 25px #a855f7,
      0 0 35px #a855f7;
  }
  50% {
    transform: translateX(-50%) translateY(-2px);
    opacity: 0.9;
    text-shadow:
      0 0 10px #a855f7,
      0 0 20px #5865F2,
      0 0 30px #5865F2;
  }
  75% {
    transform: translateX(-50%) translateY(-6px);
    opacity: 1;
    text-shadow:
      0 0 15px #5865F2,
      0 0 25px #7289da,
      0 0 35px #a855f7;
  }
}

.top-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.status-text .top-text {
  background: linear-gradient(90deg, #00d9ff, #a855f7, #00d9ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
}

.bottom-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

.discord-text .top-text {
  background: linear-gradient(90deg, #5865F2, #7289da, #a855f7, #5865F2);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
  text-shadow: none;
}

.discord-text .bottom-text {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
}

/* Status Numbers */
.status-number {
  font-weight: 800;
  font-size: 1.2rem;
}

.discord-join {
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.6);
}

@media (max-width: 1200px) {
  .status-box-container, .discord-box-container {
    display: none;
  }
  .logo-ds-flex {
    grid-template-columns: 1fr;
  }
}

/* ========== CATEGORY NAV ========== */
.category-nav {
  background: var(--bg-card);
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 9000 !important;
  overflow: visible !important;
  min-height: 70px;
}

.category-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* REMOVE ALL VERTICAL SEPARATORS/BORDERS */
.category-nav-inner > *,
.category-item,
.category-dropdown {
  border-left: none !important;
  border-right: none !important;
}

.category-nav-inner::before,
.category-nav-inner::after,
.category-item::before,
.category-item::after,
.category-dropdown::before,
.category-dropdown::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* Remove any Bootstrap/Tebex nav separators */
.nav-pills > li + li,
.nav > li + li,
.category-nav li + li {
  border-left: none !important;
  margin-left: 0 !important;
}

.category-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: 0.9rem 2rem;
  background: transparent;
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 25px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-item:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.2);
}

.category-item.active {
  background: var(--aurora-purple);
  color: white;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* Category items with dropdowns - not directly clickable */
.category-item.no-click {
  cursor: default !important;
  pointer-events: auto !important;
}

.category-dropdown:hover .category-item.no-click {
  cursor: default !important;
}

/* Category Icons - Support all Tebex icon types */
.category-item .cat-icon,
.cat-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
  font-size: 1.3rem !important;
}

/* Category icon images (PNG) */
.cat-icon img,
.cat-icon-img,
.category-item .cat-icon img,
.category-item .cat-icon-img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  display: inline-block !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

/* Icon color when category is active */
.category-item.active .cat-icon i {
  color: white !important;
}

.cat-name {
  display: inline-block;
  font-size: inherit;
}

/* Separador entre elementos */
.category-dropdown::before,
.category-nav-inner > a:not(:first-child)::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  margin-right: 1rem;
  margin-left: 0.3rem;
}

.category-dropdown {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

/* Dropdown Arrow */
.dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 0.4rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.category-dropdown:hover .dropdown-arrow,
.category-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* ========== DROPDOWN MENU - SMOOTH VERSION ========== */
.category-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  max-width: 280px;
  background: #1e1a2e;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 0.5rem 0;
  padding-top: 0.8rem;
  margin-top: 0;
  z-index: 99999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

/* Invisible bridge to prevent hover gap */
.category-dropdown .dropdown-menu::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

/* Show dropdown when open class is added */
.category-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Arrow indicator */
.category-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  border: 6px solid transparent;
  border-bottom-color: #1e1a2e;
  border-top: none;
}

/* Dropdown Items */
.category-dropdown .dropdown-menu .dropdown-item,
.category-dropdown .dropdown-menu > a,
.category-nav .dropdown-menu .dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0.9rem !important;
  color: #b8b8b8 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
  border-left: 3px solid transparent !important;
  background: transparent !important;
  white-space: nowrap !important;
}

.category-dropdown .dropdown-menu .dropdown-item:hover,
.category-dropdown .dropdown-menu .dropdown-item:focus,
.category-dropdown .dropdown-menu > a:hover,
.category-nav .dropdown-menu .dropdown-item:hover {
  background: rgba(168, 85, 247, 0.2) !important;
  color: #ffffff !important;
  border-left-color: var(--aurora-purple) !important;
  text-decoration: none !important;
}

.category-dropdown .dropdown-menu .dropdown-item:active {
  background: rgba(168, 85, 247, 0.3) !important;
}

/* Icon styling in dropdown items */
.category-dropdown .dropdown-menu .dropdown-item .cat-icon,
.category-dropdown .dropdown-menu .dropdown-item .cat-icon img {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
}

/* Ensure category-nav has proper z-index for dropdowns */
.category-nav {
  position: relative !important;
  z-index: 9000 !important;
  overflow: visible !important;
}

.category-nav-inner {
  position: relative !important;
  z-index: 9001 !important;
  overflow: visible !important;
}

.category-dropdown {
  position: relative !important;
  z-index: 9002 !important;
}

/* ========== MAIN CONTENT ========== */
.top-container {
  margin-top: -2rem;
  position: relative;
  z-index: 40;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: visible !important;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover) !important;
}

/* Sidebar cards - clean dark style */
.sidebar-card,
.sidebar-desktop .card {
  background: #1a1a24 !important;
  border: none !important;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: visible !important;
  transition: all 0.3s ease;
}

.sidebar-card:hover,
.sidebar-desktop .card:hover {
  background: #1f1f2a !important;
}

/* Card Header with Icon - Simple emoji style */
.card-header-icon {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 1.1rem 0.6rem 1.1rem !important;
  background: transparent !important;
  border-bottom: none !important;
}

.card-header-icon .header-icon {
  width: auto;
  height: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
  flex-shrink: 0 !important;
}

.card-header-icon .header-icon i {
  color: var(--aurora-purple) !important;
  font-size: 0.9rem !important;
}

.card-header-icon .header-title {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--aurora-purple) !important;
}

/* Info icon - purple dot style */
.card-header-icon .header-icon i.fa-circle {
  color: var(--aurora-purple) !important;
  font-size: 0.6rem !important;
}

.card-header-icon .header-icon i.fa-circle-info,
.card-header-icon .header-icon i.fa-info-circle {
  color: var(--aurora-purple) !important;
  font-size: 1rem !important;
}

.card-body {
  padding: 1.2rem !important;
  background: transparent !important;
}

.card-body-sm {
  padding: 0 1.1rem 1rem 1.1rem !important;
  background: transparent !important;
}

/* ========== INFO CARD ========== */
.info-text {
  font-size: 1.05rem !important;
  color: #8a8a9a !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ========== TEBEX MODULES STYLING ========== */
/* Transform Tebex modules to match Aurora theme */
.aurora-modules {
  display: block !important;
}

/* Hide modules until transformed to prevent flash */
.aurora-modules > *:not(.aurora-transformed-module) {
  opacity: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  pointer-events: none !important;
}

/* Show transformed modules with smooth fade */
.aurora-modules > *.aurora-transformed-module {
  opacity: 1 !important;
  max-height: 9999px !important;
  overflow: visible !important;
  margin-bottom: 1rem !important;
  animation: moduleReveal 0.3s ease forwards !important;
  background: #1a1a24 !important;
  border: none !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
}

.aurora-modules > *.aurora-transformed-module:hover {
  background: #1f1f2a !important;
}

@keyframes moduleReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Base container - ANY direct child is a module (only when transformed) */
/* Styles defined above in .aurora-modules > *.aurora-transformed-module */

/* Module containers - all possible Tebex class patterns */
.aurora-modules .widget,
.aurora-modules .module,
.aurora-modules .panel,
.aurora-modules .card,
.aurora-modules .sidebar-widget,
.aurora-modules .sidebar-module,
.aurora-modules [class*="widget"],
.aurora-modules [class*="module"],
.aurora-modules [class*="Module"],
.aurora-modules [class*="panel"],
.aurora-modules [class*="Panel"],
.aurora-modules [class*="sidebar"],
.aurora-modules [class*="Sidebar"],
.aurora-modules [class*="tebex"],
.aurora-modules [class*="Tebex"],
.aurora-modules > div {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: 8px !important;
  margin-bottom: 1.2rem !important;
  overflow: visible !important;
  box-shadow: none !important;
}

/* Module Headers - ALL possible patterns */
.aurora-modules .widget-header,
.aurora-modules .module-header,
.aurora-modules .panel-heading,
.aurora-modules .panel-header,
.aurora-modules .widget-title,
.aurora-modules .module-title,
.aurora-modules .card-header,
.aurora-modules [class*="header"]:first-child,
.aurora-modules [class*="Header"]:first-child,
.aurora-modules [class*="title"]:first-child,
.aurora-modules [class*="Title"]:first-child,
.aurora-modules [class*="heading"],
.aurora-modules [class*="Heading"],
.aurora-modules > * > h1:first-child,
.aurora-modules > * > h2:first-child,
.aurora-modules > * > h3:first-child,
.aurora-modules > * > h4:first-child,
.aurora-modules > * > h5:first-child,
.aurora-modules > * > h6:first-child,
.aurora-modules > div > div:first-child:not(:only-child) {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 1.1rem 0.6rem 1.1rem !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: var(--aurora-purple) !important;
}

/* Module Body - ALL possible patterns */
.aurora-modules .widget-body,
.aurora-modules .module-body,
.aurora-modules .panel-body,
.aurora-modules .card-body,
.aurora-modules .widget-content,
.aurora-modules .module-content,
.aurora-modules [class*="body"],
.aurora-modules [class*="Body"],
.aurora-modules [class*="content"]:not([class*="header"]):not([class*="Header"]),
.aurora-modules [class*="Content"]:not([class*="header"]):not([class*="Header"]),
.aurora-modules > div > div:last-child:not(:first-child),
.aurora-modules > div > div:nth-child(2) {
  padding: 1rem 1.2rem !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
}

/* ========== TOP DONATOR MODULE ========== */
.aurora-modules .top-donator,
.aurora-modules .top-buyer,
.aurora-modules .topDonator,
.aurora-modules .topBuyer,
.aurora-modules [class*="top-donator"],
.aurora-modules [class*="top-buyer"],
.aurora-modules [class*="topDonator"],
.aurora-modules [class*="topBuyer"],
.aurora-modules [class*="TopDonator"],
.aurora-modules [class*="TopBuyer"],
.aurora-modules [class*="donor"],
.aurora-modules [class*="Donor"] {
  background: var(--bg-card) !important;
}

/* Top Donator Layout - center the content */
.aurora-modules [class*="top-donator"] > div:last-child,
.aurora-modules [class*="topDonator"] > div:last-child,
.aurora-modules [class*="donor"] > div:last-child,
.aurora-modules .top-donator-body,
.aurora-modules .topDonator-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.5rem 1.2rem !important;
}

/* Top Donator Avatar */
.aurora-modules .top-donator .avatar,
.aurora-modules .top-donator img,
.aurora-modules .top-buyer img,
.aurora-modules [class*="top-donator"] img,
.aurora-modules [class*="topDonator"] img,
.aurora-modules [class*="TopDonator"] img,
.aurora-modules [class*="donor"] img:not([src*="payment"]) {
  width: 64px !important;
  height: 64px !important;
  border-radius: 6px !important;
  image-rendering: pixelated !important;
  margin-bottom: 0.8rem !important;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3) !important;
}

/* Top Donator Name */
.aurora-modules .top-donator .name,
.aurora-modules .top-donator .username,
.aurora-modules .top-donator span,
.aurora-modules .top-buyer .name,
.aurora-modules [class*="top-donator"] .name,
.aurora-modules [class*="topDonator"] .name,
.aurora-modules [class*="donor"] .name,
.aurora-modules [class*="donor"] span:not([class]) {
  font-weight: 700 !important;
  color: var(--aurora-cyan) !important;
  font-size: 1.1rem !important;
  display: block !important;
}

/* Top Donator Amount */
.aurora-modules .top-donator .amount,
.aurora-modules [class*="donor"] .amount,
.aurora-modules [class*="topDonator"] .amount {
  font-weight: 600 !important;
  color: var(--aurora-purple) !important;
  font-size: 0.9rem !important;
  margin-top: 0.3rem !important;
}

/* ========== RECENT PAYMENTS MODULE ========== */
.aurora-modules .recent-payments,
.aurora-modules .recent-donators,
.aurora-modules .recentPayments,
.aurora-modules .recentDonators,
.aurora-modules [class*="recent-payment"],
.aurora-modules [class*="recent-donator"],
.aurora-modules [class*="recentPayment"],
.aurora-modules [class*="recentDonator"],
.aurora-modules [class*="RecentPayment"],
.aurora-modules [class*="RecentDonator"],
.aurora-modules [class*="payments"],
.aurora-modules [class*="Payments"] {
  background: var(--bg-card) !important;
}

/* Recent payments grid of avatars - target any list or container */
.aurora-modules .recent-payments .avatars,
.aurora-modules .recent-payments .grid,
.aurora-modules .recent-payments ul,
.aurora-modules .recent-donators ul,
.aurora-modules [class*="recent-payment"] ul,
.aurora-modules [class*="recentPayment"] ul,
.aurora-modules [class*="payments"] ul,
.aurora-modules [class*="Payments"] ul,
.aurora-modules [class*="payment"] > div:last-child,
.aurora-modules [class*="Payment"] > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Each payment item in the grid */
.aurora-modules .recent-payments li,
.aurora-modules .recent-donators li,
.aurora-modules [class*="payment"] li,
.aurora-modules [class*="Payment"] li,
.aurora-modules .recent-payments .avatar-item,
.aurora-modules .recent-payments .payment-item,
.aurora-modules [class*="payment"] a,
.aurora-modules [class*="Payment"] a {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  border-radius: 4px !important;
  overflow: visible !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.aurora-modules .recent-payments li:hover,
.aurora-modules .recent-donators li:hover,
.aurora-modules [class*="payment"] li:hover,
.aurora-modules .recent-payments .avatar-item:hover {
  transform: scale(1.15) !important;
  z-index: 100 !important;
}

/* Avatar images in recent payments */
.aurora-modules .recent-payments img,
.aurora-modules .recent-donators img,
.aurora-modules [class*="payment"] img,
.aurora-modules [class*="Payment"] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  image-rendering: pixelated !important;
  border-radius: 4px !important;
  display: block !important;
}

/* Tooltip for recent payments */
.aurora-modules .recent-payments li .tooltip,
.aurora-modules .recent-payments li .payment-info,
.aurora-modules .recent-payments li::after,
.aurora-modules .recent-donators li .tooltip {
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #1e1a2e !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 6px !important;
  padding: 0.5rem 0.8rem !important;
  white-space: nowrap !important;
  font-size: 0.8rem !important;
  color: white !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.2s ease !important;
  z-index: 1000 !important;
  pointer-events: none !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4) !important;
}

.aurora-modules .recent-payments li:hover .tooltip,
.aurora-modules .recent-payments li:hover .payment-info,
.aurora-modules .recent-donators li:hover .tooltip {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Tooltip arrow */
.aurora-modules .recent-payments li .tooltip::before,
.aurora-modules .recent-donators li .tooltip::before {
  content: '' !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 6px solid transparent !important;
  border-top-color: #1e1a2e !important;
}

/* Username in tooltip */
.aurora-modules .recent-payments .username,
.aurora-modules .recent-payments .name,
.aurora-modules .recent-donators .username {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--aurora-cyan) !important;
  display: block !important;
}

/* Package name in tooltip */
.aurora-modules .recent-payments .package,
.aurora-modules .recent-payments .item,
.aurora-modules .recent-donators .package {
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: var(--aurora-purple) !important;
  display: block !important;
  margin-top: 2px !important;
}

/* ========== GOAL MODULE ========== */
.aurora-modules .goal,
.aurora-modules .Goal,
.aurora-modules [class*="goal"],
.aurora-modules [class*="Goal"],
.aurora-modules [class*="target"],
.aurora-modules [class*="Target"] {
  background: var(--bg-card) !important;
}

/* Goal text container */
.aurora-modules .goal > div:last-child,
.aurora-modules [class*="goal"] > div:last-child,
.aurora-modules [class*="Goal"] > div:last-child {
  padding: 1rem 1.2rem !important;
  text-align: center !important;
}

/* Goal percentage text */
.aurora-modules .goal span,
.aurora-modules [class*="goal"] span,
.aurora-modules [class*="Goal"] span,
.aurora-modules .goal p,
.aurora-modules [class*="goal"] p {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  margin-bottom: 0.8rem !important;
  display: block !important;
}

/* Progress bar container */
.aurora-modules .goal .progress,
.aurora-modules [class*="goal"] .progress,
.aurora-modules [class*="Goal"] .progress,
.aurora-modules .progress-bar-container,
.aurora-modules [class*="progress-container"],
.aurora-modules [class*="progressContainer"],
.aurora-modules .progress {
  height: 14px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  margin-top: 0.5rem !important;
}

/* Progress bar fill */
.aurora-modules .goal .progress-bar,
.aurora-modules [class*="goal"] .progress-bar,
.aurora-modules [class*="Goal"] .progress-bar,
.aurora-modules .progress-bar-fill,
.aurora-modules .progress-bar,
.aurora-modules [class*="progress-bar"],
.aurora-modules [class*="progressBar"] {
  height: 100% !important;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-magenta)) !important;
  border-radius: 7px !important;
  transition: width 1s ease !important;
  min-width: 0 !important;
}

/* ========== USERNAME BOX ========== */
.username-box {
  background: var(--bg-card);
  border: none;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 3px solid transparent;
}

.username-box .skin {
  flex-shrink: 0;
  width: 50px;
  min-width: 50px;
}

.username-box .skin img,
.username-box .skin img.head-avatar {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.username-box .text {
  font-weight: 600;
  font-size: 1rem;
  flex-grow: 1;
}

.username-box .text div:first-child {
  margin-bottom: 0.3rem;
}

.btn-log {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan)) !important;
  border: none !important;
  color: white !important;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-log:hover {
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
  color: white !important;
}

/* ========== WELCOME HEADER ROW ========== */
.welcome-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.monthly-goal-inline {
  background: transparent;
  padding: 0;
  min-width: 200px;
  flex-shrink: 0;
}

.monthly-goal-inline .goal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.monthly-goal-inline .goal-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.monthly-goal-inline .goal-percent {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--aurora-purple);
}

.monthly-goal-inline .progress-bar-container {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.monthly-goal-inline .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-magenta));
  border-radius: 6px;
  transition: width 1s ease;
}

/* ========== STORE HOME ========== */
.store-home {
  text-align: left;
  padding: 0;
}

.store-welcome {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.store-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--aurora-purple);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ========== WELCOME CONTENT ========== */
.welcome-content {
  max-width: 100%;
  margin: 0;
  text-align: left;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.15rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(0, 217, 255, 0.03) 100%);
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.welcome-content p {
  margin-bottom: 1.2rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-left: none;
  transition: none;
}

.welcome-content p:last-of-type {
  margin-bottom: 0;
}

.welcome-content p:hover {
  background: transparent;
  transform: none;
}

.welcome-content strong {
  color: var(--aurora-cyan);
  font-weight: 700;
}

/* Payment Image Box */
.payment-image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 500px;
}

.payment-methods-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.payment-methods-img:hover {
  transform: scale(1.02);
}

/* Help Section - Compact */
.help-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.help-compact .help-icon {
  color: #5865F2;
  font-size: 1.3rem;
}

.help-compact .help-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.help-compact .help-text strong {
  color: var(--text-primary);
}

.disclaimer-compact {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ========== BUTTONS ========== */
.btn-theme {
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-purple)) !important;
  border: none !important;
  color: white !important;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-theme:hover {
  box-shadow: var(--glow-cyan), var(--glow-purple);
  transform: translateY(-2px) scale(1.02);
  color: white !important;
}

/* ========== CART MENU - ENHANCED ========== */
.cart-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 480px;
  max-width: 92%;
  max-height: 80vh;
  background: linear-gradient(145deg, #1a1625 0%, #12101a 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 20px;
  z-index: 200000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease-out, opacity 0.2s ease-out, visibility 0.2s;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 50px rgba(168, 85, 247, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
}

.cart-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Cart Header */
.cart-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-header-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
  border-radius: 12px;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.cart-header-text {
  font-weight: 700;
  font-size: 1.25rem;
  flex-grow: 1;
  color: white;
  letter-spacing: -0.3px;
}

.cart-header-text .cart-count {
  color: var(--aurora-cyan);
  font-weight: 800;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.cart-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  transform: scale(1.05);
}

/* Currency Button */
.btn-currency {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.btn-currency:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Cart Body */
.cart-body {
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  overflow-y: auto;
  flex-grow: 1;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

.cart-body::-webkit-scrollbar {
  width: 5px;
}

.cart-body::-webkit-scrollbar-track {
  background: transparent;
}

.cart-body::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 10px;
}

/* Cart Items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.2);
}

.cart-item-image {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(0, 217, 255, 0.08));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aurora-purple);
  font-size: 1.3rem;
  opacity: 0.7;
}

.cart-item-info {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cart-item-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--aurora-cyan);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.cart-item-currency {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  color: rgba(239, 68, 68, 0.7);
  transition: all 0.15s ease;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* Cart Footer */
.cart-footer {
  padding: 1.15rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-total {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cart-total-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.cart-total-price {
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  letter-spacing: -0.5px;
}

.cart-total-currency {
  font-size: 0.9rem;
  color: var(--aurora-cyan);
  font-weight: 600;
}

.btn-checkout {
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan)) !important;
  border: none !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 0.9rem 1.75rem !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25) !important;
}

.btn-checkout:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4) !important;
  color: white !important;
}

.btn-checkout i {
  font-size: 0.85rem;
}

/* Cart Empty State */
.cart-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty i {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.cart-empty p {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.35rem;
}

.cart-empty small {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Legacy cart checkout - now using .btn-checkout */
.cart-checkout {
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-purple)) !important;
  border: none !important;
  color: white !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s;
  will-change: opacity;
}

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

/* ========== FOOTER ========== */
.footer {
  margin-top: 3rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.small-section {
  padding: 2rem 0;
}

.footer-copyright {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--aurora-cyan);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (max-width: 992px) {
  .sidebar-desktop {
    display: none !important;
  }
  .ubox-mobile-only {
    display: flex !important;
  }
  .ubox-desktop-only {
    display: none !important;
  }
  .main-row {
    flex-direction: column-reverse;
  }
}

@media (min-width: 993px) {
  .ubox-mobile-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    height: 350px;
  }
  .logo {
    height: 180px;
  }
  .category-nav-inner {
    gap: 0.3rem;
  }
  .category-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
  .cat-icon,
  .cat-icon img,
  .cat-icon-img {
    width: 32px !important;
    height: 32px !important;
  }
  .store-name {
    font-size: 1.6rem;
  }
  .welcome-header-row {
    flex-direction: column;
    align-items: stretch;
  }
  .store-home {
    text-align: center;
  }
  .monthly-goal-inline {
    min-width: 100%;
  }
  .aurora-modules .recent-payments ul,
  .aurora-modules .recent-donators ul {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* ========== SIDEBAR WIDTH FIX ========== */
.sidebar-desktop {
  max-width: 280px;
}

@media (min-width: 992px) {
  .col-lg-3.sidebar-desktop {
    flex: 0 0 280px;
    max-width: 280px;
  }
  .col-lg-9 {
    flex: 1;
    max-width: calc(100% - 300px);
  }
}

/* ========== CURRENCY DROPDOWN ========== */
.currency .dropdown-toggle {
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  color: white !important;
  font-size: 0.85rem;
}

.currency .dropdown-menu {
  background: var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.currency .dropdown-item {
  color: var(--text-secondary) !important;
}

.currency .dropdown-item:hover,
.currency .dropdown-item.active {
  background: var(--aurora-purple) !important;
  color: white !important;
}

/* ========== ALERT ========== */
.alert-info {
  background: rgba(0, 217, 255, 0.1) !important;
  border: 1px solid rgba(0, 217, 255, 0.3) !important;
  color: var(--aurora-cyan) !important;
  border-radius: 8px;
}

/* ========== PACKAGE CARDS ========== */
.package-card,
.package,
.card.package {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  height: 100% !important;
}

.package-card:hover,
.package:hover,
.card.package:hover {
  background: var(--bg-card-hover) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15) !important;
}

/* Package Image */
.package .image,
.card.package .image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  margin: 0.8rem !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

.package .image img,
.card.package .image img {
  width: 100% !important;
  max-width: 150px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease !important;
  image-rendering: pixelated !important;
}

.package:hover .image img,
.card.package:hover .image img {
  transform: scale(1.05) !important;
}

/* Package Info Section */
.package .info,
.card.package .info {
  padding: 0 0.8rem 0.8rem !important;
}

.package .name,
.card.package .name {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--text-primary) !important;
  margin-bottom: 0.4rem !important;
}

.package .price,
.card.package .price {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: var(--aurora-cyan) !important;
}

.package .price small,
.card.package .price small {
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
}

/* Discount Price */
.package .discount,
.card.package .discount {
  text-decoration: line-through !important;
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  margin-right: 0.5rem !important;
}

/* Package Button */
.package .button,
.card.package .button {
  display: flex !important;
  align-items: flex-end !important;
}

.package .button .btn,
.card.package .button .btn {
  padding: 0.5rem 1rem !important;
  font-size: 0.85rem !important;
  border-radius: 20px !important;
}

/* ========== CATEGORY PAGE STYLING ========== */
.category .row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
}

.category .row > [class*="col"] {
  flex: none !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Category Header */
.card-header.header-theme {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: 1.2rem 1.5rem !important;
  border: none !important;
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--aurora-purple) !important;
}

/* Category Description */
.card-body > p:first-child,
.category-description {
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* ========== TABLE LIST VIEW ========== */
.packages-row .table {
  background: transparent !important;
  color: var(--text-primary) !important;
  margin: 0 !important;
}

.packages-row .table tbody tr {
  background: rgba(255, 255, 255, 0.02) !important;
  transition: all 0.2s ease !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.packages-row .table tbody tr:hover {
  background: rgba(168, 85, 247, 0.1) !important;
}

.packages-row .table td {
  padding: 1rem 1.2rem !important;
  vertical-align: middle !important;
  border: none !important;
}

.packages-row .table td.name {
  font-weight: 600 !important;
  color: var(--text-primary) !important;
}

.packages-row .table td.price {
  font-weight: 700 !important;
  color: var(--aurora-cyan) !important;
  white-space: nowrap !important;
}

.packages-row .table td.button {
  text-align: right !important;
  width: 120px !important;
}

/* ========== NEW CATEGORY PAGE STYLES ========== */
.category-page {
  animation: fadeIn 0.4s ease;
}

.category-description {
  color: var(--text-secondary) !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ========== PACKAGES GRID ========== */
.packages-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.5rem !important;
}

.package-card {
  background: var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.package-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 85, 247, 0.15) !important;
}

/* Package Card Image */
.package-card-image {
  position: relative !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 217, 255, 0.05)) !important;
  padding: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 180px !important;
}

.package-card-image a {
  display: block !important;
}

.package-card-image img {
  max-width: 180px !important;
  max-height: 180px !important;
  width: auto !important;
  height: auto !important;
  image-rendering: pixelated !important;
  transition: transform 0.3s ease !important;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3)) !important;
}

.package-card:hover .package-card-image img {
  transform: scale(1.1) rotate(2deg) !important;
}

.package-placeholder {
  width: 140px !important;
  height: 140px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  color: var(--text-muted) !important;
  font-size: 2.5rem !important;
}

/* Package Badges */
.package-badge {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 20px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.package-badge.sale {
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: white !important;
}

.package-badge.timer {
  background: rgba(0, 0, 0, 0.6) !important;
  color: var(--aurora-cyan) !important;
  top: auto !important;
  bottom: 1rem !important;
}

/* Package Card Body */
.package-card-body {
  padding: 1.2rem 1.5rem !important;
  flex-grow: 1 !important;
}

.package-card-title {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: var(--text-primary) !important;
  margin: 0 0 0.8rem 0 !important;
  line-height: 1.3 !important;
}

.package-card-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

.price-original {
  text-decoration: line-through !important;
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
}

.price-current {
  font-weight: 800 !important;
  font-size: 1.4rem !important;
  color: var(--aurora-cyan) !important;
}

.price-currency {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
}

.price-free {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: var(--aurora-green) !important;
}

/* Package Card Footer */
.package-card-footer {
  padding: 0 1.5rem 1.5rem !important;
}

.package-card-footer .btn {
  width: 100% !important;
  padding: 0.8rem 1rem !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

/* ========== PACKAGES LIST (Table View) ========== */
.packages-list {
  overflow-x: auto !important;
}

.packages-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 0.5rem !important;
}

.package-row {
  background: rgba(255, 255, 255, 0.02) !important;
  transition: all 0.2s ease !important;
  border-radius: 10px !important;
}

.package-row:hover {
  background: rgba(168, 85, 247, 0.1) !important;
}

.package-row td {
  padding: 1rem 1.2rem !important;
  vertical-align: middle !important;
  border: none !important;
}

.package-row td:first-child {
  border-radius: 10px 0 0 10px !important;
}

.package-row td:last-child {
  border-radius: 0 10px 10px 0 !important;
}

.package-image-cell {
  width: 60px !important;
}

.package-thumb {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  border-radius: 6px !important;
}

.package-thumb-placeholder {
  width: 70px !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 6px !important;
  color: var(--text-muted) !important;
  font-size: 1.2rem !important;
}

.package-name-cell {
  min-width: 200px !important;
}

.package-name {
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  display: block !important;
}

.package-countdown {
  font-size: 0.8rem !important;
  color: #ef4444 !important;
  margin-top: 0.3rem !important;
  display: block !important;
}

.package-price-cell {
  white-space: nowrap !important;
  text-align: right !important;
}

.package-action-cell {
  text-align: right !important;
  width: 130px !important;
}

/* ========== EMPTY CATEGORY ========== */
.empty-category {
  text-align: center !important;
  padding: 4rem 2rem !important;
  color: var(--text-muted) !important;
}

.empty-category i {
  font-size: 4rem !important;
  margin-bottom: 1rem !important;
  color: var(--aurora-purple) !important;
  opacity: 0.5 !important;
}

.empty-category p {
  font-size: 1.1rem !important;
  margin: 0 !important;
}

/* ========== RESPONSIVE PACKAGES ========== */
@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
  }

  .package-card-image {
    min-height: 160px !important;
    padding: 1rem !important;
  }

  .package-card-image img {
    max-width: 130px !important;
    max-height: 130px !important;
  }

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

  .package-card-footer {
    padding: 0 1rem 1rem !important;
  }

  .packages-table {
    font-size: 0.9rem !important;
  }

  .package-image-cell {
    display: none !important;
  }
}

/* ========== PACKAGE MODAL ========== */
.modal {
  z-index: 100000 !important;
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(5px) !important;
}

.modal-content {
  background: var(--bg-card) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.15) !important;
  overflow: hidden !important;
}

.modal-header {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 217, 255, 0.05)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.2rem 1.5rem !important;
}

.modal-title {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: var(--aurora-cyan) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.modal-header .close,
.modal-header .btn-close {
  color: var(--text-muted) !important;
  opacity: 1 !important;
  font-size: 1.2rem !important;
  font-weight: 300 !important;
  text-shadow: none !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.1) !important;
  filter: invert(1) !important;
  border: none !important;
}

.modal-header .close:hover,
.modal-header .btn-close:hover {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.15) !important;
  filter: invert(1) brightness(1.5) !important;
}

.modal-body {
  padding: 0 !important;
}

/* Package Description in Modal */
.package-description {
  padding: 1.5rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.8 !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

.package-description p {
  margin-bottom: 1rem !important;
}

.package-description ul,
.package-description ol {
  padding-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.package-description li {
  margin-bottom: 0.5rem !important;
  color: var(--text-secondary) !important;
}

.package-description strong {
  color: var(--aurora-cyan) !important;
}

.package-description h1,
.package-description h2,
.package-description h3,
.package-description h4 {
  color: var(--aurora-purple) !important;
  margin-top: 1rem !important;
  margin-bottom: 0.8rem !important;
}

/* Package Footer in Modal */
.package-footer {
  background: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.2rem 1.5rem !important;
}

.package-footer b {
  font-size: 1.3rem !important;
  color: var(--aurora-cyan) !important;
}

.package-footer small {
  color: var(--text-muted) !important;
}

.package-footer-buttons {
  display: flex !important;
  gap: 0.5rem !important;
}

.package-footer-buttons .btn {
  padding: 0.6rem 1.2rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

/* Gift Button */
.btn-gift {
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  color: var(--text-secondary) !important;
  margin-top: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-gift:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

/* Gift Fields */
.gift-fields {
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gift-fields .form-control {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-radius: 25px 0 0 25px !important;
  padding: 0.6rem 1rem !important;
}

.gift-fields .form-control:focus {
  border-color: var(--aurora-purple) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2) !important;
  outline: none !important;
}

.gift-fields .input-group-btn .btn {
  border-radius: 0 25px 25px 0 !important;
}

/* ========== ENHANCED PACKAGE MODAL ========== */
.package-modal {
  max-width: 650px !important;
  margin: 0 auto !important;
}

.package-modal .modal-header {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 217, 255, 0.08)) !important;
  padding: 1.3rem 1.8rem !important;
}

.package-modal .modal-title {
  display: flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.5px !important;
}

.package-modal .close,
.package-modal .btn-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-muted) !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  filter: invert(1) !important;
}

.package-modal .close:hover,
.package-modal .btn-close:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  filter: invert(1) brightness(1.5) !important;
}

/* Package Modal Image */
.package-modal-image {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 217, 255, 0.05)) !important;
  padding: 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.package-modal-image img {
  max-width: 220px !important;
  max-height: 220px !important;
  image-rendering: pixelated !important;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4)) !important;
}

/* Package Footer Enhanced */
.package-modal .package-footer {
  background: rgba(0, 0, 0, 0.25) !important;
  padding: 1.5rem 1.8rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.package-footer-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.package-price-display {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
}

.price-amount {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: var(--aurora-cyan) !important;
}

.price-label {
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
}

.price-free-label {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: var(--aurora-green) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.package-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  flex-wrap: wrap !important;
}

.package-footer-buttons {
  display: flex !important;
  gap: 0.5rem !important;
}

.package-footer-buttons .btn {
  padding: 0.7rem 1.3rem !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.btn-add-cart {
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan)) !important;
}

.btn-subscribe {
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-blue)) !important;
}

/* Gift Toggle Button */
.btn-gift-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-secondary) !important;
  padding: 0.6rem 1rem !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.btn-gift-toggle:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: white !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.gift-arrow {
  font-size: 0.7rem !important;
  transition: transform 0.2s ease !important;
}

.gift-arrow.rotated {
  transform: rotate(180deg) !important;
}

/* Gift Fields Enhanced */
.package-modal .gift-fields {
  margin-top: 1.2rem !important;
  padding-top: 1.2rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.gift-input-wrapper {
  display: flex !important;
  align-items: center !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease !important;
}

.gift-input-wrapper:focus-within {
  border-color: var(--aurora-purple) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15) !important;
}

.gift-icon {
  padding: 0 1rem !important;
  color: var(--text-muted) !important;
}

.gift-input {
  flex-grow: 1 !important;
  background: transparent !important;
  border: none !important;
  padding: 0.8rem 0 !important;
  color: white !important;
  font-size: 0.95rem !important;
}

.gift-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.gift-input::placeholder {
  color: var(--text-muted) !important;
}

.gift-submit {
  border-radius: 0 !important;
  padding: 0.8rem 1.2rem !important;
  margin: 0 !important;
}

/* ========== SWAL STYLING ========== */
.swal2-popup {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-radius: 16px !important;
}

.swal2-title {
  color: var(--text-primary) !important;
}

.swal2-styled.swal2-confirm {
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-purple)) !important;
  border-radius: 25px !important;
}

/* ========== TEBEX DEFAULT OVERRIDES ========== */
/* Override any default Tebex styles */
.widget, .module, .panel {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.widget-header, .module-header, .panel-heading {
  background: transparent !important;
  border: none !important;
}

.widget-body, .module-body, .panel-body {
  background: transparent !important;
}

/* Text colors */
.widget h3, .widget h4,
.module h3, .module h4,
.panel h3, .panel h4 {
  color: var(--aurora-purple) !important;
}

.widget p, .module p, .panel p {
  color: var(--text-secondary) !important;
}

/* Links */
.widget a, .module a, .panel a {
  color: var(--aurora-cyan) !important;
}

.widget a:hover, .module a:hover, .panel a:hover {
  color: var(--aurora-purple) !important;
}

/* Lists */
.widget ul, .module ul, .panel ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.widget li, .module li, .panel li {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Images */
.widget img, .module img, .panel img {
  border-radius: 4px !important;
}

/* ========== DYNAMICALLY STYLED MODULES ========== */
/* These classes are added by JavaScript to ensure proper styling */

.aurora-styled-module {
  background: var(--bg-card) !important;
  border: none !important;
  border-radius: 8px !important;
  margin-bottom: 1.2rem !important;
  overflow: visible !important;
}

.aurora-module-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: 1rem 1.2rem !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--aurora-purple) !important;
}

.aurora-module-body {
  padding: 1rem 1.2rem !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Top Donator Module - JS styled */
.aurora-top-donator-module .aurora-module-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.5rem 1.2rem !important;
}

.aurora-top-donator-module img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 6px !important;
  image-rendering: pixelated !important;
  margin-bottom: 0.8rem !important;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3) !important;
}

.aurora-top-donator-module span,
.aurora-top-donator-module .name,
.aurora-top-donator-module a {
  font-weight: 700 !important;
  color: var(--aurora-cyan) !important;
  font-size: 1.1rem !important;
}

/* Recent Payments Module - JS styled */
.aurora-recent-payments-module .aurora-module-body ul,
.aurora-recent-payments-module ul {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.aurora-recent-payments-module li {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  border-radius: 4px !important;
  overflow: visible !important;
  cursor: pointer !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform 0.2s ease !important;
}

.aurora-recent-payments-module li:hover {
  transform: scale(1.15) !important;
  z-index: 100 !important;
}

.aurora-recent-payments-module img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  image-rendering: pixelated !important;
  border-radius: 4px !important;
  display: block !important;
}

/* Goal Module - JS styled (legacy) */
.aurora-goal-module .aurora-module-body {
  padding: 1rem 1.2rem !important;
  text-align: center !important;
}

.aurora-goal-module span,
.aurora-goal-module p {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  margin-bottom: 0.8rem !important;
  display: block !important;
}

.aurora-goal-module .progress {
  height: 14px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  margin-top: 0.5rem !important;
}

.aurora-goal-module .progress-bar,
.aurora-goal-module .progress > div {
  height: 100% !important;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-magenta)) !important;
  border-radius: 7px !important;
  transition: width 1s ease !important;
}

/* ========== TRANSFORMED GOAL MODULE ========== */
.aurora-goal-content {
  padding: 0.6rem 1rem 0.9rem 1rem !important;
  text-align: center !important;
}

.aurora-goal-content .goal-percentage {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--aurora-purple) !important;
  margin-bottom: 0.5rem !important;
}

.aurora-goal-content .goal-progress-bar {
  height: 10px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 5px !important;
  overflow: hidden !important;
  margin-bottom: 0.5rem !important;
}

.aurora-goal-content .goal-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-magenta)) !important;
  border-radius: 5px !important;
  transition: width 1s ease !important;
}

.aurora-goal-content .goal-description {
  font-size: 0.75rem !important;
  color: #777777 !important;
}

/* Bullseye icon for Goal */
.aurora-module-header-styled .header-icon .fa-bullseye,
.aurora-module-header-styled .header-icon i.fa-bullseye {
  color: #9B8BB4 !important;
  font-size: 1rem !important;
}

/* ========== FORCE ALL VISIBILITY ========== */
.sidebar-desktop *,
.aurora-modules *,
.card *,
.sidebar-card * {
  visibility: visible !important;
}

/* ========== TEBEX SPECIFIC OVERRIDES ========== */
/* Force override any inline styles Tebex might add */
.aurora-modules * {
  font-family: 'Montserrat', sans-serif !important;
}

.aurora-modules a {
  color: var(--aurora-cyan) !important;
  text-decoration: none !important;
}

.aurora-modules a:hover {
  color: var(--aurora-purple) !important;
}

/* Hide any unwanted default Tebex elements */
.aurora-modules .powered-by,
.aurora-modules [class*="powered"],
.aurora-modules [class*="Powered"] {
  display: none !important;
}

/* ========================================================================== */
/* ========== FINAL BOOTSTRAP OVERRIDE FOR CATEGORY DROPDOWNS =============== */
/* ========================================================================== */
/* This section MUST be at the end to ensure maximum specificity */

/* Force category-nav to be visible and have proper stacking */
nav.category-nav,
.category-nav {
  position: relative !important;
  z-index: 99999 !important;
  overflow: visible !important;
}

nav.category-nav .category-nav-inner,
.category-nav .category-nav-inner,
.category-nav-inner {
  position: relative !important;
  z-index: 99999 !important;
  overflow: visible !important;
}

/* Category dropdown - simple display toggle */
.category-dropdown {
  position: relative !important;
}

.category-dropdown .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  min-width: 200px !important;
  max-width: 280px !important;
  background: #1e1a2e !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  border-radius: 12px !important;
  padding: 0.5rem 0 !important;
  z-index: 999999 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(168, 85, 247, 0.15) !important;
}

/* Show when .open class is added */
.category-dropdown.open .dropdown-menu {
  display: block !important;
}

/* Dropdown items */
.category-dropdown .dropdown-menu .dropdown-item,
.category-dropdown .dropdown-menu > a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.6rem 1rem !important;
  color: #c0c0c0 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border-left: 3px solid transparent !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}

.category-dropdown .dropdown-menu .dropdown-item:hover,
.category-dropdown .dropdown-menu > a:hover {
  background: rgba(168, 85, 247, 0.25) !important;
  color: #ffffff !important;
  border-left-color: #A855F7 !important;
}

/* Arrow rotation */
.category-dropdown.open .dropdown-arrow {
  transform: rotate(180deg) !important;
}

/* ========================================================================== */
/* ========== TEBEX MODULE TRANSFORMATION - AURORA STYLE ==================== */
/* ========================================================================== */
/* These styles transform Tebex modules to match the Aurora preview design */

/* Transformed Module Card Base */
/* Module Header with Icon - Simple emoji style */
.aurora-module-header-styled {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 1.1rem 0.6rem 1.1rem !important;
  border-bottom: none !important;
  background: transparent !important;
}

.aurora-module-header-styled .header-icon {
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  background: none !important;
}

/* SVG icons styling - small emoji style */
.aurora-module-header-styled .header-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--aurora-purple) !important;
}

/* Trophy icon */
.aurora-module-header-styled .header-icon.aurora-icon-trophy svg {
  width: 17px !important;
  height: 17px !important;
  fill: var(--aurora-purple) !important;
}

/* Users icon */
.aurora-module-header-styled .header-icon.aurora-icon-users svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--aurora-purple) !important;
}

/* Fallback for FontAwesome icons */
.aurora-module-header-styled .header-icon .fa-trophy,
.aurora-module-header-styled .header-icon i.fa-trophy {
  color: var(--aurora-purple) !important;
  font-size: 1.1rem !important;
}

.aurora-module-header-styled .header-icon .fa-users,
.aurora-module-header-styled .header-icon i.fa-users {
  color: var(--aurora-purple) !important;
  font-size: 1.1rem !important;
}

/* Title in purple color */
.aurora-module-header-styled .header-title {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--aurora-purple) !important;
  background: transparent !important;
  -webkit-text-fill-color: var(--aurora-purple) !important;
}

/* ========== CLIENTE DEL MES (Top Donator) ========== */
.aurora-client-month-content {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  padding: 0 1.1rem 1rem 1.1rem !important;
}

.aurora-client-month-content .client-skin {
  width: 32px !important;
  height: 32px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.aurora-client-month-content .client-skin img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  image-rendering: pixelated !important;
  display: block !important;
}

.aurora-client-month-content .client-info {
  flex-grow: 1 !important;
}

.aurora-client-month-content .client-info .client-name {
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  display: block !important;
  margin-bottom: 2px !important;
  line-height: 1.3 !important;
}

.aurora-client-month-content .client-info .client-desc {
  font-size: 1rem !important;
  color: #8a8a9a !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* No donator message */
.aurora-no-donator {
  padding: 0 1.1rem 1rem 1.1rem !important;
  text-align: left !important;
  color: #8a8a9a !important;
  font-style: normal !important;
  font-size: 1rem !important;
}

/* ========== DONACIONES RECIENTES (Recent Payments) ========== */
.aurora-donations-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0.4rem !important;
  padding: 0 1.1rem 1rem 1.1rem !important;
  list-style: none !important;
  margin: 0 !important;
}

.aurora-donation-item {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  border-radius: 4px !important;
  overflow: visible !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  list-style: none !important;
}

.aurora-donation-item:hover {
  transform: scale(1.15) !important;
  z-index: 100 !important;
}

.aurora-donation-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  image-rendering: pixelated !important;
  border-radius: 4px !important;
  display: block !important;
}

/* Tooltip for donation items */
.aurora-donation-tooltip {
  position: absolute !important;
  bottom: calc(100% + 6px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #1e1a2e !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  border-radius: 6px !important;
  padding: 0.4rem 0.7rem !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.2s ease !important;
  z-index: 1000 !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(168, 85, 247, 0.1) !important;
  pointer-events: none !important;
}

.aurora-donation-tooltip::before {
  content: '' !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 5px solid transparent !important;
  border-top-color: rgba(168, 85, 247, 0.35) !important;
}

.aurora-donation-tooltip::after {
  content: '' !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 4px solid transparent !important;
  border-top-color: #1e1a2e !important;
}

.aurora-donation-item:hover .aurora-donation-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
}

.aurora-donation-tooltip .tooltip-username {
  font-weight: 700 !important;
  color: var(--aurora-cyan) !important;
  font-size: 0.75rem !important;
  display: block !important;
  margin-bottom: 1px !important;
}

.aurora-donation-tooltip .tooltip-package {
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  font-size: 0.65rem !important;
  display: block !important;
}

/* No payments message */
.aurora-no-payments {
  padding: 0 1.1rem 1rem 1.1rem !important;
  text-align: left !important;
  color: #8a8a9a !important;
  font-style: normal !important;
  font-size: 0.85rem !important;
}

/* Loading state */
.aurora-loading {
  padding: 1.5rem 1rem !important;
  text-align: center !important;
  color: #A855F7 !important;
  font-size: 0.85rem !important;
  animation: auroraPulse 1.5s ease-in-out infinite !important;
}

@keyframes auroraPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ========== RESPONSIVE FOR DONATIONS GRID ========== */
@media (max-width: 480px) {
  .aurora-donations-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ========== CUSTOM RECENT PAYMENTS MODULE ========== */
.aurora-recent-custom {
  background: linear-gradient(135deg, rgba(30, 26, 46, 0.95), rgba(20, 17, 35, 0.98)) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  border-radius: 12px !important;
  margin-top: 1rem !important;
  overflow: hidden !important;
}

.aurora-recent-custom .aurora-module-header-styled {
  padding: 0.8rem 1rem !important;
  background: rgba(168, 85, 247, 0.08) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15) !important;
}

.aurora-recent-custom .aurora-donations-grid {
  padding: 0.8rem 1rem 1rem 1rem !important;
}

/* ========================================================================== */
/* MOBILE RESPONSIVE - CLEAN & ORGANIZED                                      */
/* ========================================================================== */

/* =========================== TABLETS (max 991px) =========================== */
@media (max-width: 991px) {
  /* Container */
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Header */
  .header-wrapper {
    height: auto !important;
    min-height: 180px !important;
    padding: 1rem 0 !important;
  }

  .logo {
    height: 120px !important;
    max-width: 180px !important;
  }

  /* Hide IP/Discord widgets on tablets */
  .status-box-container,
  .discord-box-container {
    display: none !important;
  }

  /* Category Navigation */
  .category-nav {
    padding: 0.5rem !important;
    margin-bottom: 0.8rem !important;
    border-radius: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .category-nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.4rem !important;
  }

  .category-item {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    border: none !important;
    white-space: nowrap !important;
  }
}

/* =========================== MOBILE (max 767px) =========================== */
@media (max-width: 767px) {
  /* Base */
  body {
    font-size: 14px !important;
  }

  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* ===== HEADER ===== */
  .header-wrapper {
    min-height: 140px !important;
    padding: 0.8rem 0 !important;
  }

  .logo {
    height: 90px !important;
    max-width: 140px !important;
  }

  .logo::before {
    filter: blur(12px) !important;
    opacity: 0.35 !important;
  }

  /* ===== NAVIGATION ===== */
  .category-nav {
    padding: 0.4rem !important;
    margin: 0 0 0.8rem 0 !important;
    border-radius: 10px !important;
    background: var(--bg-card) !important;
    border: 1px solid rgba(168, 85, 247, 0.15) !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .category-nav::-webkit-scrollbar {
    display: none !important;
  }

  .category-nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.3rem !important;
    width: max-content !important;
  }

  .category-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.5rem 0.7rem !important;
    font-size: 0.7rem !important;
    background: rgba(168, 85, 247, 0.15) !important;
    border: none !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    min-height: 40px !important;
  }

  .category-item:active,
  .category-item.active {
    background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan)) !important;
  }

  .category-item .fa-chevron-down,
  .category-item .dropdown-arrow {
    display: none !important;
  }

  .cat-icon,
  .cat-icon img {
    width: 20px !important;
    height: 20px !important;
  }

  .cat-name {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
  }

  /* Dropdown menus */
  .category-dropdown .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 9999 !important;
    background: var(--bg-card) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 8px !important;
    padding: 0.3rem !important;
    min-width: 140px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
  }

  .category-dropdown .dropdown-item {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
  }

  /* ===== USERNAME BOX ===== */
  .username-box {
    padding: 0.6rem 0.8rem !important;
    margin: 0 0 0.8rem 0 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    background: var(--bg-card) !important;
    border: 1px solid rgba(168, 85, 247, 0.15) !important;
  }

  .username-box .skin {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }

  .username-box .skin img,
  .username-box .head-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 6px !important;
  }

  .username-box .text {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
  }

  .btn-log {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
  }

  /* ===== WELCOME CARD ===== */
  .card {
    border-radius: 10px !important;
    margin-bottom: 0.8rem !important;
    background: var(--bg-card) !important;
    border: 1px solid rgba(168, 85, 247, 0.12) !important;
  }

  .card-body {
    padding: 0.8rem !important;
  }

  .welcome-header-row {
    flex-direction: column !important;
    gap: 0.6rem !important;
    align-items: center !important;
  }

  .store-home {
    width: 100% !important;
    text-align: center !important;
  }

  .store-welcome {
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
  }

  .store-name {
    font-size: 1.15rem !important;
  }

  .welcome-content p {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.5rem !important;
  }

  /* Monthly Goal */
  .monthly-goal-inline {
    width: 100% !important;
    padding: 0.6rem !important;
    border-radius: 8px !important;
  }

  .goal-title {
    font-size: 0.6rem !important;
  }

  .goal-percent {
    font-size: 0.75rem !important;
  }

  .progress-bar-container {
    height: 5px !important;
  }

  /* Payment Image */
  .payment-image-box {
    margin: 0.8rem 0 !important;
    text-align: center !important;
  }

  .payment-methods-img {
    max-width: 260px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Help Section */
  .help-compact {
    padding: 0.6rem 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    border-radius: 8px !important;
    background: rgba(168, 85, 247, 0.12) !important;
    margin-top: 0.8rem !important;
  }

  .help-compact .help-icon {
    font-size: 1rem !important;
  }

  .help-compact .help-text {
    font-size: 0.75rem !important;
  }

  .disclaimer-compact {
    font-size: 0.6rem !important;
    padding: 0.5rem !important;
    text-align: center !important;
  }

  /* ===== PACKAGES GRID ===== */
  .packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .package-card {
    border-radius: 10px !important;
  }

  .package-card-image {
    min-height: 90px !important;
    padding: 0.5rem !important;
  }

  .package-card-image img {
    max-width: 65px !important;
    max-height: 65px !important;
  }

  .package-card-body {
    padding: 0.5rem !important;
  }

  .package-card-title {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }

  .package-card-price {
    font-size: 0.9rem !important;
  }

  .package-card-footer {
    padding: 0 0.5rem 0.5rem !important;
  }

  .package-card-footer .btn {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.7rem !important;
  }

  /* ===== SIDEBAR CARDS ===== */
  .sidebar-card,
  .sidebar-desktop .card,
  .sidebar .card,
  .aurora-styled-module,
  .aurora-info-module,
  .aurora-client-month,
  .aurora-recent-custom {
    margin-bottom: 0.5rem !important;
    border-radius: 8px !important;
    background: var(--bg-card) !important;
    border: 1px solid rgba(168, 85, 247, 0.12) !important;
  }

  /* Sidebar Headers */
  .card-header-icon,
  .aurora-module-header,
  .aurora-module-header-styled {
    padding: 0.45rem 0.6rem !important;
    font-size: 0.65rem !important;
    background: rgba(168, 85, 247, 0.08) !important;
  }

  .card-header-icon .header-title,
  .aurora-module-header .header-title {
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
  }

  .card-header-icon .header-icon,
  .aurora-module-header i {
    font-size: 0.75rem !important;
  }

  /* Sidebar Body */
  .aurora-module-body,
  .sidebar-card .card-body,
  .sidebar-desktop .card-body,
  .sidebar .card-body {
    padding: 0.5rem !important;
    font-size: 0.7rem !important;
  }

  .info-text {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }

  /* Client of Month */
  .aurora-client-month-content {
    padding: 0.4rem 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }

  .aurora-client-month-content .client-skin,
  .aurora-client-month-content img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
  }

  .aurora-client-month-content .client-name {
    font-size: 0.7rem !important;
  }

  .aurora-client-month-content .client-desc {
    font-size: 0.6rem !important;
  }

  /* Donations Grid */
  .aurora-donations-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 0.2rem !important;
    padding: 0.4rem !important;
  }

  .aurora-donation-item img,
  .aurora-donations-grid img,
  .aurora-recent-payments-module img {
    width: 26px !important;
    height: 26px !important;
    border-radius: 3px !important;
  }

  .aurora-recent-payments-module li,
  .aurora-recent-custom li {
    width: 26px !important;
    height: 26px !important;
  }

  /* ===== BUTTONS ===== */
  .btn-theme {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }

  /* ===== MODAL ===== */
  .modal-dialog {
    margin: 0.5rem !important;
    max-width: calc(100% - 1rem) !important;
  }

  .modal-content {
    border-radius: 10px !important;
  }

  .modal-body {
    padding: 0.8rem !important;
  }

  /* ===== TABLE/CHECKOUT ===== */
  .table {
    font-size: 0.75rem !important;
  }

  .table td,
  .table th {
    padding: 0.4rem !important;
  }

  /* iOS Input Fix */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* =========================== SMALL PHONES (max 480px) =========================== */
@media (max-width: 480px) {
  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Header */
  .header-wrapper {
    min-height: 120px !important;
  }

  .logo {
    height: 70px !important;
    max-width: 110px !important;
  }

  /* Welcome */
  .store-welcome {
    font-size: 0.55rem !important;
  }

  .store-name {
    font-size: 1rem !important;
  }

  .welcome-content p {
    font-size: 0.75rem !important;
  }

  /* Categories */
  .category-item {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.6rem !important;
    min-height: 36px !important;
  }

  .cat-icon,
  .cat-icon img {
    width: 16px !important;
    height: 16px !important;
  }

  /* Packages */
  .packages-grid {
    gap: 0.4rem !important;
  }

  .package-card-image {
    min-height: 75px !important;
  }

  .package-card-image img {
    max-width: 55px !important;
    max-height: 55px !important;
  }

  .package-card-title {
    font-size: 0.65rem !important;
  }

  .package-card-price {
    font-size: 0.8rem !important;
  }

  .package-card-footer .btn {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.6rem !important;
  }

  /* Sidebar even smaller */
  .card-header-icon,
  .aurora-module-header {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.6rem !important;
  }

  .aurora-module-body,
  .sidebar .card-body {
    padding: 0.4rem !important;
    font-size: 0.65rem !important;
  }

  .aurora-donations-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }

  .aurora-donation-item img,
  .aurora-donations-grid img {
    width: 22px !important;
    height: 22px !important;
  }

  .aurora-client-month-content img {
    width: 24px !important;
    height: 24px !important;
  }

  /* Payment image */
  .payment-methods-img {
    max-width: 200px !important;
  }

  /* Hide particles for performance */
  .status-text::before,
  .status-text::after,
  .discord-text::before,
  .discord-text::after {
    display: none !important;
  }
}

/* =========================== LANDSCAPE PHONES =========================== */
@media (max-height: 500px) and (orientation: landscape) {
  .header-wrapper {
    min-height: 100px !important;
  }

  .logo {
    height: 60px !important;
  }
}

/* =========================== TOUCH DEVICES =========================== */
@media (hover: none) and (pointer: coarse) {
  .category-item,
  .btn,
  .package-card,
  a {
    min-height: 44px;
  }
}

/* =========================== REMOVE ALL VERTICAL BARS =========================== */
.category-nav *,
.category-nav-inner *,
.category-item,
.category-dropdown {
  border-left: none !important;
  border-right: none !important;
}

.category-item::before,
.category-item::after,
.category-nav-inner::before,
.category-nav-inner::after {
  display: none !important;
  content: none !important;
}
