:root {
  /* Brand colors — casinouk palette */
  --brand-blue-dark: #0b5ed7;
  --brand-blue: #0d6efd;
  --brand-blue-soft: #e7f1ff;
  --brand-gray-100: #f8f9fa;
  --brand-gray-300: #e9ecef;
  --brand-gray-600: #6c757d;
  --brand-success: #198754;
  --brand-success-dark: #157347;
  --brand-warning: #ffc107;
  --brand-danger: #dc3545;
  --brand-info: #0dcaf0;
  --brand-primary: #0d6efd;
  --brand-text: #212529;

  /* Extended palette */
  --brand-featured-gold: #ffd700;
  --brand-featured-gold-light: #ffed4e;
  --brand-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --brand-bonus-blue: #0d6efd;
  --shadow-cta: 0 4px 14px rgba(13, 110, 253, 0.25);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;

  /* Shadow hierarchy */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Border radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 999px;

  /* Transitions */
  --transition-base: all 0.25s ease;
}

body {
  color: var(--brand-text);
  font-family: "Open Sans", sans-serif;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  line-height: 1.6;
}

/* Global layout */
.adjust-template {
  padding: 0;
}

.table > :not(caption) > * > * {
  padding-left: 15px;
}

.alpha {
  padding-left: 0;
}

.omega {
  padding-right: 0;
}


/* ===========================
   NAVBAR — light with scroll glass effect
   =========================== */
.jd-navbar {
  position: sticky;
  top: 0;
  z-index: 1035;
  padding: 0.5rem 0;
  background: var(--brand-blue-soft);
  border-bottom: 1px solid var(--brand-gray-300);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.jd-navbar.navbar-scrolled {
  background: rgba(231, 241, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.jd-navbar .container,
.jd-navbar .site-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media (min-width: 992px) {
  .jd-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    flex-grow: 1;
  }
}

.jd-navbar .navbar-brand {
  margin-right: 1.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jd-navbar .logo-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 12px;
  padding: 4px;
}

.jd-navbar .logo-img,
.jd-navbar .navbar-brand img,
nav.jd-navbar img.logo-img {
  width: 168px !important;
  max-width: 168px !important;
  height: auto !important;
  max-height: 84px !important;
  display: block;
}

/* listing table icons — force square to avoid ellipse */
table.list img.logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}

/* fallback — any img inside navbar-brand */
.navbar-brand img {
  max-width: 168px !important;
  max-height: 84px !important;
  height: auto !important;
}

.jd-navbar .brand-title {
  font-family: "Cabin", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-text);
  letter-spacing: 0.04em;
}

.jd-navbar .navbar-nav .nav-link {
  padding: 0.5rem 0.7rem;
  color: var(--brand-text);
  font-family: "Open Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.jd-navbar .navbar-nav .nav-link:hover,
.jd-navbar .navbar-nav .nav-link:focus {
  color: var(--brand-blue);
}

.jd-navbar .navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  border-top-color: var(--brand-gray-600);
}

.jd-navbar .dropdown-menu {
  border: 1px solid var(--brand-gray-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  padding: 0.5rem 0;
  min-width: 220px;
  animation: jd-fadeIn 0.15s ease;
}

@keyframes jd-fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.jd-navbar .dropdown-item {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-text);
  transition: background-color 0.15s ease;
}

.jd-navbar .dropdown-item:hover,
.jd-navbar .dropdown-item:focus {
  background-color: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

.jd-navbar .dropdown-item i {
  width: 1.25rem;
  text-align: center;
  margin-right: 0.5rem;
  color: var(--brand-blue);
}

.jd-navbar .nav-search {
  width: 100%;
  max-width: 200px;
  position: relative;
  transition: max-width 0.3s ease;
}

.jd-navbar .nav-search.expanded {
  max-width: 360px;
}

.jd-navbar .nav-search .form-control {
  height: 36px;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  border: 1px solid var(--brand-gray-300);
  background: var(--brand-gray-100);
  color: var(--brand-text);
  font-size: 0.88rem;
  padding: 0.4rem 0.9rem;
  transition: var(--transition-base);
}

.jd-navbar .nav-search .form-control::placeholder {
  color: var(--brand-gray-600);
}

.jd-navbar .nav-search .form-control:focus {
  background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
  color: var(--brand-text);
}

.jd-navbar .nav-search .btn {
  height: 36px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  border: 1px solid var(--brand-gray-300);
  border-left: 0;
  background: var(--brand-gray-100);
  color: var(--brand-gray-600);
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  transition: var(--transition-base);
}

.jd-navbar .nav-search .btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.jd-search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--brand-gray-300);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  z-index: 1040;
  max-height: 320px;
  overflow-y: auto;
}

.jd-search-suggestions.active {
  display: block;
}

.jd-search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  color: var(--brand-text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.1s ease;
  border-bottom: 1px solid var(--brand-gray-100);
}

