/* ==========================================================================
   TAPPEDMODE — Component Styles (Black & White Theme)
   ========================================================================== */

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  cursor: pointer;
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: #e4e4e7;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #121212;
  color: #ffffff;
  border: 1px solid #262626;
}

.btn-secondary:hover {
  background: #1e1e1e;
  border-color: #404040;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-high);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
}

.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Badges & Tags (Exact Match for Screenshot 1)
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.tag-hot {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.tag-updated {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.tag-popular {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.tag-new {
  background: #ffffff;
  color: #000000;
  font-weight: 900;
}

.tag-best {
  background: #ffffff;
  color: #000000;
  font-weight: 900;
}

.tag-ring0 {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Product Cards (Mod Card — Screenshot 1 Style)
   ========================================================================== */
.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.mod-card {
  background: #080808;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.mod-card:hover {
  background: #0d0d0d;
  border-color: #404040;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.04);
}

.mod-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #121212;
}

.mod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.mod-card:hover .mod-img {
  transform: scale(1.05);
}

.mod-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(8,8,8,0.95) 100%);
  pointer-events: none;
}

.mod-badges-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mod-status-overlay {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.mod-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mod-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.mod-desc {
  font-size: 0.88rem;
  color: #9e9e9e;
  line-height: 1.55;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.mod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #1a1a1a;
  margin-top: auto;
}

.mod-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  color: #a1a1aa;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-pill svg {
  width: 14px;
  height: 14px;
  color: #a1a1aa;
}

.stat-rating svg {
  color: #ffffff;
  fill: #ffffff;
}

.btn-card-action {
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #141414;
  border: 1px solid #282828;
  border-radius: 8px;
  color: #ffffff;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.mod-card:hover .btn-card-action {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Roblox Catalog Hub Banner (Screenshot 2 Style)
   ========================================================================== */
.roblox-catalog-banner {
  background: radial-gradient(circle at top left, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid #282828;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.roblox-catalog-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 15px #ffffff;
}

.roblox-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.roblox-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  shrink: 0;
}

.roblox-banner-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.roblox-banner-subtitle {
  font-size: 0.85rem;
  color: #8e8e8e;
  line-height: 1.4;
}

.roblox-banner-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.roblox-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ==========================================================================
   Interactive Comparison Slider (Before / After)
   ========================================================================== */
.comparison-container {
  background: var(--bg-surface);
  border: 1px solid #262626;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.comparison-box {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.comparison-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.comparison-base {
  z-index: 1;
}

.comparison-overlay {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  background-color: #09090b;
}

.comparison-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #ffffff;
  z-index: 5;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  cursor: ew-resize;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.comparison-handle svg {
  width: 18px;
  height: 18px;
}

.comparison-tag {
  position: absolute;
  bottom: 24px;
  z-index: 10;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.tag-before {
  left: 24px;
  background: rgba(10, 10, 10, 0.85);
  color: var(--text-medium);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-after {
  right: 24px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hud-esp-box {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hud-esp-label {
  position: absolute;
  top: -18px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: #ffffff;
  color: #000000;
  padding: 1px 4px;
  font-weight: 800;
  white-space: nowrap;
}

/* ==========================================================================
   Feature Cards (Why Us)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #080808;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 30px 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: #0d0d0d;
  border-color: #404040;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: #141414;
  border: 1px solid #282828;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrap {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

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

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: #9e9e9e;
  line-height: 1.6;
}

/* ==========================================================================
   Live Stats Grid
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background: #080808;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: #383838;
  background: #0d0d0d;
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.85rem;
  color: #8e8e8e;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Reviews Marquee
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.marquee-left .marquee-track {
  animation: marquee-scroll 45s linear infinite;
}

.marquee-right .marquee-track {
  animation: marquee-scroll-reverse 45s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-scroll-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.testimonial-card {
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 14px;
  padding: 18px 22px;
  min-width: 320px;
  max-width: 380px;
  font-size: 0.88rem;
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  border-color: #404040;
  background: #121212;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8e8e8e;
}

.testimonial-user {
  font-weight: 700;
  color: #ffffff;
}

.testimonial-stars {
  color: #ffffff;
  letter-spacing: 2px;
}

/* ==========================================================================
   Catalog Controls (Search, Filters, Sort)
   ========================================================================== */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e8e8e;
  width: 18px;
  height: 18px;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: #0a0a0a;
  border: 1px solid #262626;
  border-radius: 9999px;
  font-size: 0.92rem;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  background: #111111;
  outline: none;
}

.filter-tags-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.filter-tag {
  padding: 8px 18px;
  background: #0a0a0a;
  border: 1px solid #262626;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #8e8e8e;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-tag:hover {
  color: #ffffff;
  border-color: #404040;
  background: #141414;
}

.filter-tag.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

/* Product interface refresh */
.btn-secondary, .btn-outline { background: transparent; color: #121212; border-color: #c9c7bf; box-shadow: none; }
.btn-secondary:hover, .btn-outline:hover { background: #fff; color: #121212; border-color: #121212; }
.mods-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.mod-card { background: #fff; border: 1px solid #deddd6; border-radius: 10px; box-shadow: 0 2px 0 rgba(18,18,18,.03); }
.mod-card:hover { background: #fff; border-color: #121212; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18,18,18,.09); }
.mod-image-wrap { height: 184px; background: #deddd6; }
.mod-image-wrap::after { background: linear-gradient(180deg, transparent 55%, rgba(18,18,18,.62) 100%); }
.tag, .tag-hot, .tag-updated, .tag-popular, .tag-new, .tag-best { background: #fff; color: #121212; border: 1px solid rgba(255,255,255,.75); box-shadow: none; border-radius: 4px; font-size: .62rem; }
.tag-ring0 { background: #121212; color: #fff; border-color: #121212; }
.mod-status-overlay { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.7); color: #121212; }
.mod-body { padding: 18px; }
.mod-title { color: #121212; font-size: 1.05rem; }
.mod-desc { color: #6b6962; }
.mod-footer { border-top-color: #ecebe6; }
.mod-stats, .stat-pill { color: #68665f; }
.stat-pill svg, .stat-rating svg { color: #d66a32; }
.stat-rating svg { fill: #d66a32; }
.btn-card-action { background: #121212; border-color: #121212; border-radius: 5px; color: #fff; }
.mod-card:hover .btn-card-action { background: #d66a32; color: #fff; border-color: #d66a32; box-shadow: none; }
.filter-tag { background: transparent; border-color: #d4d2ca; color: #69675f; border-radius: 5px; padding: 8px 11px; }
.filter-tag:hover, .filter-tag.active { background: #121212; color: #fff; border-color: #121212; box-shadow: none; }
.filter-icon { display: inline-flex; width: 16px; margin-right: 6px; align-items: center; justify-content: center; color: #d66a32; font-size: 1rem; line-height: 1; }
.filter-tag.active .filter-icon, .filter-tag:hover .filter-icon { color: #f3ae82; }
.search-input, .sort-select-wrap select { background: #fff; border-color: #d4d2ca; color: #121212; border-radius: 6px; }
.search-input:focus { border-color: #121212; box-shadow: none; background: #fff; }
.feature-card, .stat-card, .testimonial-card, .faq-item, .support-card, .status-monitor-card { background: #fff; border-color: #deddd6; border-radius: 10px; box-shadow: none; }
.feature-card:hover, .stat-card:hover, .testimonial-card:hover { background: #fff; border-color: #121212; box-shadow: 0 10px 22px rgba(18,18,18,.07); }
.feature-title, .testimonial-user, .faq-question, .stat-number { color: #121212; }
.feature-desc, .testimonial-card, .faq-answer-inner { color: #68665f; }
.feature-icon-wrap { background: #f4f3ee; border-color: #deddd6; color: #d66a32; }
.feature-card:hover .feature-icon-wrap { background: #d66a32; border-color: #d66a32; color: #fff; box-shadow: none; }
.faq-item.active, .faq-item:hover { border-color: #121212; }
.roblox-catalog-banner { display: none; }

/* Final dark card and control override */
.btn-secondary, .btn-outline { background: #111; color: #f5f5f2; border-color: #343434; }
.btn-secondary:hover, .btn-outline:hover { background: #1b1b1b; color: #fff; border-color: #e1844f; }
.mod-card { background: #111; border-color: #292929; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.mod-card:hover { background: #161616; border-color: #555; box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.mod-image-wrap { background: #1b1b1b; }
.mod-title, .feature-title, .testimonial-user, .faq-question, .stat-number { color: #f5f5f2; }
.mod-desc, .feature-desc, .testimonial-card, .faq-answer-inner { color: #a1a19b; }
.mod-footer { border-top-color: #242424; }
.mod-stats, .stat-pill { color: #8d8d87; }
.btn-card-action { background: #f5f5f2; border-color: #f5f5f2; color: #080808; }
.mod-card:hover .btn-card-action { background: #e1844f; color: #fff; border-color: #e1844f; }
.tag, .tag-hot, .tag-updated, .tag-popular, .tag-new, .tag-best { background: #f5f5f2; color: #080808; }
.tag-ring0 { background: #1b1b1b; color: #f5f5f2; border-color: #444; }
.mod-status-overlay { background: rgba(8,8,8,.84); border-color: #3c3c3c; color: #f5f5f2; }
.filter-tag { background: #101010; border-color: #2d2d2d; color: #a1a19b; }
.filter-tag:hover, .filter-tag.active { background: #f5f5f2; color: #080808; border-color: #f5f5f2; }
.filter-tag.active .filter-icon, .filter-tag:hover .filter-icon { color: #e1844f; }
.search-input, .sort-select-wrap select { background: #101010; border-color: #2d2d2d; color: #f5f5f2; }
.search-input:focus { background: #151515; border-color: #e1844f; }
.feature-card, .stat-card, .testimonial-card, .faq-item, .support-card, .status-monitor-card { background: #111; border-color: #292929; }
.feature-card:hover, .stat-card:hover, .testimonial-card:hover { background: #161616; border-color: #555; }
.feature-icon-wrap { background: #1a1a1a; border-color: #303030; color: #e1844f; }
.feature-card:hover .feature-icon-wrap { background: #e1844f; border-color: #e1844f; color: #fff; }
.faq-item.active, .faq-item:hover { border-color: #555; }

.catalog-index-page .catalog-controls { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; align-items: start; padding: 18px 0; border-bottom: 1px solid #242424; }
.catalog-index-page .search-input { height: 44px; border-radius: 0; }
.catalog-index-page .filter-tags-scroll { justify-content: flex-end; flex-wrap: wrap; overflow: visible; }
.catalog-index-page .filter-tag { border-radius: 0; padding: 7px 10px; font-family: var(--font-mono); font-size: .67rem; letter-spacing: .03em; }
.catalog-index-page .catalog-sort-bar { margin-bottom: 18px; padding: 12px 0 18px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.catalog-index-page .mods-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: #292929; border: 1px solid #292929; }
.catalog-index-page .mod-card { border: 0; border-radius: 0; box-shadow: none; min-height: 220px; display: grid; grid-template-columns: 190px 1fr; }
.catalog-index-page .mod-card:hover { transform: none; box-shadow: none; }
.catalog-index-page .mod-image-wrap { height: 100%; min-height: 220px; }
.catalog-index-page .mod-badges-overlay { top: 10px; left: 10px; }
.catalog-index-page .mod-status-overlay { right: auto; left: 10px; bottom: 10px; }
.catalog-index-page .mod-body { padding: 20px; }
.catalog-index-page .mod-title { font-size: 1.15rem; letter-spacing: -.03em; }
.catalog-index-page .mod-desc { margin-bottom: 14px; -webkit-line-clamp: 3; }
.catalog-index-page .btn-card-action { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 980px) { .catalog-index-page .mods-grid { grid-template-columns: 1fr; }.catalog-index-page .catalog-controls { grid-template-columns: 1fr; }.catalog-index-page .filter-tags-scroll { justify-content: flex-start; } }
@media (max-width: 520px) { .catalog-index-page .mod-card { grid-template-columns: 1fr; }.catalog-index-page .mod-image-wrap { min-height: 180px; }.catalog-index-page .catalog-sort-bar { align-items: flex-start; flex-direction: column; gap: 12px; } }

.catalog-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #1f1f1f;
  margin-bottom: 28px;
  font-size: 0.86rem;
  color: #8e8e8e;
}

.sort-select-wrap select {
  background: #0a0a0a;
  border: 1px solid #262626;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
}

/* ==========================================================================
   Modals (Product View & Download Flow)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal-dialog {
  background: #0a0a0a;
  border: 1px solid #262626;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.05);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.modal-close-btn:hover {
  background: #ffffff;
  color: #000000;
}

.modal-header-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  position: relative;
}

.modal-content-inner {
  padding: 28px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #8e8e8e;
}

.password-box-wrap {
  background: #000000;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.password-display {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-copy:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #ffffff;
  color: #000000;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(30px);
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #080808;
  border: 1px solid #1f1f1f;
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: #383838;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
  font-size: 0.92rem;
  color: #9e9e9e;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Components
   ========================================================================== */
@media (max-width: 768px) {
  .comparison-box {
    height: 380px;
  }
  .mods-grid {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    max-height: 95vh;
  }
  .roblox-catalog-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .roblox-banner-right {
    width: 100%;
    justify-content: space-between;
  }
}
