body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #020617, #0f172a);
  color: #e2e8f0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.loaded { opacity: 1; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.hero {
  height: 220px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://picsum.photos/1200/400?battlefield');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 20px;

  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* LEFT */
.nav-left {
  display: flex;
  gap: 25px;
}

/* LINKS */
.nav-link {
  position: relative;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: 0.2s;
}

.nav-link:hover {
  opacity: 1;
  color: #38bdf8;
}

/* UNDERLINE */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ACTIVE */
.nav-link.active {
  color: #38bdf8;
  opacity: 1;
}

.nav-link.active::after {
  width: 100%;
}

.discord-btn {
  display: flex;
  align-items: center;
  gap: 6px;

  background: #5865F2;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;

  padding: 6px 14px;
  border-radius: 6px;

  transition: 0.2s;
}

.discord-btn:hover {
  background: #4752c4;
}

.discord-btn svg {
  width: 16px;
  height: 16px;
}


.logo { font-size: 2.5rem; font-weight: 800; color: #38bdf8; }
.logo span { color: #f59e0b; }

.content { padding: 30px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
}

.section { margin-bottom: 25px; }

.blog-post {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 10px;
  transition: 0.2s;
}

.blog-post:hover { background: rgba(255,255,255,0.04); }

.meta { font-size: 0.8rem; opacity: 0.6; margin-bottom: 8px; }

.blog-post img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

.sidebar-section {
  padding: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56,189,248,0.35);
}

/* PROJECT HEADER (image + text) */
.project-card:hover .project-thumb {
  transform: scale(1.05);
  transition: 0.2s;
}

.project-card {
  padding-top: 5px;
  padding-bottom: 5px;
}

.project-card + .project-card {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.project-header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.project-header h3 {
  margin: 0;
  font-size: 0.95rem;
}

.project-header p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Thumbnail */
.project-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;

  border: 1px solid rgba(255,255,255,0.08);
}


/* Progressbar */
.progress-bar {
  position: relative;
  width: 100%;
  height: 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(34,197,94,0.4);
  transition: width 0.2s ease;
}

.progress-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 0 4px rgba(0,0,0,0.7);
  pointer-events: none;
}

/* MODS */

/* CATEGORY BUTTON GROUP */
.category-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

/* CATEGORY BUTTON */
.cat-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: #e2e8f0;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
}

/* hover */
.cat-btn:hover {
  background: rgba(255,255,255,0.06);
}

/* ACTIVE */
.cat-btn.active {
  background: rgba(56,189,248,0.15);
  border-color: rgba(56,189,248,0.4);
  color: #38bdf8;
}

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-bar input,
.filter-bar select {
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #e2e8f0;
}

.sort-btn {
  padding: 8px 12px;
  border-radius: 6px;
  width: 50px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #e2e8f0;
  cursor: pointer;
  transition: 0.2s;
}

.sort-btn:hover {
  background: rgba(255,255,255,0.1);
}

/* active state */
.sort-btn.active {
  background: rgba(56,189,248,0.2);
  color: #38bdf8;
}

/* GRID */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* GRID TRANSITION */
.mod-grid {
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mod-grid.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

/* CARD */
.mod-card {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mod-card {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.2s;
  cursor: pointer;
}

.mod-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
}

.mod-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.mod-card h3 {
  margin: 10px;
  font-size: 1rem;
}

.mod-card p {
  margin: 0 10px 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}



/* CARD */
.card {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 20px;
}

/* MOBILE */
@media (max-width: 900px) {
  .mod-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* your main card grows */
.footer {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(226,232,240,0.6);

  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(6px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}