@font-face {
  font-family: "Onlyspins Body";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/onlyspins-body-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Onlyspins Body";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/onlyspins-body-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Onlyspins Body";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/onlyspins-body-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Onlyspins Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/onlyspins-display-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Onlyspins Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/onlyspins-display-latin.woff2") format("woff2");
}

:root {
  --fm-bg: #dce7f4;
  --fm-bg-soft: #edf4fb;
  --fm-panel: #ffffff;
  --fm-panel-soft: #eff5fc;
  --fm-sidebar: #c7d9ee;
  --fm-sidebar-deep: #bbd0e8;
  --fm-line: #afc3db;
  --fm-line-strong: #96aecb;
  --fm-ink: #2f4059;
  --fm-ink-soft: #4d607c;
  --fm-ink-muted: #667995;
  --fm-blue: #2482e5;
  --fm-blue-deep: #1a6bc3;
  --fm-blue-ink: #f5faff;
  --fm-accent: #f0c43f;
  --fm-green: #4caf71;
  --fm-radius-xl: 20px;
  --fm-radius-lg: 16px;
  --fm-radius-md: 12px;
  --fm-shadow: 0 14px 28px rgba(40, 63, 95, 0.14);
  --fm-shadow-soft: 0 8px 18px rgba(39, 61, 92, 0.1);
  --fm-sidebar-width: 258px;
  --fm-topbar-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onlyspins Body", "Segoe UI", sans-serif;
  color: var(--fm-ink);
  background:
    radial-gradient(circle at 8% 0%, #f4f9ff 0, transparent 34%),
    radial-gradient(circle at 100% 0%, #ecf4ff 0, transparent 30%),
    var(--fm-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.fm-layout {
  min-height: 100vh;
}

.fm-sidebar {
  position: fixed;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: min(var(--fm-sidebar-width), 90vw);
  background: linear-gradient(180deg, var(--fm-sidebar), var(--fm-sidebar-deep));
  border-right: 1px solid var(--fm-line-strong);
  padding: 14px 12px;
  overflow-y: auto;
  z-index: 180;
}

.fm-sidebar-inner {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 8px;
}

.fm-sidebar-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.fm-sidebar-head-pad {
  display: none;
  width: 38px;
  height: 38px;
}

.fm-sidebar-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--fm-radius-md);
  padding: 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--fm-line);
}

.fm-sidebar-head .fm-sidebar-logo {
  margin: 0;
  width: 100%;
}

.fm-sidebar-logo img {
  width: 168px;
  height: auto;
  margin: 0 auto;
}

.geo-switch {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 260;
}

.geo-dropdown {
  position: relative;
}

.geo-select--compact {
  display: none;
}

.geo-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #9fb6d2;
  border-radius: 10px;
  background: rgba(245, 250, 255, 0.96);
  color: #2f4562;
  padding: 6px 10px;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(42, 70, 103, 0.12);
}

.geo-toggle:hover {
  background: rgba(237, 246, 255, 0.98);
}

.geo-toggle:focus-visible {
  outline: 2px solid #2a73c5;
  outline-offset: 2px;
}

.geo-toggle-flag,
.geo-option-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #b8cbe2;
  flex-shrink: 0;
}

.geo-toggle-label {
  font-size: 14px;
  white-space: nowrap;
}

.geo-toggle--compact {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

.geo-toggle--compact .geo-toggle-flag {
  width: 24px;
  height: 24px;
}

.geo-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: none;
  border: 1px solid #a8bfd9;
  border-radius: 12px;
  background: rgba(247, 251, 255, 0.98);
  box-shadow: var(--fm-shadow);
  padding: 8px;
  z-index: 280;
}

.geo-dropdown.expanded .geo-menu {
  display: grid;
}

.geo-menu--full {
  min-width: 184px;
  gap: 4px;
}

.geo-menu--compact {
  grid-auto-flow: column;
  grid-auto-columns: 34px;
  width: max-content;
  gap: 6px;
  padding: 6px;
}

.geo-option {
  text-decoration: none;
  color: #2f4562;
  border: 1px solid transparent;
}

