/* ==================================================
   PH8 CASINO PHILIPPINES DESIGN SYSTEM
   ================================================== */

:root {
  --ph8-sky: #38ADE3;
  --ph8-sky-light: #67C9EC;
  --ph8-sky-soft: #A0D0E8;
  --ph8-navy: #092B42;
  --ph8-navy-medium: #1A4D68;
  --ph8-navy-light: #24629E;
  --ph8-blue: #0F60E8;
  --ph8-blue-dark: #0847B5;
  --ph8-yellow: #F4D326;
  --ph8-yellow-soft: #F0DA63;
  --ph8-orange: #DE6521;
  --ph8-orange-dark: #B94A12;
  --ph8-red: #E33C35;
  --ph8-white: #FFFFFF;
  --ph8-off-white: #F5FAFD;
  --ph8-border: rgba(255, 255, 255, 0.72);
  --ph8-border-dark: rgba(9, 43, 66, 0.25);
  --ph8-text: #092B42;
  --ph8-text-light: #FFFFFF;
  --ph8-muted: #54778B;
  --ph8-success: #13815B;
  --ph8-shadow-sm: 0 4px 12px rgba(9, 43, 66, 0.14);
  --ph8-shadow-md: 0 10px 28px rgba(9, 43, 66, 0.20);
  --ph8-shadow-promo: 0 8px 20px rgba(9, 43, 66, 0.30);
  --ph8-radius-sm: 8px;
  --ph8-radius-md: 14px;
  --ph8-radius-lg: 22px;
  --ph8-container: 1180px;
  --ph8-header-height: 66px;
}

/* BASE RESET */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ph8-header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ph8-sky);
  color: var(--ph8-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 1025px) {
  body {
    padding-bottom: 0;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

/* ACCESSIBILITY & SKIP LINK */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  font-weight: 800;
  border-radius: var(--ph8-radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--ph8-yellow);
  outline-offset: 2px;
}

/* CONTAINER */
.site-container {
  width: min(calc(100% - 32px), var(--ph8-container));
  margin-inline: auto;
}

/* UTILITY BAR */
.utility-bar {
  min-height: 32px;
  background: var(--ph8-navy-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ph8-white);
  font-size: 0.75rem;
}

.utility-bar .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 4px;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-nav a {
  color: var(--ph8-yellow-soft);
  font-weight: 700;
  transition: color 0.2s;
}

.utility-nav a:hover {
  color: var(--ph8-yellow);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ph8-white);
}

/* MAIN HEADER & STICKY NAV */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ph8-navy);
  border-bottom: 3px solid var(--ph8-yellow);
  box-shadow: var(--ph8-shadow-sm);
}

.main-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ph8-header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a,
.nav-dropdown-btn {
  color: var(--ph8-white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 4px;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"],
.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible,
.nav-dropdown.is-active .nav-dropdown-btn,
.nav-dropdown-btn.is-active-parent {
  color: var(--ph8-yellow);
  border-bottom-color: var(--ph8-yellow);
}

.dropdown-arrow {
  font-size: 0.68rem;
  transition: transform 0.22s ease;
  display: inline-block;
  opacity: 0.85;
}

.nav-dropdown.is-active .dropdown-arrow,
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--ph8-yellow);
}

/* SUB-MENU DROPDOWN CONTAINER */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 195px;
  background: #061c2c;
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 15px rgba(255, 215, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  color: #e2e8f0 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  border-bottom: none !important;
  border-left: 3px solid transparent !important;
  transition: all 0.18s ease !important;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] {
  background: rgba(255, 215, 0, 0.12) !important;
  color: var(--ph8-yellow) !important;
  border-left-color: var(--ph8-yellow) !important;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--ph8-yellow);
  color: var(--ph8-yellow);
  border-radius: var(--ph8-radius-sm);
  padding: 6px 10px;
  cursor: pointer;
}

/* BUTTONS */
.ph8-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: var(--ph8-radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ph8-button:hover {
  transform: translateY(-2px);
}

.ph8-button--primary {
  background: linear-gradient(180deg, var(--ph8-yellow), #E7A817);
  color: #003882;
  box-shadow: 0 4px 0 #A8640E;
}

/* Ensure affiliate buttons with yellow background display blue text color */
a[data-affiliate="true"].ph8-button--primary,
a[data-affiliate="true"].exclusive-guide-card__btn--yellow,
a[href*="ph8.website/p/"].ph8-button--primary,
a[href*="ph8.website/p/"].exclusive-guide-card__btn--yellow,
a[href*="bybet.com"].ph8-button--primary,
a[href*="bybet.com"].exclusive-guide-card__btn--yellow,
button[data-affiliate="true"].ph8-button--primary {
  color: #003882 !important;
}

.ph8-button--orange {
  background: linear-gradient(180deg, #FF9A24, var(--ph8-orange));
  color: var(--ph8-white);
  box-shadow: 0 4px 0 var(--ph8-orange-dark);
}

.ph8-button--blue {
  background: linear-gradient(180deg, #287AF2, var(--ph8-blue));
  color: var(--ph8-white);
  box-shadow: 0 4px 0 var(--ph8-blue-dark);
}

.ph8-button--sm {
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

.ph8-button--lg {
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
}

/* HERO BANNER */
.hero-banner {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  border: 3px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 28%),
    linear-gradient(110deg, #06A5F2, #1662E8 55%, #35C2EF);
  box-shadow: var(--ph8-shadow-md);
  color: var(--ph8-white);
  padding: 2.5rem 2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(9, 43, 66, 0.6);
  border: 1px solid var(--ph8-yellow);
  color: var(--ph8-yellow);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-description {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ph8-off-white);
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.hero-artwork {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-carousel-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-carousel {
  position: relative;
  width: 100%;
  border: 3px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(9, 43, 66, 0.4);
  background: var(--ph8-navy);
}

.hero-carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ph8-navy-medium);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 450ms cubic-bezier(0.4, 0, 0.2, 1), transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active,
.hero-slide:first-child {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 43, 66, 0.88);
  border: 1px solid var(--ph8-yellow);
  color: var(--ph8-yellow);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(9, 43, 66, 0.75);
  border: 1px solid var(--ph8-yellow);
  color: var(--ph8-yellow);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.hero-carousel-prev {
  left: 10px;
}

.hero-carousel-next {
  right: 10px;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover,
.hero-carousel-prev:focus-visible,
.hero-carousel-next:focus-visible {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 12px rgba(244, 211, 38, 0.6);
}

.hero-carousel-indicators {
  display: none !important;
}

.hero-carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ph8-yellow);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-carousel-indicators .indicator.active {
  width: 24px;
  border-radius: 999px;
  background: var(--ph8-yellow);
}

.hero-carousel-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(9, 43, 66, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ph8-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.site-disclosure-banner {
  background: rgba(9, 43, 66, 0.85);
  border: 1px solid var(--ph8-yellow-soft);
  border-radius: var(--ph8-radius-sm);
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--ph8-white);
  line-height: 1.4;
  margin-top: 1rem;
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0.35rem 1.2rem;
  margin: 16px auto;
  border: 2px solid var(--ph8-yellow);
  border-radius: 999px;
  background: var(--ph8-navy);
  color: var(--ph8-white);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--ph8-shadow-sm);
}

.announcement-icon {
  flex-shrink: 0;
  color: var(--ph8-yellow);
}

.announcement-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* CENTRAL JACKPOT / FEATURE MODULE */
.jackpot-module {
  position: relative;
  overflow: hidden;
  margin-block: 20px;
  border: 4px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-lg);
  background: radial-gradient(circle at center, var(--ph8-navy-medium) 0%, var(--ph8-navy) 100%);
  padding: 2.2rem 1.2rem;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.35), var(--ph8-shadow-md);
  text-align: center;
}

.jackpot-module::before {
  display: none;
}

.jackpot-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.jackpot-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jackpot-badge {
  display: inline-block;
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.jackpot-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #EF4444;
  animation: pulseLiveDot 1.5s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.jackpot-title {
  color: var(--ph8-white);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 15px rgba(255,215,0,0.3);
  letter-spacing: 0.02em;
}

.jackpot-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin: 10px auto 0;
}

.jackpot-mascot-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.35));
  transition: transform 0.3s ease;
  padding: 0;
  margin: 0;
}

.jackpot-mascot-img:hover {
  transform: scale(1.02);
}

/* ROULETTE / SLOT STYLE NUMBER COUNTER DISPLAY OVERLAID INSIDE IMAGE'S BLUE BANNER */
.jackpot-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(ellipse at center, rgba(10, 38, 71, 0.88) 0%, rgba(5, 20, 42, 0.95) 100%);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 14px;
  border: 3px solid #FFD700;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.85), 0 0 25px rgba(255, 215, 0, 0.6), 0 6px 20px rgba(0,0,0,0.7);
  user-select: none;
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  max-width: 520px;
  z-index: 5;
  flex-wrap: nowrap;
}

@media (min-width: 1025px) {
  .jackpot-display {
    margin-top: 60px;
  }
}

@media (max-width: 600px) {
  .jackpot-image-wrapper {
    max-width: 100%;
  }
  .jackpot-mascot-img {
    height: auto;
    padding: 0;
  }
  .jackpot-display {
    width: fit-content !important;
    max-width: 94% !important;
    padding: 5px 10px !important;
    gap: 3px !important;
    border-width: 2px !important;
    border-radius: 10px !important;
    top: 53% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-top: 30px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-wrap: nowrap !important;
  }
  .digit-tile {
    min-width: 17px !important;
    width: clamp(16px, 4.2vw, 25px) !important;
    height: clamp(25px, 6.5vw, 36px) !important;
    font-size: clamp(0.85rem, 3.8vw, 1.2rem) !important;
    padding: 0 !important;
    border-width: 1.5px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
  }
  .digit-tile[data-digit=","] {
    min-width: 9px !important;
    width: clamp(9px, 2.5vw, 14px) !important;
    height: clamp(25px, 6.5vw, 36px) !important;
    font-size: clamp(0.8rem, 3.3vw, 1.1rem) !important;
    padding: 0 !important;
    border-width: 1.5px !important;
  }
}

