:root {
  /* Backgrounds */
  --bg-void: #120818;
  --bg-deep: #1a0e26;
  --bg-elevated: #221430;
  --bg-elevated-2: #2a1a3a;

  /* Purple ramp (brand color retained at --purple-500) */
  --purple-900: #3a1650;
  --purple-700: #5c2578;
  --purple-500: #863c99;
  --purple-400: #a855c9;
  --purple-glow: #b565e0;

  /* Gold ramp (brand accent retained) */
  --gold-300: #ffe98a;
  --gold-400: #ffe066;
  --gold-500: #fcd613;
  --gold-600: #f5b301;

  /* Glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --glass-bg-soft: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-gold: rgba(252, 214, 19, 0.35);
  --glass-blur: blur(18px);

  /* Header / overlay surfaces (separate from card glass so light mode can
     stay opaque enough to read over content) */
  --header-bg: rgba(26, 14, 38, 0.65);
  --overlay-bg: rgba(34, 20, 48, 0.85);
  --overlay-bg-strong: rgba(34, 20, 48, 0.92);

  /* Ambient body glow colors */
  --glow-1: rgba(134, 60, 153, 0.35);
  --glow-2: rgba(245, 179, 1, 0.12);
  --glow-3: rgba(134, 60, 153, 0.18);

  /* Text */
  --text-primary: #f5f1fa;
  --text-secondary: #c3b3d6;
  --text-muted: #8b7a9e;

  /* Shadows / glow */
  --shadow-glow-purple: 0 8px 32px rgba(134, 60, 153, 0.35);
  --shadow-glow-gold: 0 8px 24px rgba(245, 179, 1, 0.22);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);

  /* Radii */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  /* Fonts */
  --font-display: "Space Grotesk", "Nunito Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", "Nunito Sans", sans-serif;
}

/* ==========================================================================
   Light theme — activated by JS setting <html data-theme="light">
   Every rule in this file is built on the variables above, so this is the
   only block that needs to change to flip the whole site to light mode.
   ========================================================================== */
html[data-theme="light"] {
  --bg-void: #faf7fc;
  --bg-deep: #f2ebf6;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #f7f1fb;

  --purple-glow: #9b3fd1;

  --gold-300: #f2b900;
  --gold-400: #e6a700;
  --gold-500: #d99400;
  --gold-600: #c17f00;

  --glass-bg: rgba(134, 60, 153, 0.045);
  --glass-bg-strong: rgba(134, 60, 153, 0.08);
  --glass-bg-soft: rgba(134, 60, 153, 0.03);
  --glass-border: rgba(134, 60, 153, 0.16);
  --glass-border-gold: rgba(217, 148, 0, 0.4);

  --text-primary: #241130;
  --text-secondary: #5b4770;
  --text-muted: #85729a;

  --shadow-glow-purple: 0 8px 28px rgba(134, 60, 153, 0.16);
  --shadow-glow-gold: 0 8px 20px rgba(217, 148, 0, 0.2);
  --shadow-card: 0 10px 26px rgba(90, 40, 110, 0.1);

  --header-bg: rgba(255, 255, 255, 0.72);
  --overlay-bg: rgba(255, 255, 255, 0.95);
  --overlay-bg-strong: rgba(255, 255, 255, 0.98);

  --glow-1: rgba(134, 60, 153, 0.1);
  --glow-2: rgba(245, 179, 1, 0.1);
  --glow-3: rgba(134, 60, 153, 0.05);
}

