/* Frozen Reborn — Homepage V2 */

:root {
  --fr-accent: #4a89ff;
  --fr-accent-glow: rgba(74, 137, 255, 0.45);
  --fr-bg: #0a0b10;
  --fr-surface: #12141c;
  --fr-surface-2: #1a1c28;
  --fr-border: rgba(74, 137, 255, 0.12);
  --fr-text: #ffffff;
  --fr-muted: #8a89a7;
  --fr-muted-2: #b2b1d2;
  --fr-discord: #5865f2;
  --fr-success: #8fffab;
  --fr-grid: rgba(255, 255, 255, 0.03);
}

body.fr-home-v2 {
  background: var(--fr-bg) !important;
}

body.fr-home-v2 #page-backdrop {
  background:
    linear-gradient(var(--fr-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--fr-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 1;
}

body.fr-home-v2 .fr-home-category-shell,
body.fr-home-v2 .hero-module-scss-module__uXESQa__hero,
body.fr-home-v2 .popular-module-scss-module__MYTY3a__section,
body.fr-home-v2 .warning-about-cheat-module-scss-module__ghjLgW__section {
  display: none !important;
}

body.fr-home-v2 .penalty-modal-overlay,
body.fr-home-v2 #penalty-modal-overlay-el,
body.fr-home-v2 [class*="goal-game"],
body.fr-home-v2 button[aria-label*="Goal Game"] {
  display: none !important;
  pointer-events: none !important;
}

body.fr-home-v2 .header-module-scss-module__JsbOiq__wrapper {
  padding-top: 16px !important;
}

body.fr-home-v2 .header-module-scss-module__JsbOiq__header {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  height: auto !important;
  max-width: none !important;
}

body.fr-home-v2 .header-module-scss-module__JsbOiq__navLink {
  font-size: 12px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700 !important;
}

/* Hide legacy header nav — v2 topnav replaces it */
body.fr-home-v2 .header-module-scss-module__JsbOiq__nav {
  display: none !important;
}

/* ── Hero layout ── */

.fr-v2-hero {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 120px);
  box-sizing: border-box;
}

.fr-v2-hero > * {
  min-width: 0;
}

.fr-v2-hero__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fr-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(143, 255, 171, 0.08);
  border: 1px solid rgba(143, 255, 171, 0.2);
  width: fit-content;
  font-size: 13px;
  color: var(--fr-muted-2);
}

.fr-v2-badge__stars {
  color: var(--fr-success);
  letter-spacing: 2px;
  font-size: 12px;
}

.fr-v2-badge__sep {
  color: rgba(255, 255, 255, 0.2);
}

.fr-v2-title {
  font-family: var(--font-onder), var(--font-mont), "Onder", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fr-text);
  margin: 0;
}

.fr-v2-title__accent {
  color: var(--fr-accent);
  text-shadow:
    0 0 20px var(--fr-accent-glow),
    0 0 60px rgba(74, 137, 255, 0.2);
}

.fr-v2-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fr-muted);
  max-width: 480px;
  margin: 0;
}

.fr-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fr-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.fr-v2-btn:hover {
  transform: translateY(-2px);
}

.fr-v2-btn--primary {
  background: var(--fr-accent);
  color: #0f1016;
  box-shadow: 0 4px 24px var(--fr-accent-glow);
}

.fr-v2-btn--primary:hover {
  box-shadow: 0 8px 32px var(--fr-accent-glow);
}

.fr-v2-btn--discord {
  background: var(--fr-discord);
  color: #fff;
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.35);
  position: relative;
  z-index: 2;
}

.fr-v2-btn__icon--white {
  filter: none;
}

.fr-v2-btn--discord:hover {
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.5);
}

.fr-v2-btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Terminal window ── */

.fr-v2-terminal {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--fr-surface);
  border: 1px solid var(--fr-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(74, 137, 255, 0.06);
}

.fr-v2-terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--fr-border);
}

.fr-v2-terminal__dots {
  display: flex;
  gap: 6px;
}