.jd-search-suggestion:last-child {
  border-bottom: none;
}

.jd-search-suggestion:hover,
.jd-search-suggestion.active {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
  text-decoration: none;
}

.jd-search-suggestion__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 14px;
  background: var(--brand-blue-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.jd-search-suggestion__icon > i.fa {
  display: inline-block;
  width: auto;
  height: auto;
  line-height: 1;
  text-align: center;
}

.jd-search-suggestion__img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.jd-search-suggestion__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jd-search-suggestion__type {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-gray-600);
  background: var(--brand-gray-100);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
}

[data-bs-theme="dark"] .jd-search-suggestions {
  background: #1a1a2e;
  border-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-search-suggestion:hover,
[data-bs-theme="dark"] .jd-search-suggestion.active {
  background: rgba(13, 110, 253, 0.15);
}

[data-bs-theme="dark"] .jd-search-suggestion__type {
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

.jd-search-suggestion__group {
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-gray-600);
  background: var(--brand-gray-100);
  border-bottom: 1px solid var(--brand-gray-300);
}

.jd-search-suggestion__extra {
  display: block;
  font-size: 0.7rem;
  color: var(--brand-gray-600);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

[data-bs-theme="dark"] .jd-search-suggestion__group {
  background: rgba(255, 255, 255, 0.04);
  color: #9ca3af;
  border-color: #2d2d44;
}

.jd-navbar .nav-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-gray-100);
  color: var(--brand-text);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
  border: 1px solid var(--brand-gray-300);
}

.jd-navbar .nav-lang-switch:hover {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.jd-navbar .nav-lang-switch img {
  width: 20px !important;
  max-width: 20px !important;
  height: auto !important;
  max-height: 16px !important;
  border-radius: 3px;
}

.jd-navbar .navbar-toggler {
  border-radius: 12px;
  border-color: var(--brand-gray-300);
  padding: 0.45rem 0.65rem;
}

.jd-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.jd-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833,37,41,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .jd-navbar .navbar-collapse {
    padding: 1rem 0;
    border-top: 1px solid var(--brand-gray-300);
    margin-top: 0.5rem;
  }

  .jd-navbar .navbar-nav .nav-link {
    padding: 0.6rem 0;
    font-size: 0.95rem;
  }

  .jd-navbar .nav-search {
    max-width: none;
    margin-top: 0.75rem;
  }

  .jd-navbar .nav-lang-switch {
    margin-top: 0.75rem;
  }
}


/* ===========================
   THEME TOGGLE
   =========================== */
.jd-theme-toggle {
  display: inline-flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--brand-gray-300);
  background: var(--brand-gray-100);
  margin-left: 0.5rem;
}

.jd-theme-toggle .btn {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--brand-gray-600);
  transition: var(--transition-base);
}

.jd-theme-toggle .btn.active {
  background: var(--brand-blue);
  color: #fff;
}

.jd-theme-toggle .btn:hover:not(.active) {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}


/* ===========================
   BOTTOM NAVIGATION (mobile)
   =========================== */
.jd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.18);
  padding: 0.4rem 0.85rem 0.6rem;
  z-index: 1030;
}