html[data-theme="light"] #newsletter {
  background: linear-gradient(135deg, #efe3f7 0%, #f7eefc 60%, #fdf3e0 100%);
}
html[data-theme="light"] #newsletter::before {
  background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(217, 148, 0, 0.12), transparent 60%);
}
html[data-theme="light"] #newsletter h2 {
  color: var(--gold-600);
}
html[data-theme="light"] #newsletter p {
  color: var(--text-primary);
}
html[data-theme="light"] .newsletter-form .text-input {
  background: rgba(134, 60, 153, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
html[data-theme="light"] .newsletter-form .text-input::placeholder {
  color: var(--text-muted);
}

* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

html {
  background-color: var(--bg-void);
}

body {
  background-color: var(--bg-void);
  background-image: radial-gradient(
      ellipse 900px 500px at 8% -10%,
      var(--glow-1),
      transparent 60%
    ),
    radial-gradient(
      ellipse 700px 500px at 95% 10%,
      var(--glow-2),
      transparent 55%
    ),
    radial-gradient(
      ellipse 800px 600px at 50% 80%,
      var(--glow-3),
      transparent 60%
    );
  background-attachment: fixed;
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Keep the .nunito class name (used by JS / blade) but map it to the new
   body typeface so nothing needs to be renamed. */
.nunito {
  font-family: var(--font-body);
  font-optical-sizing: auto;
}

/* ==========================================================================
   Section background utilities (used across many pages, not just home)
   ========================================================================== */

.border-curved {
  background: var(--bg-elevated);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 2rem 0;
  margin-top: -30px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}

.primary-background {
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-500) 55%, var(--purple-700) 100%);
  position: relative;
}

.section-grey {
  background-color: var(--bg-deep);
}

.section-promotion {
  background: radial-gradient(ellipse at top, rgba(252, 214, 19, 0.07), transparent 55%), var(--bg-void);
}

.section-white {
  background-color: var(--bg-elevated);
}

.secondary-background {
  background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.gold-background {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}

.uppercase {
  text-transform: uppercase;
}

/* ==========================================================================
   Header / Nav — sticky glass bar
   ========================================================================== */

/* .menu-btn {
  flex-direction: column;
  gap: 5px;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  display: none;
  cursor: pointer;
} */
.menu-line {
  width: 2rem;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
}

header {
  padding: 1rem 0.5rem;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* ==========================================================================
   Dark / Light theme toggle switch
   ========================================================================== */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.theme-toggle .toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: var(--shadow-glow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: translateX(0);
  transition: transform 0.3s ease, background 0.3s ease;
}
html[data-theme="light"] .theme-toggle .toggle-knob {
  transform: translateX(24px);
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
}
.theme-toggle .toggle-knob svg {
  position: absolute;
  width: 12px;
  height: 12px;
  transition: opacity 0.2s ease;
}
.theme-toggle .icon-sun {
  stroke: var(--bg-void);
  stroke-width: 2;
  fill: none;
  opacity: 1;
}
.theme-toggle .icon-moon {
  fill: var(--bg-void);
  stroke: none;
  opacity: 0;
}
html[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
}
html[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
}
header nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}
header nav img {
  max-width: 12rem;
  filter: drop-shadow(0 0 14px rgba(252, 214, 19, 0.25));
}
header nav .nav-list {
  list-style: none;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
}
header nav .nav-list li a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  letter-spacing: 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}
header nav .nav-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transition: width 0.3s ease;
  border-radius: 2px;
}
header nav .nav-list li a:hover {
  color: var(--text-primary);
}
header nav .nav-list li a:hover::after {
  width: 100%;
}
header nav .nav-list li .active {
  font-weight: 700;
  color: var(--text-primary);
}
header nav .nav-list li .active::after {
  width: 100%;
}
.nav-hide {
  display: none;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.header-text {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--purple-glow) 110%) ;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.header-text2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--purple-glow) 110%) ;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.header-subcontent {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.justify-subcontent {
  text-align: justify;
  color: var(--text-secondary);
  line-height: 1.7;
}
.section-custom {
  padding: 4rem 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-primary);
}
p {
  color: var(--text-secondary);
}

/* ==========================================================================
   Filter bar
   ========================================================================== */