.fr-v2-terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fr-v2-terminal__dot--red { background: #ff5f57; }
.fr-v2-terminal__dot--yellow { background: #febc2e; }
.fr-v2-terminal__dot--green { background: #28c840; }

.fr-v2-terminal__tabs {
  display: flex;
  gap: 4px;
  margin-left: 16px;
  flex: 1;
}

.fr-v2-terminal__tab {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fr-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.fr-v2-terminal__tab--active {
  color: var(--fr-text);
  background: rgba(74, 137, 255, 0.12);
}

.fr-v2-terminal__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fr-accent);
}

.fr-v2-terminal__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fr-accent);
  animation: fr-v2-pulse 1.5s ease-in-out infinite;
}

@keyframes fr-v2-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--fr-accent-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.fr-v2-terminal__body {
  padding: 24px;
  min-height: 340px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
  position: relative;
}

.fr-v2-terminal__ascii {
  font-size: clamp(7px, 0.85vw, 11px);
  line-height: 1.15;
  color: var(--fr-accent);
  text-shadow: 0 0 12px var(--fr-accent-glow);
  white-space: pre;
  margin-bottom: 16px;
  user-select: none;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.fr-v2-terminal__ascii::-webkit-scrollbar {
  display: none;
}

.fr-v2-terminal__divider {
  height: 1px;
  background: var(--fr-border);
  margin: 16px 0;
}

.fr-v2-terminal__meta {
  color: var(--fr-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.fr-v2-terminal__meta strong {
  color: var(--fr-muted-2);
  font-weight: 600;
}

.fr-v2-terminal__log {
  margin-top: 16px;
  color: var(--fr-muted-2);
}

.fr-v2-terminal__log-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.fr-v2-terminal__log-line--visible {
  opacity: 1;
  transform: translateY(0);
}

.fr-v2-terminal__log-line--accent { color: var(--fr-accent); }
.fr-v2-terminal__log-line--success { color: var(--fr-success); }
.fr-v2-terminal__log-line--warn { color: #ffda8f; }

.fr-v2-terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--fr-accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: fr-v2-blink 1s step-end infinite;
}

@keyframes fr-v2-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Status panel (hidden by default) */
.fr-v2-status-panel { display: none; }
.fr-v2-status-panel--active { display: block; }
.fr-v2-terminal-panel { display: none; }
.fr-v2-terminal-panel--active { display: block; }

.fr-v2-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fr-v2-status-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--fr-border);
  border-radius: 10px;
  padding: 14px;
}

.fr-v2-status-item__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fr-muted);
  margin-bottom: 6px;
}

.fr-v2-status-item__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--fr-success);
}

.fr-v2-status-item__value--accent { color: var(--fr-accent); }

/* ── Supported games carousel ── */

.fr-v2-section-heading {
  text-align: center;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.fr-v2-section-heading small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fr-muted);
}

.fr-v2-games {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 56px 0 72px;
  overflow: hidden;
}

.fr-v2-games__label,
.fr-v2-trust__label,
.fr-v2-reviews__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fr-accent);
  margin: 0 0 8px;
}

.fr-v2-games__title,
.fr-v2-trust__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fr-text);
}

.fr-v2-games__title span,
.fr-v2-trust__title span {
  color: var(--fr-accent);
}

.fr-v2-games__subtitle,
.fr-v2-trust__subtitle {
  color: var(--fr-muted);
}

.fr-v2-games__viewport,
.fr-v2-reviews__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.fr-v2-games__viewport::-webkit-scrollbar,
.fr-v2-reviews__viewport::-webkit-scrollbar {
  display: none;
}

.fr-v2-games__viewport:active,
.fr-v2-reviews__viewport:active {
  cursor: grabbing;
}

.fr-v2-games__track,
.fr-v2-reviews__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px max(24px, calc((100vw - 1280px) / 2 + 24px));
}

.fr-v2-games__card {
  width: 210px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(74, 137, 255, 0.22);
  text-decoration: none;
  cursor: pointer;
  background: var(--fr-surface);
  padding: 0;
  font: inherit;
  color: inherit;
  flex: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.fr-v2-games__card:nth-child(2n) { animation-delay: -1.6s; }
.fr-v2-games__card:nth-child(3n) { animation-delay: -3.1s; }

@keyframes fr-v2-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.fr-v2-games__card:not(:hover) {
  animation: fr-v2-card-float 5s ease-in-out infinite;
}

.fr-v2-games__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.14) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  z-index: 2;
  pointer-events: none;
}

