/*
 Theme Name: ModPool Theme Child
 Theme URI: https://modpool.net
 Description: Child theme for ModPool
 Author: ModPool
 Template: modpool-theme
 Version: 1.0.0
*/

/* You can keep or add custom CSS below this line. */


.mp-profile-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-profile-left {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mp-profile-avatar img {
  border-radius: 999px;
}

.mp-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mp-profile-name {
  font-weight: 600;
  font-size: 1rem;
}

.mp-profile-username {
  font-size: 0.8rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Rank pill next to @username */
.mp-profile-rank-pill {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* XP block */
.mp-profile-xp {
  margin-top: 0.35rem;
}

.mp-profile-xp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.mp-profile-level {
  font-weight: 600;
}

.mp-profile-xp-bar {
  margin-top: 0.25rem;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mp-profile-xp-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transform-origin: left center;
}

/* Rank progress bar */
.mp-profile-rank {
  margin-top: 0.4rem;
}

.mp-profile-rank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: 0.9;
}

.mp-profile-rank-bar {
  margin-top: 0.2rem;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mp-profile-rank-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform-origin: left center;
}

/* Buttons */
.mp-profile-right {
  display: flex;
  gap: 0.5rem;
}

.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  text-decoration: none;
}

.mp-btn-ghost {
  background: transparent;
}


/* ========== CREATOR STAR RATING ========== */

.mp-creator-rating {
  margin: 0.35rem 0 0.5rem;
}

.mp-rating--creator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mp-rating-star-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: #ffd200; /* gold star color */
}

.mp-rating-text {
  font-size: 0.85rem;
  opacity: 0.85;
}

.mp-rating-message {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.15rem;
  min-height: 16px;
}

/* ===== GOLD STARS IN HEADER PROFILE PANEL ===== */

/* stars under XP bar in the right profile panel */
.mp-panel--right .mp-rating-star {
  color: #ffd200 !important;              /* bright gold */
  text-shadow: 0 0 6px rgba(255,210,0,.6) !important;
  font-size: 1.1rem;
}

/* optional: hover pop if they’re clickable later */
.mp-panel--right .mp-rating-star:hover {
  transform: scale(1.1);
  transition: transform 0.15s ease;
}

/* ===== GOLD STARS FOR CREATOR PROFILE RATING WIDGET ===== */

.mp-rating--creator .mp-rating-star-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: #ffd200 !important;              /* bright gold */
  text-shadow: 0 0 6px rgba(255,210,0,.6) !important;
}

.mp-rating--creator .mp-rating-star-btn:hover {
  transform: scale(1.15);
  transition: transform 0.15s ease;
}

.mp-rating-text {
  font-size: 0.85rem;
  opacity: 0.85;
}


/* Mods archive layout */
.mp-mods-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mp-mods-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mp-mods-title {
  font-size: 1.25rem;
  margin: 0;
}

.mp-mods-count {
  font-size: 0.8rem;
  opacity: 0.7;
}

.mp-mods-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mp-mods-search {
  display: flex;
  gap: 0.4rem;
}

.mp-input {
  background: rgba(15,23,42,0.85);
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.mp-select {
  background: rgba(15,23,42,0.9);
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.mp-mods-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 1.5rem 1.5rem;
}

/* Filters */
.mp-mods-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mp-filter-section {
  background: rgba(15,23,42,0.9);
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148,163,184,0.2);
}

.mp-filter-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.mp-filter-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mp-filter-link {
  font-size: 0.8rem;
  opacity: 0.8;
  text-decoration: none;
}

.mp-filter-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.1rem 0.6rem;
  font-size: 0.75rem;
  margin: 0 0.25rem 0.25rem 0;
  cursor: pointer;
}

.mp-filter-chip.is-active {
  background: rgba(59,130,246,0.15);
}

/* Mods grid */
.mp-mods-main {
  min-width: 0;
}

.mp-mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.mp-mod-card {
  background: rgba(15,23,42,0.95);
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mp-mod-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.mp-mod-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mp-mod-title {
  font-size: 0.95rem;
  margin: 0;
}

.mp-mod-title a {
  text-decoration: none;
}

.mp-mod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

.mp-mod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.mp-mod-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.25);
}

.mp-mod-footer {
  margin-top: 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.mp-mod-stat-label {
  opacity: 0.7;
}

.mp-mod-stat-value {
  font-weight: 600;
}

.mp-mods-pagination {
  margin-top: 1.25rem;
  text-align: center;
}

.mp-mods-pagination .page-numbers {
  display: inline-block;
  margin: 0 0.15rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
}

.mp-mods-pagination .current {
  border-color: rgba(148,163,184,0.6);
}

/* Mobile tweak */
@media (max-width: 900px) {
  .mp-mods-layout {
    grid-template-columns: minmax(0,1fr);
  }
}

.mp-single-mod-platform {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.mp-mod-download-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.mp-mod-download-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.mp-single-mod-download {
  margin-top: 0.25rem;
}

.mp-badge--platform {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(148,163,184,0.22);
  color: #e5e7eb;
  margin-left: 0.35rem;
}

/* Avatar & badge sizing tweaks */
.mp-profile-avatar img,
.mp-profile-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
}

.mp-profile-page-avatar img,
.mp-profile-page-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
}

.mp-profile-page-badges-inline img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  margin-right: 4px;
}
