/* ==========================================================================
   TuffPuff theme additions. The original site styles are in base.css.
   ========================================================================== */

/* ---------- Fonts (self-hosted, same families as the live casino) ---------- */
@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-700.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: italic; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-semi-condensed-600.woff2) format("woff2"); }

*, body, button, a { font-family: Barlow, Arial, sans-serif; }
.primary-btn, .secondary-btn, .outlined-btn, .cta-btn, .regular-card__button { font-family: "Barlow Semi Condensed", Barlow, Arial, sans-serif; letter-spacing: 0; }
.header-search { font-family: Barlow, Arial, sans-serif; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }

/* ---------- Accessibility ---------- */
.tp-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #59ff8b; color: #18143b; padding: 10px 16px; border-radius: 9999px; font-weight: 600; }
.tp-skip:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #59ff8b; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- Icons ---------- */
.tp-ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav_icon .tp-ic { width: 24px; height: 24px; display: block; }
.footer_top li a i .tp-ic { width: 22px; height: 22px; display: block; }

/* ---------- Header and navigation ---------- */
.header a.primary-btn, .header a.secondary-btn { padding: 9px 14px; }
.header-search.outlined-btn { border-radius: 9999px; height: 40px; }
.tp-burger { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 6px; border-radius: 9999px; color: #fff; font-size: 24px; }
.tp-backdrop { position: fixed; inset: 0; z-index: 129; background: rgba(15, 15, 27, .7); }
.tp-nav-close { color: #fff; }
.sidebar-menu a[aria-current="page"] span { color: #59ff8b; }

@media screen and (max-width: 1023.98px) {
  .tpuff .sidebar { display: block; position: fixed; top: 0; left: 0; z-index: 130; width: 264px; height: 100%; padding: 12px; overflow: auto; background: #18143b; transform: translateX(-105%); transition: transform .2s ease; visibility: hidden; }
  .tp-nav-open .sidebar { transform: none; visibility: visible; }
  .sidebar-menu { display: flex; flex-direction: column; gap: 2px; }
  .sidebar-menu a, .sidebar-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; font-size: 16px; line-height: 20px; text-align: left; }
  .sidebar-menu a img { width: 24px; height: 24px; }
  .sidebar-menu hr { margin-block: 8px; }
  .sidebar-menu .tp-nav-close { justify-content: flex-end; }
  .tp-nav-open { overflow: hidden; }
  .header .header-search { display: none; }
  .header-wrap { gap: 8px; padding-inline: 12px; }
}
@media screen and (min-width: 1024px) {
  .tp-burger, .tp-nav-close, .tp-backdrop { display: none !important; }
}

/* ---------- Homepage banner and quick start ---------- */
.banner .tp-banner-title { text-transform: uppercase; font-size: 24px; line-height: 40px; font-weight: 600; margin-bottom: 4px; font-style: italic; }
.banner .tp-banner-offer { margin-bottom: 16px; }
.banner .cta-btn { display: inline-flex; width: fit-content; }
.banner .cta-btn .tp-ic { width: 18px; height: 18px; }
.banner > img { max-height: 100%; width: auto; }
.tp-quick__title { font-size: 20px; line-height: 24px; font-weight: 600; margin-bottom: 16px; }
.tp-quick ol { list-style: none; counter-reset: q; display: grid; gap: 10px; margin-bottom: 20px; }
.tp-quick li { counter-increment: q; display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 20px; list-style: none; }
.tp-quick li::before { content: counter(q); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #454260; font-weight: 600; font-size: 14px; }
.tp-quick .primary-btn { width: 100%; height: 48px; }
.tp-quick__login { margin-top: 14px; text-align: center; font-size: 15px; color: #b6b5c1; }
.tp-quick__login a { color: #59ff8b; text-decoration: underline; }
.tp-quick__legal { margin-top: 12px; font-size: 13px; line-height: 18px; color: #9894b3; }
.tp-quick__legal a { text-decoration: underline; }

/* ---------- H1 + lead ---------- */
.tp-intro { margin-bottom: 32px; }
.tp-intro h1 { font-size: 28px; line-height: 1.2; font-weight: 600; margin-bottom: 8px; }
.tp-intro p { max-width: 88ch; font-size: 16px; line-height: 24px; color: #b6b5c1; }

/* ---------- Lobby pieces reused on inner pages ---------- */
.games-panel-top h2, .games-panel-top h3 { font-size: 24px; line-height: 1.2; font-weight: 600; }
.game-item .game-provider { display: block; margin-top: 4px; font-size: 14px; line-height: 1rem; color: #75718f; }
.game-img { aspect-ratio: 1 / 1; }
.games-block.tp-grid { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; margin-bottom: 8px; }
.regular-card__text h3 { font-weight: 600; font-size: 16px; line-height: 20px; }
.tp-content .promotions-grid { margin: 8px 0 16px; }
.tp-content .promotions-grid, .tp-tours { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tp-tours { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin: 8px 0 16px; }
.tp-providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); overflow: visible; margin-bottom: 8px; }
.tp-provider { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tp-provider span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.tp-payments { align-items: center; }
.tp-payments li { display: flex; list-style: none; }
.tp-payments img { height: 28px; width: auto; }
.tp-foot-title { text-transform: uppercase; font-size: 16px; font-weight: 600; margin-bottom: 16px; }

/* ---------- Page head ---------- */
.tp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding-top: 12px; font-size: 14px; line-height: 20px; color: #9894b3; }
.tp-crumbs li { display: flex; align-items: center; gap: 8px; list-style: none; }
.tp-crumbs li + li::before { content: "/"; color: #595671; }
.tp-crumbs a:hover { color: #59ff8b; }
.tp-page-head { margin-bottom: 20px; }
.tp-page-head .page-title { display: block; padding-bottom: 8px; font-weight: 600; }
.tp-lead { max-width: 80ch; font-size: 18px; line-height: 28px; color: #d6d4e6; }

/* ---------- Long-form content ---------- */
.tp-seo { display: grid; gap: 16px; margin-top: 16px; min-width: 0; }
.tp-seo > * { min-width: 0; }
.tp-block { border-radius: 16px; background: #2b274966; padding: 24px; }
.tp-block h2 { font-size: 26px; line-height: 1.2; font-weight: 600; margin-bottom: 16px; }
.tp-block h3 { font-size: 20px; line-height: 1.25; font-weight: 600; margin: 24px 0 10px; }
.tp-block p { max-width: 86ch; font-size: 16px; line-height: 24px; margin-bottom: 12px; }
.tp-block > :last-child, .tp-block > div > :last-child { margin-bottom: 0; }
.tp-content a:not([class]), .tp-link { color: #59ff8b; text-decoration: underline; text-underline-offset: 3px; }
.tp-content a:not([class]):hover, .tp-link:hover { text-decoration-thickness: 2px; }
.tp-block ul:not([class]), .tp-block ol:not([class]) { display: block; max-width: 86ch; padding-left: 22px; margin: 0 0 12px; }
.tp-block ul:not([class]) li, .tp-block ol:not([class]) li { display: list-item; font-size: 16px; line-height: 24px; margin-bottom: 6px; }
.tp-block ul:not([class]) li { list-style: disc; }
.tp-block ol:not([class]) li { list-style: decimal; }
.tp-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; font-weight: 600; }
.tp-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.tp-card { background: #2b2749; border-radius: 16px; padding: 20px 24px; }
.tp-card h3 { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0 0 4px; }
.tp-note { border-left: 3px solid #ffe251; background: #2b2749; border-radius: 0 12px 12px 0; padding: 12px 16px; }
.tp-table-wrap { overflow-x: auto; margin: 4px 0 16px; }
.tp-table { display: table; white-space: normal; padding: 0; width: 100%; max-width: none; min-width: 420px; border-collapse: collapse; }
.tp-table tbody { text-align: left; }
.tp-table th, .tp-table td { border: 0; border-bottom: 1px solid #454260; padding: 12px 16px 12px 0; text-align: left; vertical-align: top; font-size: 16px; line-height: 22px; font-weight: 400; }
.tp-table thead th, .tp-table tr:first-child > th { color: #9894b3; font-size: 14px; }
.tp-facts { min-width: 0; }
.tp-facts th, .tp-facts tr:first-child > th { color: #9894b3; font-size: 15px; width: 44%; }
.tp-facts tr:last-child th, .tp-facts tr:last-child td { border-bottom: 0; }
.tp-card .tp-payments { margin-top: 16px; gap: 14px 20px; }
.tp-card .tp-payments img { height: 22px; }
.tp-steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; counter-reset: st; margin: 16px 0; padding: 0; }
.tp-steps li { counter-increment: st; display: block; list-style: none; background: #2b2749; border-radius: 16px; padding: 20px 24px; }
.tp-steps li::before { content: counter(st); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(90deg, #8d1cff, #ff33eb); font-weight: 600; margin-bottom: 12px; }
.tp-steps h3 { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0 0 4px; }
.tp-steps p { font-size: 15px; line-height: 22px; color: #b6b5c1; margin: 0; }
.tp-cta { display: inline-flex; min-width: 160px; padding-inline: 24px; margin: 4px 8px 4px 0; }
.tp-licence { color: #d6d4e6; }
/* WordPress unwraps a paragraph that holds only a shortcode, so the statement styles itself as a paragraph there */
.tp-block > .tp-licence, .tp-block > div > .tp-licence { display: block; max-width: 86ch; font-size: 16px; line-height: 24px; margin-bottom: 12px; }

/* FAQ, in the site's accordion style */
.tp-block.faq h2 { line-height: 1.2; }
.tp-block.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tp-block.faq summary::-webkit-details-marker { display: none; }
.tp-block.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: #9894b3; }
.tp-block.faq details[open] summary::after { content: "–"; }
.tp-block.faq summary h3 { margin: 0; }
.tp-block.faq details[open] summary { margin-bottom: 12px; }
.tp-block.faq .tp-a > :last-child { margin-bottom: 0; }

/* Imported legal text keeps the original accordion and terms styles from base.css */
.tp-legal { overflow-wrap: anywhere; min-width: 0; }
.tp-legal .accordion-item { margin-bottom: 0; }
.tp-legal .accordion-item h2 { margin: 0 0 16px; color: #ffe251; font-size: 18px; line-height: 24px; font-weight: 400; }
.tp-legal p { font-size: 15px; line-height: 22px; }
.tp-legal .table-container table { display: block; }
.tp-legal table th, .tp-legal table td { border: 1px solid #454260; padding: 8px 12px; font-size: 15px; }
.bonus-terms.tp-legal ol { display: block; }
.bonus-terms.tp-legal li { display: list-item; margin-bottom: 8px; }

/* Related guides and call to action */
.tp-related { margin-top: 24px; }
.tp-related h2 { font-size: 22px; line-height: 1.2; font-weight: 600; margin-bottom: 12px; }
.tp-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; list-style: none; }
.tp-related li { display: block; list-style: none; }
.tp-related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 16px; background: #2b2749; font-weight: 600; }
.tp-related a:hover { background: #373354; }
.tp-related .tp-ic { color: #59ff8b; }
.tp-cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(90deg, rgba(136, 0, 255, .55), rgba(36, 0, 255, .25)), #2b2749; }
.tp-cta-strip p { font-size: 18px; line-height: 24px; font-weight: 600; }
.tp-cta-strip p span { display: block; font-size: 13px; line-height: 18px; font-weight: 400; color: #d6d4e6; }
.tp-cta-strip div { display: flex; gap: 8px; }
.tp-cta-strip a { min-width: 120px; padding-inline: 20px; }

/* Footer */
.tp-foot-rg { margin-top: 8px; }
.tp-foot-rg a { text-decoration: underline; }
.copyright { padding-bottom: 32px; }
.copyright .app-container::after { content: ""; display: block; clear: both; }

@media screen and (min-width: 640px) {
  .games-block.tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
}
@media screen and (min-width: 900px) {
  .tp-two { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; }
  .tp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (min-width: 1024px) {
  .tp-intro h1 { font-size: 36px; }
  .tp-block { padding: 32px; }
  .tp-block h2 { font-size: 28px; }
  .games-panel-top h2, .games-panel-top h3 { font-size: 36px; }
  .tp-content .games-panel-top h2, .tp-content .games-panel-top h3 { font-size: 28px; }
  .footer_links { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .games-block.tp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media screen and (min-width: 1280px) {
  .games-block.tp-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* Anchor targets clear the fixed header */
.tp-block[id], .games[id], [id="ios"], [id="android"] { scroll-margin-top: 84px; }

/* Spacing between a game grid and what follows it inside a content block */
.tp-block .games { margin-bottom: 16px; }
.tp-block .categories-block { margin-bottom: 0; }

/* Promotion card button: fits its label */
.regular-card__button { width: auto; min-width: 50%; padding-inline: 18px; white-space: nowrap; }

/* Small screens: keep the banner offer readable over the artwork */
@media screen and (max-width: 639.98px) {
  .banner::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(24, 20, 59, .85) 0%, rgba(24, 20, 59, .5) 42%, rgba(24, 20, 59, 0) 72%); }
  .banner .main-banner-text { position: relative; z-index: 1; }
  .banner > img { max-height: 84%; top: auto; bottom: 0; right: -40px; }
}
