/* responsibly-play red banner — sits between hero and game card.
   keep contrast high, this is a regulatory must-show */
.rg-alert-wrap {
  background: #050314;
  padding: 36px 0;
}
.rg-alert-box {
  background: linear-gradient(135deg, #c9162a 0%, #8a0c1d 100%);
  border:1px solid #ff3850;
  border-radius: 4px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 18px 40px -20px rgba(201,22,42,.55);
}
.rg-alert-box::before {
  content:'';
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px);
  pointer-events:none;
  border-radius: inherit;
}
.rg-alert__top {
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 14px;
  position:relative;
}
.rg-age-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 52px;
  padding: 6px 12px;
  background: #ffffff;
  color: #c9162a;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  border-radius: 100px;
}
.rg-alert__heading {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  color: #ffffff;
  text-transform: uppercase;
}
.rg-alert__body {
  position:relative;
  display:grid;
  gap: 10px;
}
.rg-alert__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.94);
  font-weight: 400;
}
@media(min-width: 990px) {
  .rg-alert-wrap { padding: 56px 0; }
  .rg-alert-box { padding: 36px 40px; }
  .rg-alert__heading { font-size: 28px; }
  .rg-alert__body p { font-size: 15px; }
}

.rg-foot-wrap {
  display:grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rg-foot-h {
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #cdb8ff;
  margin: 0 0 14px;
}
.rg-foot-h--alt { color: #ff8da3; }
.rg-foot-col--copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.rg-logo-row {
  display:flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  align-items: center;
}
.rg-logo-row li { display:inline-flex; }
.rg-logo-row a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  transition: all .25s ease 0s;
  min-height: 56px;
}
.rg-logo-row a:hover {
  background: rgba(122,78,255,0.12);
  border-color: rgba(122,78,255,0.4);
}
.rg-logo-row img {
  max-height: 36px;
  max-width: 130px;
  min-width: 60px;
  height: auto;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: all .25s ease 0s;
}
/* gambling therapy logo is already white in source — skip the filter */
.rg-logo-row a[href*="gamblingtherapy"] img {
  filter: none;
  opacity: 0.85;
}
.rg-logo-row a:hover img {
  opacity: 1;
}
@media(min-width: 990px) {
  .rg-foot-wrap {
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    padding: 64px 0 40px;
  }
  .rg-foot-col--logos { display:flex; flex-direction:column; align-items:flex-end; }
  .rg-foot-col--logos .rg-logo-row { justify-content:flex-end; }
}

/* age gate overlay — fires once, stored in LS as strad_ageok_v1 */
.ag-layer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.ag-layer[hidden] { display:none !important; }
.ag-layer__bg {
  position:absolute; inset:0;
  background: rgba(4,2,16,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ag-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(160deg, #120a2e 0%, #07051a 100%);
  border: 1px solid rgba(122,78,255,0.4);
  border-radius: 8px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(122,78,255,0.4);
  overflow: hidden;
}
.ag-card__star {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 70% 18%, #cdb8ff, transparent),
    radial-gradient(1px 1px at 88% 62%, #fff, transparent),
    radial-gradient(2px 2px at 12% 78%, #93c5fd, transparent),
    radial-gradient(1px 1px at 50% 88%, #fff, transparent);
  opacity: 0.6;
  pointer-events: none;
}
.ag-pill {
  display:inline-block;
  padding: 5px 14px;
  background: #ff4d6d;
  color: #ffffff;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  border-radius: 100px;
  position: relative;
  z-index: 2;
}
.ag-card__h {
  margin: 16px 0 12px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .04em;
  color: #ffffff;
  position: relative;
  z-index: 2;
}
.ag-card__p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  position: relative;
  z-index: 2;
}
.ag-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: #7a4eff;
  color: #ffffff;
  border: 0;
  border-radius: 100px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background .25s ease 0s;
}
.ag-card__btn:hover { background: #5b32d9; }
.ag-card__foot {
  margin: 14px 0 0;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: .04em;
  position: relative;
  z-index: 2;
}
@media(min-width: 750px) {
  .ag-card { padding: 44px 36px 32px; }
  .ag-card__h { font-size: 30px; }
}

.ck-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 8500;
  padding: 14px 16px;
  background: rgba(7,5,26,0.96);
  border-top: 1px solid rgba(122,78,255,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ck-bar[hidden] { display:none !important; }
.ck-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.ck-bar__txt {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
}
.ck-bar__txt strong {
  display: inline-block;
  margin-right: 4px;
  color: #ffffff;
  font-weight: 600;
}
.ck-bar__txt a {
  color: #cdb8ff;
  text-decoration: underline;
}
.ck-bar__btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ck-btn {
  flex: 1 1 auto;
  padding: 9px 16px;
  border-radius: 100px;
  font-family: Rajdhani, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease 0s;
  white-space: nowrap;
}
.ck-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
}
.ck-btn--ghost:hover { border-color: #7a4eff; color:#ffffff; }
.ck-btn--solid {
  background: #7a4eff;
  color: #ffffff;
  border: 1px solid #7a4eff;
}
.ck-btn--solid:hover { background: #5b32d9; border-color: #5b32d9; }

@media(min-width: 750px) {
  .ck-bar__inner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .ck-bar__txt { flex: 1 1 auto; }
  .ck-bar__btns { flex: 0 0 auto; }
  .ck-btn { flex: 0 0 auto; }
}