.digit-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  font-weight: 900;
  min-width: 42px;
  height: 58px;
  padding: 0;
  border-radius: 8px;
  border: 2px solid #FFD700;
  /* Fixed, consistent static dark background so number background color never changes */
  background: linear-gradient(180deg, #1A2938 0%, #0C1722 100%);
  color: #FFFFFF;
  box-shadow: inset 0 3px 5px rgba(255,255,255,0.2), inset 0 -4px 6px rgba(0,0,0,0.8), 0 4px 8px rgba(0,0,0,0.6);
  text-align: center;
  font-family: 'Impact', 'Trebuchet MS', 'Arial Black', sans-serif;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 0 6px rgba(255,215,0,0.4);
  position: relative;
  overflow: hidden; /* Clips sliding numbers within tile boundaries */
}

/* Comma / Divider Tile */
.digit-tile[data-digit=","] {
  background: linear-gradient(180deg, #FFD700 0%, #FFA000 50%, #C77800 100%) !important;
  color: #0A2613 !important;
  border: 2px solid #FFFFFF !important;
  min-width: 24px !important;
  height: 58px;
  text-shadow: none !important;
  font-weight: 900;
}

/* Sliding Up and Down Digit Animation */
.digit-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.35s ease;
  will-change: transform, opacity;
}

.digit-val.slide-current {
  transform: translateY(0%);
  opacity: 1;
}

.digit-val.slide-out-top {
  transform: translateY(-100%);
  opacity: 0.15;
}

.digit-val.slide-in-bottom {
  transform: translateY(100%);
  opacity: 0.15;
}

@keyframes floatUpPop {
  0% { opacity: 1; transform: translate(-50%, -100%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -180%) scale(1.3); }
}

/* SECTION HEADING */
.section-heading-wrapper {
  margin-block: 28px 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  align-items: center;
  gap: 14px;
  color: var(--ph8-white);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(9,43,66,0.3);
}

.section-heading::before,
.section-heading::after {
  content: "";
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), var(--ph8-white), var(--ph8-yellow));
}

.section-heading::after {
  background: linear-gradient(90deg, var(--ph8-yellow), var(--ph8-white), rgba(255,255,255,0.1));
}

.section-subheading {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* HOT GAMES TOOLBAR & CAROUSEL SLIDER CONTROLS */
.hot-games-toolbar,
.hot-games-carousel-controls,
.exclusive-guides-carousel-controls,
.hot-games-swipe-hint,
.hot-games-dots,
.exclusive-guides-dots {
  display: none !important;
}

.game-filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  padding-bottom: 4px;
}

.game-filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(9, 43, 66, 0.08);
  border: 1px solid rgba(9, 43, 66, 0.15);
  color: var(--ph8-navy);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-tab:hover,
.filter-tab.is-active {
  background: var(--ph8-navy);
  color: var(--ph8-yellow);
  border-color: var(--ph8-navy);
  box-shadow: 0 2px 8px rgba(9, 43, 66, 0.2);
}

.game-search-box {
  position: relative;
  min-width: 180px;
}

.game-search-box input {
  width: 100%;
  padding: 6px 12px 6px 30px;
  border-radius: 20px;
  border: 1px solid rgba(9, 43, 66, 0.2);
  background: #FFF;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--ph8-navy);
}

.game-search-box input:focus {
  border-color: var(--ph8-navy);
  box-shadow: 0 0 0 3px rgba(9, 43, 66, 0.1);
}

.game-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--ph8-muted);
  pointer-events: none;
}

/* HOT GAMES GRID & COMPACT CARDS */
.hot-games-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

main#main-content:nth-of-type(1) > section#hot-games-section > div:nth-of-type(3) > div#mainGameGrid:nth-of-type(1),
main#main-content > section#hot-games-section > div:nth-of-type(3) > div#mainGameGrid:nth-of-type(1),
#mainGameGrid,
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 170px));
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hot-games-layout,
  section#hot-games-section {
    overflow: hidden !important;
    width: 100% !important;
    position: relative;
    padding: 8px 0 !important;
  }

  main#main-content:nth-of-type(1) > section#hot-games-section:nth-of-type(1) > div:nth-of-type(3) > div#mainGameGrid:nth-of-type(1),
  main#main-content > section#hot-games-section > div:nth-of-type(3) > div#mainGameGrid:nth-of-type(1),
  #mainGameGrid,
  .game-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 12px !important;
    animation: continuousGameMarquee 12s linear infinite alternate !important;
    will-change: transform;
    overflow: visible !important;
  }

  #mainGameGrid:hover,
  .game-grid:hover,
  #mainGameGrid:active,
  .game-grid:active {
    animation-play-state: paused !important;
  }

  .game-card {
    flex: 0 0 130px !important;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 130px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
  }
}

@keyframes continuousGameMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 100vw - 24px));
  }
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ph8-radius-sm);
  background: #092B42;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.game-card.is-hidden {
  display: none !important;
}

.game-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 18px rgba(9, 43, 66, 0.4);
  border-color: var(--ph8-yellow);
}

.game-card__media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #051A29;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.game-card:hover .game-card__media img {
  transform: scale(1.08);
}

.game-provider-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(9, 43, 66, 0.88);
  backdrop-filter: blur(4px);
  color: var(--ph8-yellow);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 3;
  border: 1px solid rgba(253, 185, 19, 0.35);
  text-transform: uppercase;
}

.game-fav-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(9, 43, 66, 0.75);
  backdrop-filter: blur(4px);
  border: 0;
  color: #FFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
}

.game-fav-btn.is-favorite,
.game-fav-btn:hover {
  background: var(--ph8-red);
  color: #FFF;
  transform: scale(1.15);
}

.game-card__hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 26, 41, 0.88);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 4;
  padding: 6px;
}

.game-card:hover .game-card__hover-overlay,
.game-card:focus-within .game-card__hover-overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-btn {
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.15s ease, background 0.15s ease;
  border: 0;
  cursor: pointer;
  width: 92%;
  text-align: center;
}

.overlay-btn--guide {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
}

.overlay-btn--guide:hover {
  background: #FFE066;
  transform: scale(1.04);
}

.overlay-btn--demo {
  background: rgba(255, 255, 255, 0.2);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.overlay-btn--demo:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.04);
}

.game-card__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 14px 6px 4px;
  background: linear-gradient(to top, rgba(9, 43, 66, 0.95) 0%, rgba(9, 43, 66, 0.7) 65%, transparent 100%);
  text-align: center;
  pointer-events: none;
}

.game-card__title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #FFF;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.game-card__subtitle {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ph8-yellow);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* QUICK GAME INFO MODAL */
.game-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.game-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.game-modal-card {
  background: var(--ph8-navy);
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-lg);
  max-width: 420px;
  width: 100%;
  color: #FFF;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.game-modal-backdrop.is-open .game-modal-card {
  transform: scale(1);
}

.game-modal-header {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-modal-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--ph8-yellow);
  margin: 0;
}

.game-modal-close {
  background: transparent;
  border: 0;
  color: #FFF;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.game-modal-body {
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.game-modal-img {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.game-modal-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
}

.game-modal-spec {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.spec-value {
  font-weight: 800;
  color: #FFF;
}

.spec-value--gold {
  color: var(--ph8-yellow);
}

.game-modal-actions {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 10px;
}

/* SIDE PROMO CARDS & HIGHLIGHTS STACK */
.side-promos-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-promos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.side-promos-header__title {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--ph8-navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* LIVE WINNERS TICKER CONTAINER & MOBILE RESPONSIVE LAYOUT */
main#main-content:nth-of-type(1) > section#hot-games-section > div:nth-of-type(3) > div:nth-of-type(3),
.live-winners-bar {
  background: linear-gradient(135deg, #051A29 0%, #0A2647 100%);
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-md);
  padding: 14px 18px;
  margin: 20px auto 0 auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.15);
}

.live-winners-bar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 8px;
}

.live-winners-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--ph8-yellow);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-winners-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--ph8-yellow);
  color: #FFD700;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.live-winners-refresh-btn:hover {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.live-winners-refresh-btn.is-refreshing .refresh-icon {
  animation: spinRefresh 0.6s ease-in-out;
}

@keyframes spinRefresh {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #00FF66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00FF66;
  animation: livePulse 1.5s infinite ease-in-out;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.live-winners-bar__ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 28, 50, 0.75);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.winner-row:hover, .winner-row--clicked {
  background: rgba(10, 38, 71, 0.95);
  border-color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
}

.winner-row__left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.winner-avatar-badge {
  color: #FFFFFF !important;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.winner-avatar-badge span {
  color: #FFFFFF !important;
}

.winner-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.winner-user {
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
}

.winner-game {
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  opacity: 0.95;
}