.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.filter-container div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: small;
  color: var(--text-secondary);
}
.filter-container div img {
  max-width: 1.2rem;
  border-radius: 3px;
}
.filter-container .filter-btn-container {
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.filter-container .filter-btn-container button {
  background-color: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border: none;
  font-size: medium;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-container .filter-btn-container button.active {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #ffffff;
  border: none;
}

/* ==========================================================================
   Offers grid table — glass rows
   ========================================================================== */

.grid-table {
  display: flex;
  width: 100%;
  padding: 0.75rem 1rem;
  align-items: center;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;

  position: relative;
  z-index: 1;
}

.grid-table:hover,
.grid-table:focus-within,
.grid-table.tooltip-active {
  z-index: 10;
}

.grid-table.primary-background {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow-purple);
}
.grid-table.section-white,
.grid-table.secondary-background {
  border: 1px solid var(--glass-border);
}
.grid-table.section-white:hover,
.grid-table.secondary-background:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--glass-border-gold);
  background-color: var(--bg-void);
}
.grid-table .header {
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.grid-table .content {
  text-align: center;
}

.grid-table .header:nth-child(1),
.grid-table .casino-title-container {
  text-align: left;
  flex: 2;
}
.grid-table .header:nth-child(2),
.grid-table .bonus-info-container {
  flex: 4;
}
.grid-table .header:nth-child(3),
.grid-table .header:nth-child(4),
.grid-table .code-container,
.grid-table .date-container {
  flex: 1;
}
.grid-table .header:nth-child(5),
.grid-table .claim-btn-container {
  flex: 1;
}

.grid-table .top-casino-title {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.grid-table .flag-bonus {
  max-width: 1.5rem;
  border-radius: 3px;
}

.readreview {
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.readreview:hover {
  background: var(--glass-bg-strong);
  color: #ffffff;
}
.new-outline {
  color: var(--gold-400);
  font-size: x-small;
  border: 0.5px solid var(--gold-400);
  padding: 0 0.3rem;
  font-weight: 800;
  border-radius: 4px;
}
.exclusive-outline {
  color: #ff6b6b;
  font-size: x-small;
  border: 0.5px solid #ff6b6b;
  padding: 0 0.3rem;
  font-weight: 800;
  border-radius: 4px;
}
.casino-title {
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}
.casino-title:hover {
  color: var(--gold-400);
}
.casino-title-static {
  font-weight: 700;
  color: var(--purple-glow) !important;
}

.bonus-info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 500;
}
.bonus-info-container .button-top-container,
.bonus-info-container .button-bot-container {
  max-width: fit-content;
  position: relative;
}
.flex-top-bonus {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.bonus-info-container .button-top,
.bonus-info-container .button-bot {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.bonus-info-container .button-top:hover,
.bonus-info-container .button-bot:hover {
  box-shadow: var(--shadow-glow-purple);
  transform: translateY(-1px);
}
.bonus-info-container .button-bot {
  font-size: 0.7rem;
  font-family: var(--font-body);
}
.button-top {
  font-family: var(--font-body);
}

.bonus-info-container .button-top-container .tooltip-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -103%);
  display: none;
  z-index: 999;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  background: var(--overlay-bg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 0;
}
.bonus-info-container .button-bot-container .tooltip-overlay {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -90%);
  display: none;
  z-index: 999;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  background: var(--overlay-bg-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.bonus-info-container .button-top-container:focus-within .button-top::before,
.bonus-info-container .button-bot-container:focus-within .button-bot::before,
.bonus-info-container .button-top-container.is-active .button-top::before,
.bonus-info-container .button-bot-container.is-active .button-bot::before {
  content: "";
  width: 100%;
  height: 101%;
  border: 2px solid var(--gold-400);
  position: absolute;
  top: -2px;
  left: -2px;
  border-radius: var(--radius-sm);
}
.bonus-info-container .button-top-container:focus-within .tooltip-overlay,
.bonus-info-container .button-bot-container:focus-within .tooltip-overlay,
.bonus-info-container .button-top-container.is-active .tooltip-overlay,
.bonus-info-container .button-bot-container.is-active .tooltip-overlay {
  display: flex;
}
.bonus-info-container
  .bonus-top
  .button-top-container:focus-within
  .button-top::before {
  content: "";
  width: 100%;
  height: 101%;
  border: 2px solid var(--gold-400);
  position: absolute;
  top: -2px;
  left: -2px;
  border-radius: var(--radius-sm);
}

.bonus-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: small;
  font-weight: 700;
}
.tooltip-overlay .tooltip-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 999;
}
.tooltip-overlay::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--overlay-bg-strong);
  border-left: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border);
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: rotate(-135deg) translate(-50%);
  z-index: 5;
}

.tooltip-overlay .tooltip-container .tooltip-title {
  text-align: center;
  min-width: 300px;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}
