:root {
  --bg-main: #0B0F19;
  --bg-card: #111827;
  --bg-card-hover: #172236;
  --bg-input: #1E293B;
  --border-color: #1F293D;
  --border-light: #2D3B55;

  --primary: #10B981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);

  --cyan: #06B6D4;
  --amber: #F59E0B;
  --blue: #3B82F6;
  --red: #EF4444;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   MINECRAFT PIXEL FONTS & RETRO STYLES
   ========================================================================== */

@font-face {
  font-family: 'Minecraftia';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Minecraftia.ttf') format('truetype'),
       url('/fonts/Minecraftia.woff') format('woff'),
       url('https://raw.githubusercontent.com/Overv/WebCraft/master/style/minecraftia.ttf') format('truetype');
}

@font-face {
  font-family: 'MinecraftTen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/MinecraftTen.ttf') format('truetype'),
       url('/fonts/MinecraftTen.woff') format('woff'),
       url('https://raw.githubusercontent.com/apx201/fsf/main/MinecraftTen-VGORe.ttf') format('truetype');
}

/* ==========================================================================
   MOROCCAN WALL LIGHT SWITCH ("NGASA D DOW") - HORIZONTAL FONT SWITCH BOX
   ========================================================================== */

.font-settings-box {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 4px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  user-select: none;
}

.font-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
}

.font-settings-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.wall-switch-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #475569;
  border: 1px solid rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-font="minecraft"] .wall-switch-led,
.wall-light-switch.is-minecraft .wall-switch-led {
  background: #10B981;
  box-shadow: 0 0 6px #10B981, 0 0 10px rgba(16, 185, 129, 0.8);
}

.wall-light-switch {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.wall-light-switch:active .switch-slider-knob {
  transform: scale(0.95);
}

.switch-housing {
  width: 60px;
  height: 24px;
  padding: 2px;
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

[data-theme="light"] .switch-housing {
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  border-color: #94A3B8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.switch-groove {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0B0F19;
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), inset 0 -1px 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  overflow: hidden;
}

[data-theme="light"] .switch-groove {
  background: #F1F5F9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.switch-symbol {
  font-size: 9px;
  font-weight: 900;
  font-family: monospace;
  color: var(--text-dim);
  user-select: none;
  z-index: 1;
}

.switch-symbol.off {
  color: var(--text-muted);
}

html[data-font="minecraft"] .switch-symbol.on {
  color: #10B981;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.switch-slider-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 16px;
  background: linear-gradient(180deg, #475569 0%, #334155 100%);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
  cursor: pointer;
}

[data-theme="light"] .switch-slider-knob {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  border-color: #CBD5E1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), inset 0 1px 1px #FFFFFF;
}

.knob-ridges {
  width: 8px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 3px
  );
  opacity: 0.75;
}

[data-theme="light"] .knob-ridges {
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.2) 2px,
    rgba(0, 0, 0, 0.2) 3px
  );
}