.winner-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.winner-payout {
  color: var(--ph8-yellow);
  font-weight: 900;
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.winner-time {
  color: #00FF66;
  font-size: 0.65rem;
  font-weight: 700;
}

/* MOBILE RESPONSIVE LAYOUT FOR RECENT WINNERS (3 USER VERTICAL CARDS) */
@media (max-width: 768px) {
  .live-winners-bar {
    padding: 12px;
    margin-top: 14px;
    gap: 10px;
  }

  .live-winners-bar__header {
    padding-bottom: 6px;
  }

  .live-winners-bar__label {
    font-size: 0.78rem;
  }

  .live-winners-refresh-btn {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .live-winners-bar__ticker {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .winner-row {
    padding: 8px 10px;
  }

  .winner-user {
    font-size: 0.78rem;
  }

  .winner-game {
    font-size: 0.68rem;
  }

  .winner-payout {
    font-size: 0.8rem;
  }
}

/* EXCLUSIVE GUIDES SECTION (BELOW GAMES GRID) */
main#main-content:nth-of-type(1) > section#hot-games-section > div:nth-of-type(3) > div#exclusiveGuides:nth-of-type(4),
#exclusiveGuides,
.exclusive-guides-section {
  margin: 28px auto 0 auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  align-self: center;
  padding: 24px;
  background: linear-gradient(180deg, #092B42 0%, #051A29 100%);
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.exclusive-guides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(253, 185, 19, 0.3);
}

.exclusive-guides-header__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exclusive-guides-header__icon {
  font-size: 1.4rem;
}

.exclusive-guides-header__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #FFF;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.exclusive-guides-header__badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.exclusive-guides-header__link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ph8-yellow);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.exclusive-guides-header__link:hover {
  color: #FFF;
  transform: translateX(3px);
}

.exclusive-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.exclusive-guide-card {
  background: linear-gradient(180deg, #092B42 0%, #051A29 100%);
  border: 1.5px solid rgba(253, 185, 19, 0.45);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.exclusive-guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--ph8-yellow);
  box-shadow: 0 10px 24px rgba(253, 185, 19, 0.3);
}

.exclusive-guide-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  background: #051A29;
  overflow: hidden;
  border-bottom: 2px solid var(--ph8-yellow);
}

.exclusive-guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.exclusive-guide-card:hover .exclusive-guide-card__media img {
  transform: scale(1.04);
}

.exclusive-guide-card__tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(5, 26, 41, 0.9);
  color: var(--ph8-yellow);
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--ph8-yellow);
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.exclusive-guide-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.exclusive-guide-card__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.exclusive-guide-card__desc {
  font-size: 0.85rem;
  color: #D2E4F2;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

.exclusive-guide-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  margin-top: auto;
  box-sizing: border-box;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.exclusive-guide-card__btn--orange {
  background: linear-gradient(135deg, #FF6B00 0%, #E05300 100%);
  color: #FFFFFF;
  border: 1px solid #FF8533;
}

.exclusive-guide-card__btn--orange:hover {
  background: linear-gradient(135deg, #FF7B1A 0%, #F05C00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.45);
}

.exclusive-guide-card__btn--yellow {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #003882;
  border: 1px solid #FFE066;
  font-weight: 900;
}

.exclusive-guide-card__btn--yellow:hover {
  background: linear-gradient(135deg, #FFE033 0%, #FFB31A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.45);
}

/* PROMOTIONS TOOLBAR & INTERACTIVE FILTERS */
.promo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  background: #092B42;
  padding: 12px 16px;
  border-radius: var(--ph8-radius-sm);
  border: 1.5px solid rgba(253, 185, 19, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promo-filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.promo-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-filter-tab {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-filter-tab:hover,
.promo-filter-tab.is-active {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  border-color: var(--ph8-yellow);
  box-shadow: 0 0 10px rgba(253, 185, 19, 0.5);
}

.promo-search-box {
  position: relative;
  min-width: 220px;
}

.promo-search-input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  background: #051A29;
  border: 1px solid rgba(253, 185, 19, 0.35);
  border-radius: 999px;
  color: #FFF;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.promo-search-input:focus {
  border-color: var(--ph8-yellow);
  box-shadow: 0 0 8px rgba(253, 185, 19, 0.4);
}

.promo-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--ph8-yellow);
  pointer-events: none;
}

/* PROMOTIONS GRID (6 CARDS) */
.promotion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .promotion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .promotion-grid {
    grid-template-columns: 1fr;
  }
}

.promotion-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-md);
  background: #092B42;
  box-shadow: var(--ph8-shadow-promo);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.promotion-card.is-hidden {
  display: none !important;
}

.promotion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 43, 66, 0.5);
  border-color: #FFE066;
}

.promotion-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #051A29;
  position: relative;
}

.promotion-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.promotion-card:hover .promotion-card__media img {
  transform: scale(1.06);
}

.promo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.promo-countdown-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(9, 43, 66, 0.88);
  backdrop-filter: blur(4px);
  border: 1px solid var(--ph8-yellow);
  color: var(--ph8-yellow);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(9, 43, 66, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFF;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
}

.promo-fav-btn.is-favorite,
.promo-fav-btn:hover {
  background: var(--ph8-red);
  color: #FFF;
  border-color: var(--ph8-red);
  transform: scale(1.15);
}

.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 26, 41, 0.85);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.promotion-card:hover .promo-card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.promo-overlay-btn {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.promo-overlay-btn:hover {
  background: #FFE066;
  transform: scale(1.05);
}

.promotion-card__content {
  padding: 1.1rem;
  background: #092B42;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: #FFF;
}

.promotion-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #FFF;
  margin: 0 0 6px;
  line-height: 1.35;
}

.promotion-card__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 14px;
  flex-grow: 1;
  line-height: 1.45;
}

.promotion-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  margin-top: auto;
}

.promotion-card__terms {
  font-size: 0.72rem;
  color: var(--ph8-yellow);
  font-weight: 700;
}

/* INTERACTIVE PROMO DETAIL MODAL */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.promo-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.promo-modal-card {
  background: #092B42;
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: #FFF;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.25s ease;
  position: relative;
}

.promo-modal-backdrop.is-open .promo-modal-card {
  transform: scale(1);
}

.promo-modal-header {
  padding: 14px 20px;
  background: #051A29;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(253, 185, 19, 0.3);
  position: sticky;
  top: 0;
  z-index: 10;
}

.promo-modal-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ph8-yellow);
  margin: 0;
}

.promo-modal-close {
  background: transparent;
  border: 0;
  color: #FFF;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 8px;
  transition: color 0.2s ease;
}

.promo-modal-close:hover {
  color: var(--ph8-yellow);
}

.promo-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-modal-img-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ph8-radius-md);
  overflow: hidden;
  border: 1px solid rgba(253, 185, 19, 0.4);
  background: #051A29;
  position: relative;
}

.promo-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: #051A29;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 500px) {
  .promo-modal-info-grid {
    grid-template-columns: 1fr;
  }
}

.promo-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-spec-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-spec-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFF;
}

.promo-spec-val--gold {
  color: var(--ph8-yellow);
}

/* INTERACTIVE ROLLOVER CALCULATOR INSIDE MODAL */
.promo-calc-box {
  background: linear-gradient(135deg, #051A29 0%, #082438 100%);
  border: 1.5px solid var(--ph8-yellow);
  border-radius: 8px;
  padding: 14px 18px;
}

.promo-calc-title {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--ph8-yellow);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-calc-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.promo-calc-input-group label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.promo-calc-input-group input {
  padding: 6px 12px;
  background: #092B42;
  border: 1px solid rgba(253, 185, 19, 0.5);
  border-radius: 6px;
  color: #FFF;
  font-weight: 800;
  font-size: 0.9rem;
  outline: none;
}

.promo-calc-result {
  background: #092B42;
  border-radius: 6px;
  padding: 10px 14px;
  border-left: 3px solid var(--ph8-yellow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.promo-calc-result-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.promo-calc-result-num {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ph8-yellow);
}

.promo-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #051A29;
  border: 1px dashed var(--ph8-yellow);
  border-radius: 8px;
  padding: 10px 16px;
}

.promo-code-text {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ph8-yellow);
  letter-spacing: 1px;
}

.promo-copy-btn {
  background: var(--ph8-orange);
  color: #FFF;
  border: 0;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}

.promo-copy-btn:hover {
  background: #E05300;
}

.promo-modal-actions {
  padding: 14px 20px;
  background: #051A29;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* GAME CATEGORIES TABS & GRID */
.category-tabs-wrapper {
  margin-block: 20px;
}

.category-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.category-tab {
  background: #0D2D4A;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.category-tab:hover,
.category-tab.active,
.category-tab[aria-selected="true"] {
  background: var(--ph8-yellow) !important;
  color: var(--ph8-navy) !important;
  border-color: #FFD700 !important;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  transform: translateY(-1px);
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: var(--ph8-radius-md);
  overflow: hidden;
  background: var(--ph8-white);
  box-shadow: var(--ph8-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ph8-shadow-md);
  border-color: var(--ph8-orange);
}

.category-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ph8-navy-light);
  position: relative;
  cursor: pointer;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card__media:hover img {
  transform: scale(1.05);
}

.category-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 43, 66, 0.9);
  color: var(--ph8-yellow);
  border: 1px solid var(--ph8-yellow);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 43, 66, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.category-card__media:hover .category-card__overlay {
  opacity: 1;
}

.category-card__hover-btn {
  background: var(--ph8-orange);
  color: var(--ph8-white);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: translateY(6px);
  transition: transform 0.25s ease;
}

.category-card__media:hover .category-card__hover-btn {
  transform: translateY(0);
}

.category-card__body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6px;
}

.category-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ph8-navy);
  margin: 0;
}

.category-card__desc {
  font-size: 0.82rem;
  color: var(--ph8-text);
  margin: 0;
  flex-grow: 1;
  line-height: 1.35;
}

