/* Maxibet public-site — dark casino shell, restrained red accents */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --fb-bg: #0a0e17;
  --fb-panel: #121a2b;
  --fb-panel-2: rgba(18, 26, 43, 0.7);
  --fb-border: rgba(255, 255, 255, 0.08);
  --fb-text: #eef1f6;
  --fb-muted: #8b95a8;
  --fb-red: #e30613;
  --fb-red-hover: #c00510;
  --fb-radius: 14px;
}

body:not(.skycrash-user-shell) {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--fb-bg);
  color: var(--fb-text);
  -webkit-font-smoothing: antialiased;
}

/* Buttons — solid red, no glow */
body:not(.skycrash-user-shell) .fb-btn,
body:not(.skycrash-user-shell) .btn--gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  box-shadow: none !important;
  text-shadow: none !important;
}

body:not(.skycrash-user-shell) .fb-btn--primary,
body:not(.skycrash-user-shell) .btn--gradient {
  background: var(--fb-red) !important;
  border: 1px solid var(--fb-red) !important;
  color: #fff !important;
}

body:not(.skycrash-user-shell) .fb-btn--primary:hover,
body:not(.skycrash-user-shell) .btn--gradient:hover {
  background: var(--fb-red-hover) !important;
  border-color: var(--fb-red-hover) !important;
  transform: none;
}

body:not(.skycrash-user-shell) .fb-btn--ghost {
  background: transparent !important;
  border: 1px solid var(--fb-border) !important;
  color: var(--fb-text) !important;
}

body:not(.skycrash-user-shell) .fb-btn--ghost:hover {
  border-color: #4a5568 !important;
  color: #fff !important;
}

body:not(.skycrash-user-shell) .fb-btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Site header — matches logged-in deposit shell */
body:not(.skycrash-user-shell) .sc-user-header {
  background: #0d1220;
  border-bottom: 1px solid rgba(36, 48, 73, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 0;
  z-index: 1000;
}

body:not(.skycrash-user-shell) .sc-user-header .container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

body:not(.skycrash-user-shell) .sc-user-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 10px 0;
}

/* Plane + wordmark logo */
.fendybet-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fb-text);
}

.fendybet-logo__plane {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.fendybet-logo__text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.fendybet-logo__accent {
  color: var(--fb-red);
}

body:not(.skycrash-user-shell) .sc-user-header__logo.fendybet-logo {
  flex-shrink: 0;
}

body:not(.skycrash-user-shell) .fb-footer__logo.fendybet-logo .fendybet-logo__text {
  font-size: 1.25rem;
}

body:not(.skycrash-user-shell) .account-form__logo.fendybet-logo {
  justify-content: center;
  margin-bottom: 8px;
}

body:not(.skycrash-user-shell) .account-form__logo.fendybet-logo .fendybet-logo__plane {
  width: 40px;
  height: 40px;
}

body:not(.skycrash-user-shell) .account-form__logo.fendybet-logo .fendybet-logo__text {
  font-size: 1.35rem;
}

body:not(.skycrash-user-shell) .sc-user-header__toggle {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(36, 48, 73, 0.9);
  border-radius: 8px;
  color: var(--fb-text);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
}

body:not(.skycrash-user-shell) .sc-user-header__collapse {
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1199px) {
  body:not(.skycrash-user-shell) .sc-user-header__collapse {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 16px 0 8px;
    gap: 16px;
  }
}

body:not(.skycrash-user-shell) .sc-user-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 1199px) {
  body:not(.skycrash-user-shell) .sc-user-header__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
}

body:not(.skycrash-user-shell) .sc-user-header__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--fb-muted) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

body:not(.skycrash-user-shell) .sc-user-header__link:hover {
  color: var(--fb-text) !important;
  background: var(--fb-panel);
}

body:not(.skycrash-user-shell) .sc-user-header__link.is-active,
body:not(.skycrash-user-shell) .sc-user-header__link.active {
  color: var(--fb-text) !important;
  background: rgba(37, 99, 235, 0.15);
  font-weight: 600;
}

body:not(.skycrash-user-shell) .sc-user-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  body:not(.skycrash-user-shell) .sc-user-header__actions {
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(36, 48, 73, 0.9);
  }
}

