/* ==========================================================================
   96M SITE-WIDE LAYOUT REDESIGN — Layout only, original colors preserved
   ========================================================================== */

/* --- Font imports --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap');

/* --- Font assignments --- */
body,
body.home,
body.blog,
body.wp-singular,
body.single,
body.archive,
body.page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h-text-wrap h1,
.h-text-wrap h2,
.h-text-wrap h4,
.h-text-sub h2,
.h-text-sub h4,
.entry-title,
.entry-title a,
.page-title,
.title-border span,
.su-spoiler-title h3,
.su-spoiler-title,
.text-faq-h2,
.h-carousel-wrap h2,
.h-carousel-wrap h3,
.hg-caption div,
.widget .widget-title,
.widget h2,
#footer h3,
.footer-wrapper h3,
.footer-wrapper-2 h3,
.footer-wrapper-3 h3,
section[id="register-96m-malaysia"] h2,
section[id="register-96m-malaysia"] h4,
.tp-post-item-meta .entry-title,
.tp-post-item-meta .entry-title a,
.tp-item-block .entry-title a,
.bfastmag-featured-slider .tp-item-block .entry-title a {
  font-family: 'Montserrat', 'Inter', sans-serif !important;
  letter-spacing: -0.2px;
}

.main-navigation .nav-menu li a,
.navigation-top ul li a,
.tp_header_v2 .main-navigation li a,
.sub-menu li a,
.tp_mmenu-sub-menu li a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
}

.menu-btn-wrap a,
.menu-btn-wrap-mobile a,
.login-bl-btn,
.register-or-btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.entry-content .readmore a,
a.more-link,
.cat-links ul li a,
.tagcloud a,
.h-carousel-wrap .t-row a,
.customlink-alt ul li a,
.more-btn-wrap .more-bl-btn {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
}

p,
.entry-content p,
.post .entry-content p,
.h-text-wrap p,
.su-spoiler-content p,
.su-spoiler-content,
.su-spoiler-style-default > .su-spoiler-content,
.entry-meta,
.tp-post-item-meta p,
.sidebar .widget li a,
.widget li a,
.f-curacao-wrap p,
.footer-wrapper-3 p,
.disclaimer {
  font-family: 'Inter', sans-serif !important;
}

.tp-post-item-date,
.tp_time_date,
.hg-caption p,
.poweredby {
  font-family: 'JetBrains Mono', 'Inter', monospace !important;
  font-size: 12px;
  letter-spacing: 0;
}

h1, .h-text-wrap h1, h1.entry-title, h1.page-title, .promo-hero-overlay h1 { font-weight: 800 !important; }
h2, .h-text-wrap h2, .h-carousel-wrap h2, .text-faq-h2 { font-weight: 700 !important; }
h3, .su-spoiler-title h3 { font-weight: 700 !important; }
h4, .h-text-sub h4, .h-text-wrap h4 { font-weight: 600 !important; }
h1, h2, h3, h4 { line-height: 1.25 !important; }
.h-text-wrap { font-size: 15.5px; }
.entry-content p, .post .entry-content p { font-size: 15.5px; }

/* --- Tighter container --- */
.container {
  max-width: 1060px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.container .row { margin-left: -8px; margin-right: -8px; }
.container .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; }

@media (max-width: 768px) {
  .container { padding-left: 12px !important; padding-right: 12px !important; }
}

/* --- Global section rhythm --- */
.tp_bfast_row_full { padding: 48px 0 !important; }
.tp_bfast_row_full + .tp_bfast_row_full { border-top: 1px solid #eef0f2; }

/* --- Disclaimer banner --- */
.disclaimer {
  border: none !important;
  border-left: 4px solid #0097a7 !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* ==========================================================================
   TEXT SECTIONS
   ========================================================================== */
.h-text-wrap { line-height: 175%; }

.h-text-wrap h1 {
  font-size: 34px !important;
  letter-spacing: -.3px;
  margin: 40px 0 20px !important;
}
.h-text-wrap h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #FF8A00;
  margin: 14px auto 0;
  border-radius: 2px;
}

.h-text-wrap h2 {
  font-size: 24px !important;
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FF8A00;
  display: inline-block;
}

.h-text-wrap p { margin-bottom: 14px; }

.h-text-wrap ul { padding-left: 0; list-style: none; }
.h-text-wrap ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  margin-bottom: 4px;
}
.h-text-wrap ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: #FF8A00;
  border-radius: 2px;
  transform: rotate(45deg);
}

