:root {
  --body-bg-color: #000000;
  --body-text-color: #ffffff;
  --heading-color: #ffba00;
  --hero-gradient1: #ffba00;
  --hero-gradient2: #00ffff;
  --footer-bg-color: #000000;
  --link-color: #00ffff;
  --header-bg-color: #000000;
  --font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #333333;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
  color: var(--heading-color) !important;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
  color: var(--link-color) !important;
}

p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 40px 0;
  scroll-margin-top: 70px;
}

section a {
  color: var(--link-color) !important;
  text-decoration: underline wavy !important;
}

section a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}

.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}

.error_page {
  min-height: 70vh;
}


.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}

.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}



.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* Hero Section (with gradient background behind it) */
.hero-section {
  padding: 55px 0;
  position: relative;
  color: var(--body-text-color);
  font-family: var(--font-family);
}

/* Unified content box inside hero */
.hero-section .container {
  background: rgba(0, 0, 0, 0.35);
  border-left: 6px solid var(--hero-gradient2);
  border-right: 6px solid var(--hero-gradient1);
  border-radius: 14px;
  padding: 20px;
  box-shadow:
    0 0 25px rgba(255, 186, 0, 0.15),
    0 0 25px rgba(0, 255, 255, 0.15);
  margin: 0 auto;
}

/* Heading inside the hero box */
.hero-section .container h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--body-text-color);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Paragraph inside the hero box */
.hero-section .container p {
  line-height: 1.8;
  color: var(--body-text-color);
  opacity: 0.92;
  margin: 0 auto;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.gradient-bg {
  background: linear-gradient(135deg, var(--hero-gradient1), var(--hero-gradient2));
}

.hero-section .container {
  position: relative;
  z-index: 2;
}


@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

}

.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  padding: 0 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--link-color) !important;
  transform: translateY(-1px);
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--link-color);
}

/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb,
        var(--header-bg-color) 65%,
        transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    background: var(--body-text-color);
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

@media screen and (min-width: 1199.98px) {
  .dropdown-menu {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

.navbar .dropdown-toggle::after {
  transition: transform .3s ease
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg)
}

.custom-dropdown {
  border: 1px solid;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border-color: var(--hero-gradient1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 280px;
  background: color-mix(in srgb,
      var(--header-bg-color) 80%,
      transparent) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: .75rem 1.5rem;
  transition: all .3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(in srgb, var(--header-bg-color) 95%, transparent) !important;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color .3s ease
}

.custom-dropdown .dropdown-item:hover i {
  color: #fff
}

.dropdown-menu {
  opacity: 0;
  transition: all .3s ease;
  display: block;
  visibility: hidden
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible
}


@media (max-width:1199.98px) {
  .custom-dropdown {
    display: none;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none
  }
}

.dropdown-menu:hover,
.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #91919131 !important;
}

.error-text {
  display: block;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;

  /* softer outline & glow layering */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    /* subtle contrast */
    0 0 10px rgba(255, 255, 255, 0.4),
    /* inner glow */
    0 0 20px var(--hero-gradient2),
    /* cyan glow */
    0 0 35px var(--hero-gradient1),
    /* gold glow */
    0 0 60px rgba(0, 255, 255, 0.5),
    /* extended cyan */
    0 0 90px rgba(255, 186, 0, 0.5);
  /* extended gold */

  animation: smoothCasino 2s ease-in-out infinite alternate;
}

@keyframes smoothCasino {
  0% {
    text-shadow:
      0 2px 4px rgba(0, 0, 0, 0.6),
      0 0 12px rgba(255, 255, 255, 0.4),
      0 0 24px var(--hero-gradient2),
      0 0 40px var(--hero-gradient1),
      0 0 70px rgba(0, 255, 255, 0.6),
      0 0 100px rgba(255, 186, 0, 0.6);
    transform: scale(1);
  }

  100% {
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.6),
      0 0 18px rgba(255, 255, 255, 0.5),
      0 0 30px var(--hero-gradient1),
      0 0 50px var(--hero-gradient2),
      0 0 90px rgba(255, 186, 0, 0.7),
      0 0 120px rgba(0, 255, 255, 0.7);
    transform: scale(1.03);
  }
}