.category-card__providers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.provider-pill {
  background: #EBF3FA;
  color: var(--ph8-navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #D0E2F3;
  transition: background 0.2s ease, color 0.2s ease;
}

.provider-pill:hover {
  background: var(--ph8-navy);
  color: var(--ph8-yellow);
}

.category-card__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
}

.category-card__actions .ph8-button {
  flex: 1;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

/* CATEGORY MODAL STYLES */
.category-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.category-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.category-modal-content {
  background: var(--ph8-white);
  border-radius: var(--ph8-radius-md);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  animation: catModalSlideUp 0.3s ease-out;
}

@keyframes catModalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.category-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: var(--ph8-white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.category-modal-close:hover {
  background: var(--ph8-orange);
}

.category-modal-header {
  padding: 16px 20px 10px;
}

.category-modal-badge {
  display: inline-block;
  background: var(--ph8-navy);
  color: var(--ph8-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.category-modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ph8-navy);
  margin: 0;
}

.category-modal-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ph8-navy);
}

.category-modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-modal-body {
  padding: 16px 20px;
}

.category-modal-desc {
  font-size: 0.9rem;
  color: var(--ph8-text);
  line-height: 1.5;
  margin-bottom: 16px;
}

.category-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  background: #F4F8FC;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #D5E5F5;
}

.cat-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cat-stat-label {
  font-size: 0.72rem;
  color: var(--ph8-text-light);
  font-weight: 600;
  text-transform: uppercase;
}

.cat-stat-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ph8-navy);
}

.category-modal-section {
  margin-bottom: 16px;
}

.category-modal-section h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ph8-navy);
  margin-bottom: 8px;
}

.cat-games-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-games-list li {
  background: #EAF2F9;
  color: var(--ph8-navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border-left: 3px solid var(--ph8-orange);
}

.cat-providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-modal-footer {
  padding: 14px 20px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.category-modal-footer .ph8-button {
  flex: 1;
  justify-content: center;
  text-align: center;
}

/* APP DOWNLOAD PANEL */
.app-section {
  margin-block: 30px;
  border: 3px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-lg);
  background: linear-gradient(135deg, #092B42 0%, #1662E8 100%);
  color: var(--ph8-white);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--ph8-shadow-md);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.app-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.app-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
}

.app-info-title {
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  font-weight: 900;
  margin: 0 0 1rem 0;
  color: var(--ph8-yellow);
  text-align: center;
  width: 100%;
  word-wrap: break-word;
}

.app-info p {
  text-align: center;
  margin: 0 auto 1.25rem auto;
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.app-info-list {
  margin: 0 auto 1.75rem auto;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-info-list li {
  margin: 0;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
}

.app-info .ph8-button {
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.app-download-highlight-link {
  color: #ffc107 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  background: rgba(255, 193, 7, 0.18) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 193, 7, 0.45) !important;
  transition: all 0.2s ease-in-out !important;
  display: inline-inline !important;
}

.app-download-highlight-link:hover {
  background: rgba(255, 193, 7, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.6) !important;
}

.app-download-highlight-btn {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.4) !important;
  border: 1px solid #ffe082 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.app-download-highlight-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.6) !important;
}

.app-qr-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.app-qr-box {
  background: var(--ph8-navy);
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(190px, 100%);
  max-width: 100%;
  box-sizing: border-box;
  flex: 0 1 190px;
}

.app-qr-box img {
  width: 120px;
  height: 120px;
  max-width: 100%;
  margin: 0 auto 10px auto;
  background: var(--ph8-white);
  padding: 6px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}

.app-qr-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ph8-white);
  text-align: center;
  width: 100%;
  margin-bottom: 4px;
}

.app-qr-box .ph8-button {
  margin-top: 8px;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* PHILIPPINE PAYMENT METHODS CONTAINERS */
.ph-payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-block: 20px;
  box-sizing: border-box;
}

.ph-payment-card {
  background: var(--ph8-white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--ph8-radius-md);
  padding: 14px 12px;
  box-shadow: var(--ph8-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

.ph-payment-card-clone {
  display: none !important;
}

.ph-payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(9, 43, 66, 0.22);
  border-color: var(--ph8-yellow);
}

/* Individual Method Accent Borders */
.ph-payment-card--gcash {
  border-top: 4px solid #0052FF;
}

.ph-payment-card--maya {
  border-top: 4px solid #00D68F;
}

.ph-payment-card--qrph {
  border-top: 4px solid var(--ph8-orange);
}

.ph-payment-card--bank {
  border-top: 4px solid var(--ph8-navy);
}

.ph-payment-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
  min-width: 0;
}

.ph-payment-card__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}

.ph-payment-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.ph-payment-card__icon-wrap--gcash {
  background: linear-gradient(135deg, #E6F0FF 0%, #CCE0FF 100%);
  border: 1px solid #99C2FF;
}

.ph-payment-card__icon-wrap--maya {
  background: linear-gradient(135deg, #E6FBF5 0%, #B3F5E3 100%);
  border: 1px solid #66EBBF;
}

.ph-payment-card__icon-wrap--qrph {
  background: linear-gradient(135deg, #FFF3E6 0%, #FFE0CC 100%);
  border: 1px solid #FFC299;
}

.ph-payment-card__icon-wrap--bank {
  background: linear-gradient(135deg, #EAEFF5 0%, #D5DFEB 100%);
  border: 1px solid #9BB1C9;
}

.ph-payment-card__title-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.ph-payment-card__title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ph8-navy);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-payment-card__subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ph8-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ph-payment-card__tag {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ph-payment-card__tag--popular {
  background: #FFEBE6;
  color: #DE6521;
  border: 1px solid #FFC2B3;
}

.ph-payment-card__tag--fast {
  background: #E6FBF5;
  color: #05B880;
  border: 1px solid #99F2D8;
}

.ph-payment-card__tag--national {
  background: #FFF9E6;
  color: #B88600;
  border: 1px solid #FFEBA6;
}

.ph-payment-card__tag--secure {
  background: #EAF2FF;
  color: #0F60E8;
  border: 1px solid #B3D1FF;
}

.ph-payment-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.payment-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.25;
}

.payment-badge--blue {
  background: #E6F0FF;
  color: #0F60E8;
}

.payment-badge--green {
  background: #E6FBF5;
  color: #05B880;
}

.payment-badge--yellow {
  background: #FFF9E6;
  color: #B88600;
}

.payment-badge--teal {
  background: #E6FAFA;
  color: #008B8B;
}

.payment-badge--orange {
  background: #FFF0E6;
  color: #DE6521;
}

.payment-badge--navy {
  background: #EAEFF5;
  color: #092B42;
}

.payment-badge--gold {
  background: #FFF8E1;
  color: #8D6E00;
}

.payment-badge--purple {
  background: #F3E8FF;
  color: #6B21A8;
}

.ph-payment-card__desc {
  font-size: 0.78rem;
  color: var(--ph8-text);
  margin: 0 0 10px;
  line-height: 1.35;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* INTERACTIVE PAYMENT IMAGE SHOWCASE */
.ph-payment-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-block: 8px 10px;
  background: radial-gradient(circle at center, #0E3558 0%, #031322 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ph-payment-card__media:hover,
.ph-payment-card__media:active {
  transform: translateY(-2px) scale(1.02);
}

.ph-payment-card--gcash .ph-payment-card__media:hover,
.ph-payment-card--gcash .ph-payment-card__media:active {
  border-color: #0066FF;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.ph-payment-card--maya .ph-payment-card__media:hover,
.ph-payment-card--maya .ph-payment-card__media:active {
  border-color: #05B35C;
  box-shadow: 0 10px 30px rgba(5, 179, 92, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.ph-payment-card--qrph .ph-payment-card__media:hover,
.ph-payment-card--qrph .ph-payment-card__media:active {
  border-color: #FFD700;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.ph-payment-card--bank .ph-payment-card__media:hover,
.ph-payment-card--bank .ph-payment-card__media:active {
  border-color: #00E5FF;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.ph-payment-card__media:focus-visible {
  outline: 2px solid var(--ph8-yellow);
  outline-offset: 2px;
}

.ph-payment-card__banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.ph-payment-card__media:hover .ph-payment-card__banner-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.ph-payment-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 26, 41, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ph-payment-card__media:hover .ph-payment-card__overlay,
.ph-payment-card__media:focus-within .ph-payment-card__overlay {
  opacity: 1;
}

.ph-payment-card__hover-btn {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.5);
  transform: translateY(6px);
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.ph-payment-card__media:hover .ph-payment-card__hover-btn {
  transform: translateY(0);
}

/* INTERACTIVE PAYMENT MODAL STYLES */
.payment-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 15, 25, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.payment-modal-card {
  background: linear-gradient(145deg, #081C32 0%, #031322 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.15);
  padding: 20px;
  color: var(--ph8-white);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.payment-modal-backdrop.is-open .payment-modal-card {
  transform: scale(1) translateY(0);
}

.payment-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-modal-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ph8-yellow);
  margin: 0;
}

.payment-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.payment-modal-close:hover {
  background: var(--ph8-red);
  color: #fff;
}

.payment-modal-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #0B2B47 0%, #020B14 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.payment-modal-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.payment-modal-img-wrap:hover img {
  transform: scale(1.05);
}

.payment-modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.payment-spec-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.payment-spec-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 700;
}

.payment-spec-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ph8-yellow);
}

.payment-modal-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--ph8-yellow);
}

.payment-modal-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.payment-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
}

.payment-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  font-weight: 900;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-payment-card__footer {
  margin-top: auto;
}

.ph-payment-card__footer .ph8-button {
  font-size: 0.76rem;
  padding: 6px 10px;
  text-align: center;
  justify-content: center;
}

/* Mobile Carousel Responsiveness for Payment Grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .ph-payment-methods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 768px) {
  #payments-section {
    overflow: hidden !important;
    position: relative !important;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  }

  .ph-payment-methods-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 12px !important;
    padding-bottom: 6px;
    margin-block: 16px 8px;
    animation: paymentMarquee 15s linear infinite !important;
    will-change: transform;
  }

  .ph-payment-methods-grid:hover,
  .ph-payment-methods-grid:active,
  .ph-payment-methods-grid:focus-within {
    animation-play-state: paused !important;
  }

  .ph-payment-card-clone {
    display: flex !important;
  }

  .ph-payment-card {
    flex: 0 0 210px !important;
    width: 210px !important;
    max-width: 210px !important;
    padding: 10px;
    border-radius: 12px;
  }

  .ph-payment-card__header {
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
  }

  .ph-payment-card__icon-wrap {
    width: 32px;
    height: 32px;
    padding: 3px;
    border-radius: 7px;
  }

  .ph-payment-card__title {
    font-size: 0.82rem;
  }

  .ph-payment-card__subtitle {
    font-size: 0.62rem;
  }

  .ph-payment-card__tag {
    display: inline-block;
    font-size: 0.54rem;
    padding: 2px 4px;
  }

  .ph-payment-card__desc {
    font-size: 0.72rem;
    line-height: 1.25;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
  }

  .payment-badge {
    font-size: 0.6rem;
    padding: 1px 4px;
  }

  .ph-payment-card__footer .ph8-button {
    font-size: 0.72rem;
    padding: 5px 8px;
  }

  .ph-payment-dots {
    display: none !important;
  }

  .ph-payment-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(9, 43, 66, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .ph-payment-dot.is-active {
    width: 22px;
    border-radius: 10px;
    background: var(--ph8-blue, #0052FF);
  }
}

@media (min-width: 769px) {
  .ph-payment-dots {
    display: none;
  }
}

/* THREE PANELS: PAYMENTS, SAFETY, RESPONSIBLE GAMING */
.three-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 28px;
}

.info-panel {
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: var(--ph8-radius-md);
  background: var(--ph8-white);
  padding: 1.2rem;
  box-shadow: var(--ph8-shadow-sm);
  display: flex;
  flex-direction: column;
}

.info-panel__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ph8-navy);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-panel__desc {
  font-size: 0.85rem;
  color: var(--ph8-text);
  margin: 0 0 12px;
  flex-grow: 1;
}

