:root {
  color-scheme: dark;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.82);
  --stroke: rgba(255, 255, 255, 0.08);
  --soft-stroke: rgba(255, 255, 255, 0.04);
  --glass: rgba(10, 12, 19, 0.55);
  --button-bg: #9c2da6;
  --button-shadow: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", "Helvetica Neue", sans-serif;
  background: linear-gradient(
      135deg,
      rgba(136, 23, 146, 0.95) 0%,
      rgba(92, 23, 100, 0.92) 5%,
      rgba(55, 28, 63, 0.9) 8%,
      rgba(40, 33, 47, 0.9) 12%,
      rgba(36, 38, 43, 0.96) 20%
    ),
    #24262b;
  color: var(--text-primary);
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: #edb8ff;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.wrapper {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--soft-stroke);
  background: transparent;
  backdrop-filter: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
header.scrolled {
  background: rgb(20, 22, 27);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(5, 0, 15, 0.4);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-family: "Red Hat Display", sans-serif;
}
.nav__logo img {
  width: 20px;
  height: 25px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 400;
  color: #fff;
}
.nav__links a {
  color: #fff;
  text-decoration: none;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav__links a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #edb8ff;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 14px;
  font-weight: 600;
  background: var(--button-bg);
  color: #fff;
  transition: background 0.2s ease;
}
.nav__cta:hover {
  background: #a037a9;
}
.nav__cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.nav__cta:hover::after {
  transform: translateX(3px);
}
main {
  margin-top: 70px;
  margin-bottom: 140px;
}
section {
  padding: 70px 0;
}
section > *:last-child {
  margin-bottom: 0 !important;
}
.section-intro:last-child {
  margin-bottom: 0 !important;
}
.grid:last-child,
.guides:last-child,
.library-content:last-child,
.faq__list:last-child {
  margin-bottom: 0 !important;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 60px;
  border-radius: 40px;
  border: 1px solid var(--soft-stroke);
  background: rgba(5, 6, 10, 0.2);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(156, 45, 166, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  position: relative;
  z-index: 1;
}
.hero__visual {
  position: relative;
  z-index: 1;
}
.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--soft-stroke);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c0c0c0;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 0 12px 0;
}
.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-purple));
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0;
  line-height: 1.15;
}
.hero p {
  color: #c0c0c0;
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn--primary {
  background: var(--button-bg);
  color: #fff;
}
.btn--primary:hover {
  background: #a037a9;
  color: #fff;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn--primary:hover .btn-arrow,
.nav__cta:hover::after {
  transform: translateX(3px);
}
.btn:hover,
.nav__cta:hover {
  color: #fff;
}
.btn--ghost {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text-primary);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-primary);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}
.section-title {
  font-size: 2.25rem;
  margin-bottom: 0;
}
section > .section-title:first-child {
  margin-top: 0;
}
.section-title + .section-intro {
  margin-top: 12px;
}
.section-intro {
  max-width: 720px;
  color: #c0c0c0;
  margin-bottom: 0;
  line-height: 1.4;
}
.section-intro a {
  color: #e086ff;
  font-weight: 600;
}
.section-intro a:hover {
  color: #edb8ff;
}
.section-intro + * {
  margin-top: 40px;
}
.formats {
  border-top: 1px solid var(--soft-stroke);
  padding-top: 100px;
  padding-bottom: 70px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--soft-stroke);
  background: rgba(6, 7, 12, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  width: fit-content;
}
.card__icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card__icon--cash {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.15));
  color: #22c55e;
}
.card__icon--mtt {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(217, 119, 6, 0.15));
  color: #fbbf24;
}
.card__icon--spin {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
  color: #ef4444;
}
.card__icon svg {
  width: 14px;
  height: 14px;
}
.card__type-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}
.card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.card p {
  margin: 0;
  color: #c0c0c0;
  line-height: 1.5;
  flex-grow: 1;
}
.card a {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--button-bg);
  color: #fff;
  transition: background 0.2s ease;
  width: 100%;
}
.card a:hover {
  background: #a037a9;
  color: #fff;
}
.card a::after {
  content: "→";
  transition: transform 0.2s ease;
}
.card a:hover::after {
  transform: translateX(3px);
}
.guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.guide-card {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--soft-stroke);
  background: rgba(6, 7, 12, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.guide-card__cover {
  width: 100%;
  height: 160px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-size: cover;
  background-position: center;
}
.guide-card span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.guide-card h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
}
.guide-card h3 a {
  color: #fff;
}
.guide-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}
.guide-card a {
  color: #b991ff;
  font-weight: 600;
}
.guide-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-card ul li {
  margin: 0;
  padding: 0;
}
.guide-card ul li a {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--button-bg);
  color: #fff;
  transition: background 0.2s ease;
  width: 100%;
}
.guide-card ul li a:hover {
  background: #a037a9;
  color: #fff;
}
.guide-card ul li a::after {
  content: "→";
  transition: transform 0.2s ease;
}
.guide-card ul li a:hover::after {
  transform: translateX(3px);
}
.library-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.library-tab {
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid var(--soft-stroke);
  background: rgba(6, 7, 12, 0.25);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.library-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}
