:root {
  --bg: #05060a;
  --bg-elevated: #0b0d14;
  --bg-soft: #10131c;
  --accent: #6d5dfc;
  --accent-soft: rgba(109, 93, 252, 0.12);
  --accent-strong: #8a7bff;
  --text: #f9fafb;
  --text-soft: #9ca3af;
  --border-subtle: #1f2933;
  --danger: #ef4444;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.4);
  --shadow-hard: 0 26px 70px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', sans-serif;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, #1a0b2e 0%, #16213e 30%, #0f0f23 60%, #05060a 100%);
  color: var(--text);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(
      to bottom,
      rgba(26, 11, 46, 0.95),
      rgba(15, 15, 35, 0.85),
      transparent
    );
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0, #a78bfa, #6366f1 50%, #3b82f6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 12px 30px rgba(59, 130, 246, 0.5);
  font-weight: 700;
}

.logo-text {
  font-size: 0.98rem;
  color: #e5e7eb;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.nav a {
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #e5e7eb;
}

.nav-active {
  color: #60a5fa !important;
  font-weight: 500;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  border-color: rgba(59, 130, 246, 0.6);
  color: #f9fafb;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.7), 0 0 40px rgba(6, 182, 212, 0.5), 0 15px 35px rgba(6, 182, 212, 0.5);
  font-weight: 600;
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.9), 0 0 50px rgba(6, 182, 212, 0.7), 0 20px 45px rgba(6, 182, 212, 0.7);
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  border-color: rgba(59, 130, 246, 0.6);
  color: #f9fafb;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.7), 0 0 40px rgba(6, 182, 212, 0.5), 0 15px 35px rgba(6, 182, 212, 0.5);
  font-weight: 600;
  position: relative;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(168, 85, 247, 0.9), rgba(139, 92, 246, 0.9));
  filter: blur(15px);
  z-index: -1;
  opacity: 0.9;
  animation: purple-glow 2.5s ease-in-out infinite alternate;
}

@keyframes purple-glow {
  0% {
    opacity: 0.7;
    filter: blur(15px);
    transform: scale(1);
  }
  100% {
    opacity: 1;
    filter: blur(20px);
    transform: scale(1.05);
  }
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.9), 0 0 50px rgba(6, 182, 212, 0.7), 0 20px 45px rgba(6, 182, 212, 0.7), 0 0 60px rgba(139, 92, 246, 0.8), 0 0 80px rgba(168, 85, 247, 0.6);
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
}

.btn-secondary:hover::before {
  opacity: 1;
  filter: blur(22px);
  animation-duration: 1.5s;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.75);
}

.btn-ghost-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-ghost-small:hover {
  background: rgba(15, 23, 42, 1);
}

.btn-full {
  width: 100%;
}

.btn-disabled {
  background: rgba(55, 65, 81, 0.6);
  border-color: transparent;
  color: rgba(156, 163, 175, 0.8);
  cursor: not-allowed;
  box-shadow: none;
}

.hero {
  padding: 3.3rem 0 3rem;
  position: relative;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, #2d1b4e 0%, #1a0b2e 25%, #16213e 50%, #0f0f23 75%, #05060a 100%);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(236,72,153,0.6), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(167,139,250,0.5), transparent),
    radial-gradient(2px 2px at 50% 80%, rgba(34,211,238,0.4), transparent),
    radial-gradient(1px 1px at 40% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(139,92,246,0.4), transparent);
  background-size: 200px 180px, 220px 200px, 180px 190px, 150px 160px, 190px 170px;
  animation: particles 12s linear infinite;
  pointer-events: none;
}

@keyframes particles {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 200px 0, -220px 0, 0 -190px; }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  line-height: 1.2;
  min-height: 1.5em;
  display: block;
}

.hero-gradient {
  background: linear-gradient(90deg, #ec4899 0%, #f472b6 25%, #a78bfa 50%, #60a5fa 75%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
  filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.5)) drop-shadow(0 0 40px rgba(167, 139, 250, 0.3));
  display: inline-block;
  vertical-align: baseline;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: linear-gradient(180deg, #ec4899 0%, #22d3ee 100%);
  margin-left: 4px;
  vertical-align: baseline;
  animation: blink 1s infinite;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.8), 0 0 20px rgba(34, 211, 238, 0.6);
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.hero-highlight {
  color: #22d3ee;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
  font-weight: 600;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(251, 191, 36, 0.7);
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
  font-weight: 500;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}

.hero-pill-green {
  border-color: rgba(34, 197, 94, 0.7);
  color: #22c55e;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.hero-pill-green .hero-pill-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #d1d5db;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.stat-value {
  display: block;
  font-weight: 600;
  font-size: 1.15rem;
}

.stat-label {
  color: var(--text-soft);
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top, #1a0b2e, #0f0f23);
  border-radius: 24px;
  padding: 1.6rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2), var(--shadow-hard);
  position: relative;
  overflow: hidden;
}

.badge-live {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.25);
  color: #86efac;
  border: 1.5px solid rgba(34, 197, 94, 0.7);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 1), 0 0 20px rgba(34, 197, 94, 0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-preview-main {
  height: 260px;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: #020617;
}

.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  font-size: 0.82rem;
  color: #e5e7eb;
  z-index: 1;
  font-weight: 500;
}

.preview-label {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
}

.hero-preview-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.preview-thumb {
  height: 86px;
  border-radius: 14px;
  background: #020617;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  font-size: 0.75rem;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  position: relative;
  overflow: hidden;
  gap: 0.35rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.preview-thumb span {
  position: relative;
  z-index: 1;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: 1.7rem;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin: 0 0 0.25rem;
}

.section-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.section-subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  max-width: 34rem;
}

