/* InPlay theme — matched from https://www.inplay.ph/ */
:root {
  --ast-global-color-0: #f05027 !important;
  --ast-global-color-1: #f96b47 !important;
  --ast-global-color-2: #ffffff !important;
  --ast-global-color-3: #cecfd2 !important;
  --ast-global-color-4: #ffffff !important;
  --ast-global-color-5: #101730 !important;
  --ast-global-color-6: #f05027 !important;
  --ast-global-color-7: #cecfd2 !important;
  --ast-global-color-8: #232443 !important;
  --e-global-color-astglobalcolor0: #f05027 !important;
  --e-global-color-astglobalcolor1: #f96b47 !important;
  --e-global-color-astglobalcolor2: #ffffff !important;
  --e-global-color-astglobalcolor3: #cecfd2 !important;
  --e-global-color-astglobalcolor4: #ffffff !important;
  --e-global-color-astglobalcolor5: #101730 !important;
  --e-global-color-astglobalcolor6: #f05027 !important;
  --e-global-color-astglobalcolor8: #232443 !important;
  --ip-nav: #232443;
  --ip-topbar: #f05027;
  --ip-accent: #f05027;
  --ip-accent-light: #f96b47;
  --ip-bg: #101730;
  --ip-panel: #232443;
  --ip-muted: #232a63;
  --ip-border: rgba(255, 255, 255, 0.1);
  --ip-text: #ffffff;
  --ip-text-soft: #cecfd2;
  --ip-link: #feee95;
  --ip-gold: linear-gradient(180deg, #ffd238, #f05027 60%, #d92d20);
}

html,
body,
#page,
.site,
.site-content,
.ast-container,
.ast-plain-container,
.ast-page-builder-template,
.ast-separate-container,
#content,
#primary,
.site-main,
.entry-content,
.elementor,
.elementor-88,
.e-con,
.e-con-inner,
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
  background-color: var(--ip-bg) !important;
  color: var(--ip-text) !important;
}

.skip-link.screen-reader-text {
  position: absolute !important;
  top: -1000px !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}
.skip-link.screen-reader-text:focus {
  top: 0 !important;
  left: 6px !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  z-index: 100000 !important;
  padding: 8px 12px !important;
  background: var(--ip-accent) !important;
  color: #fff !important;
}

#masthead .ast-header-html .topbar-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 6px;
}
#masthead .top-btn,
#masthead .top-btn-sm {
  display: inline-block !important;
  min-width: 96px;
  text-align: center;
  margin: 0 !important;
}
#masthead .site-header-primary-section-right,
#masthead .ast-builder-html-element,
#masthead .ast-header-html {
  background: transparent !important;
  box-shadow: none !important;
}
#masthead .main-header-bar,
#masthead .ast-primary-header-bar {
  overflow: visible !important;
}
.ast-builder-menu-1 .main-header-menu.ast-nav-menu {
  flex-wrap: wrap !important;
  justify-content: flex-end;
}

.ast-primary-header-bar,
.main-header-bar,
#masthead .ast-primary-header-bar {
  background-color: var(--ip-nav) !important;
  background-image: none !important;
  border-bottom: 2px solid var(--ip-accent) !important;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.12);
}

/* Periwinkle strip above the navy nav, mirroring the site's two-tier header */
#ast-desktop-header .ast-main-header-wrap {
  border-top: 6px solid var(--ip-topbar);
}

.ast-below-header-bar,
.ast-header-break-point .ast-below-header-bar {
  background-color: var(--ip-accent) !important;
  background-image: none !important;
}

.ast-builder-menu-1 .menu-item > .menu-link { color: #ffffff !important; }
.ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
  color: #feee95 !important;
}
.ast-builder-menu-1 .sub-menu { border-color: var(--ip-accent) !important; }

