/* CrosshairGG rebrand — hero layout, review cards, features band, reviews page */

html, body { overflow-x: hidden; }

/* ---- Centered hero stack ---- */
.hero {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-height: auto !important;
  padding: 120px 0 48px !important;
  overflow: hidden !important;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero__glow {
  position: absolute;
  inset: 0;
  height: 100%;
  background:
    radial-gradient(ellipse 55% 45% at 50% 18%, rgba(220, 38, 38, 0.28), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(239, 68, 68, 0.12), transparent 55%);
  pointer-events: none;
}

.hero__title {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  text-shadow:
    0 0 48px rgba(239, 68, 68, 0.35),
    0 0 100px rgba(239, 68, 68, 0.15);
}

.hero__title em {
  color: #ef4444;
  -webkit-text-fill-color: #ef4444;
  background: none;
  text-shadow:
    0 0 32px rgba(239, 68, 68, 0.75),
    0 0 64px rgba(239, 68, 68, 0.45),
    0 0 120px rgba(220, 38, 38, 0.25);
}

.hero__sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.62);
}

.hero__cta {
  justify-content: center;
}

.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.avatar-row {
  display: inline-flex;
  align-items: center;
}

.avatar-row__a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-left: -10px;
  border: 2px solid #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.avatar-row__a:first-child { margin-left: 0; }