.jd-bottom-nav__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.jd-bottom-nav__link {
  text-decoration: none;
  color: var(--brand-gray-600);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.4rem 0.3rem;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.jd-bottom-nav__link i {
  font-size: 1.15rem;
}

.jd-bottom-nav__link:hover,
.jd-bottom-nav__link:focus,
.jd-bottom-nav__link.active {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

@media (max-width: 991.98px) {
  body.has-bottom-nav {
    padding-bottom: 76px;
  }
}


/* ===========================
   HERO — gradient background
   =========================== */
.headerblock {
  color: #ffffff;
  padding: 2.5rem 2rem;
  font-weight: 300;
  font-size: 18px;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  position: relative;
  overflow: hidden;
}

.headerblock::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.headerblock h1 {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  position: relative;
}

.headerblock h3 {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
}

.headerblock a,
.headerblock a:link,
.headerblock a:hover,
.headerblock a:visited,
.headerblock a:active {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.headerblock a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.hero-intro {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 700px;
}

.headerblock2 {
  background: transparent;
  border-radius: var(--radius-lg);
}

.headerblockimg,
.headerblockimg2 {
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 30px;
  font-weight: 300;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

.btnhead,
.btnhead a,
.btnhead a:link,
.btnhead a:hover,
.btnhead a:visited,
.btnhead a:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

.hero-search {
  max-width: 500px;
  margin: 1.5rem 0 1rem;
}

.hero-search .form-control {
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
}

.hero-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.hero-search .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  color: #fff;
}

.hero-search .btn {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.hero-search .btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
}

.hero-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat__value {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
}

.hero-stat__label {
  font-size: 0.8rem;
  opacity: 0.8;
}

@media (max-width: 767px) {
  .hero-stats {
    gap: 1rem;
  }

  .hero-stat__value {
    font-size: 1.2rem;
  }
}


/* ===========================
   SECTIONS
   =========================== */
.jd-section {
  margin-bottom: 2rem;
}

.jd-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.jd-section-header h2 {
  font-family: "Cabin", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brand-text);
  margin: 0;
}

.jd-view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.jd-view-all:hover {
  color: var(--brand-blue-dark);
}

.jd-view-all i {
  margin-left: 0.25rem;
  font-size: 0.78rem;
}


/* ===========================
   CASINO LISTING CARDS
   =========================== */
.jd-listing {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jd-card-casino {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-gray-300);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 0.6rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.jd-card-casino:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.jd-card-casino__logo {
  flex-shrink: 0;
}

.jd-card-casino__logo img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-subtle);
}

.jd-card-casino__body {
  flex: 1;
  min-width: 120px;
}

.jd-card-casino__name {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.jd-card-casino__name a {
  color: var(--brand-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.jd-card-casino__name a:hover {
  color: var(--brand-blue);
}

.jd-card-casino__name .fa {
  font-size: 0.8rem;
  margin-left: 0.25rem;
  color: var(--brand-success);
}

.jd-card-casino__bonus {
  color: var(--brand-bonus-blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.jd-ukgc-disclaimer {
  display: block;
  font-size: 0.7rem;
  color: var(--brand-gray-600);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.jd-card-casino__bonus-preview {
  background: linear-gradient(to right, #f8f9fa, #fff);
  border-top: 1px solid var(--brand-gray-300);
  padding: 0.75rem 1rem;
  margin: 0.5rem -1.25rem -1rem;
  font-size: 0.875rem;
}

.jd-card-casino__bonus-label {
  color: var(--brand-gray-600);
  font-weight: 500;
  margin-right: 0.35rem;
}

.jd-card-casino__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.jd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.jd-badge--nodeposit {
  background: rgba(25, 135, 84, 0.12);
  color: var(--brand-success-dark);
}

.jd-badge--flash {
  background: rgba(13, 202, 240, 0.12);
  color: #0a6c7d;
}

.jd-badge--ecogra {
  background: rgba(13, 110, 253, 0.12);
  color: var(--brand-primary);
}

.jd-badge--featured {
  background: rgba(255, 215, 0, 0.15);
  color: #8a6d3b;
}

.jd-badge--featured-gold {
  position: absolute;
  top: -1px;
  right: -1px;
  background: linear-gradient(135deg, var(--brand-featured-gold) 0%, var(--brand-featured-gold-light) 100%);
  color: #333;
  padding: 4px 12px;
  border-radius: 0 var(--radius-md) 0 var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
}

.jd-badge--grey {
  background: var(--brand-gray-100);
  color: #aaa;
}

.jd-card-casino__software {
  flex-shrink: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  max-width: 180px;
  min-width: 0;
}

.jd-card-casino__software img {
  height: 20px;
  width: auto;
  opacity: 0.7;
}

.jd-card-casino__software .btn {
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  margin: 0;
  white-space: nowrap;
}

.jd-card-casino__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
  min-width: 120px;
}

.jd-cta-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  background: var(--brand-blue);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: var(--shadow-cta);
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
}

.jd-cta-visit:hover,
.jd-cta-visit:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
  filter: brightness(1.05);
  color: #fff !important;
}

.jd-cta-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  background: transparent;
  color: var(--brand-blue) !important;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: var(--transition-base);
  cursor: pointer;
}

.jd-cta-review:hover,
.jd-cta-review:focus {
  background: var(--brand-blue);
  color: #fff !important;
}

@media (max-width: 767px) {
  .jd-card-casino {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }

  .jd-card-casino__logo img {
    width: 72px;
    height: 72px;
  }

  .jd-card-casino__badges {
    justify-content: center;
  }

  .jd-card-casino__software {
    max-width: 100%;
    justify-content: center;
  }

  .jd-card-casino__actions {
    width: 100%;
    min-width: auto;
  }

  .jd-cta-visit,
  .jd-cta-review {
    width: 100%;
  }

  .jd-card-casino__bonus-preview {
    margin: 0.5rem -1rem -1.25rem;
  }
}


/* ===========================
   ANIMATIONS — fade-in on scroll
   =========================== */
.jd-animate {
  opacity: 0;
  transform: translateY(20px);
}

.jd-animate.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

@keyframes jd-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}


/* ===========================
   PAGINATION
   =========================== */
.jd-pagination {
  margin: 1.5rem 0;
  text-align: center;
}

.jd-pagination__list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.jd-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-gray-300);
  background: #fff;
  color: var(--brand-text);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-base);
}

a.jd-pagination__link:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  text-decoration: none;
}

.jd-pagination__current {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  font-weight: 700;
}

.jd-pagination__link.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.jd-pagination__prev,
.jd-pagination__next {
  gap: 0.3rem;
  font-weight: 600;
}