/* Back to Home Button */
a.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 2px solid var(--link-color);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  background-color: var(--link-color);
  color: #000000 !important;
  text-decoration: none !important;
}

.btn-home:hover {
  color: #000000 !important;
  background-color: transparent;
  box-shadow: 0 0 15px var(--link-color);
  transform: translateY(-2px);
}

.btn-home i {
  font-size: 1.2rem;
}

.text-style {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 255, 255, 0.5);
}

.faq h3 {
  color: var(--heading-color);
  font-weight: 600;
  margin: 25px 0 10px;
  cursor: default;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.faq h3:hover {
  color: var(--link-color);
}

.faq p {
  color: var(--body-text-color);
  line-height: 1.6;
  margin: 0 0 20px;
  padding-left: 10px;
  border-left: 3px solid var(--hero-gradient1);
  opacity: 0.95;
}

.box {
  position: relative;
  background: radial-gradient(circle at top left, rgba(255, 186, 0, 0.15), transparent 70%),
    radial-gradient(circle at bottom right, rgba(0, 255, 255, 0.15), transparent 70%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.5));
  border-radius: 18px;
  padding: 20px;
  color: var(--body-text-color);
  font-family: var(--font-family);
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow:
    inset 0 0 25px rgba(255, 186, 0, 0.1),
    0 0 25px rgba(0, 255, 255, 0.15),
    0 0 50px rgba(255, 186, 0, 0.1);
  backdrop-filter: blur(6px);
  height: 100%;
}

.box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg,
      var(--hero-gradient1),
      var(--hero-gradient2),
      var(--hero-gradient1));
  filter: blur(35px);
  opacity: 0.25;
  animation: rotateAura 10s linear infinite;
  z-index: -1;
}

@keyframes rotateAura {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 0 30px rgba(255, 186, 0, 0.3),
    0 0 60px rgba(0, 255, 255, 0.25),
    inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 186, 0, 0.08), rgba(0, 255, 255, 0.08));
  mix-blend-mode: overlay;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.box:hover::after {
  opacity: 0.7;
}

.box h3 {
  color: var(--heading-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--hero-gradient1), var(--hero-gradient2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255, 186, 0, 0.4);
}

.box p {
  color: var(--body-text-color);
  line-height: 1.8;
  opacity: 0.95;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

h2 {
  color: var(--heading-color);
  font-family: var(--font-family);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(90deg, var(--hero-gradient1), var(--hero-gradient2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 186, 0, 0.25), 0 0 40px rgba(0, 255, 255, 0.15);
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--hero-gradient1), var(--hero-gradient2));
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(255, 186, 0, 0.4),
    0 0 20px rgba(0, 255, 255, 0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%) scaleX(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.1);
  }
}

.logo-all-british-casino {
  background: url('/images/all-british-casino.svg');
}

.bg-all-british-casino {
  background-color: #fff;
}

.logo-magic-red-casino {
  background: url('/images/magic-red-casino.png');
}

.bg-magic-red-casino {
  background-color: #fff;
}

.logo-fun-casino {
  background: url('/images/fun-casino.svg');
}

.bg-fun-casino {
  background-color: #fff;
}

.logo-casumo {
  background: url('/images/casumo.svg');
}

.bg-casumo {
  background-color: #32007e;
}

.logo-great-britain-casino {
  background: url('/images/great-britain-casino.png');
}

.bg-great-britain-casino {
  background-color: #fff;
}

[class*="logo-"] {
  display: block;
  text-indent: -9999px;
  text-align: left;
  background-size: 80%;
  background-position: center center !important;
  background-repeat: no-repeat;
}

[class*="brand-"][class*="bg-"] {
  margin: 0 auto;
  padding: 5px;
  border-radius: 4px;
  width: 250px;
  height: 120px;
}

section img {
  box-shadow:
    0 0 5px var(--hero-gradient1),
    0 0 10px var(--hero-gradient2),
    0 0 20px var(--hero-gradient1),
    0 0 40px var(--hero-gradient2);
}

section ul {
  padding-left: 0;
  list-style: none;
}

section ul li::before {
  content: "➤";
  margin-right: 8px;
}