.geo-option--full {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.geo-option-label {
  white-space: nowrap;
}

.geo-option--compact {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.geo-option:hover,
.geo-option:focus-visible {
  background: #e9f2fd;
  border-color: #b7cde7;
}

.geo-option.current {
  background: #dbeafa;
  border-color: #90b3da;
}

.fm-sidebar-quick {
  display: grid;
  gap: 8px;
}

.fm-btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.fm-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.fm-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.fm-btn-primary {
  background: linear-gradient(180deg, var(--fm-blue), var(--fm-blue-deep));
  color: var(--fm-blue-ink);
  border: 1px solid #1f5ea7;
}

.fm-btn-muted {
  background: #edf3fb;
  border: 1px solid #afc2d8;
  color: #2f405b;
}

.fm-sidebar-menu {
  display: grid;
  gap: 6px;
}

.fm-side-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--fm-line);
  background: rgba(255, 255, 255, 0.5);
  color: #304660;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.fm-side-item:hover,
.fm-side-item:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  border-color: #8fafcd;
}

.fm-side-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(36, 130, 229, 0.16);
  border: 1px solid rgba(36, 130, 229, 0.32);
}

.fm-side-label {
  font-size: 14px;
}

.fm-sidebar-disclaimer {
  margin-top: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--fm-line);
  background: rgba(255, 255, 255, 0.58);
  color: #5b6f8d;
  font-size: 12px;
}

.fm-main {
  margin-left: var(--fm-sidebar-width);
  min-height: 100vh;
  padding: 12px;
}

.fm-main-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding-bottom: calc(6px + var(--fm-cookie-offset, 0px));
}

.fm-card {
  border-radius: var(--fm-radius-lg);
  border: 1px solid var(--fm-line);
  background: var(--fm-panel);
  box-shadow: var(--fm-shadow-soft);
}

.fm-topbar {
  min-height: var(--fm-topbar-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(180deg, #f7fbff, #e9f2fd);
}

.fm-search {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid #b7cae2;
  border-radius: 10px;
  padding: 0 10px;
  min-height: 46px;
  background: #dce9f9;
}

.fm-search input {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: #31445f;
  width: 100%;
}

.fm-search input:focus {
  outline: none;
}

.fm-search-icon {
  font-size: 18px;
  color: #3b5272;
}

.fm-topbar .fm-btn {
  min-height: 46px;
  min-width: 156px;
}

.fm-hero {
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.fm-hero-media {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(25, 72, 133, 0.6), rgba(18, 45, 84, 0.15)),
    url("content/images/hero-main.webp") center/cover no-repeat;
}

.fm-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fm-hero-cta {
  width: min(540px, calc(100% - 32px));
  border-radius: 16px;
  border: 1px solid #b8cbea;
  background: rgba(16, 52, 105, 0.62);
  backdrop-filter: blur(4px);
  padding: 12px 14px;
  color: #f6fbff;
}

.fm-kicker {
  margin: 0;
  color: #d9e9ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fm-title {
  margin: 8px 0 0;
  font-family: "Onlyspins Display", "Onlyspins Body", sans-serif;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.04;
  text-transform: uppercase;
}

.fm-hero-subline {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.4;
  max-width: 48ch;
}

.fm-hero-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-btn-cta {
  background: linear-gradient(180deg, #ff4ca6, #f13f8f);
  color: #fff8ff;
  border: 1px solid #c42f73;
  min-width: 0;
}

.fm-btn-ghost {
  background: rgba(226, 240, 255, 0.2);
  color: #eef5ff;
  border: 1px solid rgba(219, 233, 252, 0.7);
}

.fm-chip-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.fm-chip {
  border-radius: 10px;
  border: 1px solid #bfd2e7;
  padding: 10px 12px;
  background: #f0f6fd;
  color: #3b4f6c;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
}

.fm-section {
  margin-top: 14px;
  padding: 20px;
}

.fm-section h1,
.fm-section h2,
.fm-section h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: #2c3f5d;
  font-family: "Onlyspins Display", "Onlyspins Body", sans-serif;
}

.fm-section h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.fm-section h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.fm-section h3 {
  font-size: clamp(20px, 2.2vw, 27px);
}

.fm-section p {
  margin: 0 0 14px;
  color: #415775;
  font-size: 17px;
}

.fm-section strong {
  color: #2a4060;
}

.fm-anchor {
  scroll-margin-top: 18px;
}

.fm-accordion details {
  border: 1px solid #b8cce3;
  border-radius: 12px;
  background: #f0f6fd;
  padding: 12px 14px;
}

.fm-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: #2f4868;
}

.fm-accordion ul {
  margin: 12px 0 4px;
  padding-left: 16px;
  display: grid;
  gap: 7px;
}

.fm-accordion a {
  text-decoration: none;
  color: #2f5f95;
}

.fm-accordion a:hover,
.fm-accordion a:focus-visible {
  text-decoration: underline;
}

.fm-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #415775;
  display: grid;
  gap: 7px;
  font-size: 16px;
}

