/* FRONT-1 | main.css — component styles */

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.fr1-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}
.fr1-header > .r-container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.r-fr1-header__logo {
  flex-shrink: 0;
}
.r-fr1-header__logo img {
  height: 40px;
  width: auto;
}
.fr1-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fr1-header__nav .r-menu {
  display: flex;
  gap: 4px;
  list-style: none;
}
.fr1-header__nav .r-menu-item a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--header-link);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
/* Hover/active stay on the header surface: tint the header background toward
   the link colour instead of switching to a content-derived colour, so the
   link text never lands on a clashing (e.g. white-on-light) background. */
.fr1-header__nav .r-menu-item a:hover,
.fr1-header__nav .r-menu-item.active a {
  color: var(--header-link);
  background: color-mix(in srgb, var(--header-bg) 80%, var(--header-link) 20%);
}

.r-fr1-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Language switcher */
.r-fr1-header__lang-switcher {
  position: relative;
}
.r-fr1-header__lang-item--current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--header-link);
  transition: border-color var(--transition);
}
.r-fr1-header__lang-item--current:hover { border-color: var(--accent); }
.r-fr1-header__lang-menu-arrow svg { transition: transform var(--transition); }
.r-fr1-header__lang-switcher:hover .r-fr1-header__lang-menu-arrow svg,
.r-fr1-header__lang-switcher:focus-within .r-fr1-header__lang-menu-arrow svg { transform: rotate(180deg); }

.r-fr1-header__lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 6px;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 120px;
  z-index: 200;
}
.r-fr1-header__lang-switcher::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}
.r-fr1-header__lang-switcher:hover .r-fr1-header__lang-menu,
.r-fr1-header__lang-switcher:focus-within .r-fr1-header__lang-menu { display: block; }
.r-fr1-header__lang-link {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.r-fr1-header__lang-link:hover { background: var(--bg-hover); color: var(--text-primary); }
.r-fr1-header__lang-link--current { color: var(--accent); }

/* Account buttons */
.r-fr1-header__account { display: flex; gap: 8px; }
.r-fr1-header__account .r-fr1-btn { font-size: 13px; padding: 7px 16px; }

/* Keep a contrasting filled background on hover for the Login/Register
   buttons in the header (the default outline hover is transparent). */
.r-fr1-header__account .r-fr1-btn--outline:hover,
.r-fr1-header__account-mob .r-fr1-btn--outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
}

/* The Register button's default hover swaps to --accent-hover, which the
   generator can set equal to the header background (button then blends into
   the header). In the header, keep the contrasting --accent background and
   give hover feedback via brightness instead. */
.r-fr1-header__account .r-fr1-btn--primary:hover,
.r-fr1-header__account-mob .r-fr1-btn--primary:hover {
  background: var(--accent);
  filter: brightness(1.08);
}

/* Mobile toggle */
.fr1-header__menu-toggle {
  display: none;
  cursor: pointer;
  padding: 6px;
  color: var(--header-link);
}
.r-fr1-header__menu-icon:last-child { display: none; }
.fr1-header.mobile-menu .r-fr1-header__menu-icon:first-child { display: none; }
.fr1-header.mobile-menu .r-fr1-header__menu-icon:last-child { display: block; }

/* Mobile account (shown below header on mobile) */
.r-fr1-header__account-mob {
  display: none;
  gap: 8px;
  padding: 10px 20px;
  background: var(--header-bg);
  border-top: 1px solid var(--border);
}
.r-fr1-header__account-mob .r-fr1-btn { flex: 1; justify-content: center; font-size: 13px; padding: 8px; }