/* ARTICLES / BLOG GRID */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 20px;
}

.article-card {
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: var(--ph8-radius-md);
  overflow: hidden;
  background: var(--ph8-white);
  box-shadow: var(--ph8-shadow-sm);
  display: flex;
  flex-direction: column;
}

.article-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ph8-navy-light);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card__date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ph8-muted);
  margin-bottom: 4px;
}

.article-card__title {
  font-size: 1rem;
  font-weight: 900;
  color: #0847B5;
  margin: 0 0 6px;
  line-height: 1.35;
}

.article-card__desc {
  font-size: 0.82rem;
  color: var(--ph8-text);
  margin: 0 0 12px;
  flex-grow: 1;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
  margin: 20px auto;
}

.faq-item {
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: var(--ph8-radius-md);
  background: var(--ph8-white);
  overflow: hidden;
  box-shadow: var(--ph8-shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--ph8-white);
  border: 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ph8-navy);
  cursor: pointer;
  transition: background 0.2s;
}

.faq-trigger:hover {
  background: var(--ph8-off-white);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ph8-blue);
  transition: transform 0.2s;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.2rem 1rem;
  font-size: 0.88rem;
  color: var(--ph8-text);
  line-height: 1.6;
  border-top: 1px solid rgba(9, 43, 66, 0.1);
}

/* RESPONSIBLE GAMING BANNER */
.responsible-gaming-banner {
  background: var(--ph8-navy);
  border: 2px solid var(--ph8-yellow);
  border-radius: var(--ph8-radius-md);
  color: var(--ph8-white);
  padding: 1.2rem 1.5rem;
  margin-block: 30px;
  text-align: center;
  box-shadow: var(--ph8-shadow-sm);
}

.rg-badge {
  display: inline-block;
  background: var(--ph8-red);
  color: var(--ph8-white);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.rg-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ph8-off-white);
  margin: 0 0 10px;
}

.rg-link {
  color: var(--ph8-yellow);
  font-weight: 800;
  text-decoration: underline;
}

.rg-pagcor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  flex-wrap: wrap;
}

.rg-pagcor-logos img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.rg-pagcor-logos img:hover {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .responsible-gaming-banner {
    padding: 1rem;
    margin-block: 20px;
  }

  .rg-pagcor-logos {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
  }

  .rg-pagcor-logos img {
    max-height: 36px;
    max-width: calc(50% - 6px);
    width: auto;
    padding: 3px 6px;
    object-fit: contain;
  }
}

/* PROVIDERS STRIP */
.provider-strip {
  background: var(--ph8-navy-medium);
  border-block: 2px solid var(--ph8-yellow);
  padding: 16px 0;
  margin-block: 20px;
}

.provider-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.provider-pill {
  background: rgba(255,255,255,0.12);
  color: var(--ph8-white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  height: 40px;
}

.provider-flex img {
  height: 42px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0 4px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.provider-clone {
  display: none !important;
}

.provider-flex img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
}

.footer-provider-strip {
  background: rgba(8, 28, 50, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.footer-pagcor-logos {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-pagcor-logos img {
  max-height: 44px;
  height: 44px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.footer-pagcor-logos img:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
  border-color: var(--ph8-yellow);
}

/* FOOTER */
.main-footer {
  background: var(--ph8-navy);
  border-top: 4px solid var(--ph8-yellow);
  color: var(--ph8-white);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-logo-link {
  display: block;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  height: auto;
  max-width: 175px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s ease;
}

.footer-brand-logo-link:hover .footer-brand-logo {
  transform: scale(1.04);
}

.footer-col-title {
  color: var(--ph8-yellow);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--ph8-off-white);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ph8-yellow);
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: var(--ph8-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ph8-muted);
}

/* MOBILE BOTTOM NAVIGATION BAR */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 26, 41, 0.94);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1.5px solid rgba(255, 215, 0, 0.45);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.35);
  overflow: hidden;
}

.mobile-bottom-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.9), transparent);
  animation: navGlowSlide 4s infinite linear;
  pointer-events: none;
}

@keyframes navGlowSlide {
  0% { left: -50%; }
  100% { left: 150%; }
}

@media (max-width: 1024px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 62px;
  }
}

.mobile-bottom-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 700;
  gap: 3px;
  flex: 1;
  height: 100%;
  padding: 6px 2px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), color 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.mobile-bottom-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.mobile-bottom-item::after {
  content: '';
  position: absolute;
  inset: 4px 6px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.6);
  pointer-events: none;
}

.mobile-bottom-item svg {
  width: 22px;
  height: 22px;
  fill: var(--ph8-sky-light);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.25s ease, filter 0.25s ease;
  z-index: 1;
}

.mobile-bottom-item span {
  z-index: 1;
  transition: color 0.25s ease, font-weight 0.25s ease, text-shadow 0.25s ease;
}

.mobile-bottom-item:active {
  transform: scale(0.92) translateY(1px);
}

.mobile-bottom-item.active,
.mobile-bottom-item:hover {
  color: var(--ph8-yellow);
}

.mobile-bottom-item.active::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.mobile-bottom-item.active::after {
  opacity: 1;
  transform: scale(1);
}

.mobile-bottom-item.active svg {
  fill: var(--ph8-yellow);
  transform: translateY(-2px) scale(1.12);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
}

.mobile-bottom-item.active span {
  color: var(--ph8-yellow);
  font-weight: 900;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* CONTINUOUS POP-OUT HOVER / TOUCH INTERACTIVE ANIMATION */
@keyframes continuousPopOut {
  0% {
    transform: translateY(-2px) scale(1.04);
  }
  50% {
    transform: translateY(-8px) scale(1.22);
  }
  100% {
    transform: translateY(-4px) scale(1.12);
  }
}

@keyframes continuousIconBounce {
  0% {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
  }
  50% {
    transform: translateY(-8px) scale(1.32);
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 1)) drop-shadow(0 0 24px rgba(255, 165, 0, 0.95));
  }
  100% {
    transform: translateY(-3px) scale(1.18);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.85));
  }
}

.mobile-bottom-item:hover,
.mobile-bottom-item:focus-visible,
.mobile-bottom-item.is-hovered {
  color: #FFD700 !important;
  animation: continuousPopOut 0.65s infinite ease-in-out alternate !important;
  z-index: 10;
}

.mobile-bottom-item:hover svg,
.mobile-bottom-item:focus-visible svg,
.mobile-bottom-item.is-hovered svg {
  fill: #FFD700 !important;
  animation: continuousIconBounce 0.65s infinite ease-in-out alternate !important;
}

.mobile-bottom-item:hover::after,
.mobile-bottom-item.is-hovered::after {
  opacity: 1 !important;
  transform: scale(1.3) !important;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 165, 0, 0.15) 70%, transparent 100%) !important;
}

.mobile-bottom-item:hover span,
.mobile-bottom-item:focus-visible span,
.mobile-bottom-item.is-hovered span {
  color: #FFD700 !important;
  font-weight: 900 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.9) !important;
}

/* RANDOM POP-UP ATTENTION ANIMATION */
@keyframes randomItemPop {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-11px) scale(1.28);
  }
  55% {
    transform: translateY(-6px) scale(1.16);
  }
  75% {
    transform: translateY(-9px) scale(1.22);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes popIconPulse {
  0% {
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
  }
  40% {
    filter: drop-shadow(0 0 14px rgba(255, 215, 0, 1)) drop-shadow(0 0 22px rgba(255, 165, 0, 0.95));
    fill: #FFD700;
  }
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
  }
}

