* {
  box-sizing: border-box;
}

:root {
  --bg-1: #020817;
  --bg-2: #071436;
  --bg-3: #10214e;
  --card: rgba(18, 25, 56, 0.94);
  --card-soft: rgba(255,255,255,0.065);
  --line: rgba(255,255,255,0.10);
  --text: #ffffff;
  --muted: #dbeafe;
  --muted-2: #9fb0d0;
  --pink: #ff4da6;
  --pink-2: #ec4899;
  --blue: #4e83f0;
  --cyan: #67e8f9;
  --green: #22c55e;
  --gold: #fbbf24;
  --red: #fb7185;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(147, 197, 253, 0.58) rgba(2, 8, 23, 0.94);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 166, 0.16), transparent 25%),
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.10), transparent 22%),
    radial-gradient(circle at bottom right, rgba(78, 131, 240, 0.20), transparent 30%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 100%);
  opacity: 0.24;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.review-page {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 24px 18px 56px;
  position: relative;
  z-index: 1;
}

.review-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.review-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  font-size: 30px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.review-logo span {
  color: #93c5fd;
  font-size: 16px;
}

.session-badge {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  border-radius: 14px;
  background: rgba(147, 197, 253, 0.08);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.session-badge.is-member {
  border-color: rgba(34, 197, 94, 0.20);
  background: rgba(34, 197, 94, 0.10);
  color: #dcfce7;
}

.review-nav,
.review-hero-actions,
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-nav a,
.filter-tabs button,
.review-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 16px;
  color: var(--text);
  background: rgba(255,255,255,0.08);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.review-nav a.is-hidden {
  display: none;
}

.review-nav a:hover,
.review-nav a:focus-visible,
.filter-tabs button:hover,
.filter-tabs button:focus-visible,
.filter-tabs button.active,
.review-btn:hover,
.review-btn:focus-visible {
  background: rgba(147, 197, 253, 0.14);
  border-color: rgba(147, 197, 253, 0.30);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.14);
  outline: none;
}

.filter-tabs button.moderation-only,
.filter-tabs button.member-only {
  display: none;
}

.filter-tabs button.is-visible {
  display: inline-flex;
}

.review-btn-hot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ec4899 0%, #4e83f0 54%, #67e8f9 100%);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.18);
}

.review-btn-hot::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 46%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.36s ease;
}

.review-btn-hot:hover::after,
.review-btn-hot:focus-visible::after {
  left: 112%;
}

.review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.review-hero-main,
.score-card,
.review-stats article,
.review-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 18px 44px rgba(0,0,0,0.26);
}

.review-hero-main {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.review-hero-main::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 155px;
  height: 96px;
  border: 1px solid rgba(147, 197, 253, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(103, 232, 249, 0.12), transparent 42%),
    linear-gradient(90deg, rgba(236, 72, 153, 0.10), rgba(78, 131, 240, 0.12));
  box-shadow:
    inset 0 0 0 14px rgba(147, 197, 253, 0.035),
    0 0 34px rgba(78, 131, 240, 0.14);
  opacity: 0.78;
}

.review-hero-main::before {
  content: "\2605\2605\2605";
  position: absolute;
  right: 78px;
  bottom: 68px;
  color: rgba(251, 191, 36, 0.16);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  z-index: 0;
}

.review-kicker,
.review-pill {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(147, 197, 253, 0.10);
  font-size: 13px;
  font-weight: 900;
}

.review-hero h1 {
  position: relative;
  z-index: 1;
  margin: 14px 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.review-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.score-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(78, 131, 240, 0.13)),
    var(--card);
}

.score-label {
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-card strong {
  display: block;
  margin: 8px 0 0;
  font-size: 76px;
  line-height: 1;
}

.stars {
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.18);
}

.score-card p {
  margin: 10px 0 8px;
  color: var(--muted);
  font-weight: 900;
}

.score-card small,
.review-stats small,
.review-card small,
.bar-label span,
.review-note span {
  color: var(--muted-2);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.review-stats article {
  padding: 18px;
}

.review-stats span {
  display: block;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-stats strong {
  display: block;
  margin: 4px 0;
  font-size: 30px;
  line-height: 1.05;
}

.review-section {
  padding: 24px;
  margin-bottom: 18px;
}

.review-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: center;
}

.review-section h2,
.review-section h3,
.review-section p {
  margin-top: 0;
}

.review-section h2 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.12;
}

