* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

:root {
  --accent: #2b6357;
  --accent-soft: #357a6b;
  --accent-hover: #4fb8a0;
  --accent-glow: rgba(79, 184, 160, 0.4);
  --accent-glow-soft: rgba(79, 184, 160, 0.18);
  --paid: #c98a2b;
  --paid-glow: rgba(201, 138, 43, 0.35);
  --progress: #4a8fbf;
  --progress-glow: rgba(74, 143, 191, 0.35);
  --bg: #0c1210;
  --bg-elevated: #141b19;
  --bg-card: #18211e;
  --bg-hover: #202b28;
  --text: #f2f8f6;
  --text-dim: #98aca6;
  --text-soft: #c2d1cc;
  --border: #263531;
  --border-hover: #354844;
}

body.light {
  --bg: #f4f8f7;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #eaf2ef;
  --text: #10201c;
  --text-dim: #5b6d68;
  --text-soft: #2f423d;
  --border: #d6e3df;
  --border-hover: #b8cbc5;
}

body.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(79, 184, 160, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 184, 160, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

body.light {
  background-image:
    linear-gradient(to right, rgba(43, 99, 87, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 99, 87, 0.07) 1px, transparent 1px);
}

body.theme-starfield {
  background-image:
    radial-gradient(1.4px 1.4px at 20px 30px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.4px 1.4px at 60px 80px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.8px 1.8px at 130px 50px, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1.2px 1.2px at 190px 150px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 250px 90px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.2px 1.2px at 320px 200px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.6px 1.6px at 90px 220px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.3px 1.3px at 380px 40px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 340px 130px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 150px 240px, rgba(255, 255, 255, 0.7), transparent);
  background-size: 400px 260px;
  background-color: var(--bg);
}

body.light.theme-starfield {
  background-image:
    radial-gradient(1.4px 1.4px at 20px 30px, rgba(0, 0, 0, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 60px 80px, rgba(0, 0, 0, 0.5), transparent),
    radial-gradient(1.8px 1.8px at 130px 50px, rgba(0, 0, 0, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 190px 150px, rgba(0, 0, 0, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 250px 90px, rgba(0, 0, 0, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 320px 200px, rgba(0, 0, 0, 0.4), transparent),
    radial-gradient(1.6px 1.6px at 90px 220px, rgba(0, 0, 0, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 380px 40px, rgba(0, 0, 0, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 340px 130px, rgba(0, 0, 0, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 150px 240px, rgba(0, 0, 0, 0.45), transparent);
}

body.theme-dotted {
  background-image: radial-gradient(rgba(79, 184, 160, 0.35) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-color: var(--bg);
}

body.light.theme-dotted {
  background-image: radial-gradient(rgba(43, 99, 87, 0.28) 1.2px, transparent 1.2px);
  background-color: #f4f8f7;
}

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 0 12px var(--accent-glow-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.nav-indicator {
  position: absolute;
  height: calc(100% - 10px);
  top: 5px;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 18px var(--accent-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  z-index: 1;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: #ffffff;
}

.nav-links .discord-btn {
  background: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 600;
  margin-left: 6px;
  box-shadow: 0 0 16px var(--accent-glow);
}

.nav-links .discord-btn:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 0 24px var(--accent-glow);
}

.discord-widget {
  position: fixed;
  top: 100px;
  left: 40px;
  z-index: 99;
  font-family: inherit;
}

.discord-widget-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.discord-widget-inner:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.discord-widget-inner img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-hover);
}

.discord-widget-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-widget-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 170px;
  display: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.discord-widget.open .discord-widget-menu {
  display: block;
}

.discord-widget-menu button {
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
}

.discord-widget-menu button:hover {
  background: var(--bg-hover);
}

.hero {
  text-align: center;
  padding: 110px 20px 90px;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  z-index: 1;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 24px;
  display: block;
  animation: floatSmooth 5s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes floatSmooth {
  0%   { transform: translate3d(0, 0px, 0); }
  50%  { transform: translate3d(0, -14px, 0); }
  100% { transform: translate3d(0, 0px, 0); }
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-soft);
  font-size: 17px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  padding: 13px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.page-header {
  position: relative;
  padding: 80px 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.community-hero {
  position: relative;
  padding: 80px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.community-hero-content {
  position: relative;
  z-index: 1;
}

.community-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-hero p {
  color: var(--text-soft);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 12px;
  padding: 5px 12px;
  background: var(--accent-glow-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 20px;
}

body.light .eyebrow {
  color: var(--accent);
  background: var(--accent-glow-soft);
  border-color: var(--accent-glow);
}

.category-eyebrow {
  color: var(--text-soft);
  background: var(--bg-hover);
  border-color: var(--border-hover);
}

body.light .category-eyebrow {
  color: var(--text-soft);
  background: var(--bg-hover);
  border-color: var(--border-hover);
}

.paid-eyebrow {
  color: var(--paid);
  background: rgba(201, 138, 43, 0.12);
  border-color: rgba(201, 138, 43, 0.4);
}

.page-header h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-soft);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.6;
}

.stat-strip {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 160px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

body.light .stat-number {
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.home-stat {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-stat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.home-stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

body.light .home-stat-number {
  color: var(--accent);
}

.home-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.section {
  padding: 40px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.3px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.page-title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.page-subtitle {
  color: var(--text-dim);
  margin-bottom: 34px;
  font-size: 15.5px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  color: var(--text);
  font-family: inherit;
}

.category-card:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-4px);
}

.category-card.active {
  border-color: var(--accent);
  background: var(--bg-hover);
}

.category-icon {
  color: var(--accent-hover);
  margin-bottom: 14px;
}

body.light .category-icon {
  color: var(--accent);
}

.category-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-weight: 700;
}

.category-card p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.5;
}

.category-paid-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--paid);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
  max-width: 400px;
  transition: border-color 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14.5px;
  flex: 1;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-hover), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.card:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-5px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.year-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: fit-content;
}

.year-btn {
  background: transparent;
  color: var(--text-dim);
  border: none;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.year-btn:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.year-btn.active {
  background: var(--accent);
  color: #ffffff;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  display: block;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-hover);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px dashed var(--border-hover);
  color: var(--text-dim);
  font-size: 13px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.project-card:hover .project-image {
  transform: scale(1.02);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hover-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.project-card:hover .project-hover-label {
  opacity: 1;
  transform: translateY(0);
}

.project-hover-label svg {
  transition: transform 0.25s ease;
}

.project-card:hover .project-hover-label svg {
  transform: translateX(4px);
}

.project-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 9px;
  padding: 0 4px;
}

.project-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.tag {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 3px 11px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.category-tag {
  background: var(--bg-hover);
  color: var(--text-soft);
  border: 1px solid var(--border-hover);
}

.paid-tag {
  background: var(--paid);
}

.soon-tag {
  background: #8a6a2b;
}

.project-card.coming-soon {
  opacity: 0.72;
}

.project-card.coming-soon:hover {
  opacity: 1;
}

.hidden {
  display: none !important;
}

.featured-spotlight {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.featured-spotlight:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.featured-spotlight::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--accent-glow-soft) 0%, transparent 70%);
  pointer-events: none;
}

.featured-spotlight.popular {
  border: 2px solid #e8a53c;
  box-shadow: 0 0 30px rgba(232, 165, 60, 0.25), 0 0 60px rgba(232, 165, 60, 0.12);
}

.featured-spotlight.popular:hover {
  border-color: #f5b942;
  box-shadow: 0 0 40px rgba(232, 165, 60, 0.35), 0 0 80px rgba(232, 165, 60, 0.15);
}

.featured-popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #f5b942 0%, #e8a53c 100%);
  color: #1a1207;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(232, 165, 60, 0.5);
  z-index: 10;
  pointer-events: none;
}

.featured-popular-badge svg {
  stroke: #1a1207;
  fill: none;
  flex-shrink: 0;
}

.featured-spotlight-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-hover);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hover);
  position: relative;
  z-index: 1;
}

.featured-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-spotlight-content {
  position: relative;
  z-index: 1;
}

.featured-spotlight-content .eyebrow {
  margin-bottom: 14px;
}

.featured-spotlight-content h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.featured-spotlight-content p {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.featured-spotlight-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.featured-spotlight-stat {
  display: flex;
  flex-direction: column;
}

.featured-spotlight-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: -0.5px;
}

body.light .featured-spotlight-stat strong {
  color: var(--accent);
}

.featured-spotlight-stat span {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.featured-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.featured-dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

.featured-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.featured-dot.popular-dot.active {
  background: linear-gradient(135deg, #f5b942 0%, #e8a53c 100%);
  box-shadow: 0 0 12px rgba(232, 165, 60, 0.6);
}

.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-hover);
  border-radius: 16px;
  color: var(--text-dim);
}

.empty-state svg {
  margin-bottom: 18px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.empty-state p {
  color: var(--text-dim);
  font-size: 14.5px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.roadmap-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.roadmap-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.roadmap-status.planned {
  color: var(--accent-hover);
  background: var(--accent-glow-soft);
  border: 1px solid var(--accent-glow);
}

body.light .roadmap-status.planned {
  color: var(--accent);
  background: var(--accent-glow-soft);
  border-color: var(--accent-glow);
}

.roadmap-status.in-progress {
  color: var(--progress);
  background: rgba(74, 143, 191, 0.15);
  border: 1px solid rgba(74, 143, 191, 0.4);
}

.roadmap-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.roadmap-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.credit-hero {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.credit-avatar-large {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border-hover);
  box-shadow: 0 0 30px var(--accent-glow-soft);
  position: relative;
  z-index: 1;
}

.credit-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credit-hero-info {
  position: relative;
  z-index: 1;
}

.credit-hero-info h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.credit-role-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-glow-soft);
  border: 1px solid var(--accent-glow);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

body.light .credit-role-tag {
  color: var(--accent);
  background: var(--accent-glow-soft);
  border-color: var(--accent-glow);
}

.credit-hero-info p {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 600px;
}

.credit-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.credit-tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border-hover);
  color: var(--text-soft);
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.credit-tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.credit-tool:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.credit-tool h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-hover);
}

body.light .credit-tool h3 {
  color: var(--accent);
}

.credit-tool p {
  color: var(--text-dim);
  font-size: 13.5px;
}

.error-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.error-code {
  font-size: 120px;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.error-page p {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.detail-hero {
  padding: 40px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent-hover);
}

.detail-header {
  margin-bottom: 32px;
}

.detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.detail-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-subtitle {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.detail-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
  overflow: hidden;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.detail-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 28px;
  letter-spacing: -0.3px;
}

.detail-content h2:first-child {
  margin-top: 0;
}

.detail-content p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 15.5px;
  margin-bottom: 8px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  color: var(--text-soft);
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--accent-hover);
  border-radius: 50%;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.sidebar-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sidebar-box p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.sidebar-box .btn {
  width: 100%;
  text-align: center;
}

.download-count {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  min-height: 18px;
}

.download-count.loading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-hover);
  border-top-color: var(--accent-hover);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.detail-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.detail-info:last-child {
  border-bottom: none;
}

.detail-info span {
  color: var(--text-dim);
}

.detail-info strong {
  color: var(--text);
  font-weight: 600;
}

.detail-info-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding 0.2s ease;
  margin: 0 -6px;
  padding: 10px 6px;
  border-radius: 8px;
}

