/* =========================================================
   BLACKJACK PAGE UI POLISH
   Scoped to /blackjack/ only through page-specific stylesheet
   ========================================================= */

/* ---------- Overall page ---------- */

main.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.page-hero {
  padding: clamp(2.2rem, 6vw, 5rem) 1rem;
  text-align: center;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  opacity: 0.88;
}


/* =========================================================
   DEMO CATALOGUE
   ========================================================= */

#slotslaunch-games {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(2.5rem, 5vw, 5rem);
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 22px;
  overflow: hidden;
}

/* Make catalogue heading easier to read */

#slotslaunch-games h2,
#slotslaunch-games h3 {
  line-height: 1.15;
  text-wrap: balance;
}

/* Search/filter controls */

#slotslaunch-games input,
#slotslaunch-games select {
  min-height: 48px;
  border-radius: 12px;
  font-size: 0.98rem;
}

/* Support different existing catalogue-grid class names */

#slotslaunch-games .game-grid,
#slotslaunch-games .games-grid,
#slotslaunch-games .slotslaunch-grid,
#slotslaunch-games [class*="game-grid"],
#slotslaunch-games [class*="games-grid"] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
  align-items: stretch;
}

/* Game cards */

#slotslaunch-games .game-card,
#slotslaunch-games [class*="game-card"] {
  min-width: 0;
  height: 100%;
  border-radius: 16px !important;
  overflow: hidden;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

@media (hover:hover) {
  #slotslaunch-games .game-card:hover,
  #slotslaunch-games [class*="game-card"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(0,0,0,.32);
  }
}

/* Images */

#slotslaunch-games img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#slotslaunch-games .game-card img,
#slotslaunch-games [class*="game-card"] img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Prevent long titles/providers breaking card */

#slotslaunch-games .game-card *,
#slotslaunch-games [class*="game-card"] * {
  min-width: 0;
}

#slotslaunch-games .game-card h3,
#slotslaunch-games .game-card h4,
#slotslaunch-games [class*="game-card"] h3,
#slotslaunch-games [class*="game-card"] h4 {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

/* Buttons */

#slotslaunch-games button,
#slotslaunch-games a[class*="btn"],
#slotslaunch-games [class*="button"] {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.2;
}


/* =========================================================
   ARTICLE BODY
   ========================================================= */

.blackjack-content-update {
  width: min(1050px, calc(100% - 32px));
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  padding: clamp(1.35rem, 4vw, 3rem);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.025),
      rgba(255,255,255,.008)
    );
  border: 1px solid rgba(255,255,255,.07);
}

.blackjack-content-update .editorial-disclosure {
  margin: 0 0 2.25rem;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid #f4c542;
  border-radius: 10px;
  background: rgba(244,197,66,.07);
}

.blackjack-content-update .editorial-disclosure p {
  margin: 0;
  font-size: 0.96rem;
}

.blackjack-content-update p,
.blackjack-content-update li {
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.8;
}

.blackjack-content-update p {
  margin: 0 0 1.25rem;
}

.blackjack-content-update h2 {
  margin: 3.2rem 0 1.15rem;
  padding-left: 14px;
  border-left: 4px solid #f4c542;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  text-wrap: balance;
}