@media (max-width: 900px) {
  .r-fr1-header__account { display: none; }
  .fr1-header__menu-toggle { display: block; }
  .r-fr1-header__right { margin-left: auto; }

  .fr1-header__nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .fr1-header.mobile-menu .fr1-header__nav { display: flex; }
  .fr1-header__nav .r-menu { flex-direction: column; width: 100%; gap: 2px; }
  .fr1-header__nav .r-menu-item a { padding: 10px 12px; }

  .r-fr1-header__account-mob { display: flex; }
}


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.r-fr1-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 0;
}
.r-fr1-hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
}
.r-fr1-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.r-fr1-hero__h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.r-fr1-hero__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}
.r-fr1-hero__sub-full {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.r-fr1-hero__sub.is-expanded .r-fr1-hero__sub-full {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.r-fr1-hero__sub.is-expanded .r-fr1-hero__sub-preview {
  display: none;
}
.r-fr1-hero__read-more {
  display: inline;
  margin: 0 0 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  vertical-align: baseline;
}
.r-fr1-hero__read-more:hover { color: var(--accent-hover); }
.r-fr1-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.r-fr1-hero__banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--bg-card);
}
.r-fr1-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trust bar */
.r-fr1-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.r-fr1-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.r-fr1-trust__item:last-child { border-right: none; }
.r-fr1-trust__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.r-fr1-trust__icon--shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 26 26' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L3 7v5c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-9-5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 26 26' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L3 7v5c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-9-5z'/%3E%3C/svg%3E");
}
.r-fr1-trust__icon--bolt {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}
.r-fr1-trust__icon--gift {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v10H4V12M22 7H2v5h20V7zM12 22V7M12 7H7.5a2.5 2.5 0 010-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 000-5C13 2 12 7 12 7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v10H4V12M22 7H2v5h20V7zM12 22V7M12 7H7.5a2.5 2.5 0 010-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 000-5C13 2 12 7 12 7z'/%3E%3C/svg%3E");
}
.r-fr1-trust__icon--headset {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0118 0v6M3 18a3 3 0 006 0v-3a3 3 0 00-6 0v3zM21 18a3 3 0 01-6 0v-3a3 3 0 016 0v3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0118 0v6M3 18a3 3 0 006 0v-3a3 3 0 00-6 0v3zM21 18a3 3 0 01-6 0v-3a3 3 0 016 0v3z'/%3E%3C/svg%3E");
}
.r-fr1-trust__text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.r-fr1-trust__text span {
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .r-fr1-hero__inner { grid-template-columns: 1fr; }
  .r-fr1-hero__banner { display: none; }
  .r-fr1-trust { grid-template-columns: repeat(2, 1fr); }
  .r-fr1-trust__item:nth-child(2) { border-right: none; }
  .r-fr1-trust__item:nth-child(3) { border-right: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .r-fr1-trust { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════
   BONUS STRIP
══════════════════════════════════════ */
.r-fr1-bonus-strip-wrap {
  padding: 20px 0;
  background: var(--bg-base);
}
.r-fr1-bonus-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}
.r-fr1-bonus-strip__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.r-fr1-bonus-strip__icon svg { color: var(--accent); width: 22px; height: 22px; }
.r-fr1-bonus-strip__text { flex: 1; }
.r-fr1-bonus-strip__text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.r-fr1-bonus-strip__text span {
  font-size: 13px;
  color: var(--text-secondary);
}
@media (max-width: 600px) {
  .r-fr1-bonus-strip { flex-wrap: wrap; }
  .r-fr1-bonus-strip .r-fr1-btn { width: 100%; justify-content: center; }
}


/* ══════════════════════════════════════
   SECTION HEADER (shared)
══════════════════════════════════════ */
.r-fr1-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.r-fr1-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
}
.r-fr1-section-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background: var(--accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}
.r-fr1-section-icon--slots {
  -webkit-mask-image: url('media/slot-machine-68d2ca80a9a1f725685584.svg');
  mask-image: url('media/slot-machine-68d2ca80a9a1f725685584.svg');
}
.r-fr1-section-icon--live {
  -webkit-mask-image: url('media/type-diamant-2-68c0327148f8a601975776.svg');
  mask-image: url('media/type-diamant-2-68c0327148f8a601975776.svg');
}
.r-fr1-section-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
.r-fr1-section-link:hover { color: var(--accent-hover); }


/* ══════════════════════════════════════
   GAMES — shared grid
══════════════════════════════════════ */
.r-fr1-games__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.r-fr1-games__list-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}
.r-fr1-games__list-item:hover { border-color: var(--accent-border); transform: translateY(-2px); }

.r-fr1-games__list-item-name {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.r-fr1-games__list-item-logo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.r-fr1-games__list-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.r-fr1-games__list-item:hover .r-fr1-games__list-item-logo img { transform: scale(1.04); }

.r-fr1-games__list-item--hover {
  position: absolute;
  inset: 0;
  background: rgba(13,13,20,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.r-fr1-games__list-item:hover .r-fr1-games__list-item--hover { opacity: 1; }

.r-fr1-games__list-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 2px;
  gap: 4px;
}
.r-fr1-games__list-item-top .r-fr1-games__list-item-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
}
.r-fr1-games__list-item-top svg { flex-shrink: 0; color: var(--text-muted); }
.r-fr1-games__list-item-providers {
  padding: 2px 10px 8px;
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.r-fr1-games__list-item-providers span + span::before { content: ', '; }

.r-fr1-games__list-item-rating {
  height: 3px;
  background: var(--bg-hover);
  margin: 0 10px 8px;
  border-radius: 2px;
  overflow: hidden;
}
.r-fr1-games__list-item-rating-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* Live badge on game cards */
.r-fr1-games__list-item .r-fr1-live-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #dc2626;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 2;
}

@media (max-width: 600px) {
  .r-fr1-games__list { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}


/* ══════════════════════════════════════
   SEARCH
══════════════════════════════════════ */
.r-fr1-search__form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color var(--transition);
}
.r-fr1-search__form:focus-within { border-color: var(--accent-border); }
.r-fr1-search__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
}
.r-fr1-search__input::placeholder { color: var(--text-muted); }
.r-fr1-search__button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
}
.r-fr1-search__button:hover { color: var(--accent); }