body:not(.skycrash-user-shell) .sc-user-header__balance {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--fb-red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

body:not(.skycrash-user-shell) .sc-user-header__logout {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(36, 48, 73, 0.9);
  color: var(--fb-muted) !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

body:not(.skycrash-user-shell) .sc-user-header__logout:hover {
  color: var(--fb-text) !important;
  border-color: #475569;
}

body:not(.skycrash-user-shell) .sc-user-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--fb-red);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

body:not(.skycrash-user-shell) .sc-user-header__cta:hover {
  background: var(--fb-red-hover);
  color: #fff !important;
}

body:not(.skycrash-user-shell) .sc-user-header__cta.is-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

body:not(.skycrash-user-shell) .sc-user-header__logout.is-active {
  color: var(--fb-text) !important;
  border-color: #475569;
  background: var(--fb-panel);
}

/* Homepage content width */
body.fb-home-page .fb-hero .container,
body.fb-home-page .fb-hub .container,
body.fb-home-page .fb-steps .container,
body.fb-home-page .fb-faq .container,
body.fb-home-page .fb-payments .container,
body.fb-home-page .fb-footer .container,
body.fb-contact-page .fb-contact .container,
body.fb-contact-page .fb-footer .container,
body.fb-public-page .fb-page .container,
body.fb-public-page .fb-hub .container,
body.fb-public-page .fb-about .container,
body.fb-public-page .fb-steps .container,
body.fb-public-page .fb-faq .container,
body.fb-public-page .fb-testimonials .container,
body.fb-public-page .fb-referral-section .container,
body.fb-public-page .fb-cta .container,
body.fb-public-page .fb-footer .container {
  max-width: 1160px;
}

/* Hero */
.fb-hero {
  padding: 32px 0 0;
  margin-bottom: 28px;
}

.fb-hero__panel {
  background: var(--fb-panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: 40px 40px;
  position: relative;
  overflow: visible;
}

.fb-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 56px,
    rgba(255, 255, 255, 0.012) 56px,
    rgba(255, 255, 255, 0.012) 57px
  );
  pointer-events: none;
}

.fb-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.fb-hero__copy {
  padding-right: 12px;
}