.blackjack-content-update h3 {
  margin: 2.2rem 0 .9rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.blackjack-content-update h4 {
  margin: 1.75rem 0 .75rem;
  font-size: 1.1rem;
}

.blackjack-content-update ul,
.blackjack-content-update ol {
  margin: .75rem 0 1.5rem;
  padding-left: 1.5rem;
}

.blackjack-content-update li {
  margin-bottom: .55rem;
}

.blackjack-content-update strong {
  color: #ffd66b;
}

.blackjack-content-update a:not(.btn) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* Tables */

.blackjack-content-update .table-container {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.blackjack-content-update table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.blackjack-content-update th,
.blackjack-content-update td {
  padding: .95rem 1rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.blackjack-content-update th {
  font-weight: 800;
}


/* =========================================================
   DEMO JUMP PATHWAY INSIDE ARTICLE
   ========================================================= */

.blackjack-demo-pathway {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(244,197,66,.25);
  background: rgba(244,197,66,.05);
}

.blackjack-demo-pathway p {
  margin-bottom: .8rem;
}


/* =========================================================
   AFFILIATE CTA
   ========================================================= */

.contextual-pathway {
  width: min(1050px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
}

.contextual-pathway__card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.contextual-pathway__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.contextual-pathway__cta-headline {
  line-height: 1.12;
  text-wrap: balance;
}

.contextual-pathway__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  #slotslaunch-games .game-grid,
  #slotslaunch-games .games-grid,
  #slotslaunch-games .slotslaunch-grid,
  #slotslaunch-games [class*="game-grid"],
  #slotslaunch-games [class*="games-grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contextual-pathway__cta {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .page-hero {
    padding: 2.2rem 1rem 2rem;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  .page-hero p {
    font-size: .98rem;
  }

  #slotslaunch-games {
    width: calc(100% - 20px);
    padding: .9rem;
    border-radius: 16px;
  }

  #slotslaunch-games .game-grid,
  #slotslaunch-games .games-grid,
  #slotslaunch-games .slotslaunch-grid,
  #slotslaunch-games [class*="game-grid"],
  #slotslaunch-games [class*="games-grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
  }

  #slotslaunch-games input,
  #slotslaunch-games select {
    width: 100%;
    min-height: 46px;
  }

  #slotslaunch-games .game-card,
  #slotslaunch-games [class*="game-card"] {
    border-radius: 13px !important;
  }

  #slotslaunch-games .game-card h3,
  #slotslaunch-games .game-card h4,
  #slotslaunch-games [class*="game-card"] h3,
  #slotslaunch-games [class*="game-card"] h4 {
    font-size: .9rem;
  }

  #slotslaunch-games button,
  #slotslaunch-games a[class*="btn"],
  #slotslaunch-games [class*="button"] {
    width: 100%;
    min-height: 42px;
    padding-left: .45rem;
    padding-right: .45rem;
    font-size: .78rem;
  }

  .blackjack-content-update {
    width: calc(100% - 20px);
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }

  .blackjack-content-update p,
  .blackjack-content-update li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .blackjack-content-update h2 {
    margin-top: 2.5rem;
    font-size: 1.55rem;
  }

  .blackjack-content-update h3 {
    font-size: 1.22rem;
  }

  .blackjack-content-update ul,
  .blackjack-content-update ol {
    padding-left: 1.25rem;
  }

  .contextual-pathway {
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .contextual-pathway__cta {
    display: block;
  }

  .contextual-pathway__button-wrap {
    margin-top: 1.25rem;
    width: 100%;
  }

  .contextual-pathway__button {
    width: 100%;
  }

}


/* Very small phones */

@media (max-width: 380px) {

  #slotslaunch-games .game-grid,
  #slotslaunch-games .games-grid,
  #slotslaunch-games .slotslaunch-grid,
  #slotslaunch-games [class*="game-grid"],
  #slotslaunch-games [class*="games-grid"] {
    grid-template-columns: 1fr;
  }

  #slotslaunch-games button,
  #slotslaunch-games a[class*="btn"],
  #slotslaunch-games [class*="button"] {
    font-size: .86rem;
  }

}


/* Prevent accidental horizontal overflow */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
}


/* BLACKJACK FAQ ACCORDION 20260922
   ================================================ */

.blackjack-content-update .blackjack-faq {
  margin: 3.5rem 0;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid rgba(151, 71, 255, .32);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(29, 13, 48, .98),
      rgba(17, 8, 31, .98)
    );

  box-shadow:
    0 18px 55px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255,255,255,.025);
}


/* ---------- FAQ heading ---------- */

.blackjack-content-update
.blackjack-faq
.faq-heading {
  margin-bottom: 1.5rem;
}

.blackjack-content-update
.blackjack-faq
.faq-heading > h2 {
  margin: 0;
  padding: 0 0 1.2rem;

  border-left: 0;
  border-bottom:
    1px solid rgba(255, 202, 70, .20);

  color: #f5d67a;

  font-size:
    clamp(1.55rem, 3vw, 2.35rem);

  line-height: 1.15;
  letter-spacing: -.015em;

  text-transform: none;
  text-wrap: balance;
}

.blackjack-content-update
.blackjack-faq
.faq-intro {
  margin: 1rem 0 0;

  max-width: 820px;

  color:
    rgba(255,255,255,.72);

  font-size: .98rem;
  line-height: 1.7;
}


/* ---------- List ---------- */

.blackjack-faq .faq-list {
  display: grid;
  gap: 14px;
}


/* ---------- Card ---------- */

