/* sliding terms panel */

.terms {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  width: 570px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #15191b;
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.45);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
}
.terms--open { transform: translateX(0); visibility: visible; }

.terms__scrim {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: transparent;
}

/* bar */

.terms__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  height: 74px;
  padding: 0 22px 0 18px;
}

.terms__back {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  transition: opacity 0.15s ease;
}
.terms__back:hover { opacity: 0.75; }
.terms__chev {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.terms__tools { display: flex; align-items: center; gap: 8px; }

.terms__tool {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #c9d1ce;
  transition: color 0.15s ease, background 0.15s ease;
}
.terms__tool:hover { color: #fff; background: #232827; }
.terms__tool svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* document */

.terms__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 40px 60px;
  scrollbar-width: thin;
  scrollbar-color: #3a4240 transparent;
}
.terms__scroll::-webkit-scrollbar { width: 8px; }
.terms__scroll::-webkit-scrollbar-thumb { background: #3a4240; border-radius: 4px; }

.terms__doc { color: #9aa3a0; font-size: 15px; line-height: 1.62; }

.terms__h1 {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 22px;
}

.terms__lead {
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.32;
  font-style: normal;
}

.terms__modified {
  margin: 4px 0 26px;
  font-style: italic;
  font-size: 15px;
}

.terms__doc > p { font-style: italic; margin-bottom: 16px; }

.terms__doc h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
  margin: 30px 0 14px;
}

.terms__doc h4 {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  margin: 22px 0 12px;
}

.terms__doc ul { margin: 0 0 16px 20px; font-style: italic; }
.terms__doc li { list-style: disc; margin-bottom: 8px; }

.terms__doc a { color: var(--green); }
.terms__doc a:hover { text-decoration: underline; }

/* responsible gambling message block */

.rg-banner {
  margin-top: 30px;
  padding: 16px 14px;
  background: #fff;
  color: #0b0e0c;
  text-align: center;
  font-style: normal;
}
.rg-banner__title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1px; }
.rg-banner__sub { margin-top: 6px; font-size: 10.5px; line-height: 1.4; }

@media (max-width: 620px) {
  .terms__scroll { padding: 0 22px 40px; }
}