.fm-table-wrap {
  margin: 18px 0;
  border: 1px solid #b3c8df;
  border-radius: 12px;
  overflow-x: auto;
  background: #f4f8fe;
}

.fm-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.fm-table th,
.fm-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #c5d7ea;
  text-align: left;
}

.fm-table th {
  color: #2f4a6d;
  font-weight: 700;
  background: #e4effc;
}

.fm-table td {
  color: #3f5777;
}

.fm-table tr:last-child td {
  border-bottom: 0;
}

.fm-slots-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.fm-slot-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #b8cde5;
  border-radius: 12px;
  background: #f2f7fd;
  box-shadow: 0 6px 14px rgba(39, 68, 103, 0.08);
  overflow: hidden;
}

.fm-slot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
  background: #dde9f8;
}

.fm-slot-body {
  margin-top: 0;
  padding: 10px;
  display: grid;
  gap: 6px;
  border-top: 1px solid #c7d8eb;
  background: #edf4fc;
}

.fm-slot-body .fm-slot-title {
  margin: 0;
  font-size: clamp(12px, 0.72vw, 14px);
  line-height: 1.2;
  text-wrap: balance;
  text-align: center;
  color: #2f4768;
  font-family: "Onlyspins Body", "Segoe UI", sans-serif;
  font-weight: 700;
  min-height: calc(1.2em * 1.5);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fm-slot-text {
  display: none;
}

.fm-slot-body .fm-btn {
  width: 100%;
  padding: 10px 10px;
  font-size: clamp(14px, 0.85vw, 16px);
  line-height: 1.2;
  border-radius: 10px;
}

.fm-cta-banner {
  margin: 18px 0;
  border: 1px solid #b8cde4;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.fm-cta-banner h3 {
  margin: 0;
}

.fm-cta-banner p {
  margin: 8px 0 0;
  color: #f8fbff;
}

.fm-cta-banner-1 {
  background:
    linear-gradient(125deg, rgba(29, 84, 149, 0.74), rgba(20, 53, 97, 0.32)),
    url("content/images/cta-spark.webp") center/cover no-repeat;
}

.fm-cta-banner-2 {
  background:
    linear-gradient(125deg, rgba(91, 49, 22, 0.74), rgba(39, 72, 126, 0.32)),
    url("content/images/cta-boost.webp") center/cover no-repeat;
}

.fm-cta-banner h3,
.fm-cta-banner p {
  color: #f5faff;
}

.fm-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
}

.fm-gallery figure {
  margin: 0;
  width: auto;
  max-width: min(100%, 520px);
  border: 1px solid #b6cae1;
  border-radius: 12px;
  overflow: hidden;
  background: #f7fbff;
}

.fm-gallery img {
  width: auto;
  max-width: min(100%, 520px);
  height: auto;
}

.fm-gallery figcaption {
  padding: 10px 12px;
  color: #4d647f;
  font-size: 14px;
}

.fm-faq {
  display: grid;
  gap: 8px;
}

