/* Betnjet Casino FR - theme based on kirgo template, palette sampled from reference screenshots */
:root {
  --bg: #0D1312;
  --panel: #161D1B;
  --panel-2: #18201E;
  --panel-3: #1B2422;
  --active: #222B1C;
  --line: #26302E;
  --lime: #DFFD70;
  --lime-2: #D5F372;
  --lime-dim: #93A94F;
  --btn-dark: #33433F;
  --text: #EEF2F0;
  --muted: #AEB8B4;
  --radius: 24px;
  --container: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: Inter, "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lime);
}

/* ---------------- header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.header--active {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.header__inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header__logo img {
  width: 150px;
  height: auto;
}

.header-navigation {
  order: 3;
  width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.header-navigation::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: 0.2s all;
}

.nav-pill:hover {
  border-color: var(--lime);
  background: var(--active);
}

.nav-pill .icon {
  color: var(--text);
}

.header__actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

/* ---------------- buttons (template classes, recoloured) ---------------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: 0.2s all;
}

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

.btn--reg {
  background: var(--lime);
  color: #0D1312 !important;
  border-color: var(--lime);
}

.btn--reg:hover {
  background: #EAFF9A;
  box-shadow: 0 6px 22px rgba(223, 253, 112, 0.35);
}

.btn--login {
  background: var(--btn-dark);
  color: var(--text) !important;
  border-color: var(--btn-dark);
}

.btn--login:hover {
  background: #3E514C;
}

.btn--invite {
  background: #0D1312;
  color: var(--lime) !important;
  border-color: #0D1312;
}

.btn--invite:hover {
  background: #000;
}

/* ---------------- main / banner ---------------- */
.main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 12px 32px;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 20px;
  aspect-ratio: 16 / 10;
}

.banner--home {
  aspect-ratio: 771 / 1180;
  max-height: 680px;
}

.banner picture,
.banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.banner__img {
  object-fit: cover;
  object-position: var(--mpos, 50% 50%);
}

.banner--home .banner__img {
  object-position: 50% 0%;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 19, 18, 0.96) 0%, rgba(13, 19, 18, 0.7) 38%, rgba(13, 19, 18, 0) 70%);
  pointer-events: none;
}

.banner__body {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.banner__kicker {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.banner__title {
  font-size: clamp(24px, 6vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.banner__sub {
  font-size: clamp(15px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
}

.banner__btn {
  margin-top: 14px;
}

/* ---------------- content card (template .content, recoloured) ---------------- */
.content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  margin: 0 auto 20px;
}

.content--center {
  text-align: center;
}

.content h1,
.content h2,
.content h3 {
  color: #fff;
  line-height: 1.2;
  font-weight: 800;
}

.content h1 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 18px;
}

.content h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  margin: 36px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content h3 {
  font-size: clamp(19px, 2.6vw, 24px);
  margin: 26px 0 10px;
  color: var(--lime-2);
}

.content p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  margin-bottom: 16px;
}

.content a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content a:hover {
  color: #EAFF9A;
}

.content a.btn,
.content a.cards__item {
  text-decoration: none;
}

.content .cards__item,
.content .cards__item:hover {
  color: var(--text);
}

.content ul,
.content ol {
  color: var(--muted);
  margin: 0 0 18px 22px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
}

.content li {
  margin-bottom: 6px;
}

.content li::marker {
  color: var(--lime);
  font-weight: 700;
}

/* ---------------- app promo: photo continued by a bonus panel ---------------- */
.app-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin: 8px 0 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 100% 100%, rgba(223, 253, 112, 0.10), transparent 55%), #101716;
}

.app-promo__media {
  position: relative;
  aspect-ratio: 1588 / 941;
}

.app-promo__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.app-promo__panel {
  position: relative;
  z-index: 1;
  margin-top: -56px;
  padding: 0 20px 22px;
}

.content .app-promo__kicker {
  margin: 0 0 4px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.content .app-promo__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.content .app-promo__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.content .app-promo__list li {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 19, 18, 0.72);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.content .app-promo__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(223, 253, 112, 0.6);
}