.button-bot-container .tooltip-subtitle {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.tooltip-subtitle,
.tooltip-subtitle-bot {
  text-transform: uppercase;
  margin-bottom: 1rem;
  min-width: 300px;
  font-weight: 700;
  color: var(--bg-void);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  font-size: 1rem;
}
.tooltip-subtitle-bot {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.tooltip-bonus-list {
  list-style: none;
  text-align: left;
  width: 100%;
}
.tooltip-bonus-list li {
  padding: 0.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  color: var(--text-secondary);
}
.tooltip-bonus-list li a:last-child {
  text-decoration: none;
  color: var(--text-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

/* Signature "casino chip" element — reused on the bonus code + code column */
.tooltip-code {
  padding: 0.6rem;
  border: 2px dashed var(--gold-500);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--gold-400);
  background: rgba(252, 214, 19, 0.06);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  margin: 0 auto 0.5rem auto;
  width: 80%;
  display: block;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.tooltip-code:hover {
  background: rgba(252, 214, 19, 0.16);
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-1px);
}

.wagering-details {
  font-weight: 800;
  color: var(--text-primary);
}
.games-allowed-container,
.deposit-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 0.5rem;
}
.games-allowed-container p,
.deposit-container p {
  font-weight: 700;
  color: var(--text-primary);
}
.tooltip-overlay .tooltip-container .tooltip-btn-container {
  width: 100%;
}
.tooltip-overlay .tooltip-container .claim-btn {
  width: 80%;
  text-align: center;
}

.bonus-info-container .button-bot {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  color: var(--gold-400);
  cursor: pointer;
}

.code-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.code-container .code-btn {
  background: rgba(252, 214, 19, 0.06);
  border: 2px dashed var(--gold-500);
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--gold-400);
  transition: background 0.25s ease;
}
.code-container .code-btn:hover {
  background: rgba(252, 214, 19, 0.16);
}
.date-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--text-secondary);
}
.claim-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.claim-btn {
  padding: 0.85rem 0.6rem;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  width: 100%;
  text-decoration: none;
  color: var(--bg-void);
  font-size: 1rem;
  display: inline-block;
  box-shadow: var(--shadow-glow-gold);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 179, 1, 0.35);
}

.btn-readmore {
  padding: 0.5rem;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  width: 100px;
  text-decoration: none;
  color: var(--bg-void);
  font-size: 12px;
  box-shadow: var(--shadow-glow-gold);
}

/* ==========================================================================
   Promotional section — glass cards
   ========================================================================== */

#promotion-section {
  padding: 5rem 1rem;
}
.promoted-casino {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.promoted-casino .promoted-card {
  display: flex;
  flex-direction: column;
  max-width: 350px;
  min-width: 320px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.promoted-casino .promoted-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
  border-color: var(--glass-border-gold);
  z-index: 2;
}
.promoted-casino .promoted-card .promoted-card-header-img {
  width: 100%;
  min-height: 200px;
}
.promoted-casino .promoted-card .promotion-description {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}
.promoted-casino .promoted-card .star-rating-container {
  max-width: 250px;
  margin: 0.5rem auto 0 auto;
}
.promoted-casino .promoted-card .star-rating-container button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.promoted-casino .promoted-card .star-rating-container button img {
  width: 1.2rem;
  filter: invert(78%) sepia(56%) saturate(600%) hue-rotate(358deg) brightness(101%) contrast(101%);
}
.promoted-casino .promoted-card .banner {
  border-top: 1px solid var(--glass-border);
  width: 100%;
}
.promoted-card .banner img {
  display: block;
  width: 350px;
  min-height: 300px;
  max-height: 300px;
}
.promoted-card #claim-div {
  width: 100%;
}
.promoted-card #claim-div .claim-btn {
  padding: 0.9rem 0.5rem;
  text-transform: uppercase;
  border: none;
  border-radius: 0px !important;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  width: 100%;
  text-decoration: none;
  color: var(--bg-void);
  font-size: 1rem;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

#newsletter {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-500) 60%, var(--purple-700));
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
#newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(252, 214, 19, 0.18), transparent 60%);
  pointer-events: none;
}
#newsletter h2 {
  font-size: 1.2rem;
  color: var(--gold-400);
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
#newsletter p {
  font-size: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.newsletter-form .text-input {
  margin: 0;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  padding: 0.6rem 0.9rem;
  outline: none;
  min-width: 300px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}
