/* ==========================================================================
   2026 iGaming Premium Design System
   Modern, glassmorphism-based UI with smooth animations and premium aesthetics
   All CSS variables preserved from import system
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--yabo-bg);
  color: var(--yabo-text);
  font-family: var(--yabo-font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: var(--yabo-accent);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover,
a:focus {
  text-decoration: none;
  color: color-mix(in srgb, var(--yabo-accent) 90%, white);
  filter: brightness(1.1);
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   Header - Glassmorphism Sticky Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: var(--yabo-header-bg, color-mix(in srgb, var(--yabo-bg) 85%, transparent));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top Affiliate Button - Fixed at very bottom */
.top-affiliate-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(135deg, var(--yabo-accent) 0%, color-mix(in srgb, var(--yabo-accent) 85%, black) 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 -4px 20px rgba(0, 0, 0, 0.3),
    0 0 30px color-mix(in srgb, var(--yabo-accent) 40%, transparent);
  border-top: 2px solid color-mix(in srgb, var(--yabo-accent) 60%, transparent);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-affiliate-btn.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.top-affiliate-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #000 !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex: 1;
  text-align: center;
  border-bottom: none !important;
  padding: 0 !important;
  transition: all 0.3s ease;
}

.top-affiliate-link:hover {
  color: #000 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transform: scale(1.05);
}

.top-affiliate-icon {
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.top-affiliate-text {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-affiliate-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.top-affiliate-link:hover .top-affiliate-arrow {
  transform: translateX(4px);
}

.top-affiliate-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #000;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin-left: 12px;
  flex-shrink: 0;
}

.top-affiliate-close:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: rotate(90deg);
}

/* Adjust header position when top button is visible */
/* No header adjustment needed when button is at bottom */

@media (max-width: 768px) {
  .top-affiliate-btn {
    padding: 12px 16px;
  }
  
  .top-affiliate-link {
    font-size: 16px;
    gap: 8px;
  }
  
  .top-affiliate-icon {
    font-size: 20px;
  }
  
  .top-affiliate-text {
    font-size: 14px;
  }
  
  .top-affiliate-arrow {
    font-size: 18px;
  }
  
  .top-affiliate-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 80px;
  gap: 20px;
  position: relative;
}

@media only screen and (max-width: 771px) {
  .header-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 16px;
  }
}

.header-left {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

@media only screen and (max-width: 771px) {
  .header-left {
    width: 100%;
    justify-content: space-between;
  }
}

.header-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

@media only screen and (max-width: 771px) {
  .header-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .header-right .btn {
    flex: 1;
    min-width: 0;
  }
}

.brand .site-name {
  color: var(--yabo-text, #eaeaea);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--yabo-text) 0%, color-mix(in srgb, var(--yabo-text) 80%, transparent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.brand .custom-logo {
  max-height: 52px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

@media only screen and (max-width: 771px) {
    .brand .custom-logo {
        max-height: 25px;
      }
  }

.brand:hover .custom-logo {
  transform: scale(1.05);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Buttons - Premium iGaming Style
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
}

@media only screen and (min-width: 772px) {
  .btn {
    margin-right: 0;
  }
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yabo-accent, #E3B505) 0%, color-mix(in srgb, var(--yabo-accent) 85%, black) 100%);
  color: #111;
  border-color: color-mix(in srgb, var(--yabo-accent) 80%, transparent);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--yabo-accent) 110%, white) 0%, var(--yabo-accent) 100%);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 20px color-mix(in srgb, var(--yabo-accent) 30%, transparent);
  filter: brightness(1.05);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--yabo-text, #eaeaea);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--yabo-text, #eaeaea);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 24px;
  padding: 0;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.btn.block {
  width: 100%;
}

/* ==========================================================================
   Burger Menu Button
   ========================================================================== */

.burger {
  display: inline-flex;
  width: 48px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@media only screen and (max-width: 768px) {
  .burger {
    margin-left: 0px;
  }
}

.burger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.burger-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--yabo-text, #EAEAEA);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.burger[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Offcanvas Navigation - Premium Glassmorphism
   ========================================================================== */

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 120;
}

.offcanvas-backdrop.show {
  opacity: 1;
}

.offcanvas-backdrop[hidden] {
  display: none !important;
}

.offcanvas {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 121;
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: 86vw;
  background: color-mix(in srgb, var(--yabo-bg) 95%, transparent);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  color: var(--yabo-text);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    10px 0 60px rgba(0, 0, 0, 0.5),
    inset 1px 0 0 rgba(255, 255, 255, 0.05);
}

.offcanvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.offcanvas.show {
  transform: none;
}

.offcanvas[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.offcanvas-start {
  left: 0;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
}

.offcanvas-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--yabo-text, #eaeaea);
  letter-spacing: -0.5px;
}

.offcanvas-body {
  padding: 24px;
  overflow: auto;
  display: grid;
  gap: 16px;
  flex: 1;
}

/* Custom scrollbar for offcanvas */
.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.offcanvas-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.offcanvas-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas-menu li:last-child {
  border-bottom: none;
}

.offcanvas-menu a {
  display: block;
  color: var(--yabo-text, #eaeaea);
  padding: 16px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 0;
}

.offcanvas-menu a:hover,
.offcanvas-menu a:focus {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--yabo-accent);
  padding-left: 28px;
}

.offcanvas-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yabo-accent);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.offcanvas-menu a:hover::before,
.offcanvas-menu a:focus::before {
  transform: scaleY(1);
}