.top-btn {
  background: linear-gradient(90deg, #f05027, #f96b47) !important;
  color: #fff !important;
  border: none !important;
}
.top-btn-sm { background: #fff !important; color: #232443 !important; }
.top-btn:hover,
.top-btn-sm:hover {
  background: #f96b47 !important;
  color: #101730 !important;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal,
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  color: #feee95 !important;
  fill: #feee95 !important;
}

.site-logo-img .custom-logo {
  max-height: 52px;
  width: auto;
  height: auto;
}

.ph-page,
.ph-page-content {
  background-color: var(--ip-bg) !important;
  color: var(--ip-text) !important;
}

.ph-center-layout,
.ph-center-layout .e-con-inner,
.ph-center-layout .e-con,
.ph-center-layout .elementor-widget,
.ph-center-layout .elementor-widget-heading,
.ph-center-layout .elementor-widget-text-editor,
.ph-center-layout .elementor-widget-image {
  text-align: center !important;
}

.ph-center-layout .elementor-heading-title,
.ph-center-layout h1,
.ph-center-layout h2,
.ph-center-layout h3,
.ph-center-layout h4 {
  text-align: center !important;
  color: var(--ip-text) !important;
}

.ph-center-layout .elementor-widget-text-editor,
.ph-center-layout .elementor-widget-text-editor p,
.ph-center-layout .elementor-widget-text-editor li,
.ph-card p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  line-height: 1.75;
  color: var(--ip-text-soft) !important;
}

.ph-center-layout .elementor-widget-text-editor strong {
  color: var(--ip-accent) !important;
}

/* The surrounding column is centered, which would leave list markers stranded at the
   far left. Shrink-wrapping the list and centering that block keeps them next to the text. */
.ph-center-layout .elementor-widget-text-editor ul,
.ph-center-layout .elementor-widget-text-editor ol {
  display: table;
  margin: 0.5rem auto 1.3rem;
  padding-left: 1.35rem;
  max-width: min(100%, 760px);
  text-align: left !important;
}

.ph-center-layout .elementor-widget-text-editor ul li,
.ph-center-layout .elementor-widget-text-editor ol li {
  text-align: left !important;
  margin: 0.3rem 0;
}

/* Internal category pages use the same 1240px column as the article and header. */
.ph-subpage-content {
  width: min(100%, 1240px) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ph-subpage-layout .elementor-heading-title,
.ph-subpage-layout h1,
.ph-subpage-layout h2,
.ph-subpage-layout h3,
.ph-subpage-layout h4,
.ph-subpage-layout .elementor-widget-text-editor,
.ph-subpage-layout .elementor-widget-text-editor p,
.ph-subpage-layout .elementor-widget-text-editor li {
  max-width: 100%;
  text-align: left !important;
}

.ph-subpage-layout .elementor-widget-text-editor ul,
.ph-subpage-layout .elementor-widget-text-editor ol {
  display: block;
  max-width: 100%;
  margin: 0.5rem 0 1.3rem;
}

.ph-subpage-layout .ph-hero-panel,
.ph-subpage-layout .ph-articles {
  max-width: 100%;
}

.ph-subpage-layout .ph-hero-panel {
  aspect-ratio: 1240 / 560;
}

/* Elementor ships `.elementor img{height:auto;max-width:100%}`, which outranks a
   single class selector. These use img.<class> plus !important to stay in control. */
img.ph-banner {
  display: block;
  width: auto !important;
  max-width: min(100%, 720px) !important;
  height: auto !important;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  object-fit: contain;
}

/* Wide hero banner. The panel spans the content column at a 1.9:1 ratio; the artwork
   sits on top at its own aspect ratio so it is never cropped, and a blurred copy of
   the same image fills the leftover space instead of flat letterbox bars. */
.ph-hero-panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 1106 / 578;
  margin: 1rem auto 1.6rem;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #232443 0%, #101730 55%, #0c0e12 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.ph-hero-panel::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--ph-hero-bg);
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.45) brightness(0.78);
  transform: scale(1.06);
  z-index: -2;
}

.ph-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 30%, rgba(12, 14, 18, 0.5) 100%);
  z-index: -1;
}

/* Elementor ships `.elementor img{height:auto;max-width:100%}`, which outranks a
   single class selector, so these need img.<class> plus !important. */