.detail-info-link:hover {
  background: var(--bg-hover);
}

.detail-info-link:hover strong {
  color: var(--accent-hover);
}

.status-online {
  color: var(--accent-hover) !important;
}

.settings-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
  transition: background 0.2s ease;
}

.settings-row:hover {
  background: var(--bg-hover);
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row h3 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 700;
}

.settings-row p {
  color: var(--text-dim);
  font-size: 13.5px;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-hover);
  border-radius: 28px;
  transition: background 0.2s ease;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

input:checked + .slider {
  background: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.about-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  max-width: 720px;
}

.about-box p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 15.5px;
}

.discord-widget-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}

.discord-widget-wrap iframe {
  border-radius: 12px;
  display: block;
}

.widget-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 14px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.community-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.community-icon {
  color: var(--accent-hover);
  margin-bottom: 16px;
}

body.light .community-icon {
  color: var(--accent);
}

.community-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.community-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s ease;
}

.author-box:hover {
  border-color: var(--accent);
}

.author-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hover);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.author-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.author-info p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.author-link {
  color: var(--accent-hover);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.author-link:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}

body.light .author-link {
  color: var(--accent);
}

body.light .author-link:hover {
  color: var(--accent-soft);
}

.tos-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 820px;
}

.tos-box h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--accent-hover);
  letter-spacing: -0.3px;
}