.fb-hero__eyebrow {
  color: var(--fb-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fb-hero__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
  max-width: 18ch;
}

.fb-hero__desc {
  color: var(--fb-muted);
  max-width: 52ch;
  margin-bottom: 26px;
  line-height: 1.65;
  font-size: 0.98rem;
}

.fb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fb-hero__preview {
  display: flex;
  justify-content: flex-end;
}

.fb-hero__preview-frame {
  width: min(100%, 320px);
  background: var(--fb-panel-2);
  border: 1px solid var(--fb-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fb-hero__preview-art {
  aspect-ratio: 800 / 520;
  background: #0a0e17;
  border-bottom: 1px solid var(--fb-border);
}

.fb-hero__preview-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fb-hero__preview-foot {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
}

.fb-hero__preview-live {
  grid-row: span 2;
  background: var(--fb-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1;
}

.fb-hero__preview-mult {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.fb-hero__preview-name {
  color: var(--fb-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Game hub layout */
.fb-hub {
  padding: 0 0 40px;
}

.fb-hub > .container > .fb-tabs {
  margin-top: 0;
  padding-top: 4px;
}

.fb-hub__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.fb-hub__sidebar {
  position: sticky;
  top: 88px;
}

.fb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--fb-border);
  padding-bottom: 10px;
}

.fb-tabs__item {
  background: none;
  border: none;
  color: var(--fb-muted);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 0 8px;
  border-bottom: 2px solid transparent;
  cursor: default;
}

.fb-tabs__item.is-active {
  color: var(--fb-text);
  border-bottom-color: var(--fb-red);
}

.fb-tabs__item.is-muted {
  opacity: 0.45;
}

.fb-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fb-game-card {
  background: var(--fb-panel-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fb-game-card--featured {
  grid-column: span 1;
}

.fb-game-card__media {
  display: block;
  position: relative;
  background: var(--fb-panel-2);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fb-game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.fb-game-card__mult {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--fb-border);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 6px;
}

.fb-game-card__media--watch {
  color: var(--fb-muted);
  font-size: 2.5rem;
}

.fb-game-card__media--soon {
  color: var(--fb-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.fb-game-card__body {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.fb-game-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.fb-game-card__sub {
  margin: 0;
  color: var(--fb-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.fb-game-card__body .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 14px;
}

.fb-game-card.is-soon {
  opacity: 0.55;
}

/* Sidebar */
.fb-side-card {
  background: var(--fb-panel-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.fb-side-card__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--fb-text);
}

.fb-winners {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.fb-winners::-webkit-scrollbar {
  width: 4px;
}
.fb-winners::-webkit-scrollbar-thumb {
  background: var(--fb-border);
  border-radius: 4px;
}

.fb-winners__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fb-border);
}

.fb-winners__item:last-child {
  border-bottom: none;
}

.fb-winners__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fb-panel-2);
  border: 1px solid var(--fb-border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fb-red);
  flex-shrink: 0;
}

.fb-winners__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fb-winners__name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-winners__game {
  font-size: 0.72rem;
  color: var(--fb-muted);
}

.fb-winners__amount {
  font-weight: 700;
  font-size: 0.82rem;
  color: #4ade80;
  white-space: nowrap;
}

.fb-winners__empty {
  color: var(--fb-muted);
  font-size: 0.85rem;
  padding: 8px 0;
}

.fb-live-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--fb-border);
  background: var(--fb-panel-2);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}

.fb-live-tile:hover {
  border-color: #4a5568;
  color: inherit;
}

.fb-live-tile img {
  width: 48px;
  height: auto;
}

.fb-live-tile strong {
  display: block;
  font-size: 0.9rem;
}

.fb-live-tile span {
  font-size: 0.75rem;
  color: var(--fb-muted);
}

/* Shared public pages */
body:not(.skycrash-user-shell) section {
  background-color: transparent;
}

body:not(.skycrash-user-shell) .section-heading__title,
body:not(.skycrash-user-shell) .section-title {
  color: var(--fb-text);
}

body:not(.skycrash-user-shell) .section-heading__desc,
body:not(.skycrash-user-shell) .section-desc {
  color: var(--fb-muted);
}

body:not(.skycrash-user-shell) .game-item {
  background: var(--fb-panel-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
  overflow: hidden;
}

body:not(.skycrash-user-shell) .game-item:hover {
  border-color: #4a5568;
  transform: none;
}

body:not(.skycrash-user-shell) .game-item__play {
  background: rgba(0, 0, 0, 0.55);
}

body:not(.skycrash-user-shell) .footer-area {
  background: #0d121c;
  border-top: 1px solid var(--fb-border);
}

body:not(.skycrash-user-shell) .footer-area,
body:not(.skycrash-user-shell) .footer-area a,
body:not(.skycrash-user-shell) .footer-area p {
  color: var(--fb-muted);
}

body:not(.skycrash-user-shell) .accout-bg,
body:not(.skycrash-user-shell) .account {
  background: var(--fb-bg);
}

body:not(.skycrash-user-shell) .account-form {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
}

body:not(.skycrash-user-shell) .form--control {
  background: var(--fb-bg);
  border-color: var(--fb-border);
  color: var(--fb-text);
}

body:not(.skycrash-user-shell) .form--control:focus {
  border-color: var(--fb-red);
  box-shadow: none;
}

body:not(.skycrash-user-shell) .title-color,
body:not(.skycrash-user-shell) .text--base,
body:not(.skycrash-user-shell) .base-color {
  color: var(--fb-red) !important;
}

body:not(.skycrash-user-shell) .bg--base {
  background-color: var(--fb-red) !important;
}

body:not(.skycrash-user-shell) .preloader {
  background: var(--fb-bg);
}

body:not(.skycrash-user-shell) .cookies-card {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
}

/* Hide old banner on pages that still include it */
body:not(.skycrash-user-shell) .banner-section {
  display: none;
}

/* Section headings */
.fb-section-head {
  text-align: center;
  margin-bottom: 28px;
}

.fb-section-head--left {
  text-align: left;
  margin-bottom: 0;
}

.fb-section-head__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fb-section-head__desc {
  color: var(--fb-muted);
  margin: 0;
  max-width: 560px;
}

.fb-section-head--left .fb-section-head__desc {
  max-width: none;
}

/* How it works */
.fb-steps {
  padding: 40px 0;
  border-top: 1px solid var(--fb-border);
}

.fb-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fb-step-card {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.fb-step-card__num {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--fb-panel-2);
  border: 1px solid var(--fb-border);
  color: var(--fb-red);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.fb-step-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

/* FAQ */
.fb-faq {
  padding: 40px 0;
  border-top: 1px solid var(--fb-border);
}

.fb-faq__layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.fb-accordion__item {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border) !important;
  border-radius: 10px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.fb-accordion__btn {
  background: var(--fb-panel) !important;
  color: var(--fb-text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none !important;
  padding: 16px 18px;
}

.fb-accordion__btn:not(.collapsed) {
  border-bottom: 1px solid var(--fb-border);
}

.fb-accordion__btn::after {
  filter: invert(1);
  opacity: 0.6;
}

.fb-accordion__body {
  background: var(--fb-panel-2);
  color: var(--fb-muted);
  line-height: 1.6;
  padding: 16px 18px;
}

/* Payments strip */
.fb-payments {
  padding: 28px 0 36px;
  border-top: 1px solid var(--fb-border);
}

.fb-payments__label {
  text-align: center;
  color: var(--fb-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.fb-payments__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 28px;
}

.fb-payments__item img {
  height: 36px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(20%);
}

/* Footer */
.fb-footer {
  background: #0d121c;
  border-top: 1px solid var(--fb-border);
  padding: 40px 0 24px;
}

.fb-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--fb-border);
}

.fb-footer__logo img {
  height: 34px;
  width: auto;
  margin-bottom: 12px;
}

.fb-footer__tagline {
  color: var(--fb-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.fb-footer__links h5,
.fb-footer__newsletter h5 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.fb-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fb-footer__links li {
  margin-bottom: 8px;
}

.fb-footer__links a {
  color: var(--fb-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.fb-footer__links a:hover {
  color: var(--fb-text);
}

.fb-footer__form {
  display: flex;
  gap: 8px;
}

.fb-footer__input {
  flex: 1;
  background: var(--fb-bg);
  border: 1px solid var(--fb-border);
  border-radius: 8px;
  color: var(--fb-text);
  padding: 10px 12px;
  font-size: 0.88rem;
}

.fb-footer__input:focus {
  outline: none;
  border-color: var(--fb-red);
}

.fb-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: var(--fb-muted);
  font-size: 0.82rem;
}

.fb-footer__bottom p {
  margin: 0;
}

.fb-footer__legal,
.fb-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fb-footer__legal a,
.fb-footer__social a {
  color: var(--fb-muted);
  text-decoration: none;
}

.fb-footer__legal a:hover,
.fb-footer__social a:hover {
  color: var(--fb-text);
}

@media (max-width: 1199px) {
  .fb-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 991px) {
  .fb-hero {
    margin-bottom: 20px;
  }

  .fb-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fb-hero__copy {
    padding-right: 0;
  }

  .fb-hero__title {
    max-width: none;
  }

  .fb-hero__preview {
    justify-content: center;
  }

  .fb-hero__panel {
    padding: 28px 22px;
  }

  .fb-hub__layout {
    grid-template-columns: 1fr;
  }

  .fb-hub__sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .fb-hub__sidebar .fb-side-card {
    margin-bottom: 0;
  }

  .fb-faq__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fb-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 575px) {
  .fb-game-grid {
    grid-template-columns: 1fr;
  }

  .fb-hub__sidebar {
    grid-template-columns: 1fr;
  }

  .fb-steps__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fb-footer__form {
    flex-direction: column;
  }

  .fb-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Contact page */
body.fb-contact-page {
  background: var(--fb-bg);
}

.fb-contact {
  padding: 40px 0 56px;
}

.fb-contact__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.fb-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  min-height: 100%;
}

.fb-contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--fb-panel-2);
  border: 1px solid var(--fb-border);
  color: var(--fb-red);
  font-size: 1.25rem;
}

.fb-contact-card__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fb-text);
}

.fb-contact-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--fb-muted);
}

.fb-contact-card__link {
  display: inline-block;
  font-size: 0.88rem;
  color: #93c5fd;
  text-decoration: none;
  word-break: break-word;
}

.fb-contact-card__link:hover {
  color: var(--fb-text);
}

.fb-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.fb-contact__layout:has(.fb-contact__media:only-child),
.fb-contact__layout:not(:has(.fb-contact__media)) {
  grid-template-columns: 1fr;
}

.fb-contact__panel {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: 28px;
}

.fb-contact__panel-head {
  margin-bottom: 22px;
}

.fb-contact__panel-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fb-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fb-contact__panel-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fb-muted);
  line-height: 1.5;
}

.fb-contact-form .form-group {
  margin-bottom: 18px;
}

.fb-contact-form .form--label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fb-muted);
}

.fb-contact-form .form--control {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: var(--fb-bg);
  border: 1px solid var(--fb-border);
  border-radius: 8px;
  color: var(--fb-text);
  font-size: 0.92rem;
}

.fb-contact-form textarea.form--control {
  min-height: 130px;
  resize: vertical;
}

.fb-contact-form .form--control::placeholder {
  color: #5c6778;
}

.fb-contact-form .form--control:focus {
  border-color: var(--fb-red);
  box-shadow: none;
  outline: none;
}

.fb-contact-form__submit {
  min-height: 46px;
  margin-top: 8px;
  font-weight: 600;
  border-radius: 8px;
}

body.fb-contact-page .btn--base {
  background: var(--fb-red) !important;
  border-color: var(--fb-red) !important;
  color: #fff !important;
}

body.fb-contact-page .btn--base:hover {
  background: var(--fb-red-hover) !important;
  border-color: var(--fb-red-hover) !important;
}

.fb-contact__media {
  border-radius: var(--fb-radius);
  overflow: hidden;
  border: 1px solid var(--fb-border);
  background: var(--fb-panel-2);
  min-height: 100%;
}

.fb-contact__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .fb-contact__info {
    grid-template-columns: 1fr;
  }

  .fb-contact__layout {
    grid-template-columns: 1fr;
  }

  .fb-contact__media {
    max-height: 360px;
  }
}