.offcanvas-ctas {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Basic Menu (Alternative Navigation)
   ========================================================================== */

.basic-menu[hidden] {
  display: none !important;
}

.basic-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  background: color-mix(in srgb, var(--yabo-bg) 95%, transparent);
  backdrop-filter: blur(30px);
  color: var(--yabo-text);
}

.basic-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: color-mix(in srgb, var(--yabo-bg) 90%, transparent);
  box-shadow: -10px 0 60px rgba(0, 0, 0, 0.3);
}

.basic-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.basic-menu-list a {
  display: block;
  color: #EAEAEA;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.basic-menu-list a:hover,
.basic-menu-list a:focus {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transform: translateX(4px);
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.site-main {
  display: block;
}


/* Push content when sidebar is visible on desktop */
@media (min-width: 1025px) {
  .site-main {
    padding-right: 360px;
    transition: padding-right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* .content {
  padding-block: clamp(32px, 6vw, 64px);
} */

.content article {
  max-width: min(100%, 1200px);
  margin-inline: auto;
}

.content h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  margin: 0 0 0.8em;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(
    135deg,
    var(--yabo-text) 0%,
    color-mix(in srgb, var(--yabo-text) 70%, transparent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.3;
  margin: 1.5em 0 0.8em;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.content h3 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.4;
  margin: 1.3em 0 0.6em;
  font-weight: 600;
}

.content p {
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 1.2em 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--yabo-text) 90%, transparent);
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.table-of-contents {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin: 2em 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.toc-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--yabo-text);
  letter-spacing: -0.5px;
}

.toc-nav {
  margin: 0;
}

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

.toc-item {
  margin: 0;
  padding: 0;
}

.toc-link {
  display: block;
  padding: 8px 12px;
  color: color-mix(in srgb, var(--yabo-text) 85%, transparent);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.5;
}

.toc-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--yabo-text);
  transform: translateX(4px);
}


/* Smooth scroll behavior for anchor links */
.content h2[id] {
  scroll-margin-top: 80px;
}

/* ==========================================================================
   Table of Contents - Sidebar
   ========================================================================== */

.table-of-contents-sidebar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.toc-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--yabo-text);
  letter-spacing: -0.5px;
}

.toc-sidebar-nav {
  margin: 0;
}

.toc-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-sidebar-item {
  margin: 0;
  padding: 0;
}

.toc-sidebar-link {
  display: block;
  padding: 8px 12px;
  color: color-mix(in srgb, var(--yabo-text) 85%, transparent);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  line-height: 1.5;
}

.toc-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--yabo-text);
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Section - Premium iGaming Style
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  /* margin-bottom: clamp(32px, 6vw, 64px); */
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero picture,
.hero img.hero-img {
  width: 100%;
  display: block;
}

.hero img.hero-img {
  max-height: min(75vh, 900px);
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  display: block;
}

.hero-link {
  display: block;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 20px;
  padding: clamp(24px, 5vw, 48px);
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  z-index: 2;
}