html[data-font="minecraft"] .switch-slider-knob,
.wall-light-switch.is-minecraft .switch-slider-knob {
  transform: translateX(28px) !important;
  background: linear-gradient(180deg, #10B981 0%, #059669 100%) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

/* ==========================================================================
   TYPOGRAPHY MODES: ORIGINAL (MODERN) vs MINECRAFT (RETRO PIXEL)
   ========================================================================== */

/* 1. When Modern Font is Active (Default Clean View) */
html[data-font="original"],
body[data-font="original"],
html[data-font="original"] body,
html[data-font="original"] body *:not(.install-filename):not(code):not(pre):not(kbd):not(svg):not(path):not(svg *) {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: normal;
}
html[data-font="original"] input::placeholder,
html[data-font="original"] textarea::placeholder {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 2. When Minecraft Pixel Font is Active (Full Authentic Retro Pixel View) */
html[data-font="minecraft"],
body[data-font="minecraft"],
html[data-font="minecraft"] body,
html[data-font="minecraft"] body *:not(.install-filename):not(code):not(pre):not(kbd):not(svg):not(path):not(svg *):not(.lucide):not([data-lucide]) {
  font-family: 'Minecraftia', -apple-system, BlinkMacSystemFont, monospace !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[data-font="minecraft"] input::placeholder,
html[data-font="minecraft"] textarea::placeholder {
  font-family: 'Minecraftia', monospace !important;
}

/* Prominent Titles in Minecraft Pixel Mode */
html[data-font="minecraft"] h1,
html[data-font="minecraft"] h2,
html[data-font="minecraft"] h3,
html[data-font="minecraft"] .brand-text h2,
html[data-font="minecraft"] .section-header h2,
html[data-font="minecraft"] .seo-header h1,
html[data-font="minecraft"] .slide-title,
html[data-font="minecraft"] .modal-header-info h2,
html[data-font="minecraft"] .vip-banner-title {
  font-family: 'MinecraftTen', 'Minecraftia', monospace !important;
  letter-spacing: 0.8px;
}

[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-input: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #CBD5E1;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  --primary-glow: rgba(16, 185, 129, 0.15);
}

/* Light Theme Overrides for Site */
[data-theme="light"] .navbar {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .brand-text h2 {
  color: #0F172A;
}

[data-theme="light"] .auth-modal-window,
[data-theme="light"] .profile-modal-window,
[data-theme="light"] .vip-modal-window {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .auth-modal-header,
[data-theme="light"] .profile-modal-header {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
  border-bottom-color: #E2E8F0 !important;
}

[data-theme="light"] .auth-modal-title,
[data-theme="light"] .profile-username {
  color: #0F172A !important;
}

[data-theme="light"] .auth-modal-subtitle,
[data-theme="light"] .profile-email {
  color: #64748B !important;
}

[data-theme="light"] .auth-tabs-nav {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

[data-theme="light"] .auth-tab-btn {
  color: #64748B;
}

[data-theme="light"] .auth-tab-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .form-label {
  color: #334155 !important;
}

[data-theme="light"] .form-control {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .form-control:focus {
  background: #FFFFFF !important;
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .form-control::placeholder {
  color: #94A3B8;
}

[data-theme="light"] .input-with-icon {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
}

[data-theme="light"] .input-with-icon:focus-within {
  background: #FFFFFF !important;
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .input-with-icon .form-control {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0F172A !important;
}

[data-theme="light"] .input-with-icon i,
[data-theme="light"] .input-with-icon svg {
  color: #94A3B8;
}

[data-theme="light"] .input-with-icon:focus-within i,
[data-theme="light"] .input-with-icon:focus-within svg {
  color: #10B981 !important;
}

[data-theme="light"] .modal-close-btn {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #64748B !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

[data-theme="light"] .modal-close-btn:hover {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

[data-theme="light"] .profile-info-card {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .profile-info-row .info-val {
  color: #0F172A !important;
}

[data-theme="light"] .vip-modal-hero {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
}

[data-theme="light"] .vip-modal-title {
  color: #0F172A;
}

[data-theme="light"] .vip-modal-subtitle {
  color: #475569;
}

[data-theme="light"] .vip-addon-preview-strip {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .vip-addon-preview-title {
  color: #0F172A;
}

[data-theme="light"] .vip-perk-item {
  color: #334155;
}

[data-theme="light"] .vip-auth-card {
  background: #FFFBEB !important;
  border-color: #FCD34D !important;
}

[data-theme="light"] .vip-auth-info h4 {
  color: #78350F !important;
}

[data-theme="light"] .vip-auth-info p,
[data-theme="light"] .vip-support-hint {
  color: #92400E !important;
}

[data-theme="light"] .vip-user-status-card {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

[data-theme="light"] .vip-user-name {
  color: #0F172A !important;
}

[data-theme="light"] .vip-plan-notice {
  color: #475569 !important;
}

[data-theme="light"] .vip-badge-pill.free {
  background: #E2E8F0 !important;
  color: #475569 !important;
}

[data-theme="light"] .btn-vip-action-secondary {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #334155 !important;
}

[data-theme="light"] .btn-vip-action-secondary:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* Detail Modal Light Mode Overrides */
[data-theme="light"] .modal-container {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 25px rgba(16, 185, 129, 0.1) !important;
}

[data-theme="light"] .modal-header-info h2 {
  color: #0F172A !important;
}

[data-theme="light"] .modal-meta-row .meta-item {
  color: #475569 !important;
}

[data-theme="light"] .modal-hero-gradient {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, #FFFFFF 100%) !important;
}

[data-theme="light"] .install-action-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08)) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

[data-theme="light"] .install-filename {
  color: #0F172A !important;
}

[data-theme="light"] .install-filesize {
  color: #475569 !important;
}

[data-theme="light"] .btn-direct-download {
  background-color: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .btn-direct-download:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background-color: #F8FAFC !important;
}

[data-theme="light"] .modal-section h3 {
  color: #0F172A !important;
  border-bottom-color: #E2E8F0 !important;
}

[data-theme="light"] .description-body {
  color: #334155 !important;
}

[data-theme="light"] .modal-close {
  background-color: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .modal-close:hover {
  background-color: #EF4444 !important;
  color: #FFFFFF !important;
}

.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .theme-icon-sun {
  display: none !important;
}
[data-theme="light"] .theme-icon-moon {
  display: block !important;
}

:root:not([data-theme="light"]) .theme-icon-sun,
[data-theme="dark"] .theme-icon-sun {
  display: block !important;
}
:root:not([data-theme="light"]) .theme-icon-moon,
[data-theme="dark"] .theme-icon-moon {
  display: none !important;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  background-color: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  width: 100%;
  max-width: 1320px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #000;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-text h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: #fff;
}

.brand-text h2 span {
  color: var(--primary);
  margin-left: 2px;
}

.bedrock-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
}

.nav-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search i,
.nav-search svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--text-dim);
  pointer-events: none;
}

.nav-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.nav-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.btn-admin-pill:hover {
  background-color: var(--primary);
  color: #000;
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-admin-pill i {
  width: 15px;
  height: 15px;
}

/* Announcement Bar */
.announcement-bar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.announcement-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  min-width: 0;
}

.announcement-pill {
  background-color: var(--primary);
  color: #000;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.announcement-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* Store Layout */
.store-container {
  width: 100%;
  max-width: 1320px;
  min-width: 0;
  margin: 0 auto;
  padding: 32px 24px 60px;
  flex: 1;
}

/* Hero Carousel */
.hero-carousel-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 36px;
}

.carousel-wrapper {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, rgba(11, 15, 25, 0.95) 90%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: 36px 44px;
  max-width: 680px;
}

.slide-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.slide-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slide-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--primary);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
}

.slide-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 28px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 26px;
  background-color: var(--primary);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background-color: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

/* Categories Bar */
.categories-bar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.categories-list {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.category-pill i {
  width: 16px;
  height: 16px;
}

.category-pill:hover {
  background-color: var(--bg-card-hover);
  color: #fff;
  border-color: var(--border-light);
}

.category-pill.active {
  background-color: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.pill-count {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.2);
}

.category-pill.active .pill-count {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Subcategories Bar & Pills */
.subcategories-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  margin-top: -6px;
  margin-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subcategories-bar::-webkit-scrollbar {
  display: none;
}

.subcategories-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  white-space: nowrap;
}

.subcategories-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subcategories-track::-webkit-scrollbar {
  display: none;
}

.subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.subcat-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.subcat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.subcat-count {
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 5px;
  border-radius: 8px;
}

.subcat-pill.active .subcat-count {
  background: rgba(0, 0, 0, 0.25);
  color: #000;
}

.catalog-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}

/* Addons Grid */
.addons-grid-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

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

.addon-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.addon-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  background-color: var(--bg-input);
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.card-rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.card-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-input);
  flex-shrink: 0;
}

.card-author span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-dl-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.card-dl-count i {
  width: 14px;
  height: 14px;
}

/* Addon Detail Modal */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-backdrop.active {
  display: flex;
}

.modal-container {
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  animation: modal-scale 0.25s ease-out;
}

@keyframes modal-scale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.modal-close svg {
  pointer-events: none;
}

.modal-close:hover {
  background-color: var(--red);
  transform: scale(1.08);
}

.modal-hero {
  position: relative;
  height: 280px;
  width: 100%;
  background-color: var(--bg-input);
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-gradient {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, var(--bg-card) 100%);
}

.modal-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 32px;
  padding: 6px 14px;
  background-color: var(--primary);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
}

.modal-content {
  padding: 0 32px 32px;
}

.modal-header-info h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.meta-item i { width: 15px; height: 15px; }
.meta-item.rating { color: var(--amber); }
.meta-item.downloads { color: var(--primary); }

/* Install Action Card */
.install-action-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

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

.install-filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.install-filesize {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.install-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-install-mc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: var(--primary);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-install-mc:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-direct-download {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-direct-download:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Modal Sections */
.modal-section {
  margin-bottom: 24px;
}

.modal-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.screenshots-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.screenshots-row img {
  height: 140px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.description-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

.description-body img,
.description-body video,
.description-body iframe,
.description-body table,
.description-body pre {
  max-width: 100% !important;
  height: auto !important;
}

.description-body pre {
  overflow-x: auto;
}

.description-body p { margin-bottom: 10px; }
.description-body ul { padding-left: 20px; margin-bottom: 10px; }
.description-body li { margin-bottom: 4px; }

/* Maintenance Screen */
.maintenance-screen {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--bg-main);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.maintenance-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.maintenance-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.maintenance-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.maintenance-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-container {
  width: 100%;
  max-width: 1320px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

/* =========================================================
   SEO Content Section (Google Rich Content & Guide)
   ========================================================= */
.seo-content-section {
  margin-top: 60px;
  margin-bottom: 40px;
}

.seo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.seo-header {
  margin-bottom: 36px;
}

.seo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.seo-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.seo-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 900px;
}

.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.seo-feat-item {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.seo-feat-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.seo-feat-item .feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.seo-feat-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.seo-feat-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Guide Block */
.seo-guide-block {
  margin-bottom: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.seo-guide-block h2,
.seo-faq-block h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-guide-block h2 i,
.seo-faq-block h2 i {
  color: var(--cyan);
}

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

.step-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.step-num {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.step-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Block */
.seo-faq-block {
  margin-bottom: 36px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  outline: none;
}

.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Keywords Cloud */
.seo-keywords-block {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.seo-keywords-block h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keywords-cloud a {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.keywords-cloud a:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-2px);
}


/* ==========================================================================
   Trending Searches Bar (Quick Search) & Modern Categories
   ========================================================================== */
.trending-search-bar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 22px;
}

.trending-bar-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.trending-title-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.fire-pulse {
  font-size: 15px;
  animation: firePulse 1.8s ease-in-out infinite;
}

@keyframes firePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #F59E0B); }
  50% { transform: scale(1.18); filter: drop-shadow(0 0 6px #EF4444); }
}

.trending-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #F59E0B;
}

.trending-tags-track {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.trending-tags-track::-webkit-scrollbar {
  display: none;
}

.trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.trend-emoji {
  font-size: 13px;
  line-height: 1;
}

.trend-pill:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--primary);
  transform: translateY(-1px);
}

.trend-pill.active {
  background: var(--primary);
  color: #052e16 !important;
  font-weight: 700;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: scale(1.03);
}

.trend-pill.active .trend-emoji {
  filter: saturate(1.4);
}

/* Enhanced Category Pill Styling */
.category-pill {
  position: relative;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cat-emoji {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.category-pill:hover .cat-emoji {
  transform: scale(1.2);
}

.category-pill.active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .trending-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    gap: 8px;
  }
  .trending-tags-track {
    width: 100%;
  }
}


/* ==========================================================================
   VIP Modal & Gold Badge Styles for Website Storefront
   ========================================================================== */
.btn-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  color: #F59E0B;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-vip-pill:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35));
  border-color: #F59E0B;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.badge-vip-gold {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  z-index: 2;
}

.vip-modal-window {
  width: min(100%, 480px);
  max-width: 480px;
  max-height: calc(100dvh - 24px);
  margin: auto;
  border-radius: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(245, 158, 11, 0.15);
}

.vip-modal-hero {
  position: relative;
  text-align: center;
  padding: 32px 20px 20px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.15) 0%, rgba(24, 24, 27, 0) 100%);
}

.vip-crown-glow {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35));
  border: 2px solid rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.vip-crown-icon {
  font-size: 32px;
}

.vip-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 6px;
}

.vip-modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
}

.vip-modal-body {
  padding: 0 24px 24px;
}

.vip-addon-preview-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.vip-preview-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.vip-preview-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.vip-perks-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-main);
  font-weight: 600;
}

.vip-perk-icon {
  font-size: 15px;
}

/* VIP Membership Action Block (replaces old activation code) */
.vip-membership-action-box {
  margin-top: 8px;
}

.vip-auth-card {
  text-align: center;
  padding: 16px;
  background: rgba(245, 158, 11, 0.05);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  border-radius: 14px;
}

.vip-auth-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.vip-auth-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.vip-auth-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-vip-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-vip-action-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-vip-action-primary.green {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-vip-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-vip-action-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.vip-support-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
}

.vip-user-status-card {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vip-user-status-card.vip-unlocked {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}

.vip-user-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vip-user-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 21px;
  background: #3B82F6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.vip-user-avatar-circle.vip {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.vip-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vip-user-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.vip-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}

.vip-badge-pill.free {
  background: rgba(100, 116, 139, 0.2);
  color: #94A3B8;
}

.vip-badge-pill.vip {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

.vip-plan-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.vip-plan-notice.success {
  color: #10B981;
  font-weight: 600;
}

.vip-action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vip-action-buttons .btn-vip-action-primary {
  flex: 1;
}


/* ==========================================================================
   USER AUTHENTICATION & MEMBERSHIP MODAL STYLES
   ========================================================================== */

.btn-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-auth-pill:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-auth-pill.logged-in {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10B981;
}

.btn-auth-pill.is-vip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.25));
  border-color: #F59E0B;
  color: #FDE68A;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Shared Modal Windows Base & Close Button */
.modal-window {
  position: relative;
  background: #0F172A;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  width: min(100%, 440px);
  max-width: 440px;
  min-width: 0;
  flex-shrink: 1;
  box-sizing: border-box;
  margin: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
  outline: none;
}

.modal-close-btn svg,
.modal-close-btn i {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  pointer-events: none;
}

.modal-close-btn:hover {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

.modal-window-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  padding-right: 56px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 2px;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Auth Modal Window */
.auth-modal-window,
.profile-modal-window {
  width: min(100%, 440px);
  max-width: 440px;
  max-height: calc(100dvh - 24px);
  margin: auto;
  background: #0F172A;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-header,
.profile-modal-header {
  position: relative;
  text-align: center;
  padding: 30px 24px 20px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.auth-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.auth-modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Tabs: Sign In / Create Account */
.auth-tabs-nav {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  margin: 16px 24px 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  gap: 6px;
}

.auth-tab-btn {
  flex: 1;
  padding: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #1E293B;
  color: #F8FAFC;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.auth-modal-body,
.profile-modal-body {
  padding: 24px;
}

.auth-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.auth-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.2px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 14px;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-with-icon:focus-within {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.2) !important;
  background: rgba(15, 23, 42, 0.95);
}

.input-with-icon i,
.input-with-icon svg {
  position: static !important;
  transform: none !important;
  width: 18px;
  height: 18px;
  color: #64748B;
  margin-right: 12px;
  flex-shrink: 0;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-with-icon:focus-within i,
.input-with-icon:focus-within svg {
  color: #10B981 !important;
}

.form-control {
  display: block;
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #F8FAFC;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-with-icon .form-control {
  flex: 1;
  width: 100%;
  height: 46px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: 14px;
  outline: none !important;
}

.form-control:focus {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.2) !important;
  background: rgba(15, 23, 42, 0.95);
}

.form-control::placeholder {
  color: #64748B;
  font-weight: 400;
}

.btn-auth-submit {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* User Profile Modal Specifics */
.profile-avatar-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.profile-username {
  font-size: 18px;
  font-weight: 800;
  color: #F8FAFC;
}

.profile-email {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(148, 163, 184, 0.15);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.profile-badge-pill.is-vip {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.profile-info-card {
  background: #1E293B;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.info-label {
  color: var(--text-muted);
}

.info-val {
  font-weight: 700;
  color: #F8FAFC;
}

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

.btn-upgrade-banner {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.btn-upgrade-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-logout {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   COMMUNITY REQUESTS & NOTIFICATIONS FEED STYLES
   ========================================================================== */

.btn-nav-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: #00F5D4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-action-pill:hover {
  background: rgba(0, 245, 212, 0.22);
  transform: translateY(-1px);
}

.btn-nav-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-icon-pill:hover {
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.4);
}

.requests-modal-window {
  max-width: 640px;
  width: 92%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.notif-modal-window {
  max-width: 500px;
  width: 92%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.requests-modal-body,
.notif-modal-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.requests-new-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
}

.requests-form-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.requests-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.requests-tab-btn {
  padding: 6px 14px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.requests-tab-btn.active {
  background: rgba(0, 245, 212, 0.15);
  color: #00F5D4;
}

.requests-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.web-request-card {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.15s ease;
}

.web-request-card:hover {
  border-color: rgba(0, 245, 212, 0.4);
}

.btn-web-vote {
  width: 44px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-web-vote.voted {
  background: rgba(245, 158, 11, 0.18);
  border-color: #F59E0B;
  color: #F59E0B;
}

.btn-web-vote i {
  width: 14px;
  height: 14px;
}

.btn-web-vote span {
  font-size: 12px;
  font-weight: 800;
}

.web-request-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.web-request-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.web-request-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: #00F5D4;
  background: rgba(0, 245, 212, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.web-request-status {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid;
}

.web-request-status.voting {
  border-color: rgba(59, 130, 246, 0.4);
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.1);
}

.web-request-status.progress {
  border-color: rgba(245, 158, 11, 0.4);
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
}

.web-request-status.added {
  border-color: rgba(16, 185, 129, 0.4);
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.web-request-status.vip {
  border-color: rgba(245, 158, 11, 0.4);
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
}

.web-request-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.web-request-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.web-request-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.btn-req-open-store {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.web-notif-card {
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-notif-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.web-notif-header h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.web-notif-date {
  font-size: 11px;
  color: var(--text-muted);
}

.web-notif-msg {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.btn-notif-action {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--brand-emerald);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

/* Requests Form Controls on Public Website */
.requests-form-row .select-dropdown {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.requests-form-row .btn.btn-primary {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #000000;
  border: none;
  font-size: 13.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.requests-form-row .btn.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Light Theme Overrides */
[data-theme="light"] .requests-modal-window,
[data-theme="light"] .notif-modal-window {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
}

[data-theme="light"] .requests-form-row .select-dropdown {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .web-request-card,
[data-theme="light"] .web-notif-card {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .web-request-title,
[data-theme="light"] .web-notif-header h4 {
  color: #0F172A !important;
}

[data-theme="light"] .web-request-desc,
[data-theme="light"] .web-notif-msg {
  color: #475569 !important;
}

[data-theme="light"] .btn-nav-icon-pill {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

/* Lucide SVG Icon Normalization */
.card-dl-count svg,
.meta-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.slide-btn svg,
.btn-install-mc svg,
.btn-direct-download svg,
.btn-auth-submit svg,
.btn-vip-action-primary svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE SYSTEM (MOBILE, TABLET, DESKTOP)
   PLACED AT THE VERY END OF FILE TO GUARANTEE OVERRIDE PRECEDENCE
   ========================================================================== */

/* Tablets Landscape & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 16px;
    gap: 12px;
  }
  .nav-search {
    max-width: 280px;
  }
  .btn-admin-pill span,
  .btn-nav-action-pill span,
  .btn-vip-pill span,
  .btn-auth-pill span {
    display: none !important;
  }
  .btn-admin-pill,
  .btn-nav-action-pill,
  .btn-vip-pill,
  .btn-auth-pill {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
  .font-settings-label {
    display: none !important;
  }
  .addons-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)) !important;
    gap: 18px !important;
  }
  .carousel-wrapper {
    height: 320px !important;
  }
}

/* Tablet Portrait & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 0 !important;
  }
  .nav-container {
    flex-wrap: wrap !important;
    padding: 0 14px !important;
    gap: 8px !important;
  }
  .brand {
    order: 1 !important;
    gap: 8px !important;
    min-width: 0;
  }
  .brand-logo {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
  }
  .brand-text h2 {
    font-size: 16px !important;
  }
  .nav-actions {
    order: 2 !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
  .font-settings-box {
    padding: 3px 5px !important;
    margin-right: 0 !important;
    justify-content: center !important;
  }
  .font-settings-header {
    display: none !important;
  }
  .switch-housing {
    width: 52px !important;
    height: 24px !important;
  }
  .switch-slider-knob {
    width: 20px !important;
    height: 16px !important;
  }
  html[data-font="minecraft"] .switch-slider-knob,
  .wall-light-switch.is-minecraft .switch-slider-knob {
    transform: translateX(24px) !important;
  }
  .btn-theme-toggle,
  .btn-nav-icon-pill,
  .btn-vip-pill,
  .btn-nav-action-pill,
  .btn-auth-pill,
  .btn-admin-pill {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }
  .btn-vip-pill i,
  .btn-nav-action-pill i,
  .btn-auth-pill i,
  .btn-admin-pill i,
  .btn-vip-pill svg,
  .btn-nav-action-pill svg,
  .btn-auth-pill svg,
  .btn-admin-pill svg {
    width: 16px !important;
    height: 16px !important;
  }
  .btn-vip-pill span,
  .btn-nav-action-pill span,
  .btn-auth-pill span,
  .btn-admin-pill span {
    display: none !important;
  }
  .nav-search {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-top: 4px !important;
  }
  .nav-search input,
  .form-control,
  .requests-form-row .select-dropdown {
    font-size: 16px !important;
  }
  .announcement-bar {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
  .store-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 12px 36px !important;
  }
  .hero-carousel-section {
    margin-bottom: 18px !important;
  }
  .carousel-wrapper {
    height: 240px !important;
    border-radius: 14px !important;
  }
  .slide-content {
    padding: 16px 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .slide-badge {
    font-size: 10px !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
  }
  .slide-title {
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }
  .slide-desc {
    display: none !important;
  }
  .slide-btn {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
  }
  .carousel-arrow {
    width: 34px !important;
    height: 34px !important;
    top: 38% !important;
  }
  .carousel-arrow.prev {
    left: 10px !important;
  }
  .carousel-arrow.next {
    right: 10px !important;
  }
  .carousel-dots {
    bottom: 14px !important;
    right: 14px !important;
  }
  .trending-search-bar {
    margin-bottom: 14px !important;
  }
  .categories-bar {
    margin-bottom: 16px !important;
    gap: 10px !important;
  }
  .categories-list {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .categories-list::-webkit-scrollbar {
    display: none !important;
  }
  .category-pill {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
  }
  .addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .card-img-wrap {
    height: 145px !important;
  }
  .card-body {
    padding: 12px !important;
  }
  .card-title {
    font-size: 14.5px !important;
  }
  .card-summary {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }
  .seo-content-section {
    margin-top: 32px !important;
    margin-bottom: 24px !important;
  }
  .seo-card {
    padding: 20px 16px !important;
  }
  .seo-header {
    margin-bottom: 22px !important;
  }
  .seo-header h1 {
    font-size: 20px !important;
  }
  .seo-lead {
    font-size: 13.5px !important;
  }
  .seo-features-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .footer-container {
    padding: 0 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .modal-backdrop {
    padding: 12px !important;
  }
  .modal-container {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 16px !important;
  }
  .modal-hero {
    height: 190px !important;
  }
  .modal-hero-badge {
    left: 16px !important;
    bottom: 14px !important;
  }
  .modal-content {
    padding: 0 16px 20px !important;
  }
  .modal-header-info h2 {
    font-size: 19px !important;
    word-break: break-word !important;
  }
  .install-action-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 16px !important;
    gap: 12px !important;
  }
  .install-card-actions {
    width: 100% !important;
    flex-direction: column !important;
  }
  .btn-install-mc,
  .btn-direct-download {
    width: 100% !important;
    justify-content: center !important;
  }
  .requests-form-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* Mobile Phones (320px - 520px: Samsung Galaxy, iPhone, Pixel, etc.) */
@media (max-width: 520px) {
  .nav-container {
    padding: 0 12px !important;
    gap: 6px !important;
  }
  .brand-logo {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }
  .brand-text h2 {
    font-size: 15px !important;
  }
  .nav-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 4px !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  [data-theme="light"] .nav-actions {
    border-top-color: #E2E8F0 !important;
  }
  .switch-housing {
    width: 48px !important;
    height: 22px !important;
  }
  .switch-slider-knob {
    width: 18px !important;
    height: 14px !important;
  }
  html[data-font="minecraft"] .switch-slider-knob,
  .wall-light-switch.is-minecraft .switch-slider-knob {
    transform: translateX(22px) !important;
  }
  .btn-theme-toggle,
  .btn-nav-icon-pill,
  .btn-vip-pill,
  .btn-nav-action-pill,
  .btn-auth-pill,
  .btn-admin-pill {
    width: 32px !important;
    height: 32px !important;
  }
  .nav-search input {
    padding: 9px 14px 9px 38px !important;
  }
  .addons-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .card-img-wrap {
    height: 175px !important;
  }
  .card-body {
    padding: 14px !important;
  }
  .card-title {
    font-size: 15.5px !important;
  }
  .carousel-wrapper {
    height: 205px !important;
  }
  .slide-title {
    font-size: 16.5px !important;
  }
  .carousel-arrow {
    width: 30px !important;
    height: 30px !important;
    top: 24% !important;
  }
  .vip-modal-window,
  .auth-modal-window,
  .profile-modal-window,
  .requests-modal-window,
  .notif-modal-window {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    margin: auto !important;
    border-radius: 16px !important;
  }
  .vip-modal-hero {
    padding: 24px 14px 14px !important;
  }
  .vip-modal-body {
    padding: 0 16px 18px !important;
  }
  .vip-modal-title {
    font-size: 16px !important;
  }
  .auth-modal-header,
  .profile-modal-header {
    padding: 24px 16px 14px !important;
  }
  .auth-modal-body,
  .profile-modal-body {
    padding: 16px !important;
  }
  .auth-tabs-nav {
    margin: 10px 16px 0 !important;
  }
  .modal-window-header {
    padding: 14px 48px 14px 16px !important;
  }
  .requests-modal-body,
  .notif-modal-body {
    padding: 14px !important;
  }
  .requests-tabs-nav {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
  }
  .requests-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }
  .requests-tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================================
   COMMUNITY RATINGS & REVIEWS SECTION
   ========================================================================== */
.reviews-container-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.reviews-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-title-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0;
}

.reviews-count-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Reviews Summary Card */
.reviews-summary-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 18px;
}

.rating-big-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.big-score-num {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: #F8FAFC;
  letter-spacing: -0.5px;
}

.stars-row-static {
  display: flex;
  gap: 3px;
  margin: 6px 0 4px;
}

.stars-row-static i {
  width: 16px;
  height: 16px;
  color: #F59E0B;
  fill: #F59E0B;
}

.score-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rating-breakdown-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.star-label {
  color: #94A3B8;
  font-weight: 600;
  min-width: 24px;
}

.breakdown-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #EAB308);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.breakdown-val {
  min-width: 16px;
  color: #64748B;
  font-size: 11px;
  text-align: right;
}

/* Call to Action Prompt (Unauthenticated) */
.review-auth-prompt-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.review-prompt-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.review-prompt-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.review-prompt-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-prompt-icon-bubble i {
  width: 22px;
  height: 22px;
}

.review-prompt-text {
  flex: 1;
  min-width: 220px;
}

.review-prompt-title {
  font-size: 14px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0 0 3px;
}

.review-prompt-desc {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
}

.review-prompt-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-review-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.btn-review-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}

.btn-review-register i {
  width: 14px;
  height: 14px;
}

.btn-review-login {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-review-login:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
}

/* Review Composer (Authenticated) */
.review-composer-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

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

.composer-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.composer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #10B981;
  background: #1E293B;
}

.composer-user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
}

.badge-vip-pill {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
}

.composer-user-hint {
  font-size: 11px;
  color: #94A3B8;
}

.composer-stars-picker {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-pick-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #475569;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-pick-btn i {
  width: 20px;
  height: 20px;
}

.star-pick-btn.active {
  color: #F59E0B;
}

.star-pick-btn.active i {
  fill: #F59E0B;
}

.star-pick-btn:hover {
  transform: scale(1.15);
}

.star-rating-label {
  font-size: 12px;
  font-weight: 700;
  color: #F59E0B;
  margin-left: 6px;
  min-width: 90px;
}

.composer-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  color: #F8FAFC;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  min-height: 70px;
  box-sizing: border-box;
}

.composer-form textarea:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.char-counter {
  font-size: 11px;
  color: #64748B;
}

.btn-submit-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10B981;
  color: #FFF;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit-review:hover {
  background: #059669;
}

.btn-submit-review i {
  width: 14px;
  height: 14px;
}

.review-feedback-msg {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.review-feedback-msg.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.review-feedback-msg.error {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Reviews List & Cards */
.reviews-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

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

.review-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1E293B;
}

.review-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-date-str {
  font-size: 11px;
  color: #64748B;
}

.review-card-stars {
  display: flex;
  gap: 2px;
}

.review-card-stars i {
  width: 14px;
  height: 14px;
  color: #F59E0B;
  fill: #F59E0B;
}

.review-card-body {
  font-size: 13px;
  line-height: 1.5;
  color: #CBD5E1;
  word-break: break-word;
}

.review-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.btn-delete-own-review {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.btn-delete-own-review:hover {
  opacity: 1;
  text-decoration: underline;
}

.reviews-empty-state {
  text-align: center;
  padding: 24px 16px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.reviews-empty-state p {
  font-size: 13px;
  color: #94A3B8;
  margin: 6px 0 0;
}