.blackjack-faq .faq-item {
  width: 100%;
  margin: 0;

  border:
    1px solid rgba(151, 71, 255, .35);

  border-radius: 12px;

  background:
    rgba(35, 17, 58, .78);

  overflow: hidden;

  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

@media (hover:hover) {

  .blackjack-faq .faq-item:hover {
    border-color:
      rgba(255, 203, 70, .45);

    background:
      rgba(42, 21, 67, .92);

    transform:
      translateY(-1px);
  }

}


/* ---------- Summary ---------- */

.blackjack-faq summary {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding:
    1.2rem 3.5rem 1.2rem 1.35rem;

  cursor: pointer;

  list-style: none;

  color: #fff;

  font-size:
    clamp(.98rem, 1.25vw, 1.08rem);

  font-weight: 750;
  line-height: 1.45;

  user-select: none;
}

.blackjack-faq summary::-webkit-details-marker {
  display: none;
}

.blackjack-faq summary::marker {
  display: none;
  content: "";
}


/* Plus icon */

.blackjack-faq summary::after {
  content: "+";

  position: absolute;

  top: 50%;
  right: 1.35rem;

  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  transform:
    translateY(-50%);

  border-radius: 50%;

  color: #ffd044;

  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;

  transition:
    transform .2s ease,
    background .2s ease;
}


/* Open state */

.blackjack-faq
.faq-item[open] {
  border-color:
    rgba(255, 205, 73, .45);

  background:
    rgba(42, 20, 66, .94);

  box-shadow:
    0 12px 35px rgba(0,0,0,.20);
}

.blackjack-faq
.faq-item[open]
summary {
  color: #f8df98;
}

.blackjack-faq
.faq-item[open]
summary::after {
  content: "−";

  background:
    rgba(255, 208, 68, .08);
}


/* ---------- Answer ---------- */

.blackjack-faq .faq-answer {
  padding:
    0 1.35rem 1.35rem;

  animation:
    blackjackFaqIn .18s ease-out;
}

.blackjack-faq .faq-answer::before {
  content: "";

  display: block;

  height: 1px;

  margin-bottom: 1.1rem;

  background:
    linear-gradient(
      90deg,
      rgba(255, 206, 73, .22),
      rgba(151, 71, 255, .15),
      transparent
    );
}

.blackjack-content-update
.blackjack-faq
.faq-answer p {
  margin: 0;

  color:
    rgba(255,255,255,.82);

  font-size: 1rem;
  line-height: 1.75;
}


@keyframes blackjackFaqIn {

  from {
    opacity: 0;
    transform:
      translateY(-4px);
  }

  to {
    opacity: 1;
    transform:
      translateY(0);
  }

}


/* Keyboard focus */

.blackjack-faq summary:focus-visible {
  outline:
    2px solid #ffd044;

  outline-offset:
    -3px;

  border-radius:
    10px;
}


/* ======================================================
   TABLET
   ====================================================== */

@media (max-width: 768px) {

  .blackjack-content-update
  .blackjack-faq {
    margin:
      2.5rem 0;

    padding:
      1.2rem;

    border-radius:
      16px;
  }

  .blackjack-content-update
  .blackjack-faq
  .faq-heading > h2 {
    font-size:
      clamp(1.4rem, 5vw, 1.8rem);
  }

  .blackjack-faq
  .faq-list {
    gap:
      10px;
  }

  .blackjack-faq
  summary {
    padding:
      1.05rem 3rem 1.05rem 1rem;

    font-size:
      .96rem;
  }

  .blackjack-faq
  summary::after {
    right:
      1rem;
  }

  .blackjack-faq
  .faq-answer {
    padding:
      0 1rem 1.05rem;
  }

}


/* ======================================================
   SMALL MOBILE
   ====================================================== */

@media (max-width: 480px) {

  .blackjack-content-update
  .blackjack-faq {
    padding:
      .9rem;

    border-radius:
      14px;
  }

  .blackjack-content-update
  .blackjack-faq
  .faq-heading {
    margin-bottom:
      1rem;
  }

  .blackjack-content-update
  .blackjack-faq
  .faq-heading > h2 {
    padding-bottom:
      .85rem;

    font-size:
      1.35rem;
  }

  .blackjack-content-update
  .blackjack-faq
  .faq-intro {
    font-size:
      .9rem;

    line-height:
      1.6;
  }

  .blackjack-faq
  summary {
    min-height:
      58px;

    padding:
      .9rem 2.75rem .9rem .9rem;

    font-size:
      .9rem;

    line-height:
      1.4;
  }

  .blackjack-faq
  summary::after {
    right:
      .85rem;

    width:
      24px;

    height:
      24px;

    font-size:
      1.25rem;
  }

  .blackjack-faq
  .faq-answer {
    padding:
      0 .9rem 1rem;
  }

  .blackjack-content-update
  .blackjack-faq
  .faq-answer p {
    font-size:
      .94rem;

    line-height:
      1.65;
  }

}