.jd-pagination__prev .fa,
.jd-pagination__next .fa {
  font-size: 0.7rem;
}

.jd-pagination__ellipsis {
  padding: 0 0.3rem;
  color: var(--brand-gray-600);
  font-size: 0.9rem;
}

.jd-pagination__info {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--brand-gray-600);
  font-weight: 400;
}

[data-bs-theme="dark"] .jd-pagination__link {
  background: #1a1a2e;
  border-color: #2d2d44;
  color: #e9ecef;
}

[data-bs-theme="dark"] a.jd-pagination__link:hover {
  background: rgba(13, 110, 253, 0.15);
  border-color: var(--brand-blue);
}

[data-bs-theme="dark"] .jd-pagination__current {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

@media (max-width: 575px) {
  .jd-pagination__prev,
  .jd-pagination__next {
    font-size: 0;
  }
  .jd-pagination__prev .fa,
  .jd-pagination__next .fa {
    font-size: 0.8rem;
  }
}


/* ===========================
   FILTER PILLS
   =========================== */
.jd-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.jd-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-gray-300);
  background: #fff;
  color: var(--brand-gray-600);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
}

.jd-filter-pill:hover,
.jd-filter-pill.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.jd-filter-pill i {
  font-size: 0.78rem;
}


/* ===========================
   GENERIC CARD
   =========================== */
.jd-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: none;
  overflow: hidden;
  transition: var(--transition-base);
}

.jd-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}


/* ===========================
   QUICK LINKS (sidebar)
   =========================== */
.jd-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.jd-quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--brand-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--brand-gray-100);
  transition: background-color 0.15s ease, padding-left 0.2s ease;
}

.jd-quick-link:last-child {
  border-bottom: none;
}

.jd-quick-link:hover {
  background-color: var(--brand-blue-soft);
  color: var(--brand-blue);
  padding-left: 1.25rem;
}

.jd-quick-link i {
  width: 1.25rem;
  text-align: center;
  color: var(--brand-blue);
  font-size: 0.9rem;
}

.jd-quick-link span:last-child {
  margin-left: auto;
}

.jd-quick-link__count {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-gray-600);
  background: var(--brand-gray-100);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}


/* ===========================
   SIDEBAR — side sections, payment grid, trust, featured
   =========================== */
.jd-side-section {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.jd-side-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-gray-100);
}

.jd-side-section-header i {
  font-size: 1.1rem;
  color: var(--brand-blue);
}

.jd-side-section-header h4 {
  font-family: "Cabin", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: var(--brand-text);
}

.jd-news-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--brand-gray-300);
  text-decoration: none;
  color: var(--brand-text);
  transition: background 0.2s;
}

.jd-news-item:hover {
  background: var(--brand-gray-100);
  color: var(--brand-text);
}

.jd-news-item__thumb {
  width: 68px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.jd-news-item__title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.jd-news-item__excerpt {
  font-size: 0.8rem;
  color: var(--brand-gray-600);
  line-height: 1.3;
}

.jd-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.jd-payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition-base);
}

a.jd-payment-icon,
a.jd-payment-icon:visited {
  text-decoration: none;
  color: #fff;
}
.jd-payment-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: #fff;
  text-decoration: none;
}

.jd-payment-icon.paypal { background: #003087; }
.jd-payment-icon.mastercard { background: #eb001b; }
.jd-payment-icon.visa { background: #1a1f71; }
.jd-payment-icon.bitcoin { background: #f7931a; }
.jd-payment-icon.skrill { background: #822d80; }
.jd-payment-icon.neteller { background: #7ab739; }

.jd-trust-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid var(--brand-success);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.jd-trust-section .jd-side-section-header {
  border-bottom-color: rgba(25, 135, 84, 0.2);
}

.jd-trust-section .jd-side-section-header i {
  color: var(--brand-success);
}

.jd-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--brand-text);
}

.jd-trust-item i {
  width: 1.5rem;
  text-align: center;
  color: var(--brand-success);
  font-size: 1rem;
}

.jd-featured-sidebar .jd-featured-casino-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
  transition: var(--transition-base);
}

.jd-featured-sidebar .jd-featured-casino-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.jd-featured-sidebar .jd-featured-image {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: var(--brand-gray-300);
}

.jd-featured-sidebar .jd-featured-casino-card:hover .jd-featured-image {
  transform: scale(1.05);
}

.jd-featured-sidebar .jd-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.jd-featured-sidebar .jd-featured-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--brand-gradient);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ===========================
   FOOTER — 4-column layout
   =========================== */
.jd-footer {
  margin-top: var(--space-xl);
  background-color: #1a1a2e;
  color: rgba(255, 255, 255, 0.85);
}

.jd-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.jd-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.jd-footer-logo,
.jd-footer img.jd-footer-logo {
  width: 140px !important;
  max-width: 140px !important;
  height: auto !important;
  max-height: 70px !important;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.jd-footer-tagline {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 0;
}

.jd-footer h4 {
  font-family: "Cabin", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #fff;
}

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

.jd-footer-links li {
  margin-bottom: 0.5rem;
}

.jd-footer-links a {
  font-size: 0.88rem;
  position: relative;
}

.jd-footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.2s ease;
}

.jd-footer-links a:hover::after {
  width: 100%;
}

.jd-footer-links a:hover {
  text-decoration: none;
}

.jd-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1rem;
  transition: var(--transition-base);
}

.jd-social-link:hover {
  background: var(--brand-blue);
  color: #fff !important;
  transform: translateY(-2px);
}

.jd-footer .footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.jd-footer .footer-link:hover {
  color: #fff;
}

.jd-footer-rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.jd-footer-rg-links a {
  text-decoration: none;
}

.jd-rg-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.jd-rg-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.jd-footer-trust {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.jd-footer-trust span {
  margin: 0 0.75rem;
}

.jd-footer-trust a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.jd-footer-trust a:hover {
  color: #fff;
  text-decoration: underline;
}

.jd-footer-trust__18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-danger);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  vertical-align: middle;
}

