/* Lucky Tony Casino (luckytony.ca) : support page, mobile first. Scoped to .ks- classes. */

/* Active sidebar link */
.ky-menu__link[aria-current="page"] {
  color: var(--ky-blue);
}

.ks-wrap {
  margin-top: 4px;
}

/* ---------- Hero with the two channels ---------- */
.ky-block.ks-hero {
  margin-top: 0;
  padding: 22px 16px;
  border: 1px solid var(--ky-line);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 140, 255, 0.24), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(25, 204, 97, 0.14), transparent 60%),
    var(--ky-panel);
}

:root[data-theme="light"] .ky-block.ks-hero {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 140, 255, 0.1), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(25, 204, 97, 0.08), transparent 60%),
    var(--ky-panel);
}

.ks-hero__head {
  max-width: 720px;
}

.ks-hero__h1 {
  margin-bottom: 10px;
}

.ks-hero__lede {
  margin: 0;
  color: var(--ky-prose);
  font-size: 16px;
  line-height: 1.65;
}

.ks-channels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ks-ch {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--ky-line);
  border-top: 3px solid var(--acc);
  border-radius: 18px;
  background: var(--ky-raised);
  overflow: hidden;
}

.ks-ch__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  background: color-mix(in srgb, var(--acc) 12%, transparent);
  color: var(--acc-ink);
}

.ks-ch__art svg {
  display: block;
  width: 120px;
  height: 80px;
}

.ks-ch__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 16px 20px;
}

.ks-ch__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
  color: var(--acc-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ks-ch__tag .ky-ic {
  width: 14px;
  height: 14px;
}

.ks-ch__title {
  margin: 12px 0 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.ks-ch__text {
  margin: 0;
  color: var(--ky-prose);
  font-size: 15px;
  line-height: 1.6;
}

.ks-ch__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ks-ch__steps li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--ky-line);
  border-radius: 999px;
  background: var(--ky-panel);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.ks-ch__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--acc);
  color: #0a0033;
  font-size: 12px;
  font-weight: 700;
}

.ks-ch a.ks-ch__addr {
  display: block;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 10px 14px;
  border: 1px dashed color-mix(in srgb, var(--acc) 55%, transparent);
  border-radius: 12px;
  background: var(--ky-panel);
  color: var(--acc-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ks-ch a.ks-ch__addr:hover {
  text-decoration: underline;
}

.ks-ch__cta {
  margin-top: auto;
}

.ks-ch__body > .ks-ch__cta {
  margin-top: 18px;
}

.ks-ch__cta--mail {
  min-height: 48px;
  padding: 0 24px;
  border-color: var(--ky-blue);
  background: var(--ky-blue);
  color: #fff;
  font-weight: 700;
}

.ks-ch__cta--mail:hover {
  border-color: #0077d9;
  background: #0077d9;
}

.ks-ch__cta--mail .ky-ic {
  width: 20px;
  height: 20px;
}

.ks-hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--ky-muted);
  font-size: 13px;
  line-height: 18px;
}

.ks-hero__note .ky-tools__age {
  flex: none;
}

/* ---------- Which channel for which question ---------- */
.ks-topics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ks-topic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ky-line);
  border-radius: 16px;
  background: var(--ky-raised);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ks-topic__title {
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.ks-topic__text {
  margin: 0 0 14px;
  color: var(--ky-prose);
  font-size: 14px;
  line-height: 1.6;
}

.ks-pick {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--ky-panel);
  border: 1px solid var(--ky-line);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.ks-pick__k {
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ks-pick--chat .ks-pick__k {
  background: #0f8a43;
}

.ks-pick--mail .ks-pick__k {
  background: #0062b8;
}

.ks-pick--both .ks-pick__k {
  background: #096c73;
}

@media (hover: hover) {
  .ks-topic:hover {
    transform: translateY(-4px);
    border-color: var(--acc);
    box-shadow: var(--ky-lift-shadow);
  }
}

/* ---------- Before you contact support ---------- */
.ks-prep {
  display: grid;
  gap: 18px;
}

.ks-prep__safe {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--ky-line);
  border-left: 3px solid var(--ky-orange);
  border-radius: 12px;
  background: var(--ky-raised);
  color: var(--ky-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.ks-prep__safe .ky-ic {
  width: 20px;
  height: 20px;
  color: var(--ky-ink-orange);
}

.ks-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ks-check;
}

.ks-check__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--ky-line);
  border-radius: 14px;
  background: var(--ky-raised);
}

.ks-check__tick {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ky-green) 18%, transparent);
}

.ks-check__tick::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 6px;
  height: 11px;
  border: solid var(--ky-ink-green);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.ks-check__title {
  margin: 2px 0 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
}

.ks-check__text {
  margin: 0;
  color: var(--ky-prose);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Responsible gaming actions ---------- */
.ks-rg {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ks-rg__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--ky-line);
  border-radius: 14px;
  background: var(--ky-raised);
}

.ks-rg__item .ky-ic {
  width: 22px;
  height: 22px;
  color: var(--acc-ink);
}

.ks-rg__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.ks-rg__text {
  margin: 0;
  color: var(--ky-muted);
  font-size: 13px;
  line-height: 18px;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
  .ks-topics,
  .ks-check {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ks-rg__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (min-width: 640px) {
  .ky-block.ks-hero {
    padding: 28px;
  }

  .ks-ch__art {
    height: 120px;
  }

  .ks-ch__body {
    padding: 20px 22px 24px;
  }

  .ks-ch a.ks-ch__addr {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .ks-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .ky-block.ks-hero {
    padding: 34px;
  }

  .ks-hero__lede {
    font-size: 17px;
  }

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

  .ks-prep {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .ks-topics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ks-topic {
    transition: none;
  }

  .ks-topic:hover {
    transform: none;
  }
}