.mobile-bottom-item.is-random-pop {
  animation: randomItemPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  z-index: 5;
}

.mobile-bottom-item.is-random-pop svg {
  animation: popIconPulse 0.9s ease-in-out !important;
  fill: #FFD700 !important;
}

.mobile-bottom-item.is-random-pop span {
  color: #FFD700 !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8) !important;
}

.bottom-nav-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.35);
  transform: scale(0);
  animation: bottomNavRippleAnim 0.5s linear;
  pointer-events: none;
}

@keyframes bottomNavRippleAnim {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* FLOATING CONTROLS */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 990;
  background: var(--ph8-orange);
  color: var(--ph8-white);
  border: 2px solid var(--ph8-yellow);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ph8-shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

@media (min-width: 1025px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
  }
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-guide-banner {
  position: fixed;
  bottom: 80px;
  left: 16px;
  z-index: 990;
  background: var(--ph8-navy);
  border: 2px solid var(--ph8-yellow);
  color: var(--ph8-white);
  padding: 8px 12px;
  border-radius: var(--ph8-radius-md);
  box-shadow: var(--ph8-shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}

@media (min-width: 1025px) {
  .floating-guide-banner {
    bottom: 24px;
    left: 24px;
  }
}

.floating-guide-close {
  background: transparent;
  border: 0;
  color: var(--ph8-yellow);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

/* INNER PAGE SPECIFIC STYLES */
.page-header {
  background: var(--ph8-navy);
  color: var(--ph8-white);
  padding: 2rem 0;
  border-bottom: 3px solid var(--ph8-yellow);
  margin-bottom: 20px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ph8-yellow-soft);
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: var(--ph8-white);
}

.breadcrumbs a:hover {
  color: var(--ph8-yellow);
}

.page-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--ph8-white);
}

.page-intro-box {
  background: rgba(255,255,255,0.95);
  border-left: 5px solid var(--ph8-yellow);
  padding: 1.2rem;
  border-radius: var(--ph8-radius-sm);
  color: var(--ph8-navy);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  box-shadow: var(--ph8-shadow-sm);
}

.content-article {
  background: var(--ph8-white);
  border-radius: var(--ph8-radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--ph8-shadow-sm);
  color: var(--ph8-navy);
}

/* ==========================================================================
   GLOBAL INLINE LINKS STYLING (BLUE TEXT LINKS)
   ========================================================================== */
p a,
li a,
.content-article a,
.content-section-card a,
.seo-content a,
.guide-content a,
.blog-post-body a,
main article p a,
main article li a,
article p a,
article li a {
  color: #0847B5 !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-color: #0847B5 !important;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

p a:hover,
li a:hover,
.content-article a:hover,
.content-section-card a:hover,
main article p a:hover,
main article li a:hover {
  color: #1D4ED8 !important;
  text-decoration-color: var(--ph8-yellow, #ffd700) !important;
  text-shadow: 0 0 10px rgba(8, 71, 181, 0.25);
}

/* For dark/hero backgrounds & homepage hero links */
.hero-banner a:not(.ph8-button),
.hero-description a,
.info-panel a:not(.ph8-button),
.app-section a:not(.ph8-button) {
  color: #ffd700 !important;
  text-decoration: underline !important;
  text-decoration-color: #ffd700 !important;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.hero-banner a:not(.ph8-button):hover,
.hero-description a:hover,
.info-panel a:not(.ph8-button):hover,
.app-section a:not(.ph8-button):hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.9);
}

footer a:not(.ph8-button):not(.footer-brand-logo-link) {
  color: #60a5fa !important;
}

/* ==========================================================================
   SEPARATED INTERACTIVE CONTENT SECTIONS & CARDS
   ========================================================================== */
.interactive-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.content-section-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1.5px solid #d0e2f3;
  border-left: 6px solid #0847B5;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 6px 20px rgba(8, 71, 181, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(8, 71, 181, 0.14);
  border-color: #fdb913;
  border-left-color: #fdb913;
}

.content-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed #e2edf8;
  flex-wrap: wrap;
}

.section-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ph8-navy, #092b42);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-card-title .section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0847B5 0%, #052654 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(8, 71, 181, 0.3);
  flex-shrink: 0;
}

.section-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 71, 181, 0.08);
  border: 1px solid rgba(8, 71, 181, 0.25);
  color: #0847B5;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.section-badge-tag--gold {
  background: rgba(253, 185, 19, 0.15);
  border-color: rgba(253, 185, 19, 0.5);
  color: #925800;
}

.section-card-body {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ph8-navy, #092b42);
}

.section-card-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0847B5;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.interactive-step-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-block: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: step-counter;
}

.interactive-step-list li {
  position: relative;
  padding: 12px 16px 12px 48px;
  background: #ffffff;
  border: 1px solid #e2edf8;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  counter-increment: step-counter;
}

.interactive-step-list li::before {
  content: counter(step-counter);
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #fdb913 0%, #ff9800 100%);
  color: #000000;
  font-weight: 900;
  font-size: 0.82rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(253, 185, 19, 0.4);
}

.interactive-step-list li:hover {
  border-color: #0847B5;
  background: #f4f8fe;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(8, 71, 181, 0.1);
}

.interactive-callout-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  margin-block: 1.25rem;
  font-size: 0.9rem;
  color: #78350f;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.interactive-callout-box strong {
  color: #92400e;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-feedback-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2edf8;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.section-feedback-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-feedback-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.section-feedback-btn:hover {
  background: #0847B5;
  border-color: #0847B5;
  color: #ffffff;
  transform: scale(1.05);
}

.section-feedback-btn.is-voted {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  cursor: default;
}

@media (max-width: 768px) {
  .content-section-card {
    padding: 1.25rem 1.1rem;
    border-radius: 12px;
  }
  .section-card-title {
    font-size: 1.15rem;
  }
  .section-card-title .section-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}

.content-article h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ph8-navy);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid var(--ph8-sky-light);
  padding-bottom: 4px;
}