.library-tab.active {
  background: var(--button-bg);
  border-color: var(--button-bg);
  color: #fff;
}
.library-content {
  position: relative;
  min-height: 400px;
}
.library-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.library-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.library-panel__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--soft-stroke);
  background: rgba(6, 7, 12, 0.25);
}
.library-panel__text {
  order: 1;
  padding-top: 0;
}
.library-panel__image {
  order: 2;
}
.library-panel__text h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: #fff;
}
.library-panel__text p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.library-panel__image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--soft-stroke);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.library-panel__image img {
  width: 100%;
  height: auto;
  display: block;
}
.intro-subsection {
  margin-bottom: 48px;
}
.intro-subsection:last-child {
  margin-bottom: 0;
}
.intro-subsection:last-child > *:last-child {
  margin-bottom: 0 !important;
}
.intro-subtitle {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: #fff;
}
h2.intro-subtitle {
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.intro-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 16px;
}
.intro-subsection:last-child p:last-child {
  margin-bottom: 0;
}
.intro-section ul {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.7;
}
.intro-subsection:last-child ul:last-child {
  margin-bottom: 0;
}
.intro-section li {
  margin-bottom: 8px;
}
.intro-section li::marker {
  color: #b991ff;
}
.intro-section strong {
  color: #fff;
  font-weight: 600;
}
.intro-section p:has(img) {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--soft-stroke);
  background: rgba(6, 7, 12, 0.25);
  margin: 24px 0;
  overflow: hidden;
}
.intro-section img {
  width: 100%;
  height: auto;
  display: block;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq__item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft-stroke);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding-left: 48px;
}
.faq__item::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #b991ff;
  background: rgba(185, 145, 255, 0.08);
}
.faq__item h3 {
  margin: 0;
  font-size: 1.1rem;
}
.faq__item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}
.faq__item a {
  color: #e086ff;
  font-weight: 600;
}
.faq__item a:hover {
  color: #edb8ff;
}
.library {
  border-top: 1px solid var(--soft-stroke);
  padding-top: 48px;
}
.library table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.library th,
.library td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.library th {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.library td a {
  color: var(--accent-pink);
  font-weight: 600;
}
.cta {
  text-align: center;
  padding: 80px 30px;
  border-radius: 32px;
  border: 1px solid var(--soft-stroke);
  background: rgba(5, 6, 10, 0.2);
}
.cta h2 {
  margin: 0 0 18px;
  font-size: 2.4rem;
}
.cta p {
  margin: 0 auto 30px;
  max-width: 640px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cta__image {
  width: min(620px, 100%);
  border-radius: 10px;
  border: 1px solid var(--soft-stroke);
  margin: 0 auto 32px;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
footer {
  background: transparent;
  border-top: 1px solid var(--soft-stroke);
  padding: 64px 0 48px;
  color: #c0c0c0;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--soft-stroke);
}
.footer-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-language {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c0c0c0;
  font-weight: 400;
}
.footer-language::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("https://freebetrange.com/assets/icons/fbr-language.svg") center/contain
    no-repeat;
}
.footer-language select,
#language-selector {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}
.footer-payments img {
  height: 22px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-links a {
  color: #c0c0c0;
}
.footer-links a:hover {
  color: #edb8ff;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.footer-logo-unit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c0c0c0;
  margin-bottom: 5px;
}
.footer-logo-unit img {
  width: 20px;
  height: 25px;
}
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.footer-socials img {
  width: 24px;
  height: 24px;
}
.footer-disclaimer {
  flex: 1 1 240px;
  margin: 0;
  margin-left: 25px;
  line-height: 1.5;
  color: #c0c0c0;
}
@media (max-width: 720px) {
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-disclaimer {
    margin-left: 0;
  }
}
@media (max-width: 1024px) {
  .library-panel__content {
    padding: 50px 32px 32px 32px;
  }
  .library-panel__text {
    padding-top: 0;
  }
}
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
    gap: 30px;
  }
  .hero__content {
    display: contents;
  }
  .hero .eyebrow {
    display: none;
  }
  .hero h1 {
    order: 1;
    text-align: center;
  }
  .hero p:not(.eyebrow) {
    order: 2;
    text-align: center;
    margin-bottom: 0;
  }
  .hero__actions {
    order: 3;
    justify-content: center;
    text-align: center;
  }
  .hero__visual {
    order: 4;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-intro {
    font-size: 1rem;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .library-tabs {
    gap: 8px;
  }
  .library-tab {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .library-panel__content {
    gap: 24px;
    padding: 24px;
  }
  .library-panel__text {
    padding-top: 0;
  }
  .library-panel__text h3 {
    font-size: 1.3rem;
  }
  .guides {
    grid-template-columns: 1fr;
  }
  section {
    padding: 50px 0;
  }
  .cta {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
  }
  .cta h2 {
    font-size: 1.5rem;
    order: 1;
  }
  .cta p {
    order: 2;
    margin-bottom: 24px;
  }
  .cta .btn {
    order: 3;
    margin-bottom: 24px;
  }
  .cta__image {
    order: 4;
    margin-bottom: 0;
  }
  footer {
    padding: 40px 0 24px;
  }
  .footer-disclaimer {
    flex: none;
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .wrapper {
    padding: 0 16px;
  }
  .hero {
    padding: 40px 20px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    justify-content: center;
  }
  .hero__actions a {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-intro {
    font-size: 0.95rem;
  }
  .card {
    padding: 20px;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.9rem;
  }
  .library-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }
  .library-tab {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .library-panel__content {
    padding: 20px;
  }
  .library-panel__text h3 {
    font-size: 1.2rem;
  }
  .library-panel__text p {
    font-size: 0.9rem;
  }
  .guide-card {
    padding: 24px;
  }
  .guide-card h3 {
    font-size: 1.2rem;
  }
  .guide-card p {
    font-size: 0.9rem;
  }
  .intro-subtitle {
    font-size: 1.3rem;
  }
  h2.intro-subtitle {
    font-size: 1.5rem;
  }
  .intro-section p {
    font-size: 0.95rem;
  }
  section {
    padding: 40px 0;
  }
  .library table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