.avatar-row__a:nth-child(1) { background: linear-gradient(135deg, #ef4444, #991b1b); }
.avatar-row__a:nth-child(2) { background: linear-gradient(135deg, #22c55e, #15803d); }
.avatar-row__a:nth-child(3) { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.avatar-row__a:nth-child(4) { background: linear-gradient(135deg, #f59e0b, #b45309); }
.avatar-row__a:nth-child(5) { background: linear-gradient(135deg, #a855f7, #6b21a8); }

.hero__proof-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.hero__proof-text b { color: #fff; }

/* ---- Hero review cards — full-width edge-to-edge marquee ---- */
.hero-reviews {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 36px;
  margin-bottom: 8px;
  padding: 10px 0 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 2%,
    #000 98%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 2%,
    #000 98%,
    transparent 100%
  );
}

.hero-reviews__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
  width: max-content;
  padding: 0 12px;
  will-change: transform;
  animation: hero-reviews-scroll 55s linear infinite;
}

.hero-reviews:hover .hero-reviews__track {
  animation-play-state: paused;
}

@keyframes hero-reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reviews__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

.hero-review-card {
  flex: 0 0 clamp(200px, 22vw, 268px);
  width: clamp(200px, 22vw, 268px);
  min-height: 132px;
  text-align: left;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: rgba(14, 14, 16, 0.96);
  border: 0.5px solid #2a2a2a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.hero__mock-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.hero-review-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex: none;
  background: var(--av-bg, linear-gradient(135deg, #ef4444, #991b1b));
}

.hero-review-card__stars {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1;
}

.hero-review-card__quote {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-review-card__author {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Promo showcase ---- */
.hero__mock {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 28px auto 0;
}

.hero__mock-glow {
  position: absolute;
  inset: 8% 2%;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.32), transparent 68%);
  filter: blur(32px);
}

.hero__mock-card {
  position: relative;
  border-radius: 22px;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero__mock-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.features-band-section {
  padding: 72px 0 100px;
  overflow: hidden;
}

.features-band {
  overflow: hidden;
  padding: 8px 0;
}

.features-band__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: features-band-scroll 55s linear infinite;
}

.features-band:hover .features-band__track {
  animation-play-state: paused;
}

@keyframes features-band-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feat-card {
  flex: none;
  width: min(300px, 78vw);
  padding: 22px;
  border-radius: 16px;
  background: rgba(13, 13, 16, 0.85);
  border: 0.5px solid #1f1f1f;
}

.feat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.12);
  border: 0.5px solid rgba(220, 38, 38, 0.25);
  margin-bottom: 14px;
  color: var(--red-500);
}

.feat-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  color: #fff;
}

.feat-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px;
  border-radius: 18px;
  border: 0.5px solid #1f1f1f;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(10, 10, 10, 0.6));
}

.reviews-page { padding: 140px 0 80px; }

.reviews-shell {
  border-radius: 18px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.6);
  padding: 28px;
}

.reviews-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.reviews-top__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  color: #fff;
}

.reviews-top__sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.reviews-top__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reviews-count {
  text-align: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 0.5px solid #1f1f1f;
  background: #111;
}

.reviews-count b {
  display: block;
  font-size: 22px;
  color: #fff;
}

.reviews-count span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.reviews-sort {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reviews-sort__btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #333;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.reviews-sort__btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.reviews-sort__btn.is-active {
  background: #ef4444;
  color: #fff;
  border: none;
}

.reviews-pager {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.reviews-pager button {
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0.5px solid #1f1f1f;
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.reviews-pager button.is-active,
.reviews-pager button:hover {
  color: #fff;
  border-color: rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.12);
}

.reviews-list { display: flex; flex-direction: column; border-top: 0.5px solid #1a1a1a; }

.review-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 20px;
  padding: 18px 4px;
  border-bottom: 0.5px solid #1a1a1a;
}

.review-row__stars { color: #fbbf24; font-size: 12px; letter-spacing: 1px; }
.review-row__title { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: #fff; line-height: 1.45; }
.review-row__byline { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.42); }
.review-row__author { font-weight: 600; }
.review-row__site { color: #4ade80; font-weight: 500; }
.review-row__profile { display: flex; align-items: center; gap: 10px; min-width: 140px; justify-content: flex-end; }
.review-row__avatar {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.review-row__name { font-size: 14px; font-weight: 700; color: #fff; }
.review-row__date-side { font-size: 11.5px; color: rgba(255,255,255,0.4); margin-top: 2px; }

.reviews-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.star-input {
  display: inline-flex;
  gap: 4px;
}

.star-input button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.25);
  font-size: 26px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.star-input button.is-on,
.star-input button:hover {
  color: #fbbf24;
}

.mobile-nav-toggle {
  display: none;
  border: 0;
  background: #111;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0.5px solid #1f1f1f;
  cursor: pointer;
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .home-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.home-review-card {
  padding: 20px;
  border-radius: 16px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.75);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}

.home-review-card__letter,
.home-review-card__img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.home-review-card__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.home-review-card__stars {
  color: #fbbf24;
  font-size: 12px;
  letter-spacing: 1px;
}

.home-review-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  flex: 1;
}

.home-review-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.home-review-card__name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.terms-page { padding: 140px 0 80px; }

.terms-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 18px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.6);
}

.terms-shell h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: #fff;
}

.terms-shell > p.lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.terms-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid #1a1a1a;
}

.terms-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section h2 {
  margin: 0 0 10px;
  font-size: 17px;
  color: #fff;
}

.terms-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* Affiliate program */
.affiliate-page { padding-bottom: 80px; }
.affiliate-hero { padding: 120px 0 40px; text-align: center; }
.affiliate-hero__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
}
.affiliate-hero__sub {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}
.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.affiliate-stat-card {
  padding: 18px 16px;
  border-radius: 14px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.7);
}
.affiliate-stat-card strong {
  display: block;
  font-size: 22px;
  color: #ef4444;
  margin-bottom: 4px;
}
.affiliate-stat-card span { font-size: 12px; color: rgba(255,255,255,0.55); }
.affiliate-body { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; }
.affiliate-steps {
  margin: 32px 0;
  padding: 24px;
  border-radius: 16px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.5);
}
.affiliate-steps h2 { margin: 0 0 12px; color: #fff; font-size: 18px; }
.affiliate-steps ol { margin: 0; padding-left: 20px; color: rgba(255,255,255,0.7); line-height: 1.8; }
.affiliate-panel {
  padding: 28px;
  border-radius: 16px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.65);
  margin-bottom: 24px;
}
.affiliate-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.affiliate-user-row img { border-radius: 999px; object-fit: cover; }
.affiliate-user-row p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,0.5); }
.affiliate-form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.affiliate-form textarea,
.affiliate-form input[type="email"],
.affiliate-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 0.5px solid #2a2a2a;
  background: #0d0d10;
  color: #fff;
  font: inherit;
}
.affiliate-form .btn { margin-top: 18px; }
.affiliate-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.affiliate-badge--pending { background: rgba(234,179,8,0.15); color: #facc15; }
.affiliate-badge--approved { background: rgba(34,197,94,0.15); color: #4ade80; }
.affiliate-badge--rejected { background: rgba(239,68,68,0.15); color: #f87171; }
.affiliate-badge--suspended { background: rgba(148,163,184,0.15); color: #94a3b8; }
.affiliate-dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.affiliate-dash-card {
  padding: 16px;
  border-radius: 12px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13,13,16,0.6);
}
.affiliate-dash-card span { display: block; font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.affiliate-dash-card strong { font-size: 20px; color: #fff; }
.affiliate-link-box,
.affiliate-table-wrap,
.affiliate-payout {
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 14px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13,13,16,0.55);
}
.affiliate-link-box h3,
.affiliate-table-wrap h3,
.affiliate-payout h3 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.affiliate-link-row { display: flex; gap: 10px; margin-bottom: 10px; }
.affiliate-link-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0.5px solid #2a2a2a;
  background: #0d0d10;
  color: #fff;
  font-size: 13px;
}
.affiliate-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.affiliate-table th,
.affiliate-table td { padding: 10px 8px; border-bottom: 0.5px solid #1a1a1a; text-align: left; color: rgba(255,255,255,0.75); }
.affiliate-table th { color: rgba(255,255,255,0.45); font-weight: 500; }
.affiliate-payout-methods { display: flex; gap: 16px; margin: 12px 0; font-size: 14px; color: rgba(255,255,255,0.75); }
.affiliate-payout input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0.5px solid #2a2a2a;
  background: #0d0d10;
  color: #fff;
  margin-bottom: 12px;
}
.affiliate-error { color: #f87171; font-size: 13px; margin-top: 10px; }
.affiliate-alert { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }
.muted { color: rgba(255,255,255,0.45); font-size: 13px; }
.hidden { display: none !important; }
.field-error { color: #f87171; font-size: 12px; margin: 4px 0 0; }

/* Affiliate dashboard page */
.aff-dash-body { background: #08080a; min-height: 100vh; }
.aff-dash-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 0.5px solid #1f1f1f;
  background: rgba(13, 13, 16, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
}
.aff-dash-topbar__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.aff-dash-topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.aff-dash-topbar__user img { border-radius: 999px; object-fit: cover; }
.aff-dash-main { padding: 28px 20px 60px; max-width: 960px; }
.aff-dash-payout-form { margin-top: 16px; padding-top: 16px; border-top: 0.5px solid #1f1f1f; }
.aff-dash-progress-wrap { margin: 12px 0 16px; }
.aff-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.aff-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 999px;
  transition: width 300ms ease;
}
.aff-dash-tips {
  margin-top: 28px;
  padding: 20px;
  border-radius: 14px;
  border: 0.5px solid #1f1f1f;
  background: rgba(13,13,16,0.55);
}
.aff-dash-tips h3 { margin: 0 0 10px; color: #fff; font-size: 16px; }
.aff-dash-tips ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.68); line-height: 1.7; font-size: 14px; }
.payout-toggle.is-active { border-color: #ef4444; color: #ef4444; }
.empty-state { color: rgba(255,255,255,0.45); font-style: italic; }
.btn--sm { padding: 6px 12px; font-size: 12px; }

@media (max-width: 768px) {
  .aff-dash-topbar { grid-template-columns: 1fr; text-align: center; }
  .aff-dash-topbar__user { justify-self: center; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .affiliate-stats,
  .affiliate-dash-cards { grid-template-columns: 1fr; }
  .affiliate-link-row { flex-direction: column; }
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links { display: none; }
  .site-nav.is-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 12px;
    background: rgba(13, 13, 16, 0.96);
    border: 0.5px solid #1f1f1f;
    border-radius: 16px;
  }
}