.h-text-sub { padding: 0 !important; }
.h-text-sub h2 { border-bottom: none; display: block; }
.h-text-sub h4 {
  font-size: 18px;
  margin-top: 24px;
  padding-left: 14px;
  border-left: 3px solid #FF8A00;
}

/* --- Banner Ads --- */
.h-img-play-desktop a,
.h-img-play-mobile a {
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.h-img-play-desktop a:hover,
.h-img-play-mobile a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

/* ==========================================================================
   GAME SECTIONS — Card Grid
   ========================================================================== */
.h-games-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.h-games-wrap .h-games-row {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.h-games-wrap .h-games-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(5,36,221,.1);
}

.h-games-wrap .h-games-row .col-md-5 {
  width: 100% !important;
  float: none;
  overflow: hidden;
}
.h-games-wrap .h-games-row .col-md-5 img {
  margin-bottom: 0 !important;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .4s ease;
}
.h-games-wrap .h-games-row:hover .col-md-5 img {
  transform: scale(1.05);
}

.h-games-wrap .h-games-row .h-text-wrap.col-md-7 {
  width: 100% !important;
  float: none;
  padding: 14px 16px 16px !important;
}
.h-games-wrap .h-games-row .h-text-wrap h2 {
  font-size: 16px !important;
  margin-top: 0 !important;
  border-bottom: none !important;
  display: block;
}
.h-games-wrap .h-games-row .h-text-wrap p {
  font-size: 12.5px;
  line-height: 160%;
}

/* ==========================================================================
   CAROUSELS — Hot Games / Live Casino
   ========================================================================== */
.h-carousel-wrap { padding: 0 !important; }

.h-carousel-wrap .t-row {
  align-items: center;
  margin-bottom: 18px;
}
.h-carousel-wrap .t-row h2 {
  position: relative;
  padding-left: 16px;
}
.h-carousel-wrap .t-row h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: #FF8A00;
}

.h-carousel-wrap .t-row a {
  background: #FF8A00;
  color: #fff !important;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.h-carousel-wrap .t-row a:hover { background: #e67a00; }

.h-carousel-wrap .c-item-list-wrap {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .2s;
}
.h-carousel-wrap .c-item-list-wrap:hover { transform: scale(1.03); }
.h-carousel-wrap .c-item-list-wrap img { border-radius: 8px; }

.hg-main-wrap { padding: 8px 4px 0; }
.hg-caption div { font-weight: 600; font-size: 15px; }
.hg-caption p { margin: 2px 0 0; }

/* ==========================================================================
   REGISTRATION STEPS
   ========================================================================== */
section[id="register-96m-malaysia"] {
  background: #f7f8fa;
  border-radius: 14px;
  padding: 40px 36px;
}
section[id="register-96m-malaysia"] h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: #0524DD;
  border-bottom: none !important;
}
section[id="register-96m-malaysia"] h4 {
  display: inline-block;
  background: #0524DD;
  color: #fff;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 8px;
}
section[id="register-96m-malaysia"] p { margin-left: 4px; }