/* Public content pages */
.fb-page {
  padding: 40px 0 56px;
}

.fb-page--games {
  padding-top: 32px;
}

.fb-page--games .fb-section-head {
  margin-bottom: 20px;
}

.fb-page--games .fb-hub {
  padding-bottom: 0;
}

/* Blog listing */
.fb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fb-blog-card {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fb-blog-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--fb-panel-2);
}

.fb-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.fb-blog-card:hover .fb-blog-card__thumb img {
  transform: scale(1.03);
}

.fb-blog-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.fb-blog-card__date {
  font-size: 0.78rem;
  color: var(--fb-muted);
}

.fb-blog-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.fb-blog-card__title a {
  color: var(--fb-text);
  text-decoration: none;
}

.fb-blog-card__title a:hover {
  color: #93c5fd;
}

.fb-pagination {
  margin-top: 32px;
}

.fb-pagination .pagination {
  justify-content: center;
  gap: 6px;
}

.fb-pagination .page-link {
  background: var(--fb-panel);
  border-color: var(--fb-border);
  color: var(--fb-muted);
  border-radius: 8px;
}

.fb-pagination .page-item.active .page-link {
  background: var(--fb-red);
  border-color: var(--fb-red);
  color: #fff;
}

.fb-pagination .page-link:hover {
  background: var(--fb-panel-2);
  border-color: #4a5568;
  color: var(--fb-text);
}