.fr-v2-games__card:hover::before {
  transform: translateX(130%);
}

.fr-v2-games__card:focus-visible {
  outline: 2px solid rgba(74, 137, 255, 0.65);
  outline-offset: 3px;
}

.fr-v2-games__card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(74, 137, 255, 0.55);
  box-shadow: 0 20px 48px rgba(74, 137, 255, 0.22), 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: none;
}

.fr-v2-games__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.88) saturate(1.05);
  transition: filter 0.25s, transform 0.35s;
}

.fr-v2-games__card:hover img {
  filter: brightness(0.96) saturate(1.1);
  transform: scale(1.05);
}

.fr-v2-games__card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 16px 18px;
  background: linear-gradient(to top, rgba(4, 6, 14, 0.98) 0%, rgba(4, 6, 14, 0.88) 45%, rgba(4, 6, 14, 0.1) 90%, transparent 100%);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  z-index: 3;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fr-v2-games__card-label::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: var(--fr-accent);
  box-shadow: 0 0 8px var(--fr-accent-glow);
  flex-shrink: 0;
}

.fr-v2-games__card-meta {
  display: none;
}

.fr-v2-games__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 11, 18, 0.55) 0%, transparent 42%);
  pointer-events: none;
  z-index: 1;
}

.fr-v2-games__hint {
  text-align: center;
  margin: 18px 0 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fr-muted);
}

.fr-v2-games__hint a {
  color: var(--fr-accent);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}

.fr-v2-games__hint a:hover {
  color: #fff;
}

.fr-v2-games__hint span {
  color: var(--fr-accent);
  font-size: 13px;
  margin-left: 2px;
}

/* ── Why trust us ── */

.fr-v2-trust {
  padding: 80px 24px 96px;
  background: linear-gradient(180deg, transparent, rgba(17, 23, 39, 0.45) 30%, rgba(15, 20, 32, 0.45) 74%, transparent);
}

.fr-v2-trust__grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fr-v2-trust__card {
  min-height: 210px;
  padding: 26px 24px;
  border: 1px solid rgba(101, 134, 182, 0.16);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(24, 30, 46, 0.9), rgba(13, 17, 26, 0.95));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.fr-v2-trust__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(74, 137, 255, 0.5), transparent 30%, transparent 70%, rgba(74, 137, 255, 0.25));
  opacity: 0;
  transition: opacity 0.3s;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.fr-v2-trust__card::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 137, 255, 0.16), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.fr-v2-trust__card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 167, 237, 0.4);
  box-shadow: 0 20px 46px rgba(8, 12, 22, 0.55), 0 0 0 1px rgba(74, 137, 255, 0.12);
}

.fr-v2-trust__card:hover::before {
  opacity: 1;
}

.fr-v2-trust__num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-onder), var(--font-mont), "Onder", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(139, 158, 199, 0.4);
}

.fr-v2-trust__card--large {
  grid-column: span 1;
  background:
    radial-gradient(circle at 15% 15%, rgba(74, 137, 255, 0.16), transparent 50%),
    linear-gradient(155deg, rgba(26, 33, 51, 0.95), rgba(13, 17, 26, 0.98));
}

.fr-v2-trust__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(118, 164, 237, 0.3);
  border-radius: 12px;
  color: #cfe0ff;
  background: linear-gradient(155deg, rgba(74, 137, 255, 0.22), rgba(74, 137, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 8px 20px rgba(74, 137, 255, 0.12);
  flex-shrink: 0;
  z-index: 1;
}

.fr-v2-trust__icon svg {
  width: 22px;
  height: 22px;
}

.fr-v2-trust__card h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--fr-text);
  z-index: 1;
}

.fr-v2-trust__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--fr-muted-2);
  max-width: 280px;
  z-index: 1;
  flex: 1;
}

.fr-v2-trust__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(143, 255, 171, 0.1);
  border: 1px solid rgba(143, 255, 171, 0.22);
  color: var(--fr-success);
  letter-spacing: 0.06em;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
  z-index: 1;
}

.fr-v2-trust__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fr-success);
  box-shadow: 0 0 8px rgba(143, 255, 171, 0.7);
  animation: fr-v2-pulse 1.8s ease-in-out infinite;
}

/* ── Affiliate programme ── */