.content-article h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ph8-navy-medium);
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.content-article p,
.content-article ul,
.content-article ol {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.content-article ul,
.content-article ol {
  padding-left: 1.4rem;
}

.content-article li {
  margin-bottom: 6px;
}

.warning-callout {
  background: #FFF3CD;
  border: 1px solid #FFEBAA;
  border-left: 4px solid var(--ph8-orange);
  padding: 1rem;
  border-radius: var(--ph8-radius-sm);
  margin-block: 1rem;
  font-size: 0.88rem;
  color: #856404;
}

/* RESPONSIVE BREAKPOINTS & MEDIA QUERIES */
@media (max-width: 1024px) {
  /* HOT GAMES MOBILE & TABLET CONTINUOUS MARQUEE */
  .hot-games-layout {
    overflow: hidden !important;
    width: 100% !important;
    position: relative;
    padding-bottom: 0.5rem;
  }

  .game-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 12px !important;
    animation: continuousGameMarquee 12s linear infinite alternate !important;
    will-change: transform;
    overflow: visible !important;
    padding-bottom: 14px;
    padding-top: 6px;
    margin: 0;
  }

  .game-grid:hover,
  .game-grid:active {
    animation-play-state: paused !important;
  }

  .game-grid .game-card {
    flex: 0 0 130px !important;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 130px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
  }

  /* Navigation Controls for Mobile/Tablet Carousel */
  .hot-games-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
  }

  .hot-games-nav-btn {
    background: #092B42;
    border: 1.5px solid var(--ph8-yellow);
    color: var(--ph8-yellow);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  }

  .hot-games-nav-btn:active {
    transform: scale(0.92);
    background: var(--ph8-yellow);
    color: var(--ph8-navy);
  }

  .hot-games-swipe-hint {
    font-size: 0.76rem;
    color: var(--ph8-yellow);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(5, 26, 41, 0.85);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
  }

  /* EXCLUSIVE GUIDES MOBILE & TABLET CAROUSEL SLIDER */
  .exclusive-guides-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-top: 6px !important;
    padding-bottom: 18px !important;
    padding-inline: 12px !important;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--ph8-yellow) rgba(5, 26, 41, 0.6);
  }

  .exclusive-guides-grid::-webkit-scrollbar {
    height: 6px;
  }

  .exclusive-guides-grid::-webkit-scrollbar-track {
    background: rgba(5, 26, 41, 0.6);
    border-radius: 999px;
  }

  .exclusive-guides-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--ph8-yellow), #FFA500);
    border-radius: 999px;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
  }

  .exclusive-guides-grid .exclusive-guide-card {
    flex: 0 0 clamp(230px, 75vw, 290px) !important;
    width: clamp(230px, 75vw, 290px) !important;
    max-width: clamp(230px, 75vw, 290px) !important;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    border-radius: 12px;
  }

  .exclusive-guides-grid .exclusive-guide-card__media {
    aspect-ratio: 2.3 / 1;
  }

  .exclusive-guides-grid .exclusive-guide-card__tag {
    top: 6px;
    right: 6px;
    padding: 3px 8px;
    font-size: 0.65rem;
  }

  .exclusive-guides-grid .exclusive-guide-card__body {
    padding: 12px 14px;
    gap: 6px;
  }

  .exclusive-guides-grid .exclusive-guide-card__title {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .exclusive-guides-grid .exclusive-guide-card__desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .exclusive-guides-grid .exclusive-guide-card__btn {
    padding: 9px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  /* Navigation Controls for Exclusive Guides Carousel */
  .exclusive-guides-carousel-controls,
  .exclusive-guides-dots {
    display: none !important;
  }

  .guide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .guide-dot.is-active {
    background: var(--ph8-yellow);
    width: 24px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  /* PROMO FILTER TABS MOBILE & TABLET CAROUSEL */
  .promo-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .promo-filter-wrapper {
    width: 100%;
  }

  .promo-filter-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    padding-top: 2px;
    padding-inline: 2px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--ph8-yellow) rgba(5, 26, 41, 0.6);
  }

  .promo-filter-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .promo-filter-tabs::-webkit-scrollbar-track {
    background: rgba(5, 26, 41, 0.6);
    border-radius: 999px;
  }

  .promo-filter-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--ph8-yellow), #FFA500);
    border-radius: 999px;
  }

  .promo-filter-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: center;
  }

  .promo-filter-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(5, 26, 41, 0.85);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    width: fit-content;
    margin: 4px auto 0 auto;
  }

  .promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .promo-dot.is-active {
    background: var(--ph8-yellow);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  .promo-search-box {
    width: 100%;
    min-width: 0;
  }

  /* MAIN PROMOTION GRID MOBILE & TABLET CAROUSEL */
  .promotion-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-top: 6px !important;
    padding-bottom: 18px !important;
    padding-inline: 8px !important;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--ph8-yellow) rgba(5, 26, 41, 0.6);
  }

  .promotion-grid::-webkit-scrollbar {
    height: 4px;
  }

  .promotion-grid::-webkit-scrollbar-track {
    background: rgba(5, 26, 41, 0.6);
    border-radius: 999px;
  }

  .promotion-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--ph8-yellow), #FFA500);
    border-radius: 999px;
  }

  .promotion-grid .promotion-card {
    flex: 0 0 clamp(230px, 75vw, 290px) !important;
    width: clamp(230px, 75vw, 290px) !important;
    max-width: clamp(230px, 75vw, 290px) !important;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    border-radius: 12px;
    border-width: 1.5px;
  }

  .promotion-grid .promotion-card__media {
    aspect-ratio: 2.1 / 1;
  }

  .promotion-grid .promo-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
  }

  .promotion-grid .promo-countdown-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    bottom: 6px;
    left: 6px;
  }

  .promotion-grid .promo-fav-btn {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
    top: 6px;
    right: 6px;
  }

  .promotion-grid .promotion-card__content {
    padding: 12px 14px;
    gap: 6px;
  }

  .promotion-grid .promotion-card__title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 2px;
  }

  .promotion-grid .promotion-card__desc {
    font-size: 0.78rem;
    line-height: 1.42;
    margin-bottom: 8px;
  }

  .promotion-grid .promotion-card__footer {
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .promotion-grid .promotion-card__terms {
    font-size: 0.68rem;
  }

  .promotion-grid .promotion-card__footer .ph8-button {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
  }

  .promo-filter-dots,
  .main-promo-carousel-dots,
  .category-tabs-dots,
  .category-cards-dots,
  .three-panels-dots,
  .articles-dots,
  .ph-payment-dots {
    display: none !important;
  }

  .promo-grid-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .promo-grid-dot.is-active {
    background: var(--ph8-yellow);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  /* CATEGORY TABS MOBILE & TABLET CAROUSEL */
  .category-tablist {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    padding-top: 4px;
    padding-inline: 10px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--ph8-yellow) rgba(5, 26, 41, 0.6);
  }

  .category-tablist::-webkit-scrollbar {
    height: 4px;
  }

  .category-tablist::-webkit-scrollbar-track {
    background: rgba(5, 26, 41, 0.6);
    border-radius: 999px;
  }

  .category-tablist::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--ph8-yellow), #FFA500);
    border-radius: 999px;
  }

  .category-tablist .category-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: start;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #FFFFFF !important;
    background: #0D2D4A;
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    border-radius: 999px;
  }

  .category-tablist .category-tab.active,
  .category-tablist .category-tab[aria-selected="true"] {
    background: var(--ph8-yellow) !important;
    color: var(--ph8-navy) !important;
    border-color: #FFD700 !important;
    font-weight: 900;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  }

  .category-tabs-dots,
  .category-cards-dots,
  .three-panels-dots,
  .articles-dots {
    display: none !important;
  }

  .cat-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .cat-tab-dot.is-active {
    background: var(--ph8-yellow);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  /* CATEGORY CARDS MOBILE & TABLET CAROUSEL */
  .category-cards-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-top: 6px !important;
    padding-bottom: 18px !important;
    padding-inline: 8px !important;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--ph8-yellow) rgba(5, 26, 41, 0.6);
  }

  .category-cards-grid::-webkit-scrollbar {
    height: 4px;
  }

  .category-cards-grid::-webkit-scrollbar-track {
    background: rgba(5, 26, 41, 0.6);
    border-radius: 999px;
  }

  .category-cards-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--ph8-yellow), #FFA500);
    border-radius: 999px;
  }

  .category-cards-grid .category-card {
    flex: 0 0 clamp(230px, 75vw, 290px) !important;
    width: clamp(230px, 75vw, 290px) !important;
    max-width: clamp(230px, 75vw, 290px) !important;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    border-radius: 12px;
    border-width: 1.5px;
  }

  .category-cards-grid .category-card__media {
    aspect-ratio: 2.1 / 1;
  }

  .category-cards-grid .category-card__badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
  }

  .category-cards-grid .category-card__body {
    padding: 8px 10px;
    gap: 4px;
  }

  .category-cards-grid .category-card__title {
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0;
  }

  .category-cards-grid .category-card__desc {
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
  }

  .category-cards-grid .category-card__providers {
    margin: 0;
    gap: 4px;
  }

  .category-cards-grid .provider-pill {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .category-cards-grid .category-card__actions {
    gap: 6px;
  }

  .category-cards-grid .category-card__actions .ph8-button {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .category-cards-dots,
  .three-panels-dots,
  .articles-dots {
    display: none !important;
  }

  .cat-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .cat-card-dot.is-active {
    background: var(--ph8-yellow);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  /* THREE PANELS MOBILE & TABLET CAROUSEL */
  .three-panels-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    padding-inline: 4px !important;
    margin-block: 20px !important;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--ph8-yellow) rgba(5, 26, 41, 0.6);
  }

  .three-panels-grid::-webkit-scrollbar {
    height: 4px;
  }

  .three-panels-grid::-webkit-scrollbar-track {
    background: rgba(5, 26, 41, 0.6);
    border-radius: 999px;
  }

  .three-panels-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--ph8-yellow), #FFA500);
    border-radius: 999px;
  }

  .three-panels-grid .info-panel {
    flex: 0 0 clamp(250px, 80vw, 320px) !important;
    width: clamp(250px, 80vw, 320px) !important;
    max-width: clamp(250px, 80vw, 320px) !important;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    border-radius: 12px;
  }

  .three-panels-dots,
  .articles-dots {
    display: none !important;
  }

  .panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .panel-dot.is-active {
    background: var(--ph8-yellow);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  /* ARTICLES MOBILE & TABLET CAROUSEL */
  .articles-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding-top: 4px !important;
    padding-bottom: 8px !important;
    padding-inline: 4px !important;
    margin-block: 16px !important;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none !important;
  }

  .articles-grid::-webkit-scrollbar {
    display: none !important;
  }

  .articles-grid .article-card {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    border-radius: 10px !important;
  }

  .articles-grid .article-card__media {
    aspect-ratio: 16 / 9 !important;
    max-height: 80px !important;
  }

  .articles-grid .article-card__body {
    padding: 8px 6px !important;
  }

  .articles-grid .article-card__date {
    font-size: 0.6rem !important;
    margin-bottom: 2px !important;
  }

  .articles-grid .article-card__title {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    margin: 0 0 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .articles-grid .article-card__desc {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    margin: 0 0 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .articles-grid .article-card__body .ph8-button,
  .articles-grid .article-card__actions .ph8-button {
    padding: 4px 6px !important;
    font-size: 0.68rem !important;
    min-height: unset !important;
    height: auto !important;
  }

  .articles-dots {
    display: none !important;
  }

  .article-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }

  .article-dot.is-active {
    background: var(--ph8-yellow);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
  }

  /* HIDE ALL FILTER TABS & SEARCH BARS ON MOBILE & TABLET */
  .hot-games-toolbar,
  .game-filter-tabs,
  .game-search-box,
  #gameFilterTabs,
  #gameSearchInput,
  .promo-toolbar,
  .promo-filter-wrapper,
  .promo-filter-tabs,
  .promo-filter-dots,
  .promo-search-box,
  #promoFilterBar,
  #promoFilterTabs,
  #promoFilterTabsPage,
  #promoSearchInput,
  #promoSearchInputPage,
  #categoryTablist,
  .category-tablist,
  #categoryTabsDots,
  .category-tabs-dots {
    display: none !important;
  }
}

/* HIDE ALL SLIDER DOTS, CONTROLS, AND SCROLLBAR SLIDERS ACROSS ALL PAGES AND MOBILE VIEWS */
.hero-carousel-indicators,
.hero-carousel-counter,
.hot-games-carousel-controls,
.exclusive-guides-carousel-controls,
.hot-games-swipe-hint,
.hot-games-dots,
.exclusive-guides-dots,
.ph-payment-dots,
.promo-filter-dots,
.main-promo-carousel-dots,
.category-tabs-dots,
.category-cards-dots,
.three-panels-dots,
.articles-dots,
.carousel-dots,
.slider-dots,
#heroCarouselDots,
#paymentMethodsDots,
#exclusiveGuidesDots,
#promoFilterDots,
#mainPromoDots,
#categoryTabsDots,
#categoryCardsDots,
#threePanelsDots,
#articlesDots {
  display: none !important;
}