.hero-text {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 800;
  color: var(--yabo-text, #eaeaea);
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  line-height: 1.2;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-overlay .hero-btn {
  align-self: end;
  justify-self: center;
  margin-bottom: clamp(16px, 3vw, 32px);
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 30px color-mix(in srgb, var(--yabo-accent) 20%, transparent);
}

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

@media only screen and (max-width: 771px) {
  .desktop {
    display: none;
  }
}

@media only screen and (min-width: 772px) {
  .mobile {
    display: none;
  }
}

/* ==========================================================================
   Content Media & Typography
   ========================================================================== */
/* Images */
.content img,
.entry-content img,
.wp-block-image img,
figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content img:hover,
.entry-content img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Figures & captions */
figure {
  margin: 2em 0;
}

figcaption {
  font-size: 0.9em;
  opacity: 0.7;
  margin-top: 0.8em;
  text-align: center;
  font-style: italic;
}

/* Align helpers */
.alignnone {
  margin: 1em 0;
}

.aligncenter {
  display: block;
  margin: 1.5em auto;
}

.alignleft {
  float: left;
  margin: 0.5em 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0.5em 0 1em 1.5em;
}

@media (max-width: 768px) {
  .alignleft,
  .alignright {
    float: none;
    margin: 1.5em auto;
    display: block;
  }
}

/* Tables - Premium Styling */
.content table,
.entry-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2em 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.content table thead th,
.entry-content table thead th {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  font-weight: 700;
  color: var(--yabo-accent);
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
  padding: 16px 20px;
}

.content table th,
.content table td,
.entry-content table th,
.entry-content table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
}

.content table tbody tr:last-child td,
.entry-content table tbody tr:last-child td {
  border-bottom: none;
}

.content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.content table tbody tr:hover,
.entry-content table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.01);
  transition: all 0.2s ease;
}

/* Lists - Enhanced Styling */
.content ul,
.content ol,
.entry-content ul,
.entry-content ol {
  padding-left: 1.8em;
  margin: 1.5em 0;
  line-height: 1.8;
}

.content li,
.entry-content li {
  margin: 0.5em 0;
  color: color-mix(in srgb, var(--yabo-text) 90%, transparent);
}

.content ul {
  list-style: none;
  position: relative;
}

.content ul li::before {
  content: '▸';
  color: var(--yabo-accent);
  font-weight: bold;
  position: absolute;
  left: -1.5em;
}

.content ol {
  list-style: decimal;
  list-style-position: outside;
}

.content li > ul,
.content li > ol,
.entry-content li > ul,
.entry-content li > ol {
  margin: 0.8em 0;
}

/* Blockquotes */
.content blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--yabo-accent);
  padding: 20px 24px;
  margin: 2em 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  position: relative;
}

.content blockquote::before {
  content: '"';
  font-size: 4em;
  color: var(--yabo-accent);
  opacity: 0.2;
  position: absolute;
  left: 16px;
  top: -10px;
  font-family: Georgia, serif;
}

/* Links in content */
.content a,
.entry-content a {
  color: var(--yabo-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--yabo-accent) 40%, transparent);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.content a:hover,
.entry-content a:hover {
  border-bottom-color: var(--yabo-accent);
  color: color-mix(in srgb, var(--yabo-accent) 110%, white);
}

/* ==========================================================================
   Footer - Premium Styling
   ========================================================================== */

.site-footer {
  margin-top: 80px;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--yabo-accent) 50%,
    transparent 100%
  );
  opacity: 0.3;
}

.site-footer .footer-payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.site-footer .footer-payments .footer-pay-img {
  height: 36px;
  display: block;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
}

.site-footer .footer-payments .footer-pay-img:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.1);
  filter: grayscale(0);
}

.footer-line {
  text-align: center;
  font-size: 14px;
  color: color-mix(in srgb, var(--yabo-text) 70%, transparent);
  margin-bottom: 16px;
}

.footer-line a {
  color: var(--yabo-accent);
  font-weight: 500;
}

.site-footer > span {
  text-align: center;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--yabo-text) 60%, transparent);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Accessibility & Utilities
   ========================================================================== */

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-to-content:focus {
  left: 16px;
  top: 16px;
  background: var(--yabo-accent);
  color: #111;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.yabo-lock-scroll {
  overflow: hidden;
}

body.demo-modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Demo Game Modal - In-Page Popup
   ========================================================================== */

.demo-game-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 0;
  margin: 0;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.demo-modal-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: #000;
  border: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  animation: fadeIn 0.3s ease;
  z-index: 1;
}

.demo-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  border: none;
}

