@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #000000;
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --star-gold: #FACC15;
  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-block: 20px;
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.v-review-widget-scope {
  /* True OLED Black Theme */
  --bg-dark: #000000;

  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;

  --star-gold: #FACC15;

  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-block: 20px;

  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.v-review-widget-scope * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.v-review-widget-scope {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 16px !important; /* Anchor em units — overrides site global html font-size */
}

/* Base true black layout */
.v-ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: #000000;
}

.v-review-layout {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.v-review-container {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* HEADER */
.v-review-header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(5, 5, 5, 1) 100%);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 900px) {
  .v-review-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.v-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

@media (min-width: 900px) {
  .v-header-left {
    text-align: left;
  }
}

.v-rating-massive {
  font-size: 5.5em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--star-gold);
  text-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
}

.v-rating-context {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (min-width: 900px) {
  .v-rating-context {
    align-items: flex-start;
  }
}

.v-stars-hologram {
  display: flex;
  align-items: center;
  gap: 4px;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.4));
}

.v-total-reviews-text {
  font-size: 18px !important;
  color: var(--text-muted);
  font-weight: 500;
}

/* Distribution Bars */
.v-header-bars {
  flex-grow: 1;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
}

.v-bar-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px !important;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s var(--ease-spring);
  border: 1px solid transparent;
}

.v-bar-wrap:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.v-bar-wrap.v-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.v-bar-track {
  flex-grow: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 1);
  overflow: hidden;
  position: relative;
}

.v-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #D4AF37, var(--star-gold));
  position: relative;
  transform-origin: left;
  animation: v-review-fillBar 1.5s var(--ease-spring) forwards;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}

.v-bar-wrap:hover .v-bar-fill,
.v-bar-wrap.v-active .v-bar-fill {
  background: linear-gradient(90deg, var(--star-gold), #FFF8D6);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.6);
}

@keyframes v-review-fillBar {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* CTA */
.v-btn-premium {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 1);
  font-family: inherit;
  width: 100%;
}

@media (min-width: 900px) {
  .v-btn-premium {
    width: auto;
  }
}

.v-btn-premium:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.v-btn-premium:active {
  transform: translateY(1px) scale(0.98);
}

/* --- REVIEWS MASONRY COLUMNS --- */
.v-reviews-grid {
  column-count: 1;
  column-gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {
  .v-reviews-grid {
    column-count: 2;
  }
}

@media (min-width: 1100px) {
  .v-reviews-grid {
    column-count: 3;
  }
}

.v-filters-container {
  display: none;
}

.v-card-glass {
  break-inside: avoid-column;
  /* Crucial for masonry logic */
  margin-bottom: 24px;
  position: relative;
  padding: 32px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(5, 5, 5, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  transition: all 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-main);
  animation: v-review-slideUpFade 0.6s var(--ease-spring) backwards;
  height: max-content;
  /* Don't stretch */
}

.v-card-glass:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 1);
  background: linear-gradient(180deg, rgba(25, 25, 25, 1) 0%, rgba(8, 8, 8, 1) 100%);
  z-index: 10;
}

.v-card-glass.v-hidden {
  display: none;
}

/* Avatars & Meta Top */
.v-review-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v-review-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.v-meta-avatar-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-avatar-luminous {
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

h3.v-reviewer-name {
  font-size: 22px !important;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #FFFFFF !important;
}

.v-rating-stars {
  display: flex;
  gap: 2px;
  align-items: center;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.3));
}