@media (max-width: 1024px) {
  .promotion-grid,
  .category-cards-grid,
  .three-panels-grid,
  .articles-grid,
  .ph-payment-methods-grid,
  .exclusive-guides-grid,
  .hot-games-carousel,
  .category-tablist {
    scrollbar-width: none !important;
  }
  
  .promotion-grid::-webkit-scrollbar,
  .category-cards-grid::-webkit-scrollbar,
  .three-panels-grid::-webkit-scrollbar,
  .articles-grid::-webkit-scrollbar,
  .ph-payment-methods-grid::-webkit-scrollbar,
  .exclusive-guides-grid::-webkit-scrollbar,
  .hot-games-carousel::-webkit-scrollbar,
  .category-tablist::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
  }
}

@media (min-width: 1025px) {
  .hot-games-carousel-controls,
  .exclusive-guides-carousel-controls,
  .promo-filter-dots,
  .main-promo-carousel-dots,
  .category-tabs-dots,
  .category-cards-dots,
  .three-panels-dots,
  .articles-dots {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-artwork {
    order: -1;
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: var(--ph8-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ph8-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 12px;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-dropdown-btn {
    font-size: 0.95rem;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-left: 3px solid var(--ph8-yellow);
    box-shadow: none;
    border-radius: 6px;
    margin: 4px 0 8px 10px;
    padding: 4px 0;
    min-width: unset;
  }

  .nav-dropdown.is-active .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    font-size: 0.88rem !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .app-section {
    padding: 1.25rem 0.85rem;
  }

  .app-qr-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .app-qr-box {
    flex: 1 1 0px !important;
    min-width: 0 !important;
    max-width: 160px !important;
    padding: 0.75rem 0.5rem !important;
    border-width: 1.5px !important;
  }

  .app-qr-box img {
    width: 85px !important;
    height: 85px !important;
    margin: 0 auto 6px auto !important;
    padding: 4px !important;
  }

  .app-qr-label {
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
  }

  .app-qr-box .ph8-button {
    margin-top: 4px !important;
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
    width: 100% !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .main-footer .footer-col {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .main-footer .footer-col-title {
    color: var(--ph8-yellow) !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    margin-bottom: 0.75rem !important;
  }

  .main-footer .footer-brand-logo {
    max-width: 150px;
  }

  .main-footer .footer-brand-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .main-footer .footer-links li {
    margin-bottom: 8px;
  }

  .main-footer .footer-links a {
    display: inline-block;
    padding: 2px 0;
    font-size: 0.83rem;
  }

  /* Mobile Marquee for Footer Provider Strip */
  .footer-provider-strip {
    overflow: hidden !important;
    position: relative !important;
    padding: 12px 0 !important;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  }

  .footer-provider-strip .provider-flex {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 24px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    animation: footerMarqueeScroll 10s linear infinite !important;
    will-change: transform;
  }

  .footer-provider-strip .provider-flex:hover {
    animation-play-state: paused !important;
  }

  .footer-provider-strip .provider-flex img {
    height: 32px !important;
    max-width: 95px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
  }

  .footer-provider-strip .provider-clone {
    display: inline-block !important;
  }
}

@keyframes footerMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes paymentMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes footerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .main-footer .footer-col-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
  }

  .main-footer .footer-col-chevron {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .site-container {
    width: min(calc(100% - 20px), var(--ph8-container));
  }

  .hero-banner {
    padding: 1.5rem 1rem;
  }

  .ph8-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* BLOG INTERACTIVE CONTROLS & CARDS */
.blog-controls-wrapper {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(8, 28, 50, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 4px 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-search-box:focus-within {
  border-color: var(--ph8-yellow);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.blog-search-icon {
  font-size: 1.1rem;
  margin-right: 8px;
  opacity: 0.8;
}

.blog-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ph8-white);
  font-size: 0.95rem;
  padding: 10px 4px;
}

.blog-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

#blog-search-clear {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--ph8-white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

#blog-search-clear:hover {
  background: var(--ph8-red);
}

.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-pill-btn {
  background: rgba(8, 28, 50, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--ph8-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.blog-pill-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--ph8-yellow);
  color: var(--ph8-yellow);
}

.blog-pill-btn.is-active {
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  border-color: var(--ph8-yellow);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

/* Article Card Enhancements */
.article-card__media {
  position: relative;
  overflow: hidden;
}

.article-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8, 28, 50, 0.88);
  border: 1px solid var(--ph8-yellow);
  color: var(--ph8-yellow);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.article-readtime {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #e0e0e0;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.article-card__title {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-block: 0.4rem;
  color: #0847B5;
  font-weight: 800;
  transition: color 0.2s ease;
}

.article-card:hover .article-card__title {
  color: var(--ph8-navy);
}

.article-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-share-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.blog-share-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--ph8-yellow);
  color: var(--ph8-yellow);
}

.blog-no-results {
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(8, 28, 50, 0.6);
  border: 1px dashed rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  margin: 2rem 0;
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-no-results h3 {
  color: var(--ph8-yellow);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.blog-no-results p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.blog-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ph8-yellow);
  color: var(--ph8-navy);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}

.blog-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .blog-category-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-category-pills::-webkit-scrollbar {
    display: none;
  }

  .blog-pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   LIVE DEMO GAME IFRAME POPUP MODAL STYLES
   ========================================================================== */
.overlay-btn--play-demo {
  background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
  color: #002d13;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.overlay-btn--play-demo:hover {
  background: linear-gradient(135deg, #33eb8b 0%, #00e676 100%);
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.8);
  color: #001a0a;
}

.live-demo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 24, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.live-demo-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.live-demo-modal-card {
  background: var(--ph8-navy, #092b42);
  border: 2px solid var(--ph8-yellow, #ffd700);
  border-radius: 16px;
  width: 96vw;
  max-width: 980px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.3), 0 25px 70px rgba(0, 0, 0, 0.9);
  transform: scale(0.82) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.live-demo-modal-backdrop.is-open .live-demo-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.live-demo-modal-header {
  padding: 10px 16px;
  background: linear-gradient(90deg, #061c2c 0%, #092b42 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  flex-wrap: wrap;
}

.live-demo-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.live-demo-modal-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ph8-yellow, #ffd700);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.live-demo-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-demo-badge--rtp {
  background: rgba(0, 230, 118, 0.18);
  color: #00e676;
  border-color: rgba(0, 230, 118, 0.4);
}

.live-demo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  min-height: 36px;
}

.demo-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--ph8-yellow, #ffd700);
  color: var(--ph8-yellow, #ffd700);
  transform: translateY(-1px);
}

.demo-ctrl-btn--real {
  background: linear-gradient(135deg, #ff9100 0%, #ff6d00 100%);
  color: #000;
  font-weight: 900;
  border: 0;
  box-shadow: 0 0 10px rgba(255, 145, 0, 0.4);
}

.demo-ctrl-btn--real:hover {
  background: linear-gradient(135deg, #ffa726 0%, #ff9100 100%);
  color: #000;
  transform: scale(1.04);
}

.live-demo-modal-close {
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid rgba(255, 68, 68, 0.5);
  color: #ff4444;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.live-demo-modal-close:hover {
  background: #ff4444;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}

.live-demo-modal-body {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 480px;
  max-height: calc(94vh - 65px);
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-demo-iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

.demo-loader-overlay {
  position: absolute;
  inset: 0;
  background: #061826;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 5;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.demo-loader-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demo-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 215, 0, 0.2);
  border-top-color: var(--ph8-yellow, #ffd700);
  border-radius: 50%;
  animation: demoSpin 0.8s linear infinite;
}

@keyframes demoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.demo-loader-text {
  color: var(--ph8-yellow, #ffd700);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  animation: demoPulseText 1.5s ease-in-out infinite alternate;
}

@keyframes demoPulseText {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.mobile-rotate-hint {
  display: none;
  background: rgba(0, 0, 0, 0.6);
  color: var(--ph8-yellow, #ffd700);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 4px 8px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

@media (max-width: 768px) {
  .live-demo-modal-card {
    width: 98vw;
    max-height: 96vh;
    border-radius: 12px;
  }

  .live-demo-modal-header {
    padding: 8px 10px;
    gap: 6px;
  }

  .live-demo-modal-title {
    font-size: 0.88rem;
  }

  .live-demo-controls {
    gap: 4px;
  }

  .demo-ctrl-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
    min-height: 32px;
  }

  .live-demo-modal-close {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .live-demo-modal-body {
    min-height: 380px;
    height: calc(88vh - 60px);
  }

  .live-demo-iframe {
    min-height: 380px;
  }

  .mobile-rotate-hint {
    display: block;
  }
}

/* Outbound Affiliate Link Hover Tooltip Styles */
.outbound-link,
a[rel*="nofollow"][href*="bybet.com"] {
  position: relative;
  color: var(--ph8-yellow, #ffd700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 0, 0.5);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.outbound-link:hover,
a[rel*="nofollow"][href*="bybet.com"]:hover {
  color: #00e676;
  text-decoration-color: #00e676;
}

.outbound-link[data-tooltip]::after,
a[rel*="nofollow"][href*="bybet.com"]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #061c2c;
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.6);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.outbound-link[data-tooltip]::before,
a[rel*="nofollow"][href*="bybet.com"]::before {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #061c2c transparent transparent transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.outbound-link:hover::after,
.outbound-link:hover::before,
a[rel*="nofollow"][href*="bybet.com"]:hover::after,
a[rel*="nofollow"][href*="bybet.com"]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