section[id="register-96m-malaysia"] aside {
  background: #fff3e0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
  border-left: 4px solid #FF8A00;
}
section[id="register-96m-malaysia"] aside h4 {
  background: none;
  color: #e65100;
  padding: 0;
  border-radius: 0;
  font-size: 16px;
  margin-top: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.text-faq-h2 {
  text-align: center !important;
  font-size: 28px !important;
  margin-bottom: 30px !important;
}

.su-accordion .su-spoiler {
  background: #fff !important;
  border: 1px solid #e8eaee !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  margin-bottom: 6px;
  transition: box-shadow .2s, border-color .2s;
}
.su-accordion .su-spoiler:hover {
  border-color: #c5cad4 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* Replace FA icon with pure CSS +/- on the left */
.su-spoiler-icon { display: none !important; }
.su-spoiler-title {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0;
}
.su-spoiler-title::before {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-right: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #0524DD;
  background: #EEF0F8;
  border-radius: 50%;
  order: -1;
}
.su-spoiler:not(.su-spoiler-closed) .su-spoiler-title::before {
  content: '−';
}

.su-spoiler-title h3 { font-size: 17px !important; font-weight: 600 !important; }

/* Kill extra p tags that add unwanted spacing */
.su-spoiler p:empty,
.su-spoiler-title p,
.su-spoiler-title > p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
  height: 0;
  overflow: hidden;
}
.su-spoiler h3 {
  margin: 0 !important;
  padding: 0 !important;
}
.su-spoiler-content p:first-child {
  margin-top: 0 !important;
}
.su-spoiler-content p:last-child {
  margin-bottom: 0 !important;
}

.su-spoiler-style-default > .su-spoiler-content {
  font-size: 14px !important;
  line-height: 175% !important;
  padding: 10px 0 4px !important;
}

/* ==========================================================================
   BLOG — Post cards, sidebar, pagination
   ========================================================================== */
.title-border {
  border-bottom: 2px solid #0524DD !important;
  margin-bottom: 24px;
}
.title-border span { font-size: 22px; font-weight: 700; }

.entry,
.entry.rowItem,
article.entry {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px !important;
  transition: box-shadow .25s, transform .25s;
}
.entry:hover,
article.entry:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.tp-post-item-meta { padding: 16px 20px !important; }

.entry-content .readmore a,
a.more-link {
  border: 1px solid #0524DD;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.entry-content .readmore a:hover,
a.more-link:hover {
  background: #0524DD !important;
  color: #fff !important;
  border-color: #0524DD !important;
}

.cat-links ul li a,
.tagcloud a {
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
}

/* Blog listing — text area padding */
.bfast-content-li {
  padding-right: 20px !important;
}

/* Blog listing — truncate excerpt to 2 lines, hide social share */
.bfast-content-li .entry-content {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 13px;
  line-height: 160%;
  color: #888;
  margin-top: 8px;
}
.bfast-content-li .entry-content .readmore,
.bfast-content-li .entry-content .socialShareRow {
  display: none !important;
}

/* Space between category tag and post title + top spacing */
.breadcrumbs.cat-links {
  display: block;
  margin-top: 16px;
  margin-bottom: 12px;
}

/* Pagination */
.pagination {
  margin: 32px 0;
  text-align: center;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  background: #f5f5f7;
  border: 1px solid #e8eaee;
  text-decoration: none;
  transition: all .2s;
}
.pagination .page-numbers:hover {
  background: #0524DD;
  color: #fff;
  border-color: #0524DD;
}
.pagination .page-numbers.current {
  background: #0524DD !important;
  color: #fff !important;
  border-color: #0524DD !important;
}
.pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: #999;
  width: auto;
  padding: 0 4px;
}
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  width: auto;
  padding: 0 14px;
  background: transparent;
  border: 1px solid #e8eaee;
  color: #555;
}
.pagination .page-numbers.next:hover,
.pagination .page-numbers.prev:hover {
  background: #0524DD;
  color: #fff;
  border-color: #0524DD;
}

/* ==========================================================================
   HOMEPAGE BLOG CAROUSEL — Same styled cards as subpages
   ========================================================================== */