.r-fr1-search__filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.fr1-search__filter {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.fr1-search__filter:hover,
.fr1-search__filter.active {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Autocomplete */
.autocomplete-list {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  z-index: 50;
  max-height: 260px;
  overflow-y: auto;
}


/* ══════════════════════════════════════
   PROVIDERS
══════════════════════════════════════ */
.r-fr1-providers__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.r-fr1-providers__list-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.r-fr1-providers__list-item:hover {
  border-color: var(--accent-border);
  background: #bdbdbd;
}
.r-fr1-providers__list-item--hidden { display: none; }
.r-fr1-providers__list-item--logo img {
  min-width: 100px;
  max-width: 100%;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.r-fr1-providers__list-item--name {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 500;
}
@media (max-width: 600px) {
  .r-fr1-providers__list { grid-template-columns: repeat(3, 1fr); }
}


/* ══════════════════════════════════════
   REVIEWS
══════════════════════════════════════ */
.r-fr1-reviews__carousel {
  position: relative;
  padding: 0 48px 32px;
}
.r-fr1-reviews__viewport {
  overflow: hidden;
}
.r-fr1-reviews__list {
  display: flex;
  gap: 0;
  list-style: none;
  transition: transform var(--transition);
}
.r-fr1-reviews__list > li {
  flex: 0 0 33.3333%;
  padding: 0 6px;
}
.r-fr1-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: border-color var(--transition), color var(--transition), opacity var(--transition);
}
.r-fr1-reviews__nav:hover { border-color: var(--accent-border); color: var(--accent); }
.r-fr1-reviews__nav:disabled { opacity: .35; cursor: default; }
.r-fr1-reviews__nav--prev { left: 0; }
.r-fr1-reviews__nav--next { right: 0; }
.r-fr1-reviews__dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.fr1-reviews__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  padding: 0;
}
.fr1-reviews__dot.active { background: var(--accent); }
@media (max-width: 900px) {
  .r-fr1-reviews__carousel { padding: 0 42px 32px; }
  .r-fr1-reviews__list > li { flex-basis: 33.3333%; padding: 0 4px; }
  .r-fr1-reviews__nav { display: block; }
}
@media (max-width: 600px) {
  .r-fr1-reviews__carousel { padding: 0 36px 32px; }
  .r-fr1-reviews__nav { display: block; width: 30px; height: 30px; font-size: 24px; }
  .r-fr1-reviews__list > li { flex-basis: 100%; padding: 0 3px; }
}
.r-fr1-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition);
}
.r-fr1-review-card:hover { border-color: var(--border-strong); }
.r-fr1-review-card__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.r-fr1-review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.r-fr1-review-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.r-fr1-review-card__rating-date {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.r-fr1-review-card__date {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
}

/* Star rating via --rating CSS var */
.r-fr1-review-card__rating-trust {
  --star-size: 14px;
  --star-color: var(--accent);
  --star-empty: var(--bg-hover);
  display: inline-flex;
  gap: 2px;
}
.r-fr1-review-card__rating-trust::before {
  content: '★★★★★';
  font-size: var(--star-size);
  letter-spacing: 2px;
  background: linear-gradient(
    90deg,
    var(--star-color) calc(var(--rating) / 5 * 100%),
    var(--star-empty) calc(var(--rating) / 5 * 100%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.r-fr1-review-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.r-fr1-review-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.r-fr1-review-card__actions-group { display: flex; gap: 12px; }
.r-fr1-review-card__action {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.r-fr1-review-card__action:hover { color: var(--text-secondary); }
.r-fr1-review-card__action svg { fill: currentColor; }


/* ══════════════════════════════════════
   SEO CONTENT
══════════════════════════════════════ */
.r-fr1-content__section { padding: clamp(24px, 3vw, 48px) 0; }
.r-fr1-content__container .r-content {
  padding: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  word-wrap: break-word;
}
.r-fr1-content__container .r-content > *:first-child { margin-top: 0; }
.r-fr1-content__container .r-content > *:last-child { margin-bottom: 0; }
.r-fr1-content__container .r-content h2 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  /* Item 11: use the body text colour rather than the heading/accent colour
     so content headings are never garish (e.g. bright gold). Hierarchy is
     carried by size + weight. Applies uniformly to SEO and service pages. */
  color: var(--text-secondary);
  /* Item 2: roomier, uniform vertical rhythm on every page. */
  margin: 28px 0 12px;
}
.r-fr1-content__container .r-content h3 {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--text-secondary);
  margin: 24px 0 10px;
}
.r-fr1-content__container .r-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 20px 0 8px;
}
.r-fr1-content__container .r-content p { margin: .75em 0; }
.r-fr1-content__container .r-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.r-fr1-content__container .r-content a:hover { color: var(--accent-hover); }
.r-fr1-content__container .r-content ul,
.r-fr1-content__container .r-content ol {
  margin: .8em 0;
  padding-left: 1.5em;
}
.r-fr1-content__container .r-content ul { list-style: disc; }
.r-fr1-content__container .r-content ol { list-style: decimal; }
.r-fr1-content__container .r-content li { margin: .35em 0; }
.r-fr1-content__container .r-content hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 1.25em 0;
}
.r-fr1-content__container .r-content blockquote {
  margin: 1.1em 0;
  padding: .9em 1em;
  border-left: 3px solid var(--accent-border);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.r-fr1-content__container .r-content table {
  width: 100%;
  border-collapse: collapse;
  /* Item 3: clear vertical separation from surrounding copy. */
  margin: 18px 0;
  font-size: .97em;
}
.r-fr1-content__container .r-content th,
.r-fr1-content__container .r-content td {
  text-align: left;
  padding: 10px 12px;
  /* Item 3: full cell border instead of only a bottom rule. */
  border: 1px solid var(--border-strong);
  vertical-align: top;
}
.r-fr1-content__container .r-content th { color: var(--text-secondary); font-weight: 600; }
.r-fr1-content__container .r-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: var(--radius-md);
}


/* ══════════════════════════════════════
   FAQ / ACCORDION
══════════════════════════════════════ */
.r-fr1-accordion__list { display: flex; flex-direction: column; gap: 8px; }
.r-fr1-accordion__list-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition);
}
.r-fr1-accordion__list-item.active { border-color: var(--accent-border); }
.r-fr1-accordion__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}
.r-fr1-accordion__title:hover { color: var(--accent); }
.r-fr1-accordion__title-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.r-fr1-accordion__list-item.active .r-fr1-accordion__title-icon { transform: rotate(180deg); }
.fr1-accordion__panel {
  padding: 0 20px 16px;
}
.fr1-accordion__panel[hidden] { display: none; }
.r-fr1-accordion__content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.r-fr1-footer {
  background: var(--header-bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  /* Item 10: all footer text centered. */
  text-align: center;
  /* Footer sits on the header brand surface → use the header link colour
     so text stays readable whatever the page palette. */
  color: color-mix(in srgb, var(--header-link) 75%, transparent);
}
.r-fr1-footer__top {
  margin-bottom: 24px;
}
.r-fr1-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  justify-content: center;
}
.r-fr1-footer__nav a {
  font-size: 13px;
  color: color-mix(in srgb, var(--header-link) 80%, transparent);
  text-decoration: none;
  transition: color var(--transition);
}
.r-fr1-footer__nav a:hover { color: var(--header-link); }