.jd-footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.jd-footer-badges img {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.jd-footer-badges img:hover {
  opacity: 1;
}

.img-rounded-flags {
  border-radius: 8px;
  border: 1px solid #dbdbdb;
}


/* ===========================
   NEWSLETTER (sidebar + footer)
   =========================== */
.newsletter-card {
  background: linear-gradient(135deg, var(--brand-blue-soft) 0%, #cfe2ff 100%);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--brand-blue-dark);
}

.newsletter-card .card-body {
  padding: 1.5rem;
}

.newsletter-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: "Cabin", sans-serif;
}

.newsletter-card p {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.newsletter-input .input-group {
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.newsletter-input .input-group-text {
  background-color: var(--brand-primary);
  border-color: transparent;
  color: #fff;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}

.newsletter-input .form-control {
  border-color: transparent;
  padding: 0.55rem 0.75rem;
}

.newsletter-input .form-control:focus {
  box-shadow: none;
  border-color: var(--brand-primary);
}

.newsletter-submit {
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.6rem;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.newsletter-submit:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}


/* ===========================
   SIDE MENU
   =========================== */
.side-menu .list-group {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}


/* ===========================
   EXIT-INTENT POPUP
   =========================== */
.jd-exit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jd-exit-overlay.active {
  opacity: 1;
  visibility: visible;
}

.jd-exit-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  z-index: 9999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.jd-exit-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.jd-exit-popup h3 {
  font-family: "Cabin", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brand-text);
  margin-bottom: 0.75rem;
}

.jd-exit-popup p {
  color: var(--brand-gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.jd-exit-popup .form-control {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-gray-300);
  margin-bottom: 0.75rem;
}

.jd-exit-popup .btn-primary {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  font-weight: 600;
  font-size: 1rem;
}

.jd-exit-popup .btn-primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.jd-exit-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-gray-600);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.jd-exit-close:hover {
  color: var(--brand-text);
}


/* ===========================
   HEADLINES / NEWS
   =========================== */
.headline-article {
  margin-top: -1.125rem;
}

.headline-article .img-rounded {
  margin: 0 0.625rem 0 0;
}

.headline-separator {
  color: #fff;
  border-top: 1px dashed #ccc;
}

.headline-columns {
  margin-top: 1rem;
}

.headline-article-img {
  border-radius: var(--radius-sm);
}


/* ===========================
   SIDE NEWS
   =========================== */
.side-news-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0.25rem 0.625rem 0 0;
}


/* ===========================
   SITE SHELL
   =========================== */
.site-container {
  max-width: 1140px;
}

.page-shell {
  margin-top: 0 !important;
  padding-top: 1rem;
}

@media (max-width: 991.98px) {
  .page-shell {
    padding-top: 0.75rem;
  }

  .headerblock,
  .headerblockimg,
  .headerblockimg2 {
    border-radius: var(--radius-lg);
  }
}


/* ===========================
   BREADCRUMBS — legacy ol.breadcrumb without .breadcrumb-item
   =========================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  list-style: none;
  background: transparent;
  border-radius: 0;
  font-size: 0.85rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  padding: 0 0.4rem;
  color: var(--brand-gray-600);
}

.breadcrumb li a {
  color: var(--brand-blue);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}


/* ===========================
   LEGACY — still used on detail/list pages
   =========================== */
.stylelogo,
.stylelogo a:link,
.stylelogo a:hover,
.stylelogo a:visited,
.stylelogo a:active {
  font-family: "Cabin", sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 500;
  color: #ffffff !important;
}

.img-respo {
  display: block !important;
  max-width: 100% !important;
  width: auto !important;
  background-color: #ffffff;
  text-align: center;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.btnlist a,
.btnlist a:link,
.btnlist a:visited,
.btnlist a:active,
.btnlist a:hover {
  padding: 10px 16px;
  font-size: 20px;
  width: 100%;
  display: block;
  color: #ffffff;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-color: var(--brand-blue-dark);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.btnlist a,
.btnlist a:link,
.btnlist a:visited,
.btnlist a:active {
  background: var(--brand-blue);
}

.btnlist a:hover {
  background: var(--brand-blue-dark);
}

.btnlistclosed {
  text-decoration: none;
  background-color: #a2a2a2;
  padding: 10px 16px;
  font-size: 20px;
  width: 100%;
  display: block;
  color: #ffffff;
  text-align: center;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-color: #999999;
}

.topradius {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.thumbrel {
  display: inline-block;
  width: 100px;
  margin: 6px;
  text-align: center;
  vertical-align: top;
}

.thumbrel img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.thumbrel img:hover {
  transform: scale(1.05);
}

.btnlistsmall {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--brand-text);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btnlistsmall a {
  color: var(--brand-text);
  text-decoration: none;
}

.btnlistsmall a:hover {
  color: var(--brand-blue);
}

.playbutton,
.playbutton2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

.playbutton {
  font-size: 38px;
  margin-top: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.playbutton2 {
  font-size: 38px;
  margin-bottom: 20px;
}

.tags {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.tags li {
  float: left;
}

.tag {
  background: var(--brand-gray-100);
  border-radius: 3px 0 0 3px;
  color: var(--brand-gray-600);
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.tag::before {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: "";
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.tag::after {
  background: #ffffff;
  border-bottom: 13px solid transparent;
  border-left: 10px solid var(--brand-gray-100);
  border-top: 13px solid transparent;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
}

.tag:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
}

.tag:hover::after {
  border-left-color: var(--brand-blue);
}

.usertitle {
  font-size: 30px;
  margin-top: 12px;
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

.h3profile {
  font-size: 14px;
  color: gray;
  font-weight: 300;
}

.h3profile2 {
  font-size: 17px;
  color: gray;
  font-weight: 300;
}

#container .pagination {
  width: 100%;
  text-align: center;
}

#container .pagination ul li {
  list-style: none;
  display: inline;
  border: 1px solid var(--brand-gray-300);
  padding: 5px 11px 5px 9px;
  margin: 0 -4px 0 3px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: var(--brand-blue);
  background-color: #ffffff;
  border-radius: 4px;
}

#container .pagination ul li:hover {
  color: #ffffff;
  background-color: var(--brand-blue);
  cursor: pointer;
}

#container .pagination ul li.inactive,
#container .pagination ul li.inactive:hover {
  background-color: var(--brand-gray-100);
  color: #bababa;
  border: 1px solid #bababa;
  cursor: default;
}

.total {
  float: right;
  font-family: "Open Sans", sans-serif;
  color: var(--brand-gray-600);
}

.author {
  background-color: var(--brand-primary);
  margin-top: -5px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 300;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  padding: 5px;
  font-size: 15px;
  letter-spacing: 1px;
}

.uploadavatar {
  background-color: var(--brand-gray-100);
  text-transform: uppercase;
  font-weight: 300;
  border-radius: 4px;
  padding: 5px;
  font-size: 15px;
  position: absolute;
  margin: 3px 0 0 3px;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 999px;
  text-align: right;
  opacity: 0;
  outline: none;
  background: #ffffff;
  cursor: inherit;
  display: block;
}

.description {
  font-size: 15px;
  font-weight: 300;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  line-height: 31px;
  margin-top: 8px;
  margin-bottom: 0.5rem;
  clear: both;
}

.description > div {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .playbutton,
  .playbutton2 {
    font-size: 30px;
  }

  .headerblock h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
}


/* ===========================
   DETAIL PAGES
   =========================== */
.detail-icon-sm {
  height: 2rem;
  width: auto;
  vertical-align: middle;
}

.detail-icon-md {
  height: 2.625rem;
  width: auto;
  vertical-align: middle;
}

.detail-separator {
  border-top: 1px dashed #ddd;
  margin: 0.375rem 0;
}

.detail-bonus-amount {
  font-weight: bold;
  font-size: 1.25rem;
}

.detail-specs {
  list-style-type: none;
  padding: 0;
}

.detail-closed-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  filter: grayscale(100%);
}

.detail-hero-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}


/* ===========================
   LEGACY OFFER TABLE (kept for non-homepage list pages)
   =========================== */
.offer-table {
  margin-bottom: 0;
}

.offer-table > :not(caption) > * > * {
  padding: 0.85rem 0.75rem;
}

.offer-table thead tr {
  background-color: var(--brand-gray-100);
}

.offer-table tr.offer-row {
  transition: background-color 0.15s ease;
}

.offer-table tr.offer-row:nth-child(even) {
  background-color: #f8f9fa;
}

.offer-table tr.offer-row:hover {
  background-color: var(--brand-blue-soft);
}

.offer-table tr.offer-row > td {
  border-top: 1px solid var(--brand-gray-300);
  vertical-align: middle;
}

.offer-table tr.offer-row:first-child > td {
  border-top: 0;
}

.offer-table tr.offer-row > td:first-child .list {
  margin-bottom: 0;
}

.offer-table tr.offer-row > td:first-child .list td {
  border: 0;
  padding: 0;
  vertical-align: middle;
}

.offer-table tr.offer-row > td:first-child .list td + td {
  padding-left: 0.6rem;
}

.offer-table tr.offer-row > td:nth-child(2) {
  color: var(--brand-bonus-blue) !important;
  font-size: 1rem !important;
  font-weight: 600;
  white-space: nowrap;
}

.offer-table tr.offer-row > td:nth-child(3) img {
  height: 24px;
  width: auto;
}

.offer-table tr.offer-row > td:nth-child(4) .btn {
  margin: 0.2rem 0.2rem 0 0 !important;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
}

.offer-table tr.offer-row .casinos2 > div {
  display: flex;
  justify-content: flex-end;
}

.offer-cta {
  align-items: center;
  background: var(--brand-blue);
  border-radius: var(--radius-sm);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1.1;
  min-width: 110px;
  padding: 0.52rem 0.8rem;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 0.15s ease-in-out;
}

.offer-cta:hover,
.offer-cta:focus {
  background: var(--brand-blue-dark);
  color: #ffffff !important;
}

.offer-cta .label {
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  padding: 0;
}

@media (max-width: 991.98px) {
  .offer-table thead {
    display: none;
  }

  .offer-table tr.offer-row {
    background: #ffffff;
    border: 1px solid var(--brand-gray-300);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: block;
    margin: 0 0 0.85rem;
    overflow: hidden;
  }

  .offer-table tr.offer-row > td {
    border: 0;
    display: block;
    padding: 0.55rem 0.8rem !important;
    width: 100% !important;
  }

  .offer-table tr.offer-row > td:nth-child(2) {
    padding-top: 0 !important;
    white-space: normal;
  }

  .offer-table tr.offer-row > td:nth-child(3) table,
  .offer-table tr.offer-row > td:nth-child(3) tbody,
  .offer-table tr.offer-row > td:nth-child(3) tr {
    display: flex;
    gap: 0.35rem;
    width: auto !important;
  }

  .offer-table tr.offer-row > td:nth-child(3) td {
    padding: 0 !important;
  }

  .offer-table tr.offer-row .casinos2 > div {
    justify-content: flex-start;
    margin-right: 0 !important;
    margin-top: 0 !important;
  }

  .offer-cta {
    max-width: none;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}


/* ===========================
   DARK MODE
   =========================== */
[data-bs-theme="dark"] {
  --brand-text: #e9ecef;
  --brand-gray-100: #1a1a2e;
  --brand-gray-300: #2d2d44;
  --brand-gray-600: #9ca3af;
  --brand-blue-soft: rgba(13, 110, 253, 0.15);
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] body,
[data-bs-theme="dark"] {
  background-color: #0f0f1a;
  color: var(--brand-text);
}

[data-bs-theme="dark"] .jd-navbar {
  background: #16162b;
  border-bottom-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-navbar.navbar-scrolled {
  background: rgba(22, 22, 43, 0.95);
}

[data-bs-theme="dark"] .jd-navbar .brand-title {
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-navbar .navbar-nav .nav-link {
  color: rgba(233, 236, 239, 0.85);
}

[data-bs-theme="dark"] .jd-navbar .navbar-nav .nav-link:hover {
  color: var(--brand-blue);
}

[data-bs-theme="dark"] .jd-navbar .nav-search .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: #2d2d44;
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-navbar .nav-search .form-control::placeholder {
  color: #9ca3af;
}

[data-bs-theme="dark"] .jd-navbar .nav-search .btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: #2d2d44;
  color: #9ca3af;
}

[data-bs-theme="dark"] .jd-navbar .nav-lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: #2d2d44;
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-navbar .logo-glass {
  background: transparent;
}

[data-bs-theme="dark"] .jd-navbar .navbar-toggler {
  border-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28233,236,239,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .jd-navbar .dropdown-menu {
  background: #1a1a2e;
  border-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-navbar .dropdown-item {
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-navbar .dropdown-item:hover {
  background: rgba(13, 110, 253, 0.15);
  color: var(--brand-blue);
}

[data-bs-theme="dark"] .jd-card-casino {
  background: #16162b;
  border-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-card-casino__name a {
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-card-casino__bonus-preview {
  background: linear-gradient(to right, #1a1a2e, #16162b);
  border-top-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-quick-links {
  background: #16162b;
}

[data-bs-theme="dark"] .jd-quick-link {
  color: #e9ecef;
  border-bottom-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-quick-link:hover {
  background-color: rgba(13, 110, 253, 0.15);
}

[data-bs-theme="dark"] .jd-quick-link__count {
  background: #2d2d44;
  color: #9ca3af;
}

[data-bs-theme="dark"] .jd-side-section {
  background: #16162b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .jd-side-section-header {
  border-bottom-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-trust-section {
  background: linear-gradient(135deg, #16162b 0%, #1a1a2e 100%);
  border-color: var(--brand-success);
}

[data-bs-theme="dark"] .newsletter-card {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.08) 100%);
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-filter-pill {
  background: #16162b;
  border-color: #2d2d44;
  color: #9ca3af;
}

[data-bs-theme="dark"] .jd-card {
  background: #16162b;
}

[data-bs-theme="dark"] .jd-bottom-nav {
  background: #16162b;
  border-top-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-bottom-nav__link {
  color: #9ca3af;
}

[data-bs-theme="dark"] .jd-bottom-nav__link:hover,
[data-bs-theme="dark"] .jd-bottom-nav__link.active {
  background: rgba(13, 110, 253, 0.15);
  color: var(--brand-blue);
}

[data-bs-theme="dark"] .jd-theme-toggle {
  background: #1a1a2e;
  border-color: #2d2d44;
}

[data-bs-theme="dark"] .jd-theme-toggle .btn {
  color: #9ca3af;
}

[data-bs-theme="dark"] .jd-theme-toggle .btn:hover:not(.active) {
  background: rgba(13, 110, 253, 0.15);
}

[data-bs-theme="dark"] .jd-exit-popup {
  background: #16162b;
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-exit-popup .form-control {
  background: #1a1a2e;
  border-color: #2d2d44;
  color: #e9ecef;
}

[data-bs-theme="dark"] .offer-table tr.offer-row {
  background: #16162b;
}

[data-bs-theme="dark"] .offer-table tr.offer-row:nth-child(even) {
  background: #1a1a2e;
}

[data-bs-theme="dark"] .offer-table tr.offer-row > td {
  border-top-color: #2d2d44;
}

[data-bs-theme="dark"] .offer-table thead tr {
  background: #1a1a2e;
  color: #e9ecef;
}

[data-bs-theme="dark"] .jd-section-header h2 {
  color: #e9ecef;
}

/* ── Star Rating Override ── */
.star-rating,
.star-rating2 {
  background: none !important;
  position: relative;
  width: 130px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}

.star-rating::before,
.star-rating2::before {
  content: '\f006\00a0\f006\00a0\f006\00a0\f006\00a0\f006';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: #d0d0d0;
  letter-spacing: 0;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  line-height: 26px;
  word-spacing: 2px;
}

[data-bs-theme="dark"] .star-rating::before,
[data-bs-theme="dark"] .star-rating2::before {
  color: #444;
}

.star-rating .current-rating,
.star-rating2 .current-rating {
  background: none !important;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  text-indent: 0;
}

.star-rating .current-rating::before,
.star-rating2 .current-rating::before {
  content: '\f005\00a0\f005\00a0\f005\00a0\f005\00a0\f005';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: #ffc107;
  letter-spacing: 0;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 26px;
  word-spacing: 2px;
}

.star-rating a,
.star-rating2 a {
  background: none !important;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  text-indent: -9999em;
  font-size: 0;
  color: transparent;
  height: 26px;
  line-height: 26px;
  outline: none;
  overflow: hidden;
  border: none;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}

.star-rating a:hover {
  background: none !important;
  text-decoration: none;
}

.star-rating a.one-star { width: 20%; z-index: 6; }
.star-rating a.two-stars { width: 40%; z-index: 5; }
.star-rating a.three-stars { width: 60%; z-index: 4; }
.star-rating a.four-stars { width: 80%; z-index: 3; }
.star-rating a.five-stars { width: 100%; z-index: 2; }

.star-rating a::before {
  content: '\f005\00a0\f005\00a0\f005\00a0\f005\00a0\f005';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: transparent;
  letter-spacing: 0;
  word-spacing: 2px;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 26px;
  text-indent: 0;
  pointer-events: none;
  transition: color 0.15s ease;
}

.star-rating a:hover::before {
  color: #ffca2c;
}

.star-rating2 a.one-star { width: 20%; z-index: 6; }
.star-rating2 a.two-stars { width: 40%; z-index: 5; }
.star-rating2 a.three-stars { width: 60%; z-index: 4; }
.star-rating2 a.four-stars { width: 80%; z-index: 3; }
.star-rating2 a.five-stars { width: 100%; z-index: 2; }

.rated_text {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--brand-gray-600);
  margin-bottom: 0.5rem;
}

.out5Class {
  color: var(--brand-blue);
  font-weight: 700;
}

[data-bs-theme="dark"] .out5Class {
  color: #6ea8fe;
}

.voted {
  background-color: #d4edda;
  background-image: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #155724;
  margin: 0.3rem 0;
}

.voted_twice {
  background-color: #f8d7da;
  background-image: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #721c24;
}

.votebox {
  float: right;
  text-align: right;
  padding: 0.25rem 0;
}
