/* ======================= */
/*  Just Mode: style.css   */
/* ======================= */

body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

/* ============================ */
/*        MODS GRID             */
/* ============================ */
.mods-grid {
  display: grid;
  gap: 20px;
  padding: 20px 10px;
  box-sizing: border-box;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (min-width: 1024px) {
  .mods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .mods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .mods-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================ */
/*        MOD CARD              */
/* ============================ */
.mod-card {
  width: 100%;
  max-width: 100%;
  background-color: #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,255,0,0.15);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.mod-card:hover {
  transform: translateY(-4px);
}

/* ============================ */
/*        MOD USER              */
/* ============================ */
.mod-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

.profile-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #04f500;
}

.mod-author {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.mod-author:hover {
  color: #04f500;
}

.mod-username {
  font-size: 0.85em;
  color: #888;
}

/* ============================ */
/*        MOD IMAGE             */
/* ============================ */
.mod-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #2b2b2b;
}

/* ============================ */
/*        MOD INFO              */
/* ============================ */
.mod-info {
  padding: 15px;
}

.mod-title {
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.mod-title:hover {
  color: #04f500;
}

.mod-meta {
  margin-top: 8px;
  font-size: 0.9em;
  color: #aaa;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================ */
/*        AD CARD               */
/* ============================ */
.ad-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: repeating-linear-gradient(45deg, #222, #2c2c2c 10px);
  color: #04f500;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 12px;
  height: 100%;
  padding: 30px;
}

/* ============================ */
/*        SEARCH BAR            */
/* ============================ */
.search-section {
  background-color: #1c1c1c;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #04f500;
}

.search-section input[type='text'] {
  padding: 10px 15px;
  width: 50%;
  max-width: 400px;
  border-radius: 25px;
  border: none;
  background: #2b2b2b;
  color: white;
}

.search-section button {
  padding: 10px 20px;
  margin-left: 10px;
  background: #04f500;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.search-section button:hover {
  background: #03c703;
}

/* ============================ */
/*        FILTER BUTTONS        */
/* ============================ */
.filters-section {
  background: #1a1a1a;
  padding: 10px;
  text-align: center;
}

.filters .btn {
  background: #2b2b2b;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  margin: 4px;
  display: inline-block;
  border: 1px solid #04f500;
  text-decoration: none;
}

.filters .btn:hover,
.filters .btn:focus {
  background: #04f500;
  color: black;
}

.filters .btn.active {
  background: #04f500;
  color: black;
}

/* ============================ */
/*        PAGINATION            */
/* ============================ */
.pagination {
  text-align: center;
  padding: 20px 0;
  background-color: #1a1a1a;
}

.page-btn {
  margin: 0 5px;
  padding: 10px 15px;
  background: #2b2b2b;
  color: white;
  border: 1px solid #04f500;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.page-btn:hover,
.page-btn.active {
  background: #04f500;
  color: black;
}
footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 40px 20px 0;
  margin-top: 60px;
}

#footerToggle {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #04f500;
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 50%;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
}

#footerContent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px 0;
  transition: all 0.3s ease;
  max-width: 1200px;
  margin: auto;
}

footer h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li a {
  color: #aaa;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: #04f500;
}

footer .bottom-bar {
  border-top: 1px solid #333;
  text-align: center;
  font-size: 13px;
  padding: 10px 0;
  margin-top: 20px;
  background-color: #1a1a1a;
  color: #777;
}

footer .bottom-bar span {
  color: #04f500;
  font-weight: bold;
}
footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 40px 20px 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

#footerContent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px 0;
}

footer h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li a {
  color: #aaa;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: #04f500;
}

.bottom-bar {
  border-top: 1px solid #333;
  text-align: center;
  font-size: 13px;
  padding: 15px 0;
  margin-top: 20px;
  color: #777;
}

.bottom-bar span {
  color: #04f500;
  font-weight: bold;
}