.content .app-promo__note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .app-promo {
    grid-template-columns: 58% 42%;
    align-items: stretch;
  }

  .app-promo__media {
    aspect-ratio: auto;
    min-height: 340px;
  }

  .app-promo__media img {
    -webkit-mask-image: linear-gradient(to right, #000 66%, transparent 100%);
    mask-image: linear-gradient(to right, #000 66%, transparent 100%);
  }

  .app-promo__panel {
    margin: 0 0 0 -72px;
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ---------------- table of contents ---------------- */
.toc {
  background: #101716;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
  margin: 8px 0 12px;
}

.toc__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.toc__list {
  margin: 0 0 0 22px !important;
  columns: 1;
  column-gap: 40px;
}

.toc__list li {
  break-inside: avoid;
}

.toc__list a {
  color: var(--text);
  text-decoration: none;
}

.toc__list a:hover {
  color: var(--lime);
}

/* ---------------- tables (fix of template display:block/flex that broke tables) ---------------- */
.table-scroll {
  overflow-x: auto;
  margin: 8px 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.content table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.content tr {
  display: table-row;
}

.content th,
.content td {
  display: table-cell;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
}

.content th {
  color: var(--lime);
  background: #111918;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.content td {
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.content tbody tr:nth-child(even) {
  background: var(--panel-3);
}

.content tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------------- FAQ accordion ---------------- */
.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: #101716;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
}

.faq__question:hover .faq__label {
  color: var(--lime);
}

.faq__icon {
  position: relative;
  flex: 0 0 18px;
  height: 18px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
  background: var(--lime);
  transition: transform 0.2s;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: rotate(90deg) scaleX(0);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.no-js .faq__answer {
  max-height: none;
}

.faq__answer p {
  padding: 0 18px 16px;
  margin: 0;
}

/* ---------------- cards (template, selector fixed from cyrillic to latin) ---------------- */
.cards {
  margin: 8px 0 22px;
}

.cards__title {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cards__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cards__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: #101716;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: 0.2s all;
}

.cards__item:hover {
  border-color: var(--lime);
  background: var(--active);
}

.cards__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--lime);
}

.cards__text {
  font-weight: 600;
  line-height: 1.4;
}

/* ---------------- start (template CTA block, recoloured) ---------------- */
.start {
  margin: 0 auto 20px;
  padding: 34px 20px;
  background: var(--lime);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.start__title {
  color: #0D1312;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.15;
}

.start__description {
  color: #1B2422;
  font-weight: 600;
  max-width: 560px;
}

/* ---------------- footer ---------------- */
.footer {
  background: #0A0F0E;
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer__nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

.footer__nav a:hover {
  color: var(--lime);
}

.footer__text,
.footer__disclaimer {
  max-width: 720px;
  font-size: 14px;
  color: var(--muted);
}

.footer__age {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border: 1px solid var(--lime);
  border-radius: 8px;
  color: var(--lime);
  font-weight: 800;
}

/* ---------------- responsive ---------------- */
@media (min-width: 576px) {
  .cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banner,
  .banner--home {
    max-height: none;
  }

  .banner--home {
    aspect-ratio: 2172 / 631;
  }

  .banner--page {
    aspect-ratio: 2200 / 481;
    min-height: 220px;
  }

  .banner__img,
  .banner--home .banner__img {
    object-position: var(--pos, 50% 50%);
  }

  .banner::after {
    background: linear-gradient(90deg, rgba(13, 19, 18, 0.95) 0%, rgba(13, 19, 18, 0.78) 30%, rgba(13, 19, 18, 0) 58%);
  }

  .banner__body {
    left: 5%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
  }

  .banner--home .banner__title {
    font-size: clamp(28px, 4.2vw, 56px);
  }

  .banner--page .banner__title {
    font-size: clamp(22px, 3vw, 42px);
  }

  .content {
    padding: 36px 40px;
  }

  .toc__list {
    columns: 2;
  }
}

@media (min-width: 992px) {
  .header__inner {
    flex-wrap: nowrap;
    padding: 14px 28px;
  }

  .header__logo img {
    width: 207px;
  }

  .header-navigation {
    order: 0;
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
    overflow: visible;
    flex-wrap: nowrap;
  }

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

  .main {
    padding: 24px 24px 40px;
  }
}

@media (min-width: 992px) and (max-width: 1239px) {
  .header__logo img {
    width: 160px;
  }

  .nav-pill {
    padding: 9px 12px;
    font-size: 14px;
  }

  .header__actions .btn {
    padding: 11px 16px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .header__inner {
    gap: 10px;
    padding: 10px 12px;
  }

  .header__logo img {
    width: 112px;
  }

  .header__actions .btn {
    padding: 9px 10px;
    font-size: 12px;
    border-radius: 12px;
  }

  .nav-pill {
    padding: 8px 12px;
    font-size: 14px;
  }
}