.demo-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--yabo-text, #eaeaea);
  letter-spacing: -0.5px;
  opacity: 0.9;
}

.demo-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--yabo-text, #eaeaea);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  z-index: 11;
}

.demo-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.demo-modal-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

#demo-game-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  background: #000;
  pointer-events: auto;
  transition: pointer-events 0.3s ease;
}

/* Play for Real Money Overlay */
.demo-play-real-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: auto;
  display: block;
  animation: fadeIn 0.3s ease;
}

.demo-play-real-overlay.hidden {
  display: none;
}

/* Backdrop to block clicks on iframe - ensure strong contrast */
.demo-play-real-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  pointer-events: auto;
  cursor: default;
}

/* Block iframe interactions when overlay is visible - handled by JavaScript */

@keyframes slideUpBounce {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  60% {
    transform: translate(-50%, -52%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Close button for overlay */
.demo-play-real-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--yabo-text, #eaeaea);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  z-index: 3;
}

.demo-play-real-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.demo-play-real-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Enhanced contrast - darker background for better text readability */
  background: linear-gradient(
    135deg,
    rgba(30, 30, 40, 0.95) 0%,
    rgba(20, 20, 30, 0.98) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px color-mix(in srgb, var(--yabo-accent) 30%, transparent);
  z-index: 2;
  min-width: 320px;
  max-width: 90vw;
  animation: slideUpBounce 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-play-real-title {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 800;
  /* Ensure high contrast - white text on dark background */
  color: #ffffff !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.demo-play-real-text {
  margin: 0 0 24px 0;
  font-size: 16px;
  /* Ensure high contrast - light text on dark background */
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Override content link styles for demo button */
.demo-play-real-btn,
.demo-play-real-content .demo-play-real-btn,
.demo-play-real-content a.demo-play-real-btn {
  color: #000 !important;
  border-bottom: none !important;
  padding-bottom: 20px !important;
  text-decoration: none !important;
}

.demo-play-real-btn:hover,
.demo-play-real-content .demo-play-real-btn:hover,
.demo-play-real-content a.demo-play-real-btn:hover {
  color: #000 !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

.demo-play-real-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  padding: 20px 48px !important;
  padding-bottom: 20px !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 30px color-mix(in srgb, var(--yabo-accent) 40%, transparent);
  animation: pulseGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  min-height: 64px;
  line-height: 1;
  text-align: center;
  color: #000 !important;
}

.demo-play-real-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
  pointer-events: none;
  z-index: 0;
}

.demo-play-real-btn.ripple::before {
  width: 400px;
  height: 400px;
  opacity: 0;
}

/* Ensure button content is above ripple */
.demo-play-real-btn > * {
  position: relative;
  z-index: 1;
}

.demo-play-real-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 40px color-mix(in srgb, var(--yabo-accent) 50%, transparent);
  color: #000 !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

.demo-play-real-btn .btn-arrow {
  transition: transform 0.3s ease;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.demo-play-real-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Ensure text is perfectly centered */
.demo-play-real-btn span:not(.btn-arrow) {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.demo-play-real-btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 0 30px color-mix(in srgb, var(--yabo-accent) 40%, transparent);
  }
  50% {
    box-shadow: 
      0 12px 32px rgba(0, 0, 0, 0.4),
      0 0 50px color-mix(in srgb, var(--yabo-accent) 60%, transparent);
  }
}


@media (max-width: 768px) {
  .demo-modal-header {
    padding: 10px 16px;
  }
  
  .demo-modal-title {
    font-size: 14px;
  }
  
  .demo-modal-close {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .demo-play-real-content {
    padding: 24px 28px;
    min-width: 280px;
    max-width: 85vw;
  }
  
  .demo-play-real-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .demo-play-real-text {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .demo-play-real-content {
    padding: 24px 28px;
    min-width: 280px;
  }
  
  .demo-play-real-close {
    width: 32px;
    height: 32px;
    font-size: 18px;
    top: 10px;
    right: 10px;
  }
  
  .demo-play-real-btn {
    padding: 18px 36px !important;
    padding-bottom: 18px !important;
    font-size: 20px;
    min-width: 180px;
    min-height: 56px;
  }
  
  .demo-play-real-btn .btn-arrow {
    font-size: 20px;
  }
}

/* ==========================================================================
   Responsive Refinements
   ========================================================================== */

@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 24px 24px;
    margin-top: 0;
    overflow: visible;
  }

  .hero img.hero-img {
    max-height: none;
    min-height: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    width: 100%;
  }
  
  .hero picture {
    display: block;
    width: 100%;
  }

  .content h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .offcanvas {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Smooth Animations & Transitions
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

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

/* ==========================================================================
   iGaming Promotional Widgets
   Interactive casino elements using brand colors from imports
   ========================================================================== */

.igaming-promos {
  position: relative;
  margin: 40px 0;
  padding: 0;
}


/* Scratch Card Widget */
.scratch-card-widget {
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 20px;
  padding: 0;
  margin: 0;
  max-width: 100%;
  box-shadow: none;
  text-align: center;
  overflow: hidden;
}

.scratch-card-header {
  margin-bottom: 16px;
  padding: 0 16px;
}

.scratch-badge {
  display: inline-block;
  background: var(--yabo-accent);
  color: #111;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.scratch-card-header h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--yabo-text);
}

.scratch-card-container {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  min-height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scratch-card-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  animation: shine 3s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

#scratchCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  cursor: crosshair;
  touch-action: none;
  margin: 0;
  position: relative;
  z-index: 2;
  border-radius: 20px;
}

.scratch-reward {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
}

.reward-amount {
  font-size: 48px;
  font-weight: 800;
  color: #111;
  line-height: 1;
  margin-bottom: 8px;
}

.reward-text {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}


.scratch-claim {
  width: calc(100% - 32px);
  margin: 16px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scratch-claim.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s ease;
}

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

.scratch-card-container.revealed #scratchCanvas {
  transition: opacity 0.3s ease;
}

/* Live Casino Widget */
.live-casino-widget {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  margin: 24px auto;
  max-width: 400px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #dc2626;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
    box-shadow: 0 0 10px #dc2626;
  }
}

.live-text {
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.live-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--yabo-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: color-mix(in srgb, var(--yabo-text) 70%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-cta {
  width: 100%;
}


/* Game Preview Cards */
.game-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
  padding: 0 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.game-card {
  position: relative;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--yabo-accent);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 15px color-mix(in srgb, var(--yabo-accent) 30%, transparent);
}

/* Mobile: no hover by default */
@media (max-width: 768px) {
  .game-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .game-card.mobile-active {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--yabo-accent);
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 0 15px color-mix(in srgb, var(--yabo-accent) 30%, transparent);
  }
}

.game-image {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(135deg, var(--yabo-accent) 0%, color-mix(in srgb, var(--yabo-accent) 60%, black) 100%);
  width: 100%;
  height: 100%;
}

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

.game-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.game-icon {
  font-size: 64px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}

.game-card:hover .game-overlay,
.game-card.mobile-active .game-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.game-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.game-play-btn,
.game-demo-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 20px !important;
  padding-bottom: 11px !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 130px;
  pointer-events: auto;
  border: none !important;
  border-bottom: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.2 !important;
  min-height: 34px;
  height: auto;
}

.game-play-btn {
  background: linear-gradient(135deg, var(--yabo-accent) 0%, color-mix(in srgb, var(--yabo-accent) 85%, black) 100%) !important;
  color: #000000 !important;
  border: 2px solid transparent !important;
}


.game-demo-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
}


.game-play-btn:active,
.game-demo-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons always stacked vertically on all screen sizes */
@media (max-width: 768px) {
  .game-buttons {
    padding: 0 12px;
  }

  .game-play-btn,
  .game-demo-btn {
    font-size: 11px !important;
    padding: 10px 16px !important;
    padding-bottom: 10px !important;
    max-width: 120px;
    min-height: 32px;
  }
}

/* Game info removed - cards now show only image */

/* Remove old game-link style - now using buttons */
.game-link {
  display: none;
}

/* Inline game cards in content */
.inline-game-cards {
  margin: 48px 0 !important;
  padding: 32px 0 16px 0 !important;
  background: transparent;
  border: none;
  position: relative;
}

/* Slider on all devices */
.game-preview-grid.inline {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  padding: 0 20px;
  padding-right: 12px; /* Show peek of 3rd card */
  max-width: 100%;
  margin: 0;
  cursor: grab;
  scroll-padding-left: 20px;
  scroll-padding-right: 12px; /* Allow peek of next card */
  /* Hide scrollbar */
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
  /* Prevent text/image selection during drag */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Hide scrollbar completely - use integrated progress indicator instead */
.game-preview-grid.inline::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.game-preview-grid.inline:active {
  cursor: grabbing;
}

.game-card.inline {
  margin-bottom: 0;
  flex: 0 0 auto;
  width: 140px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  /* Prevent image selection during drag */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

.game-card.inline img {
  /* Prevent image dragging */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

@media (max-width: 768px) {
  .inline-game-cards {
    margin: 32px 0 !important;
    padding: 24px 0 48px 0 !important;
    overflow: hidden;
    position: relative;
    background: transparent;
  }
  
  /* Subtle background gradient for depth */
  .inline-game-cards::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.02) 50%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 0;
  }
  
  .game-preview-grid.inline {
    position: relative;
    z-index: 1;
    gap: 12px;
    padding: 0 16px;
    padding-right: 8px; /* Show peek of 3rd card on mobile */
    scroll-padding-left: 16px;
    scroll-padding-right: 8px;
  }

  .game-card.inline {
    width: calc((100vw - 44px) / 2); /* 2 cards per view: screen width - padding (32px) - gap (12px) = available / 2 */
    max-width: 170px;
    min-width: 160px;
  }
}

/* Desktop: Slider with responsive card widths (up to 6 cards visible) */
@media (min-width: 769px) {
  .game-preview-grid.inline {
    gap: 16px;
    padding: 0 20px;
    padding-right: 12px; /* Show peek of next card */
    scroll-padding-left: 20px;
    scroll-padding-right: 12px;
  }
  
  .game-card.inline {
    width: calc((100% - (5 * 16px)) / 6); /* 6 cards: total width minus 5 gaps, divided by 6 */
    min-width: 180px;
    max-width: 220px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .game-card.inline {
    width: calc((100% - (3 * 16px)) / 4); /* 4 cards visible */
    min-width: 160px;
    max-width: 200px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .game-card.inline {
    width: calc((100% - (4 * 16px)) / 5); /* 5 cards visible */
    min-width: 170px;
    max-width: 210px;
  }
}

@media (min-width: 1441px) {
  .game-card.inline {
    width: calc((100% - (5 * 18px)) / 6); /* 6 cards visible */
    min-width: 180px;
    max-width: 220px;
  }
  
  .game-preview-grid.inline {
    gap: 18px;
  }
}

/* Pulse animation for tap */
@keyframes cardPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Slider Indicators Container - Visible on all devices */
.slider-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 0 16px;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Play button always visible on mobile (no hover needed) */
@media (max-width: 768px) {
  .game-card.inline .game-overlay {
    opacity: 0.8;
  }

  .game-card.inline.active .game-overlay {
    opacity: 1;
  }
}

/* Slider Indicator Dot - Better contrast with accent color */
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--yabo-accent) 45%, transparent);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid color-mix(in srgb, var(--yabo-accent) 50%, transparent);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-dot:hover {
  background: color-mix(in srgb, var(--yabo-accent) 60%, transparent);
  transform: scale(1.15);
  border-color: color-mix(in srgb, var(--yabo-accent) 70%, transparent);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--yabo-accent) 40%, transparent);
}