.bfastmag-featured-slider .tp-item-block {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 6px;
  transition: transform .25s, box-shadow .25s;
}
.bfastmag-featured-slider .tp-item-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.bfastmag-featured-slider .tp-post-thumbnail {
  overflow: hidden;
}
.bfastmag-featured-slider .tp-post-thumbnail figure {
  margin: 0;
}
.bfastmag-featured-slider .tp-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
  transition: transform .4s ease;
}
.bfastmag-featured-slider .tp-item-block:hover .tp-post-thumbnail img {
  transform: scale(1.05);
}

.bfastmag-featured-slider .tp-post-item-meta {
  padding: 14px 16px !important;
}
.bfastmag-featured-slider .tp-post-item-meta .entry-title {
  font-size: 15px !important;
  line-height: 1.4;
  margin: 0 0 6px;
}
.bfastmag-featured-slider .tp-post-item-meta .entry-title a {
  color: #222 !important;
  background-image: none !important;
}
.bfastmag-featured-slider .tp-item-block:hover .entry-title a {
  color: #0524DD !important;
}

/* Hide excerpt only */
.bfastmag-featured-slider .tp-post-item-meta p {
  display: none;
}

/* Author + date on one line, compact */
.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-author,
.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-date {
  display: inline;
  font-size: 11px !important;
  color: #999 !important;
}
.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-author a {
  color: #999 !important;
  background-image: none !important;
}
.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-author img {
  display: none;
}
.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-date i {
  font-size: 10px;
  margin-right: 2px;
}
/* Dot separator between author and date */
.bfastmag-featured-slider .tp-post-item-meta .tp-post-item-date::before {
  content: '·';
  margin: 0 6px;
  color: #ccc;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.widget {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  padding: 20px !important;
  margin-bottom: 20px;
}
.widget .widget-title,
.widget h2 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0524DD;
  margin-bottom: 14px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.tp_header_v2 .main-navigation {
  background: linear-gradient(90deg, #0318a8, #0524DD 50%, #0318a8) !important;
}
.main-navigation .nav-menu li a {
  font-size: 12px !important;
  letter-spacing: .2px;
  text-transform: uppercase;
  padding: 12px 10px !important;
  white-space: nowrap;
}

/* Hide dropdown arrow and home icons */
.tp_arrow { display: none; }
li.menu-item.menu-item-home { display: none !important; }
#menu-item-551 { display: none !important; }

.menu-btn-wrap a {
  border-radius: 20px !important;
  font-size: 14px !important;
  font-weight: 600;
  padding: 8px 24px !important;
  transition: opacity .2s;
}
.menu-btn-wrap a:hover { opacity: .85; }

.flex-control-paging li a {
  border-radius: 10px !important;
  width: 10px; height: 10px;
  transition: width .3s, background .3s;
}
.flex-control-paging li a.flex-active {
  width: 32px !important;
  border-radius: 10px !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* White background, remove grey */
#footer,
#footer.footer-inverse {
  background: #fff !important;
}

/* Remove extra borders/lines */
#footer .footer-wrapper-2 {
  border-top: none !important;
  border-bottom: none !important;
}
.f-icon-wrap .f-payment {
  border-right: none !important;
}
.f-menu-wrap .f-menu-border {
  border-right: none !important;
}

#footer h3,
.footer-wrapper h3,
.footer-wrapper-2 h3,
.footer-wrapper-3 h3 {
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px !important;
  color: #FF8A00;
}

.f-curacao-wrap { display: flex; align-items: flex-start; gap: 16px; }
.f-curacao-wrap img { flex-shrink: 0; }
.f-curacao-wrap p { font-size: 13px; line-height: 160%; }

.f-icon-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.f-icon-wrap img {
  filter: grayscale(1);
  opacity: .6;
  transition: filter .2s, opacity .2s;
  max-height: 34px;
}
.f-icon-wrap img:hover { filter: grayscale(0); opacity: 1; }