.fr-v2-affiliate {
  padding: 0 24px;
  margin: 48px auto 56px;
  max-width: 1280px;
}

.fr-v2-affiliate__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.fr-v2-affiliate__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.fr-v2-affiliate__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cfe0ff;
  background: rgba(74, 137, 255, 0.1);
  border: 1px solid rgba(74, 137, 255, 0.28);
}

.fr-v2-affiliate__badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--fr-accent);
}

.fr-v2-affiliate__title {
  margin: 0;
  font-family: var(--font-onder), var(--font-mont), "Onder", sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--fr-text);
}

.fr-v2-affiliate__text {
  margin: 0;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fr-muted-2);
}

.fr-v2-affiliate__cta {
  width: fit-content;
  white-space: nowrap;
}

.fr-v2-affiliate__visual {
  position: relative;
  min-width: 0;
}

.fr-v2-affiliate__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .fr-v2-affiliate__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fr-v2-affiliate__content {
    order: 1;
  }

  .fr-v2-affiliate__visual {
    order: 2;
    max-width: 560px;
    margin: 0 auto;
  }

  .fr-v2-affiliate__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fr-v2-affiliate {
    padding: 0 16px;
    margin: 36px auto 44px;
  }

  .fr-v2-affiliate__content {
    gap: 18px;
  }

  .fr-v2-affiliate__text {
    font-size: 13px;
  }
}

/* Inline CTA card (affiliate-program.html) */
.fr-v2-affiliate__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 38px 44px;
  border-radius: 20px;
  border: 1px solid rgba(101, 134, 182, 0.2);
  background: linear-gradient(120deg, rgba(24, 30, 48, 0.95), rgba(15, 19, 30, 0.98));
  overflow: hidden;
}

.fr-v2-affiliate__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(74, 137, 255, 0.55), transparent 35%, transparent 65%, rgba(74, 137, 255, 0.3));
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.fr-v2-affiliate__glow {
  position: absolute;
  top: -60%;
  left: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 137, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.fr-v2-affiliate__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #cfe0ff;
  background: linear-gradient(155deg, rgba(74, 137, 255, 0.25), rgba(74, 137, 255, 0.05));
  border: 1px solid rgba(118, 164, 237, 0.32);
  box-shadow: 0 10px 26px rgba(74, 137, 255, 0.16);
  position: relative;
  z-index: 1;
}

.fr-v2-affiliate__icon svg {
  width: 30px;
  height: 30px;
}

.fr-v2-affiliate__body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.fr-v2-affiliate__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fr-accent);
}

.fr-v2-affiliate__card .fr-v2-affiliate__title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
}

.fr-v2-affiliate__card .fr-v2-affiliate__text {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.65;
}