.section-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.pill {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.75rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
}

.mods-section {
  background: radial-gradient(circle at top, #0f0f23, #020617);
}

.mods-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.mods-search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.mods-search-input::placeholder {
  color: #94a3b8;
}

.mods-select {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.88rem;
}

.mods-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.mods-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mod-tag-btn {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.5);
  background: rgba(79, 70, 229, 0.15);
  color: #c7d2fe;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mod-tag-btn:hover,
.mod-tag-btn.active {
  background: rgba(99, 102, 241, 0.35);
  border-color: rgba(129, 140, 248, 0.7);
}

.btn-clear-filters {
  margin-left: auto;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
}

.btn-clear-filters:hover {
  color: #e5e7eb;
}

.results-count {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.mods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.mod-card[hidden] {
  display: none !important;
}

.mod-card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.mod-card:hover {
  box-shadow:
    0 0 25px rgba(139, 92, 246, 0.5),
    0 0 50px rgba(139, 92, 246, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(139, 92, 246, 0.5);
}

.mod-card-with-thumb .mod-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #020617;
}

.mod-card-with-thumb .mod-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mod-card:hover .mod-card-with-thumb .mod-card-thumb img {
  transform: scale(1.15);
}

.mod-card-tag-overlay {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.6);
  color: #e5e7eb;
  text-transform: lowercase;
}

.mod-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mod-card-body h3 {
  margin: 0;
  font-size: 1.2rem;
}

.mod-description {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mod-tags-inline {
  font-size: 0.75rem;
  color: #818cf8;
}

.mod-meta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.mod-date::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.2rem;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") no-repeat center;
}

.mod-downloads::before {
  content: '↓ ';
  opacity: 0.8;
}

.mod-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.mod-card-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.mod-card-actions .btn-primary {
  flex: 1;
}

.mod-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.mod-header h3 {
  margin: 0;
  font-size: 1rem;
}

.mod-tag {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
}

.mod-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.9rem;
  margin: 0;
  font-size: 0.78rem;
}

.mod-meta dt {
  color: #6b7280;
}

.mod-meta dd {
  margin: 0;
}

.no-results {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.gallery-section {
  background: radial-gradient(circle at top, #020617, #020617);
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 190px;
  gap: 1rem;
}

.gallery-card {
  border-radius: 20px;
  background: #020617;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.gallery-card.large {
  grid-row: span 2;
}

.gallery-label {
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  position: relative;
  z-index: 1;
}

.download-section {
  background: radial-gradient(circle at top, #020617, #020617);
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.download-card {
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.9rem;
}

.download-card.recommended {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.65);
}

.download-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.download-subtitle {
  margin: 0 0 0.7rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.download-list li + li {
  margin-top: 0.25rem;
}

.download-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(22, 163, 74, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(22, 163, 74, 0.5);
  margin-bottom: 0.4rem;
}

.download-pill.muted {
  background: rgba(55, 65, 81, 0.35);
  color: #d1d5db;
  border-color: rgba(75, 85, 99, 0.7);
}

.pricing-section {
  background: radial-gradient(circle at top, #020617, #020617);
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.5rem;
}

.pricing-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.pricing-card.highlight {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.6);
}

.pricing-card h3 {
  margin: 0 0 0.15rem;
}

.price {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.pricing-subtitle {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.pricing-list li + li {
  margin-top: 0.25rem;
}

.community-section {
  background: radial-gradient(circle at top, #020617, #020617);
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.community-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.community-cta {
  text-align: right;
}

.community-count {
  margin: 0 0 0.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 2.2rem 0 1.6rem;
  background: radial-gradient(circle at top, #020617, #020617);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-text {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  font-size: 0.86rem;
}

.footer-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.footer-col a {
  display: block;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.footer-col a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  text-align: right;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    justify-content: flex-start;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-cta {
    text-align: left;
  }
}

@media (max-width: 960px) {
  .mods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mods-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mods-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mods-tags-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-clear-filters {
    margin-left: 0;
  }

  .download-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-card.large {
    grid-row: auto;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    padding: 0.8rem 0;
  }
}

@media (max-width: 540px) {
  .header-actions {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-count {
    margin-left: 0;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mod Modal Styles */
.mod-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mod-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.mod-modal-content {
  position: relative;
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.3);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mod-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.mod-modal-close:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.6);
  transform: rotate(90deg);
}

.mod-modal-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mod-modal-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.mod-modal-header-text h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  color: #e5e7eb;
}

.mod-modal-subtitle {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.mod-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mod-modal-tags {
  font-size: 0.85rem;
  color: #818cf8;
}

.mod-modal-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.mod-modal-info span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mod-modal-info strong {
  color: #e5e7eb;
  font-weight: 600;
}

.mod-modal-description {
  color: var(--text-soft);
  line-height: 1.7;
}

.mod-modal-description h4 {
  color: #e5e7eb;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  font-weight: 600;
}

.mod-modal-description h4:first-child {
  margin-top: 0;
}

.mod-modal-description p {
  margin: 0 0 1rem;
}

.mod-modal-description ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.mod-modal-description li {
  margin-bottom: 0.5rem;
}

.mod-modal-description li strong {
  color: #e5e7eb;
  font-weight: 600;
}

@media (max-width: 768px) {
  .mod-modal-content {
    padding: 1.5rem;
    max-height: 95vh;
  }

  .mod-modal-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mod-modal-image {
    height: 200px;
  }

  .mod-modal-header-text h2 {
    font-size: 1.5rem;
  }

  .mod-modal-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