/* Footer wrapper-3: centered stacked layout */
.footer-wrapper-3 .flex-row {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.footer-wrapper-3 .flex-row > div {
  width: 100% !important;
}
.footer-wrapper-3 .f-follow-mobile {
  order: 1;
}
.footer-wrapper-3 .f-follow-mobile h3 {
  text-align: center;
}
.footer-wrapper-3 .f-follow-mobile .f-icon-wrap {
  justify-content: center;
}
.footer-wrapper-3 .f-item-wrap:nth-child(2) {
  order: 3;
}
.footer-wrapper-3 .f-item-wrap:nth-child(2) p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  line-height: 170%;
  color: #999;
}
.footer-wrapper-3 .f-item-wrap:nth-child(3) {
  order: 2;
}

/* Footer links row */
.f-menu-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.f-menu-wrap a {
  display: inline-block;
  padding: 6px 16px !important;
  font-size: 12px;
  color: #6E6E73 !important;
  background: #EDEDEF;
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.f-menu-wrap a:hover {
  background: #0524DD;
  color: #fff !important;
}

/* ==========================================================================
   GLOBAL DESIGN ACCENTS — all pages
   ========================================================================== */

/* 1. Top gradient accent bar */
body::before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0524DD 0%, #3b5fe6 30%, #FF8A00 70%, #ffad42 100%);
  z-index: 9999;
}

/* 2. Content images — rounded + hover lift */
.entry-content img,
.h-text-wrap img,
.h-text-sub img,
.promo-section img {
  border-radius: 8px;
  transition: transform .3s, box-shadow .3s;
}
.entry-content img:hover,
.h-text-wrap img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

/* 3. Animated link underline */
.entry-content a,
.h-text-wrap a,
.h-text-sub a,
.promo-section a {
  text-decoration: none;
  background-image: linear-gradient(#FF8A00, #FF8A00);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s ease;
}
.entry-content a:hover,
.h-text-wrap a:hover,
.h-text-sub a:hover,
.promo-section a:hover {
  background-size: 100% 2px;
}

/* 4. Blockquote styling */
blockquote,
.entry-content blockquote {
  border-left: 4px solid #0524DD;
  background: #f7f8fa;
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
  font-size: 15px;
  line-height: 175%;
}

/* 5. Horizontal rules */
hr, .entry-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 32px 0;
}

/* 6. Content headings — unified style across ALL pages */
#content h2,
.site-content h2 {
  padding-left: 0;
  padding-bottom: 10px;
  border-left: none !important;
  border-bottom: 2px solid #FF8A00;
  display: inline-block;
  margin-top: 36px;
  margin-bottom: 16px;
}
#content h3,
.site-content h3 {
  color: #333;
  margin-top: 28px;
  margin-bottom: 12px;
}
#content h4,
.site-content h4 {
  color: #0524DD;
  margin-top: 24px;
}

/* Exceptions: don't apply border to these */
.title-border h2,
.title-border span,
.h-games-wrap h2,
.h-carousel-wrap h2,
.su-spoiler-title h3,
.widget h2,
.widget .widget-title,
#footer h3,
.footer-wrapper h3,
.footer-wrapper-2 h3,
.footer-wrapper-3 h3,
.bfastmag-fp-s1 h3.entry-title,
.bfastmag-featured-slider h2,
.bfastmag-featured-slider .entry-title,
.promo-card h3,
.promo-bonus-card h3,
.promo-cta h3,
.promo-hero-overlay h1,
section[id="register-96m-malaysia"] h4 {
  border-bottom: none !important;
  display: block;
  padding-bottom: 0;
}

/* 7. Content lists — cleaner spacing */
.entry-content ul,
.entry-content ol {
  margin: 12px 0 16px;
}
.entry-content li {
  padding: 4px 0;
  line-height: 170%;
}

/* 8. Content tables — striped rows */
.entry-content table tr:nth-child(even) td {
  background: #f9fafb;
}

/* 9. Single post / page article body — subtle card effect */
article.page .entry-content,
article.post .entry-content {
  background: transparent;
}

/* 10. Subtle page background texture */
#content.site-content {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 50%, #fff 100%) !important;
}