.fr-v2-affiliate__card .fr-v2-affiliate__cta {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .fr-v2-affiliate__card {
    flex-wrap: wrap;
    padding: 30px 26px;
  }

  .fr-v2-affiliate__card .fr-v2-affiliate__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fr-v2-affiliate__icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .fr-v2-affiliate__icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ── Reviews ── */

.fr-v2-reviews {
  padding: 88px 0 104px;
  background:
    radial-gradient(55% 40% at 50% 18%, rgba(74, 137, 255, 0.18), transparent),
    radial-gradient(30% 24% at 50% 42%, rgba(74, 137, 255, 0.08), transparent);
  overflow: hidden;
}

.fr-v2-reviews__summary {
  text-align: center;
  margin-bottom: 42px;
  padding: 0 24px;
}

.fr-v2-reviews__summary.is-visible .fr-v2-reviews__score-glow {
  animation: fr-v2-score-pulse 3s ease-in-out infinite;
}

.fr-v2-reviews__summary.is-visible .fr-v2-reviews__score-ring {
  animation: fr-v2-score-spin 22s linear infinite;
}

.fr-v2-reviews__score-wrap {
  position: relative;
  display: inline-block;
  margin: 10px 0 6px;
  padding: 12px 8px;
}

.fr-v2-reviews__score-glow {
  position: absolute;
  inset: -55% -25%;
  background: radial-gradient(circle, rgba(74, 137, 255, 0.55) 0%, rgba(74, 137, 255, 0.12) 42%, transparent 72%);
  filter: blur(32px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fr-v2-reviews__summary.is-visible .fr-v2-reviews__score-glow {
  opacity: 1;
}

.fr-v2-reviews__score-ring {
  position: absolute;
  inset: -22px;
  border: 1px dashed rgba(122, 169, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.15s;
}

.fr-v2-reviews__summary.is-visible .fr-v2-reviews__score-ring {
  opacity: 1;
}

.fr-v2-reviews__score {
  position: relative;
  margin: 0;
  line-height: 0.88;
}

.fr-v2-reviews__score-value {
  display: inline-block;
  font-size: clamp(92px, 14vw, 156px);
  font-weight: 900;
  letter-spacing: -0.07em;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 45%, #cfe0ff 62%, #ffffff 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 34px rgba(74, 137, 255, 0.85)) drop-shadow(0 0 70px rgba(74, 137, 255, 0.4));
  animation: fr-v2-score-shimmer 3.5s ease-in-out infinite;
}

.fr-v2-reviews__score-value.is-counting {
  animation: fr-v2-score-shimmer 3.5s ease-in-out infinite, fr-v2-score-tick 0.12s ease infinite;
}

.fr-v2-reviews__score-value.is-done {
  animation: fr-v2-score-pop 0.7s cubic-bezier(0.22, 1.35, 0.36, 1) forwards, fr-v2-score-shimmer 3.5s ease-in-out infinite;
}

.fr-v2-reviews__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 6px;
  font-size: 22px;
  color: #aaceff;
}

.fr-v2-reviews__stars span {
  display: inline-block;
  text-shadow: 0 0 16px rgba(74, 137, 255, 0.55);
  animation: fr-v2-star-twinkle 2.2s ease-in-out infinite;
}

.fr-v2-reviews__stars span:nth-child(2) { animation-delay: 0.12s; }
.fr-v2-reviews__stars span:nth-child(3) { animation-delay: 0.24s; }
.fr-v2-reviews__stars span:nth-child(4) { animation-delay: 0.36s; }
.fr-v2-reviews__stars span:nth-child(5) { animation-delay: 0.48s; }

@keyframes fr-v2-score-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes fr-v2-score-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fr-v2-score-pop {
  0% { transform: scale(0.82); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes fr-v2-score-tick {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes fr-v2-score-spin {
  to { transform: rotate(360deg); }
}

@keyframes fr-v2-star-twinkle {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.18); opacity: 1; filter: drop-shadow(0 0 14px rgba(170, 206, 255, 0.95)); }
}

.fr-v2-reviews__meta {
  display: block;
  margin: 6px 0 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fr-muted);
}

.fr-v2-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(87, 123, 171, 0.45);
  background: var(--fr-surface);
  color: #e7edff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.fr-v2-btn--ghost:hover {
  border-color: #8eb8ff;
  transform: translateY(-2px);
}

.fr-v2-btn--pulse {
  animation: fr-v2-btn-glow 2.8s ease-in-out infinite;
}

@keyframes fr-v2-btn-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(74, 137, 255, 0); }
  50% { box-shadow: 0 0 22px rgba(74, 137, 255, 0.28); }
}

.fr-v2-reviews__card {
  width: 270px;
  min-height: 148px;
  padding: 16px;
  border: 1px solid rgba(102, 137, 181, 0.22);
  border-radius: 12px;
  background: rgba(17, 23, 36, 0.88);
  flex: none;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.fr-v2-reviews__card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: rgba(120, 167, 255, 0.52);
  box-shadow: 0 18px 44px rgba(74, 137, 255, 0.2);
}

.fr-v2-reviews__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fr-v2-reviews__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #6497ff, #2d4d8a);
  font-size: 10px;
  font-weight: 700;
}

.fr-v2-reviews__head b {
  font-size: 11px;
}