/* The source artwork is portrait or square while the banner is close to 2:1, so the
   height fills the panel and scaleX widens it. A relative scale keeps the stretch
   consistent across images with different native aspect ratios. */
img.ph-page-hero,
img.ph-article-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(1.8);
  width: auto !important;
  height: 96% !important;
  max-width: 52% !important;
  margin: 0;
  border-radius: 10px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}

img.ph-content-img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 620px) !important;
  max-height: 340px !important;
  margin: 0.85rem auto 1.15rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.ph-card {
  background: var(--ip-panel) !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  margin: 18px auto !important;
  max-width: 980px;
  border: 1px solid var(--ip-border);
}

.ph-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px auto;
  max-width: 980px;
}
.ph-icon-item {
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  padding: 18px 14px;
}
.ph-icon-item img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.ph-icon-item h4 {
  margin: 0 0 8px;
  color: var(--ip-accent) !important;
}
.ph-icon-item p {
  margin: 0;
  line-height: 1.55;
  color: var(--ip-text-soft) !important;
}

.ph-cta {
  display: inline-block;
  margin: 0.5rem 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #f05027, #f96b47);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}
.ph-cta-outline {
  background: transparent;
  border: 1px solid var(--ip-accent);
  color: var(--ip-accent) !important;
}
.ph-cta:hover,
.ph-cta-outline:hover {
  background: #f96b47 !important;
  color: #101730 !important;
  border-color: #f96b47;
}

.ph-faq {
  max-width: 920px;
  margin: 1.25rem auto;
  text-align: left !important;
}
.ph-faq details {
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: 10px;
  margin: 0.55rem 0;
  padding: 0.75rem 1rem;
}
.ph-faq summary {
  cursor: pointer;
  color: var(--ip-text);
  font-weight: 600;
}
.ph-faq details p {
  margin: 0.65rem 0 0.2rem !important;
  text-align: left !important;
  max-width: 100% !important;
  color: var(--ip-text-soft) !important;
}

.ph-note {
  max-width: 920px;
  margin: 1.5rem auto;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--ip-accent);
  background: var(--ip-muted);
  color: var(--ip-text) !important;
  text-align: left !important;
}

.ph-center-layout .elementor-widget-text-editor table,
.ph-table table {
  width: min(100%, 920px);
  margin: 1.25rem auto;
  border-collapse: collapse;
  text-align: left;
  color: var(--ip-text);
  font-size: 0.95rem;
}
.ph-center-layout .elementor-widget-text-editor th,
.ph-center-layout .elementor-widget-text-editor td,
.ph-table th,
.ph-table td {
  border: 1px solid var(--ip-border);
  padding: 0.65rem 0.85rem;
  background: var(--ip-panel);
}
.ph-center-layout .elementor-widget-text-editor th,
.ph-table th {
  background: #373a41;
  color: #fff;
  text-align: center;
}
.ph-center-layout .elementor-widget-text-editor td,
.ph-table td {
  text-align: center;
}