/* Blog detail */
.fb-blog-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.fb-blog-article {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  overflow: hidden;
}

.fb-blog-article__thumb img {
  width: 100%;
  display: block;
}

.fb-blog-article__content {
  padding: 28px;
}

.fb-blog-article__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--fb-muted);
  margin-bottom: 12px;
}

.fb-blog-article__title {
  margin: 0 0 18px;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--fb-text);
}

.fb-blog-article__body {
  color: var(--fb-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.fb-blog-article__body p,
.fb-blog-article__body li {
  color: var(--fb-muted);
}

.fb-blog-article__body h1,
.fb-blog-article__body h2,
.fb-blog-article__body h3,
.fb-blog-article__body h4 {
  color: var(--fb-text);
}

.fb-blog-article__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--fb-border);
}

.fb-blog-article__share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fb-text);
}

.fb-share-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fb-share-list a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--fb-panel-2);
  border: 1px solid var(--fb-border);
  color: var(--fb-muted);
  text-decoration: none;
}

.fb-share-list a:hover {
  color: var(--fb-text);
  border-color: #4a5568;
}

.fb-latest-blog {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fb-latest-blog__item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fb-border);
}

.fb-latest-blog__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fb-latest-blog__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--fb-border);
}

.fb-latest-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-latest-blog__title {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.fb-latest-blog__title a {
  color: var(--fb-text);
  text-decoration: none;
}

.fb-latest-blog__title a:hover {
  color: #93c5fd;
}

.fb-latest-blog__date {
  font-size: 0.72rem;
  color: var(--fb-muted);
}

/* Legal / policy pages */
.fb-legal {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: 32px;
}

.fb-legal__content {
  color: var(--fb-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.fb-legal__content h1,
.fb-legal__content h2,
.fb-legal__content h3,
.fb-legal__content h4 {
  color: var(--fb-text);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.fb-legal__content p,
.fb-legal__content li {
  color: var(--fb-muted);
}

.fb-legal__content a {
  color: #93c5fd;
}

/* Standalone system pages */
.fb-standalone {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.fb-standalone .container {
  max-width: 560px;
}

.fb-standalone__card {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: 40px 32px;
  text-align: center;
}

.fb-standalone__title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fb-text);
}

.fb-standalone__title--danger {
  color: var(--fb-red);
}

.fb-standalone__icon {
  font-size: 3rem;
  color: var(--fb-red);
  margin-bottom: 20px;
}

.fb-standalone__media img {
  max-width: 200px;
  margin: 0 auto 20px;
}

.fb-standalone__content,
.fb-standalone__message {
  color: var(--fb-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.fb-standalone__content p:last-child {
  margin-bottom: 0;
}

/* CMS page shell */
body.fb-public-page .fb-page--cms {
  padding: 0;
}

body.fb-public-page .fb-page--cms > section:first-child {
  padding-top: 40px;
}

body.fb-public-page .fb-page--cms > section:last-child {
  padding-bottom: 56px;
}

/* About section */
.fb-about {
  padding: 40px 0;
}

.fb-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

.fb-about__media {
  border-radius: var(--fb-radius);
  overflow: hidden;
  border: 1px solid var(--fb-border);
  background: var(--fb-panel);
}

.fb-about__media img {
  display: block;
  width: 100%;
  height: auto;
}

.fb-about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.fb-about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
}

.fb-about-feature__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--fb-panel-2);
  border: 1px solid var(--fb-border);
  color: var(--fb-red);
  font-size: 1.1rem;
}

.fb-about-feature__icon i,
.fb-about-feature__icon span {
  color: var(--fb-red);
}

.fb-about-feature__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fb-text);
  line-height: 1.35;
}