.slider-dot.active {
  background: var(--yabo-accent);
  width: 32px;
  height: 10px;
  border-radius: 5px;
  border-color: var(--yabo-accent);
  box-shadow: 
    0 0 20px color-mix(in srgb, var(--yabo-accent) 70%, transparent),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transform: scale(1);
}

/* Scroll Progress Bar - Only visible on mobile (desktop is grid, no scroll) */
.slider-progress {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 5;
  overflow: hidden;
}

.slider-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress-width, 0%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--yabo-accent) 20%,
    color-mix(in srgb, var(--yabo-accent) 95%, white) 50%,
    var(--yabo-accent) 80%,
    transparent 100%
  );
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 12px color-mix(in srgb, var(--yabo-accent) 50%, transparent),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}


/* Scroll hint removed - not needed */
.scroll-hint {
  display: none !important;
}

/* ==========================================================================
   iGaming Sidebar
   ========================================================================== */

.igaming-sidebar {
  position: fixed;
  right: 0;
  top: 80px;
  bottom: 0;
  width: 360px;
  max-width: calc(100vw - 40px);
  z-index: 101;
  background: color-mix(in srgb, var(--yabo-bg) 95%, transparent);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 60px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.igaming-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.sidebar-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--yabo-text, #eaeaea);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  z-index: 10;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

/* Hide close button on desktop */
@media (min-width: 1025px) {
  .sidebar-close-btn {
    display: none !important;
  }
}

.igaming-sidebar.open {
  transform: translateX(0);
}

.sidebar-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Add padding-top on mobile to account for header */
/* @media (max-width: 771px) {
  .igaming-sidebar .sidebar-content {
    padding-top: 16px;
  }
} */

/* Custom scrollbar for sidebar */
.igaming-sidebar::-webkit-scrollbar {
  width: 6px;
}

.igaming-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.igaming-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.igaming-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile Toggle Button - Vibrant Animated */
.sidebar-toggle-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 102;
  background: linear-gradient(135deg, var(--yabo-accent) 0%, color-mix(in srgb, var(--yabo-accent) 80%, black) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid color-mix(in srgb, var(--yabo-accent) 60%, transparent);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 10px 8px;
  color: #111;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    -4px 0 12px rgba(0, 0, 0, 0.3),
    0 0 20px color-mix(in srgb, var(--yabo-accent) 40%, transparent);
  width: 40px;
  animation: buzz 2s ease-in-out infinite;
}

@keyframes buzz {
  0%, 100% {
    transform: translateY(-50%) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-50%) translateX(-2px) rotate(-3deg);
  }
  50% {
    transform: translateY(-50%) translateX(2px) rotate(3deg);
  }
  75% {
    transform: translateY(-50%) translateX(-1px) rotate(-2deg);
  }
}