.r-fr1-footer__legal {
  font-size: 12px;
  color: color-mix(in srgb, var(--header-link) 68%, transparent);
  line-height: 1.7;
  /* Item 9: no border, no padding. */
  padding: 0;
  border: 0;
  margin-bottom: 20px;
}
.r-fr1-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.r-fr1-footer__copy {
  font-size: 12px;
  color: color-mix(in srgb, var(--header-link) 68%, transparent);
}


/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.r-fr1-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  text-align: center;
  padding: 60px 20px;
}
.r-fr1-404__code {
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
}
.r-fr1-404__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.r-fr1-404__sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}


/* ══════════════════════════════════════
   GO / REDIRECT PAGE
══════════════════════════════════════ */
.r-fr1-go {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}
.r-fr1-go__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: fr1-spin .75s linear infinite;
  margin: 0 auto 20px;
}
@keyframes fr1-spin { to { transform: rotate(360deg); } }
.r-fr1-go p { font-size: 14px; color: var(--text-muted); }


/* Mobile-only adjustments */
@media (max-width: 900px) {
  .r-fr1-hero { padding: 68px 0 0; }
}
@media (min-width: 901px) {
  .r-fr1-hero { padding: 48px 0 0; }
}
@media (max-width: 600px) {
  .r-fr1-reviews__list > li { flex-basis: 100%; }
}

/* Promo codes page layout */
.r-fr1-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.fr1-header__nav > a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--header-link);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.fr1-header__nav > a:hover,
.fr1-header__nav > a.active,
.fr1-header__nav > a[aria-current="page"] {
  color: var(--header-link);
  background: color-mix(in srgb, var(--header-bg) 80%, var(--header-link) 20%);
}
.r-fr1-header__burger {
  display: none;
  cursor: pointer;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
}
.r-fr1-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}
.r-fr1-lang { position: relative; }
.r-fr1-lang__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.r-fr1-lang__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 120px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  z-index: 200;
}
.r-fr1-lang:hover .r-fr1-lang__menu,
.r-fr1-lang.open .r-fr1-lang__menu,
.r-fr1-lang:focus-within .r-fr1-lang__menu { display: block; }
.r-fr1-lang__menu a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}
.r-fr1-lang__menu a:hover { background: var(--bg-hover); color: var(--text-primary); }
.r-fr1-lang__menu a.current { color: var(--accent); }
.r-fr1-mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  padding: 16px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}
.r-fr1-mobile-nav.open { display: flex; flex-direction: column; gap: 8px; }
.r-fr1-mobile-nav a {
  padding: 10px 12px;
  color: var(--header-link);
  border-radius: var(--radius-sm);
}
.r-fr1-mobile-nav a:hover,
.r-fr1-mobile-nav a[aria-current="page"] { background: color-mix(in srgb, var(--header-bg) 80%, var(--header-link) 20%); color: var(--header-link); }
.r-fr1-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 52px;
}
.r-fr1-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
}
.r-fr1-page-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.r-fr1-page-hero__tag { margin-bottom: 14px; }
.r-fr1-page-hero__h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.r-fr1-page-hero__intro {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.r-fr1-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding: 48px 0;
}
.r-fr1-article__content,
.r-fr1-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.r-fr1-article__content { padding: 28px; }
.r-fr1-article__content .r-content { color: var(--text-secondary); line-height: 1.75; }
.r-fr1-article__content .r-content h1,
.r-fr1-article__content .r-content h2,
.r-fr1-article__content .r-content h3 { color: var(--text-primary); margin: 1.25em 0 .55em; }
.r-fr1-article__content .r-content h1:first-child,
.r-fr1-article__content .r-content h2:first-child,
.r-fr1-article__content .r-content h3:first-child { margin-top: 0; }
.r-fr1-article__content .r-content p { margin: 0 0 1em; }
.r-fr1-article__content .r-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.r-fr1-article__sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.r-fr1-sidebar-card { padding: 24px; }
.r-fr1-sidebar-card__label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.r-fr1-sidebar-card__title { margin: 0 0 10px; color: var(--text-primary); font-size: 24px; font-weight: 700; }
.r-fr1-sidebar-card__sub { margin: 0 0 18px; color: var(--text-secondary); line-height: 1.6; }
.r-fr1-sidebar-card__note { margin: 14px 0 0; color: var(--text-muted); font-size: 12px; }
.r-fr1-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 28px;
}
.r-fr1-footer__desc { color: var(--text-secondary); line-height: 1.6; }
.r-fr1-footer__badges, .r-fr1-footer__payments { display: flex; flex-wrap: wrap; gap: 8px; }
.r-fr1-footer__badge { max-width: 90px; object-fit: contain; }
.r-fr1-footer__col-title { margin: 0 0 12px; color: var(--text-primary); font-weight: 700; }
.r-fr1-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.r-fr1-footer__links a { color: var(--text-secondary); }
.r-fr1-footer__links a:hover { color: var(--accent); }
.r-fr1-footer__payment {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}
.r-fr1-footer__payment-name { color: var(--text-secondary); font-size: 13px; }
.r-fr1-footer__bottom {
  color: var(--text-muted);
  font-size: 13px;
}
.r-fr1-footer__copy { margin: 0; }
@media (max-width: 900px) {
  .r-fr1-header__inner { gap: 12px; }
  .fr1-header__nav { display: none; }
  .r-fr1-header__burger { display: block; }
  .r-fr1-page-hero { padding: 68px 0 38px; }
  .r-fr1-article { grid-template-columns: 1fr; padding: 32px 0; }
  .r-fr1-article__sidebar { position: static; }
  .r-fr1-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .r-fr1-page-hero__h1 { font-size: 34px; }
  .r-fr1-article__content { padding: 20px; }
  .r-fr1-footer__grid { grid-template-columns: 1fr; }
}