/* Articles grid */
.ph-articles {
  max-width: 980px;
  margin: 2.5rem auto 1rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--ip-border);
  text-align: center;
}
.ph-articles > h2 {
  margin: 0 0 0.4rem;
  color: var(--ip-text) !important;
}
.ph-articles > p {
  margin: 0 auto 1.25rem;
  max-width: 640px;
  color: var(--ip-text-soft) !important;
}
.ph-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.ph-article-card {
  display: flex;
  flex-direction: column;
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ph-article-card:hover {
  border-color: var(--ip-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 80, 39, 0.15);
}
.ph-article-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.ph-article-card .ph-article-body {
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ph-article-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: var(--ip-text) !important;
  text-align: left !important;
  line-height: 1.35;
}
.ph-article-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ip-text-soft) !important;
  text-align: left !important;
  max-width: 100% !important;
}
.ph-article-card .ph-article-more {
  margin-top: 0.75rem;
  color: var(--ip-accent) !important;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Dedicated article page. Widths track the site header container (.ast-container,
   1240px) so the hero and body text line up with the logo and the nav buttons. */
.ph-article-layout .e-con-inner {
  max-width: min(100%, 1240px);
}

.ph-article-page {
  max-width: min(100%, 1240px);
  margin: 0 auto;
  text-align: left !important;
}

.ph-article-page .ph-hero-panel {
  max-width: 100%;
  aspect-ratio: 1240 / 560;
}
.ph-article-page h1,
.ph-article-page h2,
.ph-article-page h3 {
  text-align: left !important;
  color: var(--ip-text) !important;
}
.ph-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ip-border);
  color: var(--ip-text-soft);
  font-size: 0.92rem;
}
.ph-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ph-article-page p,
.ph-article-page li {
  text-align: left !important;
  max-width: 100% !important;
  color: var(--ip-text) !important;
  line-height: 1.8;
}
.ph-article-page .ph-pullquote {
  margin: 1.75rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--ip-accent);
  background: var(--ip-muted);
  font-size: 1.08rem;
  color: var(--ip-text) !important;
  font-weight: 600;
}

/* Footer */
.ph-site-footer,
.ph-site-footer .site-primary-footer-wrap,
.ph-site-footer .site-below-footer-wrap,
#colophon,
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap {
  background-color: #232443 !important;
  background-image: none !important;
}
#colophon {
  border-top: 6px solid var(--ip-accent);
  color: var(--ip-text-soft) !important;
}
#colophon a,
#colophon .ast-footer-copyright p {
  color: var(--ip-text-soft) !important;
}
#colophon a:hover {
  color: #ffffff !important;
}
.ph-footer {
  background: #232443;
  color: #e8eef2;
  padding: 2.5rem 1.25rem 1.25rem;
  border-top: 6px solid #f05027;
}
.ph-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  text-align: left;
}
.ph-footer-brand .ph-footer-logo img {
  max-height: 64px;
  width: auto;
  height: auto;
}
.ph-footer-brand p {
  margin: 0.85rem 0 0;
  line-height: 1.7;
  color: #94969c;
  font-size: 0.95rem;
  max-width: 360px;
}
.ph-footer-heading {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f05027 0%, #d92d20 100%);
  border: 1px solid #f96b47;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
}
.ph-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-footer-links li {
  border-bottom: 1px solid #373a41;
}
.ph-footer-links a {
  display: block;
  padding: 0.7rem 0.15rem;
  color: #e8eef2 !important;
  text-decoration: none !important;
  font-size: 0.95rem;
}
.ph-footer-links a::before {
  content: "> ";
  color: #94969c;
}
.ph-footer-links a:hover {
  color: #feee95 !important;
}
.ph-footer-info {
  list-style: disc;
  margin: 0;
  padding-left: 1.15rem;
  color: #94969c;
}
.ph-footer-info li {
  margin: 0.55rem 0;
  line-height: 1.55;
  font-size: 0.95rem;
}
.ph-footer-info a {
  color: #feee95 !important;
  word-break: break-all;
}
.ph-footer-copy {
  max-width: 1100px;
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #373a41;
  text-align: center;
  color: #94969c;
  font-size: 0.88rem;
}