.v-review-date-badge {
  align-self: flex-start;
  font-size: 16px !important;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.v-review-text {
  font-size: 20px !important;
  font-weight: 400;
  color: #E5E7EB !important;
  line-height: 1.7;
}

/* --- ADMIN REPLY --- */
.v-reply-glass {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(40, 40, 42, 0.95), rgba(20, 20, 22, 0.95));
  border-radius: var(--radius-block);
  padding: 24px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.v-ig-badge {
  display: inline-block;
  opacity: 0.95;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.v-admin-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.v-admin-avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.v-admin-name {
  font-weight: 600;
  font-size: 22px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFF !important;
}

.v-badge-pro {
  background: #E5E7EB;
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.v-admin-text {
  font-size: 20px !important;
  font-weight: 400;
  color: #F3F4F6 !important;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* --- SKELETON MAGIC --- */
.v-pulse-sk {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 400% 100%;
  animation: v-review-skelLoading 1.5s infinite;
}

/* --- MODAL STYLES --- */
.v-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
  padding: 20px !important;
}

.v-modal-overlay.v-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.v-modal-content {
  background: rgba(15, 15, 15, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  max-width: 480px !important;
  width: 100% !important;
  border-radius: 16px !important;
  padding: 32px !important;
  transform: translateY(20px) scale(0.95) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: none !important;
  margin-bottom: 0 !important;
  gap: unset !important;
}

.v-modal-overlay.v-active .v-modal-content {
  transform: translateY(0) scale(1) !important;
}

.v-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: transparent;
  border: none;
  color: #666;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.v-modal-close:hover {
  color: #FFF;
  transform: scale(1.1);
}

.v-modal-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.v-modal-subtitle {
  color: #9CA3AF;
  font-size: 0.95em;
  margin-bottom: 24px;
  line-height: 1.5;
}

.v-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.v-form-group label {
  display: block;
  color: #E5E7EB;
  font-size: 0.9em;
  margin-bottom: 8px;
  font-weight: 500;
}

.v-glass-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  transition: all 0.3s;
  outline: none;
  resize: vertical;
}

.v-glass-input::placeholder {
  color: #555;
}

.v-glass-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.v-star-rating-input {
  display: flex;
  gap: 8px;
  font-size: 36px;
  color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
}

.v-star-rating-input span {
  transition: color 0.2s, transform 0.2s;
}

.v-star-rating-input span:hover {
  transform: scale(1.1);
}

.v-star-rating-input span.v-active,
.v-star-rating-input span.v-hovered {
  color: var(--star-gold);
}

.v-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

@media (max-width: 480px) {
  .v-modal-content {
    padding: 24px;
  }
}

@keyframes v-review-skelLoading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.v-sk-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.v-sk-title {
  width: 40%;
  height: 20px;
  margin-bottom: 12px;
}

.v-sk-text {
  width: 100%;
  height: 16px;
  margin-bottom: 8px;
}

.v-sk-text-short {
  width: 60%;
  height: 16px;
}

/* Load More Wrapper */
.v-actions-footer {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.v-btn-ghost {
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.v-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@keyframes v-review-slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* --- HERO FEATURED REVIEWS SECTION --- */
.v-hero-section {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .v-hero-section {
    flex-direction: row;
    padding: 120px 20px 60px;
    justify-content: space-between;
  }
}

.v-hero-content {
  flex: 1;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

@media (min-width: 992px) {
  .v-hero-content {
    text-align: left;
  }
}

.v-hero-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -1px;
}

@media (min-width: 992px) {
  .v-hero-title {
    font-size: 3.5em;
  }
}

.v-hero-title .v-text-gradient {
  background: linear-gradient(90deg, #f472b6, #fb7185, #fda4af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v-hero-subtitle {
  font-size: 1.1em;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 992px) {
  .v-hero-subtitle {
    /* removed flex alignments */
  }
}

.v-hero-avatars {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  margin: 0 6px;
  position: relative;
  top: -2px;
}

.v-hero-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -10px;
  object-fit: cover;
}

.v-hero-avatars img:first-child {
  margin-left: 0;
}

.v-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 500px) {
  .v-hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .v-hero-actions {
    flex-direction: column !important;
    align-items: stretch;
  }
}

@media (min-width: 992px) {
  .v-hero-actions {
    justify-content: flex-start;
  }
}

.v-hero-btn-main {
  background: #FFF;
  color: #000;
  border-color: #FFF;
}

.v-hero-btn-main:hover {
  background: #e5e5e5;
  color: #000;
  border-color: #e5e5e5;
}

.v-hero-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
}

/* Visules / Scrolling Columns */
.v-hero-visual {
  flex: 1;
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.v-scrolling-columns {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  max-width: 600px;
}

.v-scrolling-column {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.v-scrolling-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  will-change: transform;
  padding-block: 12px;
}

/* Down: Starts from -50% to 0 */
.v-column-down .v-scrolling-track {
  animation: v-review-scrollDown 25s linear infinite;
}

/* Up: Starts from 0 to -50% */
.v-column-up .v-scrolling-track {
  animation: v-review-scrollUp 25s linear infinite;
}

@keyframes v-review-scrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes v-review-scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Mini Cards for Hero */
.v-mini-card {
  padding: 24px;
  border-radius: 20px;
  margin-bottom: 0;
  gap: 16px;
  background: linear-gradient(135deg, rgba(30, 30, 32, 0.4), rgba(15, 15, 17, 0.6));
  animation: none;
  height: auto;
}

.v-mini-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(35, 35, 37, 0.6), rgba(20, 20, 22, 0.8));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.v-mini-card p {
  font-size: 0.95em;
  line-height: 1.5;
  color: #D1D5DB;
}

.v-mini-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-mini-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85em;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.v-mini-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.v-mini-card-info {
  display: flex;
  flex-direction: column;
}

.v-mini-card-info h4 {
  font-size: 0.95em;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 2px;
}

.v-mini-card-info span {
  font-size: 0.8em;
  color: #9CA3AF;
}

.v-mini-card-stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3px;
  margin-top: 2px;
  line-height: 1;
}

.v-mini-card-stars svg {
  width: 14px;
  height: 14px;
  display: block;
}

@media (max-width: 600px) {
  .v-scrolling-columns {
    gap: 16px;
  }

  .v-mini-card {
    padding: 16px;
  }

  .v-mini-card p {
    font-size: 0.85em;
  }

  .v-hero-visual {
    height: auto;
    aspect-ratio: 1 / 1;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  }
}
