/*
 * Custom CSS — Feedback Page Redesign v4
*/

/* ─── HERO ───────────────────────────────────────────── */
.fb-page { padding-bottom: 3rem; }

.fb-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.fb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.fb-hero__badge svg { width: 1rem; height: 1rem; }

.fb-hero__title {
  font-size: clamp(1.7rem,4vw,2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.fb-hero__sub {
  font-size: 0.95rem;
  color: var(--bs-secondary-color,#a3a3a3);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ─── STATS BAR ──────────────────────────────────────── */
.fb-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.fb-stats__item { display:flex; flex-direction:column; align-items:center; gap:0.2rem; }
.fb-stats__num  { font-size:1.5rem; font-weight:700; line-height:1; color:var(--bs-body-color); }
.fb-stats__label{ font-size:0.72rem; text-transform:uppercase; letter-spacing:0.07em; color:var(--bs-secondary-color,#a3a3a3); }
.fb-stats__stars{ display:flex; gap:1px; margin-bottom:0.15rem; }
.fb-stats__stars svg { width:0.95rem; height:0.95rem; }
.fb-stats__icon { width:1.6rem; height:1.6rem; color:#10b981; margin-bottom:0.1rem; }
.fb-stats__divider { width:1px; height:2.5rem; background:rgba(255,255,255,0.1); align-self:center; }

/* ─── SECTION LABEL ROW ──────────────────────────────── */
.fb-section-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fb-section-label__text { flex:1; min-width:0; }
.fb-section-label__title { display:block; font-size:1.05rem; font-weight:700; line-height:1.2; }
.fb-section-label__link  { display:block; font-size:0.78rem; color:var(--bs-secondary-color,#a3a3a3); text-decoration:none; }
.fb-section-label__link:hover { text-decoration:underline; }
.fb-section-icon { width:2rem; height:2rem; color:#10b981; flex-shrink:0; }

.fb-mv-avatar {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* "View all" button in header row */
.fb-mv-viewall {
  flex-shrink: 0;
  font-size: 0.78rem !important;
  padding: 0.45rem 1rem !important;
  white-space: nowrap;
}

/* ─── CARD GRID ──────────────────────────────────────── */
.fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px,1fr));
  gap: 1.1rem;
  margin-bottom: 1rem;
}
.fb-card-wrap { display:flex; }

/* ─── CARD ───────────────────────────────────────────── */
.fb-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ad-ease), transform 0.35s var(--ad-ease), border-color 0.35s var(--ad-ease);
}
.fb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.14);
}

.fb-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 0.45rem;
}
.fb-card__stars { display:flex; gap:2px; }
.fb-star { width:1rem; height:1rem; }

.fb-card__quote { width:2rem; height:2rem; color:rgba(255,255,255,0.06); flex-shrink:0; }

/* Product pill */
.fb-card__product {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 1.1rem 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(var(--cl-primary-rgb,99,102,241),0.12);
  border: 1px solid rgba(var(--cl-primary-rgb,99,102,241),0.25);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cl-primary,#818cf8);
  max-width: calc(100% - 2.2rem);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fb-card__product svg { width:0.8rem; height:0.8rem; flex-shrink:0; }

/* Body */
.fb-card__body { flex:1; padding:0 1.1rem 0.7rem; }
.fb-card__message {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--bs-body-color);
  margin: 0;
  word-break: break-word;
}
.fb-card__toggle { color:var(--cl-primary); font-size:0.78rem; text-decoration:none; margin-left:0.25rem; }
.fb-card__toggle:hover { text-decoration:underline; }

/* Reply */
.fb-card__reply {
  margin-top: 0.85rem;
  background: rgba(0,0,0,0.2);
  border-left: 3px solid var(--cl-primary);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.7rem 0.8rem;
}
.fb-card__reply-header { display:flex; align-items:center; gap:0.35rem; font-size:0.72rem; font-weight:600; color:var(--cl-primary); margin-bottom:0.4rem; text-transform:uppercase; letter-spacing:0.04em; }
.fb-card__reply-header svg { width:0.9rem; height:0.9rem; }
.fb-card__reply-text  { font-size:0.83rem; line-height:1.55; margin:0 0 0.35rem; word-break:break-word; color:var(--bs-body-color); }
.fb-card__reply-date  { font-size:0.7rem; color:var(--bs-secondary-color,#a3a3a3); margin:0; text-align:right; }

/* Footer */
.fb-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.1rem;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
  gap: 0.5rem;
}
.fb-card__verified { display:flex; align-items:center; gap:0.3rem; font-size:0.73rem; font-weight:600; color:#10b981; }
.fb-card__verified svg { width:0.95rem; height:0.95rem; }
.fb-card__date { font-size:0.72rem; color:var(--bs-secondary-color,#a3a3a3); white-space:nowrap; }

/* ─── MYVOUCH.ES ELEMENTS ────────────────────────────── */
.fb-mv-discord-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #7289da;
  padding: 0.18rem 0.55rem;
  background: rgba(114,137,218,0.12);
  border: 1px solid rgba(114,137,218,0.25);
  border-radius: 999px;
}
.fb-mv-discord-badge svg { width:0.9rem; height:0.9rem; }

.fb-mv-user { display:flex; align-items:center; gap:0.45rem; margin-bottom:0.55rem; }
.fb-mv-avatar-sm { width:1.55rem; height:1.55rem; border-radius:50%; flex-shrink:0; border:1px solid rgba(255,255,255,0.1); }
.fb-mv-username   { font-size:0.8rem; font-weight:600; color:var(--bs-body-color); }
.fb-mv-num        { margin-left:auto; font-size:0.68rem; color:var(--bs-secondary-color,#a3a3a3); white-space:nowrap; }

.fb-mv-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--cl-primary);
  text-decoration: none;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(var(--cl-primary-rgb,99,102,241),.3);
  border-radius: 999px;
  background: rgba(var(--cl-primary-rgb,99,102,241),.07);
  transition: background 0.15s;
}
.fb-mv-proof:hover { background:rgba(var(--cl-primary-rgb,99,102,241),.14); text-decoration:none; }
.fb-mv-proof svg  { width:0.78rem; height:0.78rem; }

/* ─── LOAD MORE BAR ──────────────────────────────────── */
.fb-mv-more {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0 0.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
}

.fb-mv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: var(--cl-primary);
  color: #fff !important;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
}
.fb-mv-btn:hover { opacity:0.85; transform:translateY(-1px); text-decoration:none; }
.fb-mv-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--bs-body-color) !important;
}
.fb-mv-btn--ghost:hover { background:rgba(255,255,255,0.06); }

/* ─── FALLBACK CARD ──────────────────────────────────── */
.fb-mv-fallback {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2rem;
  flex-wrap: wrap;
}

/* ─── SKELETON ───────────────────────────────────────── */
.fb-card--skeleton { pointer-events:none; }
.fb-skel {
  background: linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 75%);
  background-size: 200% 100%;
  animation: fb-shimmer 1.4s infinite;
  border-radius: 6px;
}
.fb-skel--stars  { width:90px; height:16px; }
.fb-skel--line   { width:100%; height:12px; margin-bottom:8px; }
.fb-skel--short  { width:60%; }
.fb-skel--badge  { width:110px; height:16px; }
.fb-skel--date   { width:70px; height:12px; }
@keyframes fb-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ─── TRUST STRIP ────────────────────────────────────── */
.fb-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.fb-trust-strip__item { display:flex; align-items:center; gap:0.5rem; font-size:0.82rem; font-weight:500; color:var(--bs-secondary-color,#a3a3a3); }
.fb-trust-strip__item svg { width:1.1rem; height:1.1rem; color:var(--cl-primary); flex-shrink:0; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width:576px) {
  .fb-stats   { padding:0.85rem 1rem; gap:1rem; }
  .fb-stats__divider { display:none; }
  .fb-hero    { padding:2rem 0.5rem 1.5rem; }
  .fb-grid    { grid-template-columns:1fr; }
  .fb-mv-viewall { display:none; }
}

/* ──────────────────────────────────────────────────────────────
   LOADING SCREEN — overrides SellAuth default .loader-wrapper
   ────────────────────────────────────────────────────────────── */
.loader-wrapper {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(143,10,10,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(255,0,0,0.12) 0%, transparent 55%),
    #050507 !important;
  overflow: hidden !important;
  animation: ad-loader-bgshift 8s ease-in-out infinite alternate;
}
.loader-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,0,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.55;
  animation: ad-loader-grid 18s linear infinite;
}
.loader-wrapper .fade { display: none !important; }

/* Replace the text loader with a branded spinning core */
.loader-wrapper .loader {
  position: relative;
  width: 140px;
  height: 140px;
  font-size: 0 !important;
  color: transparent !important;
  background: none !important;
  border: none !important;
  animation: none !important;
}
.loader-wrapper .loader::before,
.loader-wrapper .loader::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.loader-wrapper .loader::before {
  border-top-color: #ff1f1f;
  border-right-color: rgba(255,31,31,0.4);
  box-shadow: 0 0 30px rgba(255,31,31,0.55), inset 0 0 20px rgba(255,31,31,0.25);
  animation: ad-loader-spin 1.1s cubic-bezier(.55,.15,.45,.85) infinite;
}
.loader-wrapper .loader::after {
  inset: 14px;
  border-bottom-color: #ff5252;
  border-left-color: rgba(255,82,82,0.4);
  animation: ad-loader-spin 1.6s cubic-bezier(.55,.15,.45,.85) infinite reverse;
}

/* Center brand + pulsing dot + label, injected so the markup-less default
   from SellAuth still gets a nice on-brand experience */
.loader-wrapper .loader > * { display: none; }
.loader-wrapper::after {
  content: "AD SERVICES";
  position: absolute;
  top: calc(50% + 100px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.45em;
  color: #fff;
  text-shadow: 0 0 14px rgba(255,31,31,0.55);
  animation: ad-loader-text 2.4s ease-in-out infinite;
}

@keyframes ad-loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes ad-loader-text {
  0%, 100% { opacity: 0.55; letter-spacing: 0.45em; }
  50%      { opacity: 1;    letter-spacing: 0.55em; }
}
@keyframes ad-loader-bgshift {
  0%   { background-position: 0% 0%, 0% 0%, 0 0; }
  100% { background-position: 30% 20%, -20% 10%, 0 0; }
}
@keyframes ad-loader-grid {
  to { transform: translate3d(38px, 38px, 0); }
}

/* Soft fade-out when SellAuth removes the wrapper class */
.loader-wrapper { transition: opacity .4s ease, visibility .4s ease; }

/* ─── GAMES SECTION — bold, centered, eye-catching ─────────────── */
.products-games-section {
  position: relative;
  padding: 5rem 1.75rem 4.25rem;
  margin-top: 3rem;
  border-radius: 22px;
  background:
    radial-gradient(900px 320px at 50% -10%, rgba(239,68,68,0.22), transparent 70%),
    radial-gradient(600px 240px at 12% 110%, rgba(220,38,38,0.10), transparent 70%),
    radial-gradient(500px 220px at 90% 100%, rgba(220,38,38,0.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  isolation: isolate;
  overflow: hidden;
}

/* Animated gradient border glow */
.products-games-section::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(239,68,68,0.55) 60deg,
    transparent 120deg,
    transparent 240deg,
    rgba(239,68,68,0.35) 300deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: gamesBorderSpin 8s linear infinite;
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}
@keyframes gamesBorderSpin {
  to { transform: rotate(360deg); }
}

/* Faint diagonal grid texture */
.products-games-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,68,68,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,68,68,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.65), transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.65), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.products-games-section > * { position: relative; z-index: 1; }

/* Floating orbs */
.products-games-section .games-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Badge */
.products-games-section .section-badge-wrap {
  display: flex !important;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.products-games-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(180deg, rgba(239,68,68,0.18), rgba(220,38,38,0.08));
  border: 1px solid rgba(239,68,68,0.4);
  color: #fecaca;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px -8px rgba(239,68,68,0.45);
}
.products-games-section .section-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 12px rgba(239,68,68,1);
  animation: gamesPulse 1.6s ease-in-out infinite;
}
@keyframes gamesPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* Title — forced centered (override pro.css flex) */
.products-games-section .section-title {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto 0.85rem !important;
  width: 100%;
}
.products-games-section .section-title h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem) !important;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #ffd7d7 55%, #ef4444 130%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  text-shadow: 0 8px 40px rgba(239,68,68,0.25);
}

/* Subtitle */
.products-games-section .section-subtitle {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 620px;
  margin: 0 auto 1.75rem !important;
}
.products-games-section .section-subtitle p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 1.02rem;
  line-height: 1.6;
  text-align: center;
}

/* Feature pills row */
.games-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  padding: 0;
  margin: 0 auto 3rem;
  max-width: 760px;
}
.games-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.games-features li:hover {
  border-color: rgba(239,68,68,0.55);
  color: #fff;
  background: linear-gradient(180deg, rgba(239,68,68,0.14), rgba(239,68,68,0.04));
  box-shadow: 0 8px 24px -10px rgba(239,68,68,0.55);
  transform: translateY(-2px);
}
.games-features .gf-ico {
  color: #ef4444;
  font-size: 0.9rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(239,68,68,0.6));
}

/* Cards */
.products-games-section .products > * {
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}
.products-games-section .products > *:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 18px 28px rgba(239,68,68,0.28));
}