body.light .tos-box h2 {
  color: var(--accent);
}

.tos-box h2:first-child {
  margin-top: 0;
}

.tos-box p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 15.5px;
  margin-bottom: 8px;
}

.tos-box a {
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
}

body.light .tos-box a {
  color: var(--accent);
}

.tos-box a:hover {
  text-decoration: underline;
}

.footer-legal {
  color: var(--text-dim);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  margin-left: 4px;
}

.footer-legal:hover {
  opacity: 1;
  color: var(--accent-hover);
  text-decoration: underline;
}

.color-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--swatch);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: var(--text);
  box-shadow: 0 0 0 3px var(--swatch);
}

.theme-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-option {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.theme-option:hover {
  border-color: var(--accent);
}

.theme-option.active {
  border-color: var(--accent);
  background: var(--bg-hover);
  box-shadow: 0 0 0 3px var(--accent-glow-soft);
}

.locked-box {
  text-align: center;
  padding: 60px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 40px;
}

.locked-box h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.locked-box p {
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
  font-size: 16px;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--accent-glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .detail-body {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
  .credit-hero {
    flex-direction: column;
    text-align: center;
  }
  .credit-hero-info p {
    margin-left: auto;
    margin-right: auto;
  }
  .credit-tags {
    justify-content: center;
  }
  .featured-spotlight {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .featured-spotlight-content h3 {
    font-size: 26px;
  }
}

@media (max-width: 720px) {
  .navbar {
    flex-direction: column;
    gap: 14px;
    padding: 14px 20px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .nav-indicator {
    display: none;
  }
  .nav-links a {
    padding: 7px 12px;
    font-size: 13.5px;
  }
  .nav-links a.active {
    background: var(--accent);
  }
  .discord-widget {
    top: auto;
    bottom: 90px;
    left: 20px;
    right: auto;
  }
  .discord-widget-name {
    max-width: 90px;
  }
  .hero {
    padding: 70px 20px 60px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-logo {
    width: 130px;
    height: 130px;
  }
  .page-header {
    padding: 50px 20px 20px;
  }
  .page-header h1 {
    font-size: 34px;
  }
  .community-hero {
    padding: 50px 20px 30px;
  }
  .community-hero h1 {
    font-size: 34px;
  }
  .detail-hero {
    padding: 20px 20px 0;
  }
  .detail-header h1 {
    font-size: 32px;
  }
  .section {
    padding: 30px 20px 50px;
  }
  .page-title {
    font-size: 30px;
  }
  .year-filter {
    width: 100%;
    justify-content: center;
  }
  .settings-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-strip {
    flex-direction: column;
  }
  .error-code {
    font-size: 80px;
  }
  .error-page h1 {
    font-size: 24px;
  }
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tos-box {
    padding: 28px 22px;
  }
  .color-picker {
    justify-content: flex-start;
  }
  .theme-picker {
    justify-content: flex-start;
  }
}