@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
  font-family: 'Typo_Grotesk_Black_Demo';
  src: url("/assets/Typo_Grotesk_Black_Demo.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  background: radial-gradient(40.09% 31.66% at 100% 0%, rgba(65, 84, 255, 0.1) 0%, rgba(114, 65, 255, 0.00) 100%),
    radial-gradient(40.09% 31.66% at 100% 100%, rgba(65, 84, 255, 0.1) 0%, rgba(114, 65, 255, 0.00) 100%),
    radial-gradient(40.09% 31.66% at 0% 0%, rgba(65, 84, 255, 0.1) 0%, rgba(114, 65, 255, 0.00) 100%),
    radial-gradient(40.09% 31.66% at 0% 100%, rgba(65, 84, 255, 0.1) 0%, rgba(114, 65, 255, 0.00) 100%),
    #131522;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  justify-content: space-between;
}
.top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 30px 100px;
  align-items: center;
}
.top-right {
  display: flex;
  gap: 35px;
  align-items: center;
}
.top-hrefs a {
  position: relative;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
#big {
  display: flex;
}
#big img {
  width: 200px;
}
#mini {
  display: none;
  position: relative;
  bottom: 7px;
}
.search-bar {
  max-width: 600px;
  width: 90%;
  margin: 20px auto;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.15) 0%, rgba(65, 84, 255, 0.15) 100%);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  gap: 8px;
}
.search-filters {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-bar:hover { box-shadow: 0 6px 20px rgba(142, 68, 173, 0.5); }
.search-bar i.fa-search,
.search-bar i.fa-filter {
  font-size: 16px;
  color: #c084fc;
  margin-right: 8px;
  line-height: 1;
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  padding: 8px 0;
  min-width: 120px;
}
.search-bar input::placeholder { color: #b0b0b0; opacity: 0.7; }
.search-dropdown,
.subcategory-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  background: rgba(142, 68, 173, 0.2);
  border-radius: 8px;
  transition: background 0.2s ease;
  white-space: nowrap;
  min-width: fit-content;
  width: auto;
}
.search-dropdown:hover,
.subcategory-dropdown:hover { background: rgba(142, 68, 173, 0.4); }
.search-dropdown i,
.subcategory-dropdown i { font-size: 16px; color: #c084fc; line-height: 1; vertical-align: middle; }
.search-dropdown span,
.subcategory-dropdown span { font-size: 14px; font-weight: 500; white-space: nowrap; }
.search-dropdown {
  margin-left: 0;
}
.subcategory-dropdown {
  margin-left: 0;
  margin-right: 0;
  display: none !important;
  opacity: 0;
  visibility: hidden;
}
.subcategory-dropdown.active {
  display: inline-flex !important;
  opacity: 1;
  visibility: visible;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1a1d2e;
  border-radius: 10px;
  margin-top: 8px;
  padding: 10px 0;
  display: none;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  max-height: 250px;
  overflow-y: auto;
}
.dropdown-menu.active { display: block; }
.dropdown-menu::-webkit-scrollbar {
  width: 8px;
}
.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: #9B59B6;
  border-radius: 4px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #7D3C98;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: rgba(142, 68, 173, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c084fc 0%, #9B59B6 100%);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffffff 0%, #c084fc 100%);
}
#subcategoryMenu.mlos-scrollbar::-webkit-scrollbar { width: 8px; display: block; }
#subcategoryMenu.mlos-scrollbar::-webkit-scrollbar-track { background: transparent; }
#subcategoryMenu.mlos-scrollbar::-webkit-scrollbar-thumb { background: #9B59B6; border-radius: 4px; }
#subcategoryMenu.mlos-scrollbar::-webkit-scrollbar-thumb:hover { background: #7D3C98; }
#subcategoryMenu.mlos-scrollbar::-webkit-scrollbar-button { display: none; }
#subcategoryMenu.mlos-scrollbar { scrollbar-width: thin; scrollbar-color: #9B59B6 transparent; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 2px 0;
  white-space: nowrap;
}
.dropdown-item:hover { background: rgba(142, 68, 173, 0.4); }
.dropdown-item.active { background: rgba(142, 68, 173, 0.6); font-weight: 600; }
.dropdown-item.christmas-category {
  background: linear-gradient(90deg, rgba(244, 249, 255, 0.18), rgba(59, 130, 246, 0.18));
  border-left: 3px solid #60a5fa;
  display: none; /* Hidden by default, shown by JavaScript during Christmas season */
}
.dropdown-item.christmas-category:hover {
  background: linear-gradient(90deg, rgba(244, 249, 255, 0.25), rgba(37, 99, 235, 0.25));
}
.dropdown-item.christmas-category.active {
  background: linear-gradient(90deg, rgba(244, 249, 255, 0.35), rgba(37, 99, 235, 0.35));
}
.dropdown-item.christmas-category img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(191, 219, 254, 0.9)) drop-shadow(0 0 16px rgba(96, 165, 250, 0.8));
}
.dropdown-item.christmas-category span {
  color: #bfdbfe;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(191, 219, 254, 0.9), 0 0 20px rgba(96, 165, 250, 0.7);
}
.dropdown-item.halloween-category {
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.15), rgba(255, 140, 0, 0.08));
  border-left: 3px solid #ff6b1a;
  display: none; /* Hidden by default, shown by JavaScript during Halloween season */
}
.dropdown-item.halloween-category:hover {
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.25), rgba(255, 140, 0, 0.15));
}
.dropdown-item.halloween-category.active {
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.35), rgba(255, 140, 0, 0.2));
}
.dropdown-item.halloween-category img {
  filter: drop-shadow(0 0 3px rgba(255, 107, 26, 0.8));
  animation: pumpkinFlicker 3s ease-in-out infinite;
}
@keyframes pumpkinFlicker {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(255, 107, 26, 0.8));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 1)) drop-shadow(0 0 12px rgba(255, 107, 26, 0.6));
  }
}
.dropdown-item.halloween-category span {
  color: #ff6b1a;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 107, 26, 0.8), 0 0 20px rgba(255, 107, 26, 0.4);
  animation: textBurn 2s ease-in-out infinite;
}
@keyframes textBurn {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 107, 26, 0.8), 0 0 20px rgba(255, 107, 26, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 140, 0, 1), 0 0 30px rgba(255, 107, 26, 0.6), 0 0 40px rgba(255, 69, 0, 0.4);
  }
}
.pumpkin-laugh {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200px;
  height: 200px;
  z-index: 9999;
  pointer-events: none;
  animation: pumpkinLaugh 2s ease-out forwards;
}
@keyframes pumpkinLaugh {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
    opacity: 1;
  }
  40% {
    transform: translate(-50%, -50%) scale(0.9) rotate(-10deg);
  }
  60% {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
  }
  80% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
}
.halloween-bat {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
}
.halloween-bat::before {
  content: '🦇';
  font-size: 40px;
  display: block;
}
@keyframes batFlyLeft {
  0% {
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    left: -10%;
    top: 20%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1) rotate(-15deg);
  }
}
@keyframes batFlyRight {
  0% {
    right: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(50%, -50%) scale(1);
  }
  100% {
    right: -10%;
    top: 30%;
    opacity: 0;
    transform: translate(50%, -50%) scale(1) rotate(15deg);
  }
}
@keyframes batFlyUp {
  0% {
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    left: 60%;
    top: -10%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1) rotate(10deg);
  }
}
.snowflake {
  border-radius: 50% !important;
  position: fixed !important;
  background: #ffffff !important;
  box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0.8) !important;
  z-index: 999999 !important;
  pointer-events: none !important;
  animation: snowfall linear infinite !important;
  will-change: transform !important;
  display: block !important;
  visibility: visible !important;
}