/* Final mobile and service-page adjustments */
@media (min-width: 901px) {
  .r-fr1-hero { padding: 48px 0 0; }
}
@media (max-width: 900px) {
  .r-fr1-hero { padding-top: 68px; }
}
@media (max-width: 600px) {
  .r-fr1-reviews__list > li { flex: 0 0 100%; max-width: 100%; }
}
.r-fr1-service-hero {
  padding: 72px 0 40px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.r-fr1-service-hero__card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.r-fr1-service-hero__title {
  margin: 0 0 24px;
  color: var(--text-primary);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}
.r-fr1-service-hero__cta { margin: 0 auto; }
.r-fr1-service-content-section { padding: 40px 0 72px; }
.r-fr1-service-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
}
/* Randomized wrapper around the rendered .content body — adds extra
   vertical breathing room on service pages. */
.r-fr1-content-body {
  padding-top: 40px;
  padding-bottom: 40px;
}
.r-fr1-service-content :where(h2,h3,h4) { color: var(--text-secondary); margin: 28px 0 12px; }
.r-fr1-service-content :where(p,li) { line-height: 1.7; }
.r-fr1-service-content a { color: var(--accent); }
@media (max-width: 600px) {
  .r-fr1-service-hero { padding: 92px 0 28px; }
  .r-fr1-service-hero__card { padding: 28px 18px; }
  .r-fr1-service-content { padding: 22px 18px; }
}

/* Service pages layout */
body:has(.r-fr1-service-main) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:has(.r-fr1-service-main) > main.r-fr1-service-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

body:has(.r-fr1-service-main) > .r-fr1-footer {
  flex-shrink: 0;
}

.r-fr1-service-main .r-fr1-service-hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 96px 0 56px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.2), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(0, 214, 255, 0.13), transparent 30%),
    var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.r-fr1-service-main .r-fr1-service-hero > .r-container {
  width: 100%;
}

.r-fr1-service-main .r-fr1-service-hero__card {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.r-fr1-service-main .r-fr1-service-hero__title {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--text-primary);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.r-fr1-service-main .r-fr1-service-hero__cta {
  margin: 0 auto;
}

.r-fr1-service-main .r-fr1-service-content {
  max-width: 860px;
  margin: 32px auto 0;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-align: left;
}

.r-fr1-service-main .r-fr1-service-content :where(h2,h3,h4) {
  color: var(--text-secondary);
  margin: 28px 0 12px;
  line-height: 1.2;
}

.r-fr1-service-main .r-fr1-service-content :where(p,li) {
  line-height: 1.75;
}

.r-fr1-service-main .r-fr1-service-content > *:first-child { margin-top: 0; }
.r-fr1-service-main .r-fr1-service-content > *:last-child { margin-bottom: 0; }
.r-fr1-service-main .r-fr1-service-content a { color: var(--accent); }
.r-fr1-service-content-section { display: contents; }

@media (max-width: 900px) {
  .r-fr1-service-main .r-fr1-service-hero {
    align-items: flex-start;
    padding: 116px 0 34px;
  }

  .r-fr1-service-main .r-fr1-service-hero__card {
    padding: 28px 18px;
  }

  .r-fr1-service-main .r-fr1-service-content {
    margin-top: 24px;
    padding: 20px 16px;
  }
}


/* FR-1 service pages aligned with index hero/content layout */
.r-fr1-service-main {
  flex: 1 0 auto;
  display: block;
}
body:has(.r-fr1-service-main) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body:has(.r-fr1-service-main) > .r-fr1-footer { flex-shrink: 0; }
.r-fr1-service-main .r-fr1-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.2), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(0, 214, 255, 0.13), transparent 30%),
    var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.r-fr1-service-main .r-fr1-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.r-fr1-service-main .r-fr1-hero__content {
  max-width: 860px;
  align-items: center;
}
.r-fr1-service-main .r-fr1-hero__h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.r-fr1-service-main .r-fr1-hero__btns {
  justify-content: center;
}
.r-fr1-service-main .r-fr1-content__section {
  padding: 56px 0 72px;
}
.r-fr1-service-main .r-fr1-content__container .r-content,
.r-fr1-service-main .r-fr1-content__container .r-fr1-service-content {
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .r-fr1-service-main .r-fr1-hero { padding: 96px 0 34px; }
}
@media (max-width: 600px) {
  .r-fr1-service-main .r-fr1-hero { padding: 86px 0 28px; }
  .r-fr1-service-main .r-fr1-content__section { padding: 32px 0 56px; }
}

