.dt-reviews-page{
  display: grid;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--text-1, #f5f1ff);
  --reviews-panel: rgba(18,16,27,0.76);
  --reviews-panel-soft: rgba(255,255,255,0.032);
  --reviews-border: rgba(255,255,255,0.075);
  --reviews-purple: #a75eff;
  --reviews-purple-soft: rgba(167,94,255,0.14);
  --reviews-muted: rgba(255,255,255,0.64);
  --reviews-meta: rgba(255,255,255,0.52);
}

/* Match game/giveaway breadcrumb navigation and page gutter on the reviews page. */
html:has(body[data-page="reviews"]){
  scrollbar-gutter: stable both-edges;
}

body[data-page="reviews"] .navigation{
  margin-block-start: var(--space-4);
  margin-block-end: var(--space-4);
  padding-bottom: 0;
}

body[data-page="reviews"] .navigation .page-1400{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
}

body[data-page="reviews"] .nav-crumbs{
  display: flex;
  align-items: center;
  height: 100%;
}

body[data-page="reviews"] .navigation-link,
body[data-page="reviews"] .navigation-current,
body[data-page="reviews"] .navigation-sep{
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-heading) !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

body[data-page="reviews"] .navigation-link{
  color: #fff;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: color .25s ease, filter .25s ease;
}

body[data-page="reviews"] .navigation-link:hover,
body[data-page="reviews"] .navigation-link:focus-visible{
  color: var(--brand, #a75eff);
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-shadow: none;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--brand, #a75eff) 45%, transparent));
}

body[data-page="reviews"] .navigation-current{
  color: #fff;
}

body[data-page="reviews"] .navigation-sep{
  margin-inline: var(--space-2);
  color: var(--muted, #bdbdbd);
}


.dt-reviews-hero,
.dt-reviews-card,
.dt-reviews-empty{
  border: 1px solid var(--reviews-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.018)),
    var(--reviews-panel);
  border-radius: 28px;
  box-shadow: none;
}

.dt-reviews-hero{
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 4vw, 42px);
}

.dt-reviews-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(167,94,255,0.16), transparent 36%),
    radial-gradient(circle at 96% 14%, rgba(255,255,255,0.055), transparent 34%);
  pointer-events: none;
}

.dt-reviews-hero > *{
  position: relative;
}