@keyframes snowfall {
  0% {
    transform: translateY(-50px) scale(0);
    opacity: 0;
  }
  2% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  98% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
}
.dropdown-item i { font-size: 16px; width: 16px; height: 16px; color: #c084fc; line-height: 1; vertical-align: middle; }
.dropdown-item img { width: 16px; height: 16px; object-fit: contain; vertical-align: middle; }
.dropdown-item i.fa-shirt { text-align: center; margin-left: -1px; }
.dropdown-item span { font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; }
.subcategory-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.subcategory-nav i {
  font-size: 14px;
  color: #c084fc;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  vertical-align: middle;
}
.subcategory-nav i:hover { color: #ffffff; }
.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
  padding: 40px 0;
  /* Reserve vertical space so dynamic product loading doesn't pull the footer up
     into the initial viewport and then push it back down (CLS) */
  min-height: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
}
.content-card {
  background: linear-gradient(180deg, #1a1d2e 0%, #2a2e4b 50%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
  max-width: 300px;
  min-height: 450px;
  max-height: 450px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
.content-card:hover {
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.5);
  transform: translateY(-5px);
}
.content-card.hidden { display: none; }
.card-header { margin-bottom: 15px; }
.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.card-stats {
  display: flex;
  gap: 8px;
  font-size: 13px;
  opacity: 0.9;
  flex-wrap: wrap;
}
.stat-item,
.stat-hot,
.stat-halloween,
.stat-christmas,
.stat-framework,
.stat-new {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid #8e44ad;
  border-radius: 6px;
  background: rgba(142, 68, 173, 0.1);
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: 100%;
}
.stat-hot { border-color: #ff4444; background: rgba(255, 68, 68, 0.1); }
.stat-halloween { border-color: #ff6b1a; background: rgba(255, 107, 26, 0.1); }
.stat-christmas { border-color: #60a5fa; background: rgba(96, 165, 250, 0.15); }
.stat-item img,
.stat-hot img,
.stat-halloween img,
.stat-christmas img,
.stat-framework img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.stat-hot span { color: #ff4444; font-weight: 600; }
.stat-halloween span { color: #ff6b1a; font-weight: 600; }
.stat-christmas span { color: #bfdbfe; font-weight: 600; }
.stat-item i { font-size: 14px; font-weight: 900; color: #ffffff; }
.stat-framework i,
.stat-new i { font-size: 14px; font-weight: 900; color: #00ff3c; }
.card-image-container {
  position: relative;
  flex-grow: 1;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.error-icon {
  font-size: 32px;
  color: #00ff3c;
  margin: 0 auto 16px;
  display: block;
}
h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}
.error {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
}
.error-link {
  display: inline-block;
  margin: 20px auto 0;
  padding: 12px 24px;
  background: #8e44ad;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.error-link:hover { background: #732d8a; }
.error-link:active { background: #5f2673; transform: translateY(0); }
.fine-print {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #b0b0b0;
  margin-top: 24px;
  line-height: 1.5;
  opacity: 0.8;
}
.fine-print a {
  color: #9b59b6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.fine-print a:hover { color: #c084fc; text-decoration: underline; }
.bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  border-top: 1px solid #656565;
  background-color: #131522;
  margin-top: 20px;
  position: relative;
}
.dmca-disclaimer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  max-width: 300px;
  line-height: 1.4;
  z-index: 1;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dmca-badge {
  display: block;
  transition: opacity 0.3s ease;
}
.dmca-badge img {
  width: 100px;
  height: auto;
  display: block;
}
.dmca-badge:hover {
  opacity: 0.8;
}
.dmca-badge-mobile {
  display: none;
}
.bottom-left,
.bottom-right {
  display: flex;
  align-items: center;
}
.bottom-left { gap: 15px; }
.bottom-right { gap: 40px; }
.bottom-hyperlinks {
  border-left: 1px solid #656565;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
}
.bottom-hyperlinks a {
  font-size: 14px;
  font-family: 'Typo_Grotesk_Black_Demo', sans-serif;
  text-decoration: none;
  color: white;
  font-weight: 700;
}
.bottom-hyperlinks a:hover { color: #c084fc; }
.authors {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: -70%;
  opacity: 50%;
  left: 2.5%;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}
.bottom-left img { max-width: 100px; height: auto; }
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 15px;
  margin: 15px auto;
  max-width: 150px;
}
.pagination i {
  font-size: 20px;
  color: #c084fc;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
}
.pagination i:hover {
  color: #ffffff;
  transform: scale(1.1);
}
.pagination i.disabled {
  color: #5f2673;
  cursor: not-allowed;
  transform: none;
}
.pagination span {
  font-size: 16px;
  font-weight: 500;
  color: #c084fc;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.modal.show {
  display: flex;
  opacity: 1;
}
.modal-content {
  background: linear-gradient(180deg, #1A1D2E 0%, #272B45 100%);
  border-radius: 12px;
  padding: 20px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 16px rgba(65, 84, 255, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(123, 97, 255, 0.1);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(123, 97, 255, 0.3);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(123, 97, 255, 0.5);
}
.modal.show .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #BCBCBC;
  z-index: 10;
  background: rgba(26, 29, 46, 0.8);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: #FFF;
}
.modal-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 8px;
  display: none;
  cursor: zoom-in;
  transition: transform 0.3s ease, cursor 0.2s ease;
}
.modal-image.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  z-index: 1000;
  position: relative;
}
.modal-image-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  cursor: zoom-out;
  overflow: hidden;
  animation: zoomFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal-image-zoom-overlay img {
  max-width: 85vw;
  max-height: 85vh;
  min-width: 50vw;
  min-height: 50vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  cursor: zoom-out;
  display: block;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: zoomImageIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes zoomFadeIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  100% {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}
@keyframes zoomImageIn {
  0% {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@keyframes zoomFadeOut {
  0% {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
  100% {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
}
@keyframes zoomImageOut {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
  }
}
.modal-image-nav-buffer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 15;
  pointer-events: all;
}
.modal-image-nav-buffer.left {
  left: 0;
}
.modal-image-nav-buffer.right {
  right: 0;
}
.ad-banner {
  text-align: center;
  margin: 8px 0;
  padding: 4px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-link {
  display: inline-block;
  text-decoration: none;
  max-width: 728px;
  width: 100%;
}
.ad-image {
  width: 100%;
  max-width: 728px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.ad-image:hover {
  transform: scale(1.02);
}

.ad-banner[data-show="false"] {
  display: none;
}

@media (max-width: 480px) {
  .ad-banner {
    margin: 2px 0;
    padding: 0;
    min-height: 50px;
  }
  
  .ad-image {
    max-width: 100%;
    height: 50px;
  }
  
  .modal-how-to-clean {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .modal-cleaning-note {
    font-size: 12px;
  }
}
.header-text {
      text-align: center;
      padding: 15px 0;
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      font-size: 24px;
      letter-spacing: 0.5px;
      background: linear-gradient(180deg, #ffffff 0%, #c084fc 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .header-text span {
      color: #c084fc;
    }
.modal-preview-container {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
  position: relative;
  cursor: pointer;
  display: none;
  overflow: hidden;
  line-height: 0;
}
.modal-preview-container.show {
  display: block;
  margin-bottom: 8px;
}
.modal-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.modal-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.modal-preview-overlay i {
  font-size: 48px;
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.modal-preview-overlay:hover i {
  opacity: 1;
}
.modal-preview-overlay img {
  width: 100px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.4s ease-in-out;
}
.modal-preview-overlay img:hover {
  opacity: 1;
}
#player {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: none;
}
.modal-framework {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  margin-top: 0;
}
.modal-framework img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.modal-framework span {
  font-size: 14px;
  font-weight: 500;
}
.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal-posted-by {
  font-size: 14px;
  margin-bottom: 12px;
  margin-top: -4px;
  opacity: 0.9;
}
.modal-posted-by a {
  color: #9B59B6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.modal-posted-by a:hover {
  color: #c084fc;
  transform: translateX(2px);
  text-decoration: underline;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.modal-description {
  font-size: 14px;
  color: #BCBCBC;
  margin-bottom: 20px;
  line-height: 1.6;
}
.modal-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal-description li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.modal-description li::before {
  content: '\25CF';
  position: absolute;
  left: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
}
.modal-status {
  font-size: 14px;
  color: #BCBCBC;
  margin-bottom: 20px;
}
.modal-status strong {
  font-weight: 700;
}
.modal-dependencies {
  font-size: 14px;
  color: #BCBCBC;
  margin-bottom: 20px;
}
.modal-dependencies strong {
  font-weight: 700;
}
.modal-cleaning-note {
  font-size: 14px;
  color: #BCBCBC;
  margin-bottom: 10px;
  margin-top: -10px;
}
.modal-cleaning-note strong {
  font-weight: 700;
}
.modal-cleaning-note.warning {
  padding: 8px 12px;
  border-left: 3px solid #c084fc;
  background: rgba(192, 132, 252, 0.1);
  border-radius: 4px;
  margin-bottom: 15px;
  margin-top: 0;
}
.modal-how-to-clean {
  background: #c084fc;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-bottom: 10px;
}
.modal-how-to-clean:hover {
  background: #a855f7;
}
.modal-download {
  background: #7673FF;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-bottom: 10px;
}
.modal-download:hover {
  background: #5B57CC;
}
.modal-custom-content {
  font-size: 14px;
  color: #BCBCBC;
  margin-bottom: 20px;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Reactions System */
.reactions-wrapper {
  margin-top: 15px;
  margin-bottom: 15px;
  transition: opacity 0.2s ease;
}
.reactions-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Expandable Reactions Group */
.reactions-expandable {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 12px;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}
.reactions-expandable:hover {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  gap: 6px;
}

/* Primary Reaction (Excellent Pepe) */
.reaction-primary {
  position: relative;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
.reaction-primary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}
.reaction-primary.active {
  background: rgba(192, 132, 252, 0.15);
}
.reaction-primary.empty {
  opacity: 0.3;
  filter: grayscale(100%);
}
.reaction-primary.reacting {
  animation: reactionPulse 0.6s ease;
}
.reaction-primary img {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform 0.3s ease;
}

/* Secondary Reactions */
.reactions-secondary {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: visible;
  max-width: 0;
  opacity: 0;
  margin-left: -8px;
  padding-left: 8px;
  transition: max-width 0.4s ease, opacity 0.3s ease, margin-left 0.3s ease;
  pointer-events: none;
}
.reaction-primary:hover ~ .reactions-secondary,
.reactions-secondary:hover {
  max-width: 300px;
  opacity: 1;
  pointer-events: all;
}
.reaction-item {
  position: relative;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s ease;
  transform: translateX(-10px);
  opacity: 0;
}
.reaction-primary:hover ~ .reactions-secondary .reaction-item,
.reactions-secondary:hover .reaction-item {
  transform: translateX(0);
  opacity: 1;
}
.reaction-primary:hover ~ .reactions-secondary .reaction-item:nth-child(1),
.reactions-secondary:hover .reaction-item:nth-child(1) { transition-delay: 0.05s; }
.reaction-primary:hover ~ .reactions-secondary .reaction-item:nth-child(2),
.reactions-secondary:hover .reaction-item:nth-child(2) { transition-delay: 0.1s; }
.reaction-primary:hover ~ .reactions-secondary .reaction-item:nth-child(3),
.reactions-secondary:hover .reaction-item:nth-child(3) { transition-delay: 0.15s; }
.reaction-primary:hover ~ .reactions-secondary .reaction-item:nth-child(4),
.reactions-secondary:hover .reaction-item:nth-child(4) { transition-delay: 0.2s; }
.reaction-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(0) scale(1.05);
}
.reaction-item.active {
  background: rgba(192, 132, 252, 0.15);
}
.reaction-item.reacting {
  animation: reactionPulse 0.6s ease;
}
.reaction-item img {
  width: 26px;
  height: 26px;
  display: block;
}

/* Summary (Top 3 reactions) */
.reactions-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.reactions-empty-message {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.reaction-summary-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}
.reaction-summary-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}
.reaction-summary-item img {
  width: 20px;
  height: 20px;
  display: block;
}
.reaction-summary-count {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* Tooltips */
.reaction-tooltip {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.92);
  padding: 8px 12px;
  padding-bottom: 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
  backdrop-filter: blur(4px);
}
.reaction-tooltip::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 10px;
  background: transparent;
}
.reaction-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.92);
}
.reaction-primary:hover .reaction-tooltip,
.reaction-item:hover .reaction-tooltip,
.reaction-tooltip:hover {
  opacity: 1;
  pointer-events: all;
}
.reaction-tooltip a {
  color: #c084fc;
  text-decoration: underline;
  font-weight: 600;
}
.reaction-tooltip a:hover {
  color: #ffffff;
}

/* Reaction Animation */
@keyframes reactionPulse {
  0% { transform: scale(1); }
  25% { transform: scale(1.2) rotate(5deg); }
  50% { transform: scale(0.95) rotate(-5deg); }
  75% { transform: scale(1.1) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ============= COMMENTS SECTION ============= */
.comments-section {
  border-top: 1px solid rgba(123, 97, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}

.comments-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease,
              opacity 0.2s ease;
}

.comments-content.show {
  max-height: 2000px;
  opacity: 1;
}

.comments-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(123, 97, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.comments-toggle:hover {
  background: rgba(123, 97, 255, 0.05);
  border-color: rgba(123, 97, 255, 0.25);
}

.comments-toggle.active {
  background: rgba(123, 97, 255, 0.08);
  border-color: rgba(123, 97, 255, 0.3);
}

.comments-toggle-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.comments-toggle-left i {
  font-size: 16px;
  color: rgba(123, 97, 255, 0.8);
}

.comments-count {
  background: rgba(123, 97, 255, 0.15);
  color: rgba(192, 132, 252, 0.9);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  min-width: 28px;
  text-align: center;
}

.comments-toggle-icon {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.comments-toggle.active .comments-toggle-icon {
  transform: rotate(180deg);
}

.comments-content {
  margin-top: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Comment Input */
.comment-input-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.comment-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(123, 97, 255, 0.3);
}

.comment-input-container {
  flex: 1;
  background: rgba(26, 29, 46, 0.6);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.3s ease;
}

.comment-input-container:focus-within {
  border-color: rgba(123, 97, 255, 0.5);
  background: rgba(26, 29, 46, 0.8);
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.1);
}

#commentInput,
.comment-input-container textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  resize: none;
  outline: none;
  line-height: 1.5;
  min-height: 20px;
  max-height: 200px;
}

#commentInput::placeholder,
.comment-input-container textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.comment-input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(123, 97, 255, 0.1);
}

.comment-char-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.comment-submit-btn {
  background: linear-gradient(135deg, #7B61FF 0%, #9b59b6 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.comment-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 97, 255, 0.4);
}

.comment-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.comment-submit-btn i {
  font-size: 13px;
}

/* Sign In Prompt */
.comment-signin-prompt {
  text-align: center;
  padding: 30px 20px;
  background: rgba(123, 97, 255, 0.05);
  border-radius: 12px;
  border: 1px dashed rgba(123, 97, 255, 0.3);
}

.comment-signin-prompt i {
  font-size: 32px;
  color: #7B61FF;
  margin-bottom: 12px;
  opacity: 0.8;
}

.comment-signin-prompt p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.comment-signin-prompt a {
  color: #c084fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.comment-signin-prompt a:hover {
  color: #d8b4fe;
  text-decoration: underline;
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Comment Card */
.comment-card {
  background: rgba(26, 29, 46, 0.4);
  border: 1px solid rgba(123, 97, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}

.comment-card:hover {
  border-color: rgba(123, 97, 255, 0.3);
  background: rgba(26, 29, 46, 0.6);
}

/* Removed own-comment styling - all comments look the same */

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(123, 97, 255, 0.3);
}

.comment-user-info {
  flex: 1;
}

.comment-username {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  display: block;
  margin-bottom: 2px;
}

.comment-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.comment-content {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.comment-content a {
  color: #c084fc;
  text-decoration: none;
  font-weight: 500;
}

.comment-content a:hover {
  text-decoration: underline;
}

/* Comment Embed Cards */
.comment-embed {
  margin-top: 12px;
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.comment-embed:hover {
  border-color: rgba(123, 97, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 97, 255, 0.2);
}

/* YouTube Preview (before click) */
.comment-embed-youtube-preview {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  cursor: pointer;
  overflow: hidden;
}

.comment-embed-youtube-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.comment-embed-youtube-preview:hover img {
  transform: scale(1.05);
}

.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none;
}

.comment-embed-youtube-preview:hover .youtube-play-button {
  background: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.youtube-play-button i {
  color: white;
  font-size: 24px;
  margin-left: 4px;
}

/* YouTube Iframe (after click) */
.comment-embed-youtube {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.comment-embed-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.comment-embed-unlocknow {
  display: flex;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
}

.comment-embed-thumbnail {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.comment-embed-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.comment-embed-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.comment-embed-url {
  font-size: 12px;
  color: #c084fc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Comment Actions */
.comment-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.comment-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Poppins', sans-serif;
  position: relative;
  backdrop-filter: blur(8px);
  user-select: none;
  z-index: 1;
}

.comment-action-btn:hover {
  background: rgba(123, 97, 255, 0.18);
  border-color: rgba(123, 97, 255, 0.35);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(123, 97, 255, 0.25);
}

.comment-action-btn.active {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.22);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 24px rgba(192, 132, 252, 0.35);
}

.comment-action-btn.reacting {
  animation: reactionPulse 0.6s ease;
  pointer-events: none;
}

.comment-action-btn.reacting img {
  animation: reactionPulse 0.6s ease;
}

.comment-action-btn i {
  font-size: 14px;
}

.comment-action-btn img {
  transition: transform 0.3s ease;
  filter: brightness(0.85);
}

.comment-action-btn:hover img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

.comment-action-btn.active img {
  filter: brightness(1.25);
  transform: scale(1.05);
}

/* Delete button special styling */
.comment-delete-btn {
  color: rgba(239, 68, 68, 0.8);
  border-color: rgba(239, 68, 68, 0.2);
}

.comment-delete-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: rgba(239, 68, 68, 1);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Reply button with badge */
.comment-reply-btn.has-replies {
  color: rgba(192, 132, 252, 0.95);
  border-color: rgba(192, 132, 252, 0.25);
  background: rgba(192, 132, 252, 0.1);
}

.comment-reply-btn.has-replies:hover {
  background: rgba(192, 132, 252, 0.2);
  border-color: rgba(192, 132, 252, 0.45);
}

/* Comment Action Tooltips - Fixed to not block clicks */
.comment-action-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.comment-action-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.95);
  margin-top: -1px;
}

.comment-action-btn:hover .comment-action-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.comment-action-tooltip a {
  color: #c084fc;
  text-decoration: underline;
  font-weight: 600;
  pointer-events: all;
}

.comment-action-tooltip a:hover {
  color: #d8b4fe;
}

.comment-reply-btn {
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.25);
  font-weight: 600;
}

.comment-reply-btn:hover {
  background: rgba(123, 97, 255, 0.22);
  border-color: rgba(123, 97, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 97, 255, 0.35);
}

.comment-reply-btn.has-replies {
  background: rgba(192, 132, 252, 0.18);
  border-color: rgba(192, 132, 252, 0.35);
  color: #c084fc;
}

.comment-reply-btn.has-replies:hover {
  background: rgba(192, 132, 252, 0.28);
  border-color: rgba(192, 132, 252, 0.55);
}

.comment-delete-btn {
  margin-left: auto;
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.25);
  background: rgba(255, 107, 107, 0.08);
}

.comment-delete-btn i {
  color: #ff6b6b;
}

.comment-delete-btn:hover {
  background: rgba(255, 107, 107, 0.2);
  color: #ff4444;
  border-color: rgba(255, 107, 107, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.comment-delete-btn:hover i {
  color: #ff4444;
}

.comment-delete-btn span {
  display: inline;
}

@media (max-width: 768px) {
  .comment-actions {
    gap: 8px;
    margin-top: 12px;
  }
  
  .comment-action-btn {
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
  }
  
  .comment-action-btn i {
    font-size: 13px;
  }
  
  .comment-delete-btn span,
  .comment-reply-btn span {
    display: none;
  }
  
  .comment-delete-btn,
  .comment-reply-btn {
    padding: 8px 10px;
    min-width: 40px;
    justify-content: center;
  }
  
  .comment-action-tooltip {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* Comment Replies */
.comment-replies {
  margin-top: 16px;
  padding-left: 48px;
  display: none;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid rgba(123, 97, 255, 0.2);
  animation: slideDown 0.3s ease;
}

.comment-replies.show {
  display: flex;
}

.comment-replies-toggle {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.comment-replies-toggle:hover {
  color: rgba(255, 255, 255, 0.7);
}

.comment-replies-toggle i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.comment-replies-toggle.active i {
  transform: rotate(180deg);
}

.comment-reply-input {
  margin-top: 12px;
  display: none;
  animation: slideDown 0.3s ease;
}

.comment-reply-input.show {
  display: block;
}

/* Loading & Empty States */
.comments-loading {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.comments-loading i {
  font-size: 32px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.comments-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.comments-empty i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.comments-empty p {
  font-size: 14px;
  margin: 0;
}
.reaction-users-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.reaction-users-modal.show {
  display: flex;
}
.reaction-users-content {
  background: linear-gradient(180deg, #1A1D2E 0%, #272B45 100%);
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.reaction-users-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(192, 132, 252, 0.3);
}
.reaction-users-header img {
  width: 30px;
  height: 30px;
}
.reaction-users-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  flex: 1;
}
.reaction-users-close {
  cursor: pointer;
  font-size: 24px;
  color: #BCBCBC;
  transition: color 0.3s ease;
}
.reaction-users-close:hover {
  color: #ffffff;
}
.reaction-user-item {
  padding: 8px 12px;
  margin-bottom: 6px;
  background: rgba(142, 68, 173, 0.1);
  border-radius: 8px;
  font-size: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}
.reaction-user-item:hover {
  background: rgba(142, 68, 173, 0.2);
}
.reaction-user-avatar {
  height: 24px;
  border-radius: 50%;
  border: 2px solid #9B59B6;
}
@media (max-width: 450px) {
  /* Hide report button on mobile */
  .modal-report {
    display: none !important;
  }
  .top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
  }
  .top-right {
    display: flex;
    gap: 10px;
  }
  .top-hrefs {
    display: flex;
  }
  .top-hrefs a {
    margin-left: 10px !important;
  }
  .top-hrefs a:first-child {
    margin-left: 0 !important;
  }
  .container { padding: 24px; border-radius: 12px; grid-template-columns: 1fr; }
  .content-card { width: 100%; max-width: 100%; min-height: 400px; }
  .search-bar {
    width: 90%;
    padding: 6px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
  }
  .search-bar input {
    font-size: 12px;
    min-width: 100px;
    padding: 6px 0;
  }
  .search-dropdown,
  .subcategory-dropdown {
    padding: 4px 8px;
    min-width: 80px;
    width: auto;
    font-size: 12px;
  }
  .search-dropdown i,
  .subcategory-dropdown i {
    font-size: 14px;
  }
  .search-dropdown span,
  .subcategory-dropdown span {
    font-size: 12px;
  }
  .dropdown-menu {
    max-height: 180px;
    min-width: 160px;
    right: 0;
    transform: translateX(0);
  }
  .dropdown-item {
    font-size: 12px;
    padding: 6px 10px;
    margin: 2px 0;
  }
  .dropdown-item i {
    font-size: 14px;
    width: 14px;
    height: 14px;
  }
  .dropdown-item span {
    font-size: 12px;
  }
  .subcategory-nav i {
    font-size: 12px;
  }
  .error-icon { font-size: 28px; margin-bottom: 12px; }
  h1 { font-size: 22px; margin-bottom: 20px; }
  .error { font-size: 16px; }
  .error-link { padding: 10px 20px; font-size: 14px; }
  .fine-print { font-size: 12px; }
  #big { display: none; }
  #mini { display: flex; }
  .bottom { flex-direction: column; gap: 10px; padding: 20px; }
  .authors { position: static; opacity: 70%; }
  .dmca-disclaimer {
    position: static;
    transform: none;
    margin: 10px 0;
    font-size: 10px;
    max-width: 280px;
    gap: 8px;
  }
  .dmca-badge {
    display: none;
  }
  .bottom-right .dmca-badge-mobile {
    display: block;
  }
  .dmca-badge-mobile img {
    width: 80px;
    height: auto;
  }
  .pagination { max-width: 120px; padding: 10px; }
  .pagination i { font-size: 16px; padding: 6px; }
  .pagination span { font-size: 12px; }
  .modal-content {
    width: 95%;
    padding: 15px;
    max-width: 95%;
  }
  .modal-image {
    max-height: 250px;
  }
  .modal-preview-container {
    max-height: 250px;
  }
  .modal-preview-overlay i {
    font-size: 36px;
  }
  .modal-preview-overlay img {
    width: 60px;
  }
  .modal-framework img {
    width: 20px;
    height: 20px;
  }
  .modal-framework span {
    font-size: 12px;
  }
  .modal-title {
    font-size: 18px;
  }
  .modal-description {
    font-size: 12px;
  }
  .modal-dependencies {
    font-size: 12px;
  }
  .modal-download {
    font-size: 14px;
    padding: 8px 16px;
  }
  .card-image-container {
    height: 150px;
  }
  .ad-banner {
    width: 95%;
    margin: 15px auto;
  }
  .ad-image {
    max-height: 160px;
  }
  .reactions-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .reactions-container {
    gap: 5px;
  }
  .reactions-expandable {
    padding: 3px 5px;
    gap: 3px;
  }
  .reaction-primary {
    padding: 5px;
  }
  .reaction-primary img {
    width: 24px;
    height: 24px;
  }
  .reaction-item {
    padding: 5px;
  }
  .reaction-item img {
    width: 22px;
    height: 22px;
  }
  .reactions-summary {
    gap: 4px;
    padding-left: 6px;
  }
  .reaction-summary-item {
    padding: 2px 5px;
    gap: 3px;
  }
  .reaction-summary-item img {
    width: 18px;
    height: 18px;
  }
  .reaction-summary-count {
    font-size: 10px;
  }
  .reactions-empty-message {
    font-size: 10px;
  }
  .reaction-tooltip {
    font-size: 10px;
    padding: 6px 10px;
    padding-bottom: 10px;
  }
  .reaction-users-content {
    padding: 15px;
    max-width: 90%;
  }
  .reaction-users-title {
    font-size: 16px;
  }
  .reaction-user-item {
    font-size: 12px;
  }
}

/* User Menu Hover Effects */
.menu-grid-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.menu-grid-item:hover span {
  color: #ffffff;
}

#userAvatar:hover #avatarImage {
  opacity: 0.8;
}

#adminMenuItem a:hover {
  background: rgba(255, 71, 87, 0.12) !important;
}

#userMenu a[href*="discord"]:hover,
#userMenu a[onclick*="localStorage.clear"]:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Menu animation */
@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#userMenu[style*="display: block"] {
  animation: menuSlideIn 0.2s ease-out;
}

/* Messages Panel Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

#messagesPanel button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

#messagesList::-webkit-scrollbar {
  width: 6px;
}

#messagesList::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

#messagesList::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

#messagesList::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Avatar notification badge animation (Discord-like) */
#avatarNotificationBadge {
  animation: notificationPulse 2s ease-in-out infinite;
}

#messagesBadge {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
  }
  50% {
    box-shadow: 0 2px 16px rgba(239, 68, 68, 0.9);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}