.review-section p {
  color: var(--muted);
  line-height: 1.55;
}

.review-note {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.065);
  border: 1px solid var(--line);
}

.review-note strong {
  font-size: 18px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head p {
  margin-bottom: 0;
}

.review-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.rating-breakdown {
  align-self: start;
  position: sticky;
  top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.10), rgba(78, 131, 240, 0.09)),
    rgba(255,255,255,0.050);
}

.rating-breakdown h3 {
  margin-bottom: 18px;
}

.rating-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.bar-label {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
  font-size: 14px;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.14);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4e83f0, #67e8f9);
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.14);
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
}

.review-card.status-card-pending {
  border-color: rgba(251, 191, 36, 0.24);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.070), rgba(147, 197, 253, 0.045)),
    rgba(255,255,255,0.050);
}

.review-card.status-card-rejected,
.review-card.status-card-hidden {
  border-color: rgba(248, 113, 113, 0.24);
  background:
    linear-gradient(135deg, rgba(248, 113, 113, 0.060), rgba(147, 197, 253, 0.035)),
    rgba(255,255,255,0.048);
}

.review-card.is-hidden {
  display: none;
}

.review-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.review-card h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.review-card .stars {
  font-size: 18px;
  white-space: nowrap;
}

.review-card p {
  margin-bottom: auto;
}

.status-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(251, 191, 36, 0.30);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.10);
  font-size: 12px;
  font-weight: 900;
}

.status-badge.status-rejected,
.status-badge.status-hidden {
  border-color: rgba(248, 113, 113, 0.32);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.11);
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.10);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
}

.review-actions {
  min-height: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-action,
.moderation-action {
  min-height: 32px;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: #dbeafe;
  background: rgba(147, 197, 253, 0.10);
  font-size: 12px;
  font-weight: 900;
}

.moderation-action {
  cursor: pointer;
}

.moderation-action.approve {
  border-color: rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

.moderation-action.hide,
.moderation-action.reject {
  border-color: rgba(251, 191, 36, 0.24);
  color: #fde68a;
  background: rgba(251, 191, 36, 0.10);
}

.moderation-action:hover,
.moderation-action:focus-visible {
  border-color: rgba(147, 197, 253, 0.44);
  background: rgba(147, 197, 253, 0.16);
  outline: none;
}

.review-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.review-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 900;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(147, 197, 253, 0.20);
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(2, 8, 23, 0.56);
  outline: none;
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: rgba(147, 197, 253, 0.54);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.10);
}

.form-wide,
.review-form .form-message {
  grid-column: 1 / -1;
}

.review-form button {
  justify-self: start;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #bbf7d0;
  font-weight: 900;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-grid article {
  position: relative;
  overflow: hidden;
  min-height: 162px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.seo-grid article::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #4e83f0, #67e8f9);
  opacity: 0.72;
}

.seo-grid article::after {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: rgba(255,255,255,0.055);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.seo-card-read::after {
  content: "01";
}

.seo-card-fresh::after {
  content: "02";
}

.seo-card-team::after {
  content: "03";
}

.seo-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.24);
  background: rgba(147, 197, 253, 0.075);
  box-shadow: 0 18px 34px rgba(2, 8, 23, 0.22);
}

.seo-grid h3 {
  margin-bottom: 8px;
}

.seo-grid p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.050);
}

.faq-list h3 {
  margin-bottom: 8px;
}

.faq-list p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .review-topbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .review-hero,
  .review-intro,
  .review-layout,
  .seo-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .rating-breakdown {
    position: static;
  }
}

@media (max-width: 720px) {
  .review-page {
    padding: 16px 12px 40px;
  }

  .review-nav a,
  .filter-tabs button,
  .review-btn {
    width: 100%;
  }

  .review-hero-main,
  .score-card,
  .review-section {
    border-radius: 18px;
    padding: 18px;
  }

  .review-hero-main::after {
    right: 14px;
    bottom: 8px;
    width: 92px;
    height: 58px;
  }

  .review-hero-main::before {
    right: 32px;
    bottom: 30px;
    font-size: 18px;
  }

  .review-hero h1 {
    font-size: 44px;
  }

  .review-stats,
  .review-list,
  .review-form {
    grid-template-columns: 1fr;
  }

  .score-card strong {
    font-size: 58px;
  }

  .review-card header {
    flex-direction: column;
  }
}