/* FR-1 final service overrides: use index content/hero styling exactly */
.r-fr1-service-main .r-fr1-hero {
  display: block;
}
.r-fr1-service-main .r-fr1-service-content {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--text-secondary);
  text-align: left;
}
.r-fr1-service-main .r-fr1-content__container .r-fr1-service-content :where(h2,h3,h4) {
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   FR-1 CTA KIT: one-at-a-time pulse + shine, hero offer chip, scratch-ticket band,
   sticky offer, scratch-card popup, game play affordance
══════════════════════════════════════ */
@keyframes f1k-pulse{0%{transform:scale(1);box-shadow:0 0 0 0 color-mix(in srgb,var(--f1-pc,var(--accent)) 60%,transparent)}50%{transform:scale(1.045)}70%{box-shadow:0 0 0 14px color-mix(in srgb,var(--f1-pc,var(--accent)) 0%,transparent)}100%{transform:scale(1);box-shadow:0 0 0 0 color-mix(in srgb,var(--f1-pc,var(--accent)) 0%,transparent)}}
@keyframes f1k-ring{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 70%,transparent)}100%{box-shadow:0 0 0 16px color-mix(in srgb,var(--accent) 0%,transparent)}}
@keyframes f1k-shine{0%,55%{left:-60%}100%{left:130%}}
@keyframes f1k-blink{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes f1k-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes f1k-coin{0%{transform:translate(-70px,8px) rotate(-18deg)}50%{transform:translate(70px,-8px) rotate(18deg)}100%{transform:translate(-70px,8px) rotate(-18deg)}}
@keyframes f1k-glint{0%,60%{transform:translateX(-120%) skewX(-20deg)}100%{transform:translateX(260%) skewX(-20deg)}}
@keyframes f1k-burst{0%{transform:translate(-50%,-50%) scale(.3);opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(400deg) scale(1);opacity:0}}
@keyframes f1k-prize{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.12);opacity:1}100%{transform:scale(1)}}
.is-pulse{animation:f1k-pulse 1.8s ease-out infinite}
.is-pulse:hover,.is-pulse:focus-visible{animation-play-state:paused}
.is-shine{position:relative;overflow:hidden;isolation:isolate}
.is-shine::after{content:"";position:absolute;z-index:-1;top:0;left:-60%;width:40%;height:100%;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:f1k-shine 3.4s ease-in-out infinite}

/* hero offer chip */
.r-f1-chip{display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%;margin:0 0 16px;padding:7px 14px 7px 10px;border-radius:999px;background:var(--accent-dim);border:1px solid var(--accent-border);color:var(--text-primary);font-size:13px;font-weight:600;line-height:1.35}
.r-f1-chip__dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-dim);animation:f1k-blink 1.6s ease-in-out infinite}
.r-fr1-service-main .r-f1-chip{margin-left:auto;margin-right:auto}

/* shared kit button + badge */
.r-f1-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 26px;border:0;border-radius:var(--radius-md);background:var(--accent);color:var(--text-on-accent);font:inherit;font-size:15px;font-weight:700;line-height:1.2;letter-spacing:.02em;white-space:nowrap;cursor:pointer;text-decoration:none;box-shadow:0 4px 18px color-mix(in srgb,var(--accent) 35%,transparent);transition:filter var(--transition),transform var(--transition)}
.r-f1-btn:hover{filter:brightness(1.08)}
.r-f1-badge{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:4px 10px;border-radius:999px;background:var(--accent);color:var(--text-on-accent);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.r-f1-badge__dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:f1k-blink 1.4s ease-in-out infinite}

/* games: pulsing play button on hover, always-on ▶ badge on touch */
.r-fr1-games__list-item--hover svg{box-sizing:content-box;padding:13px 12px 13px 14px;border-radius:50%;background:rgba(0,0,0,.6);border:2px solid var(--accent);transform:scale(.8);transition:transform var(--transition)}
.r-fr1-games__list-item:hover .r-fr1-games__list-item--hover svg{transform:scale(1);animation:f1k-ring 1.4s ease-out infinite}
@media (hover:none){
.r-fr1-games__list-item--hover{opacity:1;background:none;align-items:flex-end;justify-content:flex-end;padding:6px}
.r-fr1-games__list-item--hover svg{width:12px;height:12px;padding:8px 7px 8px 9px;border-width:1.5px;transform:none;box-shadow:0 2px 10px rgba(0,0,0,.45)}
}