.fr-v2-reviews__head em {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(143, 255, 171, 0.12);
  color: var(--fr-success);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fr-v2-reviews__card p {
  margin: 12px 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #d3dbea;
}

.fr-v2-reviews__card small {
  font-size: 9px;
  color: #697890;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.2, 1, 0.3, 1), transform 0.65s cubic-bezier(0.2, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.fr-v2-trust__card[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.fr-v2-trust__card[data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.fr-v2-trust__card[data-reveal]:nth-child(4) { transition-delay: 0.2s; }
.fr-v2-trust__card[data-reveal]:nth-child(5) { transition-delay: 0.26s; }
.fr-v2-trust__card[data-reveal]:nth-child(6) { transition-delay: 0.32s; }

/* ── Discord floating widget ── */

.fr-v2-discord-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fr-v2-discord-card {
  width: 320px;
  background: #1a1c2e;
  border: 1px solid rgba(88, 101, 242, 0.15);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
}

.fr-v2-discord-card--open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fr-v2-discord-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fr-v2-discord-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fr-v2-discord-card__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fr-success);
  box-shadow: 0 0 8px rgba(143, 255, 171, 0.6);
}

.fr-v2-discord-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fr-text);
}

.fr-v2-discord-card__close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--fr-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: color 0.15s, background 0.15s;
}

.fr-v2-discord-card__close:hover {
  color: var(--fr-text);
  background: rgba(255, 255, 255, 0.06);
}

.fr-v2-discord-card__body {
  padding: 18px;
}

.fr-v2-discord-card__community {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fr-v2-discord-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--fr-discord);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fr-v2-discord-card__icon img {
  width: 22px;
  height: 22px;
  filter: brightness(10);
}

.fr-v2-discord-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--fr-text);
}

.fr-v2-discord-card__sub {
  font-size: 12px;
  color: var(--fr-muted);
}

.fr-v2-discord-card__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #9aa3b8;
  letter-spacing: 0.01em;
}

.fr-v2-discord-card__stats--loading {
  color: rgba(154, 163, 184, 0.55);
}

.fr-v2-discord-card__stats-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fr-v2-discord-card__stats-sep {
  color: rgba(154, 163, 184, 0.45);
  font-weight: 400;
}

.fr-v2-discord-card__stats-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fffab;
  box-shadow: 0 0 6px rgba(143, 255, 171, 0.5);
  flex-shrink: 0;
}

[data-fr-discord-members],
[data-fr-discord-online] {
  color: #4a89ff;
  font-weight: 700;
}

.fr-v2-discord-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fr-muted);
  margin-bottom: 18px;
}

.fr-v2-discord-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--fr-discord);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.fr-v2-discord-card__cta:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.fr-v2-discord-fab {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--fr-discord);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.fr-v2-discord-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.55);
}

.fr-v2-discord-fab__icon {
  width: 26px;
  height: 26px;
  transition: transform 0.3s, opacity 0.2s;
}

.fr-v2-discord-fab__icon--discord { filter: none; }
.fr-v2-discord-fab__icon--close {
  display: none;
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.fr-v2-discord-fab--open .fr-v2-discord-fab__icon--discord { display: none; }
.fr-v2-discord-fab--open .fr-v2-discord-fab__icon--close { display: block; }

/* ── Responsive ── */

@media (max-width: 1024px) {
  .fr-v2-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 32px;
  }

  .fr-v2-terminal__body {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .fr-v2-hero {
    padding: 24px 16px 0;
  }

  .fr-v2-actions {
    flex-direction: column;
  }

  .fr-v2-btn {
    justify-content: center;
    width: 100%;
  }

  .fr-v2-games {
    padding: 40px 0 56px;
  }

  .fr-v2-games__card {
    width: 175px;
    height: 240px;
  }

  .fr-v2-trust {
    padding: 64px 16px 72px;
  }

  .fr-v2-trust__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fr-v2-trust__card--large {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 200px;
  }

  .fr-v2-reviews {
    padding: 56px 0 72px;
  }

  .fr-v2-reviews__score {
    font-size: 56px;
  }

  .fr-v2-discord-card {
    width: calc(100vw - 48px);
    max-width: 320px;
  }

  .fr-v2-discord-widget {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 520px) {
  .fr-v2-trust__grid {
    grid-template-columns: 1fr;
  }

  .fr-v2-trust__card--large {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fr-v2-terminal__live-dot,
  .fr-v2-terminal__cursor {
    animation: none;
  }

  .fr-v2-discord-card,
  .fr-v2-discord-fab {
    transition: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .fr-v2-games__card,
  .fr-v2-reviews__score-value,
  .fr-v2-reviews__stars span,
  .fr-v2-reviews__score-glow,
  .fr-v2-reviews__score-ring,
  .fr-v2-btn--pulse {
    animation: none !important;
  }
}