.dt-reviews-kicker{
  margin: 0 0 10px;
  color: rgba(216,193,255,0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dt-reviews-title{
  margin: 0;
  max-width: 820px;
  font-family: var(--font-heading, inherit);
  font-size: clamp(34px, 5.8vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.dt-reviews-lead{
  margin: 18px 0 0;
  max-width: 600px;
  color: var(--reviews-muted);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.48;
}

.dt-reviews-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.dt-reviews-button{
  --dt-reviews-button-idle-background: rgba(167,94,255,0.14);
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(167,94,255,0.42);
  background: var(--dt-reviews-button-idle-background);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0;
  transition: border-color .18s ease, color .18s ease;
}

.dt-reviews-page .dt-reviews-button,
.dt-reviews-page .dt-reviews-button *,
.dt-reviews-page .dt-reviews-button::before,
.dt-reviews-page .dt-reviews-button::after,
.dt-reviews-page .dt-reviews-button:hover,
.dt-reviews-page .dt-reviews-button:hover *,
.dt-reviews-page .dt-reviews-button:hover::before,
.dt-reviews-page .dt-reviews-button:hover::after,
.dt-reviews-page .dt-reviews-button:focus-visible,
.dt-reviews-page .dt-reviews-button:focus-visible *,
.dt-reviews-page .dt-reviews-button:active,
.dt-reviews-page .dt-reviews-button:active *{
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0;
}

.dt-reviews-hero .dt-reviews-button:hover,
.dt-reviews-hero .dt-reviews-button:focus-visible,
.dt-reviews-hero .dt-reviews-button:active{
  color: var(--dt-button-state-1-color);
  border-color: var(--dt-button-state-1-border-color);
  background: var(--dt-reviews-button-idle-background);
  box-shadow: var(--dt-button-state-1-shadow);
  transform: var(--dt-button-state-transform);
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0;
  text-shadow: var(--dt-button-state-text-shadow);
}

.dt-reviews-hero .dt-reviews-button:focus-visible{
  outline: var(--dt-control-hero-action-focus-visible-outline);
  outline-offset: var(--dt-control-hero-action-focus-visible-outline-offset);
}

.dt-reviews-button--ghost{
  --dt-reviews-button-idle-background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.12);
  background: var(--dt-reviews-button-idle-background);
  color: rgba(255,255,255,0.88);
}

.dt-reviews-summary{
  display: grid;
  gap: 10px;
}

.dt-reviews-summary-card{
  min-width: 0;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.035);
}

.dt-reviews-summary-card span{
  display: block;
  color: var(--reviews-meta);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt-reviews-summary-card strong{
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.dt-reviews-list-section{
  margin-top: 0;
}

.dt-reviews-list-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.dt-reviews-list-head h2{
  margin: 0;
  font-family: var(--font-heading, inherit);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.dt-reviews-list-head p{
  margin: 9px 0 0;
  max-width: 720px;
  color: var(--reviews-muted);
  font-size: 16px;
  line-height: 1.55;
}

.dt-reviews-verified-note,
.dt-reviews-badge{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(167,94,255,0.28);
  background: rgba(167,94,255,0.1);
  color: rgba(232,218,255,0.92);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

.dt-reviews-card{
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  padding: 20px;
  transition: border-color .18s ease;
}

.dt-reviews-card:hover,
.dt-reviews-card:focus-within{
  border-color: var(--reviews-purple);
  box-shadow: none;
  transform: none;
}

.dt-reviews-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dt-reviews-stars{
  color: #d8c1ff;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.dt-reviews-text{
  margin: 16px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.58;
}

.dt-reviews-card__footer{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.dt-reviews-card__footer strong{
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dt-reviews-card__footer time{
  flex: 0 0 auto;
  color: var(--reviews-meta);
  font-size: 13px;
}

.dt-reviews-empty{
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.014)),
    rgba(18,16,27,0.66);
  text-align: left;
}

.dt-reviews-empty h2{
  margin: 0;
  font-family: var(--font-heading, inherit);
  font-size: 22px;
  line-height: 1.12;
}

.dt-reviews-empty p{
  margin: 9px 0 0;
  max-width: 560px;
  color: var(--reviews-muted);
  font-size: 15px;
  line-height: 1.52;
}

.dt-reviews-footer-divider{
  margin-block: var(--space-8, 32px);
}


@media (min-width: 981px) and (max-width: 1100px){
  .dt-reviews-title{
    font-size: clamp(50px, 5.1vw, 54px);
  }

  .dt-reviews-hero > div:first-child{
    min-height: 353px;
  }
}

@media (min-width: 901px) and (max-width: 1100px){
  .dt-reviews-card__footer{
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .dt-reviews-card__footer strong{
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 980px){
  .dt-reviews-hero{
    grid-template-columns: 1fr;
  }

  .dt-reviews-hero > div:first-child{
    min-height: 257px;
  }

  .dt-reviews-summary{
    grid-template-columns: 1fr;
  }

  .dt-reviews-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .dt-reviews-page{
    padding-top: 0;
    padding-bottom: 0;
  }

  .dt-reviews-hero,
  .dt-reviews-card,
  .dt-reviews-empty{
    border-radius: 22px;
  }

  .dt-reviews-hero{
    padding: 20px;
  }

  .dt-reviews-actions{
    display: grid;
  }

  .dt-reviews-button{
    width: 100%;
  }

  .dt-reviews-summary,
  .dt-reviews-grid{
    grid-template-columns: 1fr;
  }

  .dt-reviews-list-head{
    align-items: flex-start;
    flex-direction: column;
  }

  .dt-reviews-card{
    min-height: 0;
  }

  .dt-reviews-empty{
    max-width: none;
    padding: 20px;
  }

  .dt-reviews-card__top,
  .dt-reviews-card__footer{
    align-items: flex-start;
    flex-direction: column;
  }

  .dt-reviews-card__footer strong{
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

/* DonateTeam common pages visual unification - Phase 3 Common 1.
   Scope: reviews hero action buttons only; geometry remains owned by existing page CSS. */
body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button {
  background: var(--dt-primary-idle-bg);
  color: var(--dt-primary-idle-text);
  border-color: var(--dt-primary-idle-border);
  box-shadow: var(--dt-primary-idle-shadow);
  text-shadow: none;
  transform: none;
  transition: var(--dt-interactive-transition-shadow, box-shadow .18s ease, color .18s ease, border-color .18s ease, background .18s ease);
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button:hover {
  background: var(--dt-primary-hover-bg);
  color: var(--dt-primary-hover-text);
  border-color: var(--dt-primary-hover-border);
  box-shadow: var(--dt-primary-hover-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button:active {
  background: var(--dt-primary-pressed-bg);
  color: var(--dt-primary-pressed-text);
  border-color: var(--dt-primary-pressed-border);
  box-shadow: var(--dt-primary-pressed-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button:focus-visible {
  background: var(--dt-primary-hover-bg);
  color: var(--dt-primary-hover-text);
  border-color: var(--dt-primary-hover-border);
  box-shadow: var(--dt-interactive-focus-shadow);
  outline: var(--dt-interactive-focus-outline);
  outline-offset: var(--dt-interactive-focus-outline-offset);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost {
  background: var(--dt-secondary-idle-bg);
  color: var(--dt-secondary-idle-text);
  border-color: var(--dt-select-idle-border);
  box-shadow: var(--dt-secondary-idle-shadow);
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:hover {
  background: var(--dt-secondary-hover-bg);
  color: var(--dt-secondary-hover-text);
  border-color: var(--dt-select-hover-border);
  box-shadow: var(--dt-secondary-hover-shadow);
  text-shadow: var(--dt-select-hover-text-shadow);
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:active {
  background: var(--dt-secondary-pressed-bg);
  color: var(--dt-secondary-pressed-text);
  border-color: var(--dt-secondary-pressed-text);
  box-shadow: var(--dt-secondary-pressed-shadow);
}


/* DonateTeam giveaway/reviews secondary hero CTA refine - Phase 3 Common 1 follow-up.
   Scope: reviews hero secondary action only; geometry remains owned by existing page CSS. */
body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost {
  --dt-hero-secondary-bg: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)), rgba(21,21,21,.58);
  --dt-hero-secondary-border: rgba(255,255,255,.14);
  --dt-hero-secondary-text: color-mix(in srgb, var(--dt-interactive-fg, #fff) 88%, var(--dt-interactive-accent, #a75eff) 12%);
  --dt-hero-secondary-shadow: inset 0 0 0 1px rgba(255,255,255,.065), 0 10px 24px rgba(0,0,0,.18);
  background: var(--dt-hero-secondary-bg);
  color: var(--dt-hero-secondary-text);
  border-color: var(--dt-hero-secondary-border);
  box-shadow: var(--dt-hero-secondary-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:hover {
  background: linear-gradient(180deg, rgba(167,94,255,.11), rgba(255,255,255,.045)), rgba(21,21,21,.6);
  color: color-mix(in srgb, var(--dt-interactive-fg, #fff) 78%, var(--dt-interactive-accent, #a75eff) 22%);
  border-color: rgba(167,94,255,.48);
  box-shadow: inset 0 0 0 1px rgba(167,94,255,.38), 0 0 12px rgba(167,94,255,.16), 0 10px 24px rgba(0,0,0,.18);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:active {
  background: linear-gradient(180deg, rgba(167,94,255,.075), rgba(255,255,255,.025)), rgba(13,13,13,.68);
  color: var(--dt-interactive-accent, #a75eff);
  border-color: rgba(167,94,255,.44);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.28), inset 0 0 0 1px rgba(167,94,255,.34), 0 0 10px rgba(167,94,255,.12);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:focus-visible {
  background: linear-gradient(180deg, rgba(167,94,255,.105), rgba(255,255,255,.04)), rgba(21,21,21,.6);
  color: color-mix(in srgb, var(--dt-interactive-fg, #fff) 80%, var(--dt-interactive-accent, #a75eff) 20%);
  border-color: rgba(197,162,255,.72);
  box-shadow: var(--dt-interactive-focus-shadow);
  text-shadow: none;
  transform: none;
}

/* DonateTeam hero CTA and homepage navigation unification pilot.
   Scope: reviews hero actions only; geometry remains owned by existing page CSS. */
body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button:not(.dt-reviews-button--ghost) {
  background: var(--dt-hero-primary-idle-bg);
  color: var(--dt-hero-primary-idle-text);
  border-color: var(--dt-hero-primary-idle-border);
  box-shadow: var(--dt-hero-primary-idle-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button:not(.dt-reviews-button--ghost):hover {
  background: var(--dt-hero-primary-hover-bg);
  color: var(--dt-hero-primary-hover-text);
  border-color: var(--dt-hero-primary-hover-border);
  box-shadow: var(--dt-hero-primary-hover-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button:not(.dt-reviews-button--ghost):active {
  background: var(--dt-hero-primary-pressed-bg);
  color: var(--dt-hero-primary-pressed-text);
  border-color: var(--dt-hero-primary-pressed-border);
  box-shadow: var(--dt-hero-primary-pressed-shadow);
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost {
  background: var(--dt-hero-secondary-idle-bg);
  color: var(--dt-hero-secondary-idle-text);
  border-color: var(--dt-hero-secondary-idle-border);
  box-shadow: var(--dt-hero-secondary-idle-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:hover {
  background: var(--dt-hero-secondary-hover-bg);
  color: var(--dt-hero-secondary-hover-text);
  border-color: var(--dt-hero-secondary-hover-border);
  box-shadow: var(--dt-hero-secondary-hover-shadow);
  text-shadow: none;
  transform: none;
}

body[data-page="reviews"] .dt-reviews-hero .dt-reviews-button--ghost:active {
  background: var(--dt-hero-secondary-pressed-bg);
  color: var(--dt-hero-secondary-pressed-text);
  border-color: var(--dt-hero-secondary-pressed-border);
  box-shadow: var(--dt-hero-secondary-pressed-shadow);
  transform: none;
}