#ast-scroll-top { background-color: #f05027 !important; }
a { color: var(--ip-link); }
a:hover, a:focus { color: #ffe585; }

@media (max-width: 921px) {
  .ph-icon-grid,
  .ph-article-grid,
  .ph-footer-inner {
    grid-template-columns: 1fr;
  }
  .ph-card {
    padding: 20px !important;
  }

  .ph-article-page {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ===== InPlay casino lobby ===== */
.ph-casino-lobby,
.ph-casino-lobby * {
  box-sizing: border-box;
}
.ph-casino-lobby {
  background: var(--ip-bg) !important;
  color: var(--ip-text);
  min-height: 100vh;
}
.casino-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.casino-hero {
  position: relative;
  min-height: clamp(300px, 36vw, 520px);
  overflow: hidden;
  background: var(--ip-bg);
}
.casino-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12);
}
.casino-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(16, 23, 48, 0.94) 0%, rgba(35, 36, 67, 0.72) 42%, rgba(35, 36, 67, 0.1) 76%);
}
.casino-hero-overlay {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 112px) 0;
  color: #fff;
}
.hero-kicker,
.section-eyebrow {
  display: block;
  color: #feee95;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.casino-hero h1 {
  max-width: 620px;
  margin: 8px 0 10px;
  color: #fff !important;
  font-size: clamp(38px, 6vw, 76px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.98;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.casino-hero p {
  max-width: 530px;
  margin: 0 0 24px;
  color: #cecfd2 !important;
  font-size: clamp(15px, 2vw, 19px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.casino-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.casino-btn:hover {
  transform: translateY(-2px);
}
.casino-btn-primary {
  color: #232443 !important;
  background: var(--ip-gold);
  box-shadow: 0 0 10px 0 #ffd238, inset 0 0 3px 3px rgba(254, 168, 4, 0.5);
}
.casino-btn-primary:hover {
  color: #f05027 !important;
}
.casino-btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.casino-btn-ghost:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18);
}
.casino-announcement {
  position: relative;
  z-index: 4;
  background: var(--ip-panel);
  border-bottom: 1px solid var(--ip-border);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}
.casino-announcement .casino-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  font-size: 13px;
}
.announcement-icon {
  color: #fac515;
  font-size: 17px;
}
.casino-announcement strong {
  color: #fff;
  font-size: 12px;
}
.announcement-text {
  flex: 1;
  overflow: hidden;
  color: var(--ip-text-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.casino-announcement a {
  color: #fac515 !important;
  font-size: 11px;
  font-weight: 900;
}
.casino-main {
  padding: 24px 0 58px;
  background:
    radial-gradient(circle at 12% 6%, rgba(240, 80, 39, 0.22), transparent 32%),
    var(--ip-bg);
}
.casino-categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}
.category-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  color: var(--ip-text-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}
.category-tab img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}
.category-tab span {
  color: inherit;
  font-size: 13px;
}
.category-tab:hover,
.category-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #f05027, #d92d20);
  box-shadow: 0 6px 16px rgba(240, 80, 39, 0.25);
}
.category-tab:hover span,
.category-tab.active span {
  color: #fff;
}
.casino-section {
  margin-top: 34px;
}
.casino-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.casino-section-head h2,
.casino-wallet h2,
.casino-news h2 {
  margin: 3px 0 0;
  color: #ffffff !important;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.15;
}
.game-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(240px, 42vw);
  min-height: 42px;
  padding: 0 13px;
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: 8px;
}
.game-search span {
  color: #94969c;
  font-size: 22px;
}
.game-search input {
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  box-shadow: none;
  color: #fff;
  background: transparent;
  font-size: 13px;
}
.game-search input::placeholder {
  color: #94969c;
}
.casino-game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.casino-game-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.casino-game-card:hover {
  transform: translateY(-5px);
  border-color: #f96b47;
  box-shadow: 0 15px 26px rgba(0, 0, 0, 0.42);
}
.casino-game-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(145deg, #232443, #101730);
}
.game-card-info {
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
}
.game-card-info strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.game-card-info small {
  margin-top: 3px;
  color: #94969c;
  font-size: 11px;
}
.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 4px;
  color: #fff;
  background: #f05027;
  font-size: 9px;
  font-weight: 900;
}
.game-badge.hot {
  background: #ec3e61;
}
.game-badge.new {
  background: #22aa7a;
}
.game-card-overlay {
  position: absolute;
  inset: 0 0 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(16, 23, 48, 0.62);
  transition: opacity 0.2s ease;
}
.casino-game-card:hover .game-card-overlay {
  opacity: 1;
}
.play-circle {
  display: grid;
  width: 46px;
  height: 46px;
  padding-left: 3px;
  place-items: center;
  border-radius: 50%;
  color: #f05027;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.no-games {
  padding: 45px;
  color: #94969c;
  text-align: center;
}
.view-all {
  color: #fac515 !important;
  font-size: 12px;
  font-weight: 900;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  color: #fff !important;
  background: var(--ip-panel);
  border: 1px solid var(--ip-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  text-decoration: none !important;
  transition: transform 0.2s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  color: #fff !important;
}
.promo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2.1 / 1;
  padding: 12px;
  object-fit: contain;
  background: linear-gradient(140deg, #232443, #101730);
}
.promo-card div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 16px 16px;
}
.promo-card strong {
  color: #fff;
  font-size: 16px;
}
.promo-card span {
  grid-column: 1;
  color: #94969c;
  font-size: 11px;
}
.promo-card b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  padding: 7px 9px;
  border-radius: 5px;
  color: #fff;
  background: #f05027;
  font-size: 9px;
}
.provider-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.provider-strip a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ip-border);
  border-radius: 9px;
  background: var(--ip-panel);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.provider-strip a:hover {
  transform: translateY(-3px);
  border-color: #f96b47;
}
.provider-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.casino-wallet {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
  padding: 26px 30px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(125deg, #232443, #373a41);
  border: 1px solid #f05027;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}
.casino-wallet h2 {
  color: #fff !important;
}
.casino-wallet p {
  max-width: 650px;
  margin: 8px 0 0;
  color: #cecfd2 !important;
  font-size: 13px;
}
.wallet-art {
  width: 128px;
  height: 128px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.wallet-brands {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.wallet-brands img {
  height: 28px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px 6px;
}
.wallet-brands b {
  display: grid;
  min-width: 60px;
  min-height: 44px;
  padding: 8px;
  place-items: center;
  border-radius: 7px;
  color: #101730;
  background: #fff;
  font-size: 11px;
}
.casino-news {
  margin-top: 22px;
}
.casino-news > a {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  color: inherit;
  background: var(--ip-panel);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.26);
  text-decoration: none !important;
}
.casino-news img {
  width: 94px;
  height: 70px;
  object-fit: contain;
}
.casino-news h2 {
  font-size: 18px;
}
.casino-news p {
  margin: 5px 0 0;
  color: var(--ip-text-soft);
  font-size: 12px;
}
.casino-news > a > strong {
  color: #fac515;
  font-size: 11px;
}
.casino-float-actions {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.casino-float-actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  padding: 10px 13px;
  border-radius: 24px;
  color: #fff !important;
  background: #f05027;
  box-shadow: 0 6px 18px rgba(35, 36, 67, 0.28);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
}
.casino-float-actions a:first-child {
  background: #22aa7a;
}

@media (max-width: 921px) {
  .casino-categories {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .category-tab {
    flex: 0 0 130px;
    scroll-snap-align: start;
  }
  .casino-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .provider-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .casino-wallet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .casino-shell,
  .casino-hero-overlay {
    width: min(100% - 20px, 1200px);
  }
  .casino-hero {
    min-height: 380px;
  }
  .casino-hero > img {
    object-position: 62% center;
  }
  .casino-hero::after {
    background: linear-gradient(90deg, rgba(16, 23, 48, 0.96), rgba(35, 36, 67, 0.48));
  }
  .casino-hero-overlay {
    padding-top: 70px;
  }
  .casino-announcement .casino-shell {
    gap: 7px;
  }
  .casino-announcement strong,
  .casino-announcement a {
    display: none;
  }
  .casino-main {
    padding-top: 14px;
  }
  .casino-section-head {
    align-items: center;
  }
  .game-search {
    width: 145px;
  }
  .casino-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .provider-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .casino-wallet {
    padding: 22px 18px;
  }
  .wallet-brands {
    flex-wrap: wrap;
  }
  .casino-news > a {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }
  .casino-news img {
    width: 72px;
  }
  .casino-news > a > strong {
    display: none;
  }
  .casino-float-actions {
    right: 10px;
    bottom: 12px;
  }
  .casino-float-actions a {
    min-width: auto;
  }
}