/* scratch-ticket CTA band (after SEO content / FAQ) */
.r-f1-band-wrap{width:100%;padding:40px 0 56px;background:var(--bg-base)}
.r-f1-band{position:relative;display:grid;grid-template-columns:1fr;gap:18px;align-items:center;padding:22px;border-radius:var(--radius-xl);border:1px solid var(--accent-border);background:radial-gradient(60% 140% at 100% 0%,var(--accent-dim),transparent 70%),var(--bg-elevated);box-shadow:var(--shadow-card);overflow:hidden}
.r-f1-ticket{position:relative;justify-self:center;width:200px;height:104px;border-radius:12px;background:var(--bg-card);border:2px dashed var(--accent-border);display:grid;place-items:center;overflow:hidden;--c:var(--bg-elevated)}
.r-f1-ticket::before,.r-f1-ticket::after{content:"";position:absolute;top:50%;width:20px;height:20px;margin-top:-10px;border-radius:50%;background:var(--c);border:2px dashed var(--accent-border)}
.r-f1-ticket::before{left:-12px}
.r-f1-ticket::after{right:-12px}
.r-f1-ticket__prize{font-size:40px;line-height:1;filter:drop-shadow(0 4px 10px color-mix(in srgb,var(--accent) 50%,transparent))}
.r-f1-ticket__foil{position:absolute;inset:10px 16px;border-radius:8px;background:repeating-linear-gradient(45deg,rgba(255,255,255,.18) 0 4px,transparent 4px 9px),linear-gradient(135deg,#a9adb6,#eef0f3 35%,#8f949e 55%,#dfe2e7 80%,#a3a8b1);clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,22% 12%,10% 62%,40% 88%,78% 70%,90% 24%,52% 8%,22% 12%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.r-f1-ticket__foil::after{content:"";position:absolute;top:0;left:0;width:35%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:f1k-glint 3s ease-in-out infinite}
.r-f1-ticket__coin{position:absolute;right:16px;bottom:8px;font-size:22px;transform:rotate(-20deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
.r-f1-band__copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.r-f1-band__title{font-size:22px;font-weight:700;line-height:1.25;color:var(--text-primary)}
.r-f1-band__text{font-size:14px;line-height:1.55;color:var(--text-secondary)}
.r-f1-band__btn{justify-self:stretch;padding:14px 28px}
@media(min-width:769px){
.r-f1-band{grid-template-columns:auto minmax(0,1fr) auto;gap:28px;padding:26px 32px}
.r-f1-band__btn{justify-self:auto}
}

/* sticky offer: bottom bar on mobile, corner card with ✕ on desktop */
.r-f1-sticky{position:fixed;z-index:900;left:0;right:0;bottom:0;display:flex;align-items:center;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--bg-elevated);border-top:1px solid var(--accent-border);box-shadow:0 -10px 30px rgba(0,0,0,.35);visibility:hidden;transform:translateY(115%);transition:transform .3s ease,visibility 0s linear .3s}
.r-f1-sticky.is-shown{visibility:visible;transform:none;transition:transform .3s ease}
.is-f1-pop-open .r-f1-sticky,body.no-scroll .r-f1-sticky{visibility:hidden;transform:translateY(115%)}
body.has-f1-sticky{padding-bottom:72px !important}
.r-f1-sticky__x{display:none;position:absolute;z-index:2;top:8px;right:8px;width:26px;height:26px;border-radius:50%;border:0;cursor:pointer;background:color-mix(in srgb,var(--text-primary) 14%,transparent);color:var(--text-primary);font-size:12px;line-height:1}
.r-f1-sticky__x:hover{background:color-mix(in srgb,var(--text-primary) 24%,transparent)}
.r-f1-sticky__icon{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:10px;font-size:22px;background:var(--accent-dim);border:1px dashed var(--accent-border)}
.r-f1-sticky__copy{flex:1 1 auto;min-width:0}
.r-f1-sticky__badge{display:none}
.r-f1-sticky__title{font-size:13px;font-weight:700;line-height:1.3;color:var(--text-primary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.r-f1-sticky__btn{flex:0 0 auto;padding:11px 16px;font-size:13px}
@media(min-width:769px){
.r-f1-sticky{left:auto;right:24px;bottom:24px;width:290px;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border:1px solid var(--accent-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card),0 0 40px var(--accent-dim)}
body.has-f1-sticky{padding-bottom:0 !important}
.r-f1-sticky__x{display:block}
.r-f1-sticky__icon{position:absolute;top:14px;left:16px;width:36px;height:36px;font-size:19px}
.r-f1-sticky__copy{padding:16px 40px 14px 64px;min-height:72px;background:linear-gradient(135deg,var(--accent-dim),transparent);border-bottom:1px solid var(--border)}
.r-f1-sticky__badge{display:inline-flex;margin-bottom:8px}
.r-f1-sticky__title{font-size:15px;-webkit-line-clamp:3}
.r-f1-sticky__btn{margin:14px 16px 16px}
}

/* scratch-card popup */
.r-f1-pop{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:16px}
.r-f1-pop[hidden]{display:none}
.r-f1-pop__shade{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s ease}
.r-f1-pop__box{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:440px;padding:30px 28px 26px;text-align:center;outline:none;border-radius:var(--radius-xl);border:1px solid var(--accent-border);background:radial-gradient(80% 60% at 50% 0%,var(--accent-dim),transparent 70%),var(--bg-elevated);box-shadow:0 20px 60px rgba(0,0,0,.5),0 0 60px var(--accent-dim);opacity:0;transform:translateY(18px) scale(.96);transition:opacity .25s ease,transform .3s ease}
.r-f1-pop.is-open .r-f1-pop__shade,.r-f1-pop.is-open .r-f1-pop__box{opacity:1;transform:none}
.r-f1-pop__x{position:absolute;z-index:3;top:12px;right:12px;width:32px;height:32px;border-radius:50%;border:0;cursor:pointer;background:color-mix(in srgb,var(--text-primary) 12%,transparent);color:var(--text-primary);font-size:14px;line-height:1}
.r-f1-pop__x:hover{background:color-mix(in srgb,var(--text-primary) 22%,transparent)}
.r-f1-pop__title{font-size:26px;font-weight:700;line-height:1.15;color:var(--text-primary);padding:0 18px}
.r-f1-card{position:relative;width:100%;height:150px;border-radius:14px;border:2px dashed var(--accent-border);background:radial-gradient(circle at 50% 40%,var(--accent-dim),transparent 70%),var(--bg-card);overflow:hidden;user-select:none;-webkit-user-select:none}
.r-f1-card__prize{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 18px}
.r-f1-card__gift{font-size:36px;line-height:1}
.r-f1-card__text{font-size:17px;font-weight:700;line-height:1.3;color:var(--text-primary)}
.r-f1-card__foil{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:none;transition:opacity .5s ease}
.r-f1-card__foil:active{cursor:grabbing}
.r-f1-card__glint{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.r-f1-card__glint::after{content:"";position:absolute;top:0;left:0;width:30%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:f1k-glint 2.6s ease-in-out infinite}
.r-f1-card__hint{position:absolute;left:50%;top:50%;margin:-18px 0 0 -18px;width:36px;height:36px;font-size:30px;line-height:36px;pointer-events:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45));animation:f1k-coin 2.2s ease-in-out infinite}
.r-f1-card.is-scratching .r-f1-card__hint,.r-f1-card.is-scratching .r-f1-card__glint{display:none}
.r-f1-pop__reveal{padding:9px 18px;border-radius:999px;border:1px solid var(--border-strong);background:transparent;color:var(--text-primary);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.r-f1-pop__reveal:hover,.r-f1-pop__reveal:focus-visible{border-color:var(--accent);color:var(--text-primary);background:var(--accent-dim)}
.r-f1-pop__cta{display:none;align-self:stretch;padding:15px 30px;font-size:16px}
.r-f1-pop__box.is-revealed .r-f1-card__foil{opacity:0;pointer-events:none}
.r-f1-pop__box.is-revealed .r-f1-card__hint,.r-f1-pop__box.is-revealed .r-f1-card__glint,.r-f1-pop__box.is-revealed .r-f1-pop__reveal{display:none}
.r-f1-pop__box.is-revealed .r-f1-card__gift{animation:f1k-prize .6s ease both}
.r-f1-pop__box.is-revealed .r-f1-pop__cta{display:inline-flex;animation:f1k-in .4s ease .15s both,f1k-pulse 1.8s ease-out .7s infinite}
.r-f1-burst{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:2}
.r-f1-burst i{position:absolute;left:0;top:0;width:8px;height:8px;border-radius:2px;opacity:0;background:var(--accent);--dx:calc(cos(var(--i) * 20deg) * 150px);--dy:calc(sin(var(--i) * 20deg) * 90px)}
.r-f1-burst i:nth-child(3n){background:#ffd54a}
.r-f1-burst i:nth-child(3n+1){background:#fff;border-radius:50%;width:6px;height:6px}
.r-f1-pop__box.is-revealed .r-f1-burst i{animation:f1k-burst 1.1s cubic-bezier(.2,.7,.4,1) calc(var(--i) * 12ms) both}
.is-f1-pop-open,.is-f1-pop-open body{overflow:hidden}
@media(max-width:768px){
.r-f1-pop{align-items:flex-end;padding:0}
.r-f1-pop__box{max-width:none;border-radius:20px 20px 0 0;padding:26px 18px calc(22px + env(safe-area-inset-bottom));transform:translateY(100%)}
.r-f1-pop__title{font-size:22px}
.r-f1-card{height:140px}
}
@media (prefers-reduced-motion:reduce){
.is-pulse,.is-shine::after,.r-f1-chip__dot,.r-f1-badge__dot,.r-f1-ticket__foil::after,.r-f1-card__glint::after,.r-fr1-games__list-item:hover .r-fr1-games__list-item--hover svg{animation:none}
.r-f1-card__hint{animation:none;display:none}
.r-f1-sticky,.r-f1-pop__shade,.r-f1-pop__box,.r-f1-card__foil{transition:none}
.r-f1-pop__box.is-revealed .r-f1-burst i,.r-f1-pop__box.is-revealed .r-f1-card__gift{animation:none}
.r-f1-pop__box.is-revealed .r-f1-pop__cta{animation:none}
}
/* /FR-1 CTA KIT */