/* Scroll to top */
#gotop {
  border-radius: 50% !important;
  width: 44px; height: 44px; line-height: 44px;
  text-align: center; font-size: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  border-radius: 6px;
  padding: 10px 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #0524DD !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(5,36,221,.1);
}

button, input[type="button"], input[type="submit"], input[type="reset"] {
  border-radius: 6px;
  font-weight: 600;
  transition: all .2s;
}

/* Tables */
table { border-collapse: collapse; width: 100%; }
table th {
  font-weight: 600;
  padding: 12px;
  border: 1px solid #e8eaee;
  background: #f7f8fa;
}
table td {
  padding: 10px 12px;
  border: 1px solid #e8eaee;
}
table tr:hover td { background: #f9fafb; }

/* Customlink alt */
.customlink-alt ul li a {
  border-radius: 6px;
  transition: all .2s;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  .h-games-wrap { grid-template-columns: 1fr 1fr !important; gap: 16px; }
  .tp_bfast_row_full { padding: 32px 0 !important; }
}

@media (max-width: 768px) {
  .tp_bfast_row_full { padding: 24px 0 !important; }
  .h-text-wrap h1 { font-size: 26px !important; text-align: left !important; }
  .h-text-wrap h1::after { margin: 10px 0 0; }
  .h-text-wrap h2 { font-size: 20px !important; }
  .h-games-wrap { grid-template-columns: 1fr !important; gap: 16px; }
  section[id="register-96m-malaysia"] { padding: 24px 18px; }
  .su-spoiler-title h3 { font-size: 15px !important; }
  .text-faq-h2 { font-size: 24px !important; }

  .bfastmag-featured-slider .owl-carousel.bfastmag-top-carousel {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .bfastmag-top-carousel .owl-item:first-of-type:not(.cloned) {
    grid-row: auto;
  }
  .bfastmag-featured-slider .tp-item-block {
    height: 180px;
  }
  .bfastmag-top-carousel .owl-item:first-of-type:not(.cloned) .entry-title {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .h-text-wrap h1 { font-size: 22px !important; }
  .h-text-wrap h2 { font-size: 18px !important; }
  .su-spoiler-title h3 { font-size: 14px !important; }
}

/* ==========================================================================
   SUBPAGE LATEST POSTS — Styled carousel cards
   ========================================================================== */

/* Card styling */
.bfastmag-fp-s1 .tp-item-block {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 6px;
  transition: transform .25s, box-shadow .25s;
}
.bfastmag-fp-s1 .tp-item-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

/* Image */
.bfastmag-fp-s1 .tp-post-thumbnail.bfastmag-thumb-smalls {
  overflow: hidden;
}
.bfastmag-fp-s1 .tp-post-thumbnail figure {
  margin: 0;
}
.bfastmag-fp-s1 .tp-post-thumbnail img {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 0 !important;
  transition: transform .4s ease;
}
.bfastmag-fp-s1 .tp-item-block:hover .tp-post-thumbnail img {
  transform: scale(1.05);
}

/* Title */
.bfastmag-fp-s1 .tp-item-block h3.entry-title {
  padding: 14px 16px !important;
  margin: 0;
  font-size: 15px !important;
  line-height: 1.4;
}
.bfastmag-fp-s1 .tp-item-block h3.entry-title a {
  color: #222 !important;
  background-image: none !important;
}
.bfastmag-fp-s1 .tp-item-block:hover h3.entry-title a {
  color: #0524DD !important;
}

/* Hide excerpt */
.bfastmag-fp-s1 .tp-item-block > p {
  display: none;
}

/* Show author + date on one line under title */
.bfastmag-fp-s1 .tp-post-item-meta {
  display: block !important;
  padding: 0 16px 12px !important;
}
.bfastmag-fp-s1 .tp-post-item-meta .tp-post-item-author,
.bfastmag-fp-s1 .tp-post-item-meta .tp-post-item-date {
  display: inline;
  font-size: 11px !important;
  color: #999 !important;
}
.bfastmag-fp-s1 .tp-post-item-meta .tp-post-item-author a {
  color: #999 !important;
  background-image: none !important;
}
.bfastmag-fp-s1 .tp-post-item-meta .tp-post-item-author img {
  display: none;
}
.bfastmag-fp-s1 .tp-post-item-meta .tp-post-item-date i {
  font-size: 10px;
  margin-right: 2px;
}
.bfastmag-fp-s1 .tp-post-item-meta .tp-post-item-date::before {
  content: '·';
  margin: 0 6px;
  color: #ccc;
}

/* ==========================================================================
   PROMOTION PAGE
   ========================================================================== */
.promo-page-content {
  max-width: 100%;
}

/* Hero: image with overlay title */
.promo-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
}
.promo-hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 32px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.promo-hero-overlay h1 {
  color: #fff !important;
  font-size: 30px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  margin: 0 !important;
  text-align: left !important;
}
.promo-hero-overlay h1::after { display: none; }

/* Sections spacing */
.promo-section {
  margin-bottom: 40px;
}
.promo-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
  border-bottom: 2px solid #FF8A00;
  display: inline-block;
  padding-bottom: 10px;
}
.promo-intro { margin-bottom: 36px; }

/* Card grid: 3 columns for "Why Choose" */
.promo-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.promo-card {
  background: #f7f8fa;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  padding: 28px !important;
  transition: box-shadow .2s, transform .2s;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.promo-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0524DD;
  margin: 0 0 10px;
}
.promo-card p { font-size: 13px; line-height: 170%; color: #666; margin: 0; }
.promo-card ul { padding-left: 16px; margin: 10px 0 0; }
.promo-card ul li { font-size: 13px; color: #666; padding: 3px 0; }

/* Steps list */
.promo-steps {
  padding-left: 0;
  counter-reset: step;
  list-style: none;
}
.promo-steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 48px;
  border-bottom: 1px solid #eef0f2;
  font-size: 14px;
  line-height: 160%;
}
.promo-steps li:last-child { border-bottom: none; }
.promo-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 32px;
  height: 32px;
  background: #0524DD;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* Bonus grid: 2 columns */
.promo-bonus-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.promo-bonus-card {
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  padding: 28px !important;
  border-left: 4px solid #FF8A00;
  transition: box-shadow .2s;
}
.promo-bonus-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.promo-bonus-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px;
}
.promo-bonus-card p { font-size: 13.5px; line-height: 170%; color: #666; margin: 0; }

/* Tips list */
.promo-tips {
  padding-left: 0;
  counter-reset: tip;
  list-style: none;
}
.promo-tips li {
  counter-increment: tip;
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px solid #eef0f2;
  font-size: 14px;
  line-height: 160%;
}
.promo-tips li:last-child { border-bottom: none; }
.promo-tips li::before {
  content: counter(tip);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  background: #FF8A00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* CTA box */
.promo-cta {
  text-align: center;
  background: linear-gradient(135deg, #0524DD, #3b5fe6);
  color: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  margin: 40px 0;
}
.promo-cta h3 {
  color: #fff !important;
  font-size: 22px;
  margin: 0 0 10px;
}
.promo-cta p { color: #fff !important; font-size: 15px; margin: 0; }
.promo-cta a {
  color: #FF8A00 !important;
  font-weight: 700;
  text-decoration: underline;
}
.promo-cta a:hover { color: #fff !important; }

/* Responsive */
@media (max-width: 768px) {
  .promo-card-grid { grid-template-columns: 1fr !important; }
  .promo-bonus-grid { grid-template-columns: 1fr !important; }
  .promo-hero-overlay h1 { font-size: 22px !important; }
  .promo-hero-overlay { padding: 40px 20px 16px; }
  .promo-cta { padding: 24px 16px; }
}
@media (min-width: 769px) and (max-width: 991px) {
  .promo-card-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