.fm-faq details {
  border-radius: 12px;
  border: 1px solid #b8cce3;
  background: #f0f6fd;
  padding: 12px 14px;
}

.fm-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #304a6d;
}

.fm-faq p {
  margin: 10px 0 0;
}

.fm-footer {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--fm-line);
  background: var(--fm-panel-soft);
}

.fm-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.fm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-footer a {
  text-decoration: none;
  color: #365c8b;
  font-weight: 600;
}

.fm-footer a:hover,
.fm-footer a:focus-visible {
  text-decoration: underline;
}

.fm-footer small {
  display: block;
  margin-top: 8px;
  color: #5e7391;
}

.fm-cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0 auto;
  max-width: 980px;
  border: 1px solid #9bb6d5;
  border-radius: 12px;
  background: rgba(239, 246, 254, 0.98);
  box-shadow: var(--fm-shadow);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 130;
}

.fm-cookie[hidden] {
  display: none;
}

.fm-cookie p {
  margin: 0;
  color: #3d5676;
  font-size: 14px;
}

.fm-cookie .fm-btn {
  margin-left: auto;
  white-space: nowrap;
}

.fm-note {
  color: #5c7392;
  font-size: 15px;
}

@media (max-width: 1200px) {
  :root {
    --fm-sidebar-width: 240px;
  }

  .fm-main {
    padding: 10px;
  }

  .fm-slots-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .fm-chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .fm-sidebar {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--fm-line-strong);
    overflow: visible;
    z-index: 90;
  }

  .fm-sidebar-inner {
    min-height: 0;
    grid-template-rows: auto auto;
    gap: 8px;
  }

  .fm-sidebar-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 8px;
  }

  .fm-sidebar-head-pad {
    display: block;
    width: 38px;
    height: 38px;
  }

  .fm-sidebar-head .fm-sidebar-logo {
    grid-column: 2;
    justify-self: stretch;
  }

  .geo-switch {
    position: relative;
    grid-column: 3;
    justify-self: end;
    display: block;
  }

  .geo-menu {
    left: auto;
    right: 0;
    transform: none;
  }

  .fm-sidebar-logo {
    padding: 10px;
  }

  .fm-sidebar-logo img {
    width: 156px;
    margin: 0 auto;
  }

  .geo-select--full {
    display: none;
  }

  .geo-select--compact {
    display: block;
  }

  .geo-menu--compact {
    grid-auto-columns: 32px;
    gap: 5px;
  }

  .geo-option--compact {
    width: 32px;
    height: 32px;
  }

  .fm-sidebar-quick {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .fm-sidebar-menu,
  .fm-sidebar-disclaimer {
    display: none;
  }

  .fm-main {
    margin-left: 0;
  }

  .fm-topbar {
    display: none;
  }

  .fm-topbar .fm-btn {
    min-width: 0;
  }

  .fm-hero-media {
    min-height: 300px;
  }

  .fm-hero-overlay {
    padding: 14px;
  }

  .fm-hero-cta {
    width: min(100%, 430px);
    max-width: calc(100vw - 32px);
    margin-inline: auto;
    padding: 9px 11px;
    border-radius: 12px;
  }

  .fm-kicker {
    font-size: 13px;
    line-height: 1.2;
  }

  .fm-title {
    margin-top: 6px;
    font-size: clamp(20px, 6.4vw, 27px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .fm-hero-subline {
    display: none;
    font-size: clamp(14px, 4.8vw, 17px);
    line-height: 1.34;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .fm-hero-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fm-hero-actions .fm-btn {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    font-size: clamp(14px, 4.4vw, 18px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .fm-chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-section {
    padding: 16px;
  }

  .fm-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fm-gallery {
    grid-template-columns: 1fr;
  }

  .fm-cta-banner {
    grid-template-columns: 1fr;
  }

  .fm-cookie {
    left: 8px;
    right: 8px;
    bottom: 8px;
    flex-direction: column;
  }

  .fm-cookie .fm-btn {
    margin-left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fm-btn {
    transition: none;
  }
}