/* Testimonials */
.fb-testimonials {
  padding: 40px 0;
  border-top: 1px solid var(--fb-border);
}

.fb-testimonials__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.fb-testimonials__list {
  display: grid;
  gap: 14px;
}

.fb-testimonial-card {
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: 22px;
}

.fb-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--fb-border);
}

.fb-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-testimonial-card__quote {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fb-muted);
  font-style: normal;
}

.fb-testimonial-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fb-text);
  font-style: normal;
}

/* Referral CTA */
.fb-referral-section {
  padding: 24px 0;
}

.fb-referral__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
}

.fb-referral__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fb-text);
}

.fb-referral__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fb-muted);
  line-height: 1.5;
}

/* CTA panel */
.fb-cta {
  padding: 24px 0 40px;
}

.fb-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px;
  background: var(--fb-panel);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
}

.fb-cta__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fb-text);
}

.fb-cta__desc {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--fb-muted);
  line-height: 1.55;
  max-width: 480px;
}

.fb-cta__media img {
  max-width: 220px;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .fb-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fb-blog-detail {
    grid-template-columns: 1fr;
  }

  .fb-about__layout,
  .fb-testimonials__layout {
    grid-template-columns: 1fr;
  }

  .fb-about__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .fb-blog-grid {
    grid-template-columns: 1fr;
  }

  .fb-legal {
    padding: 22px;
  }
}