.newsletter-form .text-input::placeholder {
  color: var(--text-muted);
}
.newsletter-form .newsletter-submit-btn {
  margin: 0;
  border: none;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  padding: 0.6rem 1.5rem;
  outline: none;
  max-width: 10rem;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  color: var(--bg-void);
  cursor: pointer;
  box-shadow: var(--shadow-glow-gold);
  transition: transform 0.2s ease;
}
.newsletter-form .newsletter-submit-btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--bg-void);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1rem 0;
}
footer .footer-top {
  display: flex;
  justify-content: space-around;
  font-size: 0.8rem;
}
footer .footer-top .footer-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .footer-top .footer-img img {
  max-width: 15rem;
  filter: drop-shadow(0 0 14px rgba(252, 214, 19, 0.18));
}
footer .footer-top .footer-links-container {
  display: flex;
  gap: 2rem;
}
footer .footer-top .footer-links ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.5rem;
}
footer .footer-top .footer-links h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
footer .footer-top .footer-links ul li a {
  list-style: none;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
footer .footer-top .footer-links ul li a:hover {
  color: var(--gold-400);
}
footer .footer-mid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 4rem 0 1rem 0;
}
footer .footer-mid a img {
  max-width: 10rem;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
footer .footer-mid a img:hover {
  opacity: 1;
}
.language-flag-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
}
.language-flag-container button {
  background-color: transparent;
  height: fit-content;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s ease;
}
.language-flag-container button:hover {
  transform: translateY(-2px);
}
.language-flag-container button img {
  max-width: 2rem;
  height: fit-content;
  border-radius: 3px;
}
footer .copyright {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.8rem;
}
footer .copyright a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-pages a {
  color: var(--text-muted);
  margin: 0 5px;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-pages a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

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

@media (max-width: 1280px) {
  .section-container {
    padding: 0 1rem;
  }
}
@media (max-width: 1024px) {
  footer .footer-mid {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .filter-container {
    flex-wrap: wrap;
    gap: 5px;
  }
  .grid-table .header:nth-child(3),
  .grid-table .header:nth-child(4),
  .grid-table .code-container,
  .grid-table .date-container {
    display: none;
  }
  .promoted-casino {
    flex-wrap: wrap;
  }
  .promoted-casino .promoted-card {
    max-width: 650px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
  .newsletter-form .text-input {
    min-width: 0;
  }
  .newsletter-form .newsletter-submit-btn {
    margin: 0 auto;
    max-width: none;
  }
  footer .footer-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .language-flag-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

header nav .nav-list {
  order: 3;
  list-style: none;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
}

.menu-btn {
  order: 2;
  flex-direction: column;
  gap: 5px;
  display: none;
  cursor: pointer;
}

@media (max-width: 572px) {
  header nav {
    align-items: center;
    padding: 1rem;
  }
  .nav-brand {
    order: 1;
  }
  .menu-btn {
    display: flex;
    margin-left: auto;
  }
  .theme-toggle {
    width: 46px;
    height: 24px;
  }
  .theme-toggle .toggle-knob {
    width: 16px;
    height: 16px;
  }
  html[data-theme="light"] .theme-toggle .toggle-knob {
    transform: translateX(20px);
  }
  header nav .nav-list {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    width: 100%;
    display: none;
    gap: 0.75rem;
    margin-top: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    text-align: left;
  }
  header nav .nav-list.show {
    display: flex;
  }
  header nav .nav-list li a {
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 1rem;
  }
  .bonus-info-container .bonus-top {
    flex-direction: column;
  }
  .flex-top-bonus {
    flex-direction: column;
  }
  footer .footer-mid a img {
    max-width: 5rem;
    gap: 1rem;
  }
}
.pad-left-right {
  padding: 0 2rem 0 2rem;
}

.li-content {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}


/* ============ Offers Filter Bar — Glass Vault theme ============ */
.show-hide-filter {
  background: transparent;
  border: none;
  color: var(--purple-glow);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
}
.show-hide-filter:hover { color: var(--gold-400); background: var(--glass-bg); }
.show-hide-filter i { margin-right: 4px; }

#filters-input { flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; border: 1px solid var(--glass-border); }
#filters-input .filter { display: flex; align-items: center; }

.filter-info-keyword {
  background: var(--bg-void);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 180px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.filter-info-keyword::placeholder { color: var(--text-muted); }
.filter-info-keyword:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(255, 224, 102, 0.15); }

.filter-checkbox-label {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-secondary); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer;
}
.filter-checkbox { width: 18px; height: 18px; accent-color: var(--purple-500); cursor: pointer; }

.btn-filter-apply {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff; border: none; padding: 0.6rem 1.3rem; border-radius: var(--radius-sm);
  font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.03em;
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-filter-apply:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow-purple); }

.btn-filter-reset {
  background: transparent; color: var(--text-secondary); border: 1px solid var(--glass-border);
  padding: 0.6rem 1.3rem; border-radius: var(--radius-sm); font-weight: 700;
  text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.03em;
  cursor: pointer; transition: all 0.25s ease;
}
.btn-filter-reset:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ================================================================
Offer review page — casinoreview.css hardcodes light-theme colors,
override for dark theme (loads after main.css on main.offer route)
=================================================================== */

/* alsolike.blade.php - dark theme "You May Also Like" body links (casinoreview.css .text-black is hardcoded #000) */
html[data-theme="dark"] .also-like-section .check-list-links a {
  color: var(--text-primary);
}

/* alsolike.blade.php */
html[data-theme="dark"] .also-like-section h2.text-primary {
  color: var(--gold-400);
}

/* offer.blade.php .review-rich-content dark theme text override, DB-authored HTML may carry its own inline colors */
html[data-theme="dark"] .review-rich-content,
html[data-theme="dark"] .review-rich-content * {
  color: var(--text-primary) !important;
}

/* offer.blade.php - .proscons-rich-content dark theme text override, DB-authored Pros/Cons HTML wraps each item in span.text-black */
html[data-theme="dark"] .proscons-rich-content,
html[data-theme="dark"] .proscons-rich-content * {
  color: var(--text-primary) !important;
}

/* offer.blade.php - casino review rating card dark theme background (casinoreview.css .casino-review-card is hardcoded white, was hiding rating text) */
html[data-theme="dark"] .review-main .casino-review-card {
  background-color: var(--bg-elevated);
}

/* offer.blade.php - Bonus Information / Casino Review tab bar restyled as a glass pill segmented control */
.review-main .tab {
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card);
}

/* offer.blade.php - individual tab segment, transparent until active/hovered */
.review-main .tab .tablinks {
  flex: 1;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* offer.blade.php - tab segment hover state */
.review-main .tab .tablinks:hover {
  background: var(--glass-bg-strong);
  color: var(--text-primary);
}

/* offer.blade.php - active tab segment, purple accent gradient matching the score bars */
.review-main .tab .tablinks.active {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #ffffff;
  box-shadow: var(--shadow-glow-purple);
}

/* offer.blade.php - Bonus Information / Casino Review tab headers use the gold accent instead of casinoreview.css's hardcoded purple .text-primary */
.review-main .tabcontent > h2 {
  color: var(--gold-400);
}

/* ==============================================================
CMS/blog content (page-info.blade.php .ck-content)
CKEditor-authored HTML carries its own inline color/background,
override for theme consistency
================================================================= */

/* page-info.blade.php - dark theme: force all ck-content text to the theme's light body text color, beating inline color set by the CMS editor */
html[data-theme="dark"] .ck-content,
html[data-theme="dark"] .ck-content * {
  color: var(--text-primary) !important;
}

/* page-info.blade.php - dark theme: strip inline backgrounds so no CMS-authored white boxes survive on the dark page background */
html[data-theme="dark"] .ck-content,
html[data-theme="dark"] .ck-content * {
  background-color: transparent !important;
}

/* page-info.blade.php - dark theme: headers use the gold accent instead of whatever inline color the editor picked (wins over the general text rule via higher selector specificity) */
html[data-theme="dark"] .ck-content :is(h1, h2, h3, h4, h5, h6),
html[data-theme="dark"] .ck-content :is(h1, h2, h3, h4, h5, h6) * {
  color: var(--gold-400) !important;
}

/* page-info.blade.php - light theme: force all ck-content text to the theme's dark body text color, beating inline color set by the CMS editor */
html[data-theme="light"] .ck-content,
html[data-theme="light"] .ck-content * {
  color: var(--text-primary) !important;
}

/* page-info.blade.php - light theme: headers use the light-theme gold accent instead of whatever inline color the editor picked (wins over the general text rule via higher selector specificity) */
html[data-theme="light"] .ck-content :is(h1, h2, h3, h4, h5, h6),
html[data-theme="light"] .ck-content :is(h1, h2, h3, h4, h5, h6) * {
  color: var(--gold-400) !important;
}