.sidebar-toggle-btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--yabo-accent) 110%, white) 0%, var(--yabo-accent) 100%);
  border-color: var(--yabo-accent);
  box-shadow: 
    -6px 0 20px rgba(0, 0, 0, 0.4),
    0 0 30px color-mix(in srgb, var(--yabo-accent) 50%, transparent);
  animation: buzz-intense 0.5s ease-in-out infinite;
}

@keyframes buzz-intense {
  0%, 100% {
    transform: translateY(-50%) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-50%) translateX(-3px) rotate(-5deg);
  }
  50% {
    transform: translateY(-50%) translateX(3px) rotate(5deg);
  }
  75% {
    transform: translateY(-50%) translateX(-2px) rotate(-3deg);
  }
}

.sidebar-toggle-btn.active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--yabo-accent) 110%, white) 0%, var(--yabo-accent) 100%);
  border-color: var(--yabo-accent);
  animation: buzz-intense 0.5s ease-in-out infinite;
}

.toggle-icon {
  font-size: 22px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: pulse-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

.sidebar-toggle-btn:hover .toggle-icon {
  animation: pulse-icon-fast 0.6s ease-in-out infinite;
}

@keyframes pulse-icon-fast {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.toggle-text {
  display: none;
}

/* Sidebar Backdrop (Mobile) */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Widget Adjustments */
.igaming-sidebar .scratch-card-widget,
.igaming-sidebar .live-casino-widget {
  margin: 0;
  max-width: 100%;
}

@media (min-width: 1025px) {
  .igaming-sidebar {
    transform: translateX(0);
    display: block;
  }

  .sidebar-toggle-btn {
    display: none !important;
  }

  .sidebar-backdrop {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .igaming-sidebar {
    display: block;
    transform: translateX(100%);
    top: 100px;
    width: 320px;
    max-width: 85vw;
  }

  .igaming-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-toggle-btn {
    display: flex !important;
  }

  /* Hide sidebar widgets when in main promos area on mobile */
  .igaming-promos .scratch-card-widget,
  .igaming-promos .live-casino-widget {
    display: none;
  }
}

@media (max-width: 768px) {
  .game-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    padding: 0 16px;
  }

  .scratch-card-widget,
  .live-casino-widget {
    margin: 0;
  }

  .sidebar-toggle-btn {
    right: 0;
    padding: 8px 6px;
    width: 32px;
  }

  .igaming-sidebar {
    width: 100%;
    max-width: 100%;
    top: 0;
  }
  
  .igaming-sidebar .sidebar-content {
    padding-top: 100px;
  }
  
  /* Add gap after header for scratch card on mobile */
  .igaming-sidebar .scratch-card-widget:first-child {
    margin-top: 16px;
  }

  .inline-game-cards {
    margin: 32px 0 !important;
    padding: 24px 0 !important;
  }

  .game-preview-grid.inline {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 16px;
  }
}
