:root {
  --bg-primary: #140e20;
  --bg-secondary: #1d1530;
  --bg-tertiary: #2a1f40;
  --text-primary: #f6eef4;
  --text-secondary: #bfb2cc;
  --text-muted: #b0a3bf;
  --accent-cyan: #e05bd5;
  --accent-purple: #e05bd5;
  --border-color: #3a2d52;
  --glass-border: #3a2d52;
  --glass-bg: #1d1530;
  --gradient-primary: linear-gradient(135deg, #e05bd5, #f08a63);
}
body {
  background: #140e20;
  color: #f6eef4;
  font-family: Inter, Arial, sans-serif;
}
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #3a2d52;
  background: #140e20f2;
  backdrop-filter: blur(18px);
  padding: 0;
  transform: none;
  left: 0;
  margin: 0;
  max-width: none;
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 22px 0;
}
.nav-logo {
  font-size: 23px;
  gap: 10px;
}
.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.logo-text {
  font-family: Inter, Arial, sans-serif;
  font-weight: 750;
  letter-spacing: -1px;
}
.nav-link {
  font-size: 14px;
  padding: 5px 10px;
}
.nav-link i {
  display: none;
}
.nav-link.active {
  background: #2a1f40;
  color: #e05bd5;
}
.nav-menu {
  gap: 18px;
}
.reviews-hero {
  padding: 70px 40px 45px;
  text-align: left;
}
.reviews-hero-container {
  max-width: 1200px;
  margin: auto;
}
.reviews-hero-title {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}
.reviews-hero-subtitle {
  max-width: none;
  margin: 20px 0 0;
  font-size: 16px;
}
.gradient-text {
  background: none;
  color: #e05bd5;
  -webkit-text-fill-color: #e05bd5;
}
.fresh-label {
  display: inline-block;
  border: 1px solid #4a2f5e;
  background: #2a1838;
  color: #f39be9;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 25px;
  margin-bottom: 23px;
}
.reviews-container {
  max-width: 1200px;
}
.reviews-main {
  padding: 0 40px 80px;
  min-height: 45vh;
}
.reviews-filter-bar {
  padding: 20px 0 26px;
  border-bottom: 1px solid #3a2d52;
  gap: 20px;
}
.filter-tab {
  font-size: 13px;
  border-radius: 5px;
  padding: 8px 12px;
}
.filter-tab.active {
  background: #2a1f40;
  color: #e05bd5;
  border-color: #5a3870;
}
.btn {
  font-family: Inter, Arial, sans-serif;
  border-radius: 7px;
  font-size: 14px;
  padding: 12px 18px;
  min-height: 43px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.btn-primary {
  background: #e05bd5;
  color: #1c0a1d;
  border: 1px solid #e05bd5;
  box-shadow: none;
}
.btn-primary:hover {
  background: #f39be9;
  transform: translateY(-2px);
  box-shadow: none;
}
.btn-secondary {
  background: #1d1530;
  border: 1px solid #3a2d52;
  color: #f6eef4;
}
.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 28px;
}
.review-card {
  background: linear-gradient(140deg, #21183a, #1d1530 65%);
  border: 1px solid #3a2d52;
  border-radius: 11px;
  padding: 26px;
  margin: 0;
}
.review-title {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.review-content {
  font-size: 16px;
  line-height: 1.8;
  color: #c3b7cf;
}
.review-avatar {
  border-radius: 9px;
}
.review-plugin-tag {
  color: #e05bd5;
  background: #e05bd512;
  border: 1px solid #e05bd522;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 12px;
}
.review-stars {
  color: #e05bd5;
  font-size: 12px;
}
.review-footer {
  border-top: 1px solid #3a2d52;
}
.review-helpful-btn {
  font-size: 12px;
}
.review-date {
  font-size: 12px;
  color: #b0a3bf;
}
.review-username {
  font-size: 14px;
}
.reviews-empty,
.reviews-loading {
  grid-column: 1/-1;
}
.write-review-card,
.auth-modal,
.settings-modal,
.glass-card {
  background: #1d1530;
  border: 1px solid #3a2d52;
  border-radius: 12px;
  box-shadow: 0 20px 100px #0006;
}
.form-group input,
.form-group select,
.form-group textarea,
.reviews-sort select {
  border: 1px solid #46385f;
  background: #120c1c;
  color: #f6eef4;
  border-radius: 6px;
  font-size: 14px;
}
.form-group label {
  font-size: 14px;
}
.auth-modal,
.settings-modal {
  max-height: 90vh;
  overflow: auto;
}
.settings-tab.active {
  color: #e05bd5;
  border-color: #e05bd5;
}
.footer {
  background: #191229;
  border-top: 1px solid #3a2d52;
  padding-top: 40px;
}
.footer-container {
  max-width: 1200px;
}
.footer p,
.footer a {
  font-size: 13px;
}
.footer-bottom {
  font-size: 12px;
}
.footer-logo-img {
  width: 32px;
  height: 32px;
}
.toast {
  font-size: 14px;
  border-radius: 8px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e05bd5;
  outline-offset: 4px;
}
.light-mode {
  --bg-primary: #fbf6f4;
  --bg-secondary: #fff;
  --bg-tertiary: #f3e7ee;
  --text-primary: #2a1631;
  --text-secondary: #6b5672;
  --text-muted: #6b5672;
  --accent-cyan: #b01fa6;
  --accent-purple: #b01fa6;
  background: #fbf6f4;
  color: #2a1631;
}
.light-mode .navbar,
.light-mode .review-card,
.light-mode .write-review-card,
.light-mode .auth-modal,
.light-mode .settings-modal,
.light-mode .footer,
.light-mode .glass-card {
  background: #fff;
  color: #2a1631;
  border-color: #e3d0dd;
}
.light-mode .review-content {
  color: #6b5672;
}
.light-mode .btn-secondary {
  background: #fff;
  color: #2a1631;
  border-color: #e3d0dd;
}
.light-mode .form-group input,
.light-mode .form-group select,
.light-mode .form-group textarea,
.light-mode .reviews-sort select {
  background: #fff;
  color: #2a1631;
  border-color: #e3d0dd;
}
.light-mode .gradient-text {
  color: #b01fa6;
  -webkit-text-fill-color: #b01fa6;
}
.light-mode .review-plugin-tag {
  color: #b01fa6;
}
.light-mode .review-stars {
  color: #b01fa6;
}
.light-mode .fresh-label {
  background: #f6e1f1;
  color: #b01fa6;
}
.light-mode .nav-link.active,
.light-mode .filter-tab.active {
  background: #f6e1f1;
  color: #b01fa6;
}
.light-mode .btn-primary {
  background: #b01fa6;
  color: #fff;
  border-color: #b01fa6;
}
@media (max-width: 1280px) {
  .nav-container {
    margin: 0 40px;
  }
}
@media (max-width: 900px) {
  .reviews-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  .nav-container {
    margin: 0 18px;
    padding: 20px 0;
  }
  .reviews-hero {
    padding: 45px 18px 30px;
  }
  .reviews-main {
    padding: 0 18px 50px;
  }
  .reviews-list {
    grid-template-columns: 1fr;
  }
  .reviews-filter-tabs {
    flex-wrap: wrap;
  }
  .reviews-sort {
    flex-wrap: wrap;
  }
  .reviews-hero-title {
    font-size: 2.6rem;
  }
  .review-card {
    padding: 23px;
  }
  .nav-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
  }
  .footer-container {
    padding: 0 18px;
  }
  .auth-modal,
  .settings-modal {
    width: calc(100% - 24px);
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Minedream 2026 redesign: plainer shapes to match the main site. */
.navbar {
  border-bottom-width: 2px;
}
.review-card,
.write-review-card,
.glass-card,
.auth-modal,
.settings-modal,
.btn,
.filter-tab,
.reviews-sort select,
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 3px;
}
.btn-primary {
  box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.25);
}

:root {
  --accent-gradient: #e05bd5;
}

/* New pixel logo: exactly 32 px, no rounding or tilting, so every pixel stays sharp. */
.logo-img,
.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 0;
  image-rendering: pixelated;
}
.nav-logo:hover .logo-img {
  transform: none;
}
