:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #4f4a0c;
  --hero-gradient1: #000000;
  --hero-gradient2: #4f4a0c;
  --footer-bg-color: #0d0d0d;
  --link-color: #9b9d0b;
  --header-bg-color: #ebebeb;
  --font-family: "Roboto", Arial, sans-serif;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
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;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

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

h2,
h3 {
  color: var(--heading-color) !important;
}

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

.content-area 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;
}

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.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;
}

.navbar-light .navbar-nav .nav-link.active {
  color: black !important;
  font-weight: bold;
}
/* 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;
    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 0.3s ease;
}

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

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

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

.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 0.3s ease;
}

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

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

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

@media (min-width: 1199.98px) {
  .custom-dropdown {
    max-width: 200px;
  }
}

@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;
}

/* Heading Section Styles */
.heading {
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

.heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.heading h2 {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.heading h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 1px;
}

.heading p {
  line-height: 1.7;
  color: #555;
  margin: 0 auto 1rem;
}
.heading ul li {
  color: #555;
}

/* Box Styles */
.box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 21px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.box h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1rem;
  text-align: justify;
}

.box p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .heading h2 {
    font-size: 2rem;
  }

  .heading p {
    font-size: 1rem;
    text-align: left;
  }

  .box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .box h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .heading {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }

  .heading h2 {
    font-size: 1.8rem;
  }

  .box {
    padding: 1.2rem;
  }
}

/* Animations */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Additional Enhancement - Card Hover Effect */
.box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.box:hover::after {
  left: 100%;
}
/* === Casino Section Styling === */
.casino-risk-section {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 21px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 3rem auto;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #333;
  position: relative;
  overflow: hidden;
}

/* Decorative casino glow border */
.casino-risk-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: casino-glow 4s linear infinite;
}

@keyframes casino-glow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Heading area */
.casino-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.casino-heading h2 {
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  position: relative;
}

.casino-heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.6rem auto 0;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 10px;
}

.casino-heading p {
  color: #555;
  max-width: 900px;
  margin: 0.5rem auto;
}

/* Subheadings */
.casino-risk-section h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: #111;
  font-weight: 600;
  border-left: 6px solid #ffd700;
  padding-left: 12px;
  transition: color 0.3s ease;
}

.casino-risk-section h3:hover {
  color: #ff8c00;
}

/* Paragraphs */
.casino-risk-section p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #444;
}

/* Smooth fade-in effect */
.casino-risk-section h3,
.casino-risk-section p {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.7s ease forwards;
}

.casino-risk-section h3:nth-of-type(1) {
  animation-delay: 0.2s;
}
.casino-risk-section p:nth-of-type(1) {
  animation-delay: 0.3s;
}
.casino-risk-section h3:nth-of-type(2) {
  animation-delay: 0.5s;
}
.casino-risk-section p:nth-of-type(2) {
  animation-delay: 0.6s;
}
.casino-risk-section h3:nth-of-type(3) {
  animation-delay: 0.8s;
}
.casino-risk-section p:nth-of-type(3) {
  animation-delay: 0.9s;
}
.casino-risk-section h3:nth-of-type(4) {
  animation-delay: 1.1s;
}
.casino-risk-section p:nth-of-type(4) {
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.box-sec {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
}

.box-sec:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Icon above headings */
.box-sec .icon {
  font-size: 2rem;
  color: #ffb400; /* golden accent */
  margin-bottom: 0.8rem;
  display: inline-block;
}

/* Heading */
.box-sec h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.8rem;
}

/* Paragraph */
.box-sec p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.cust-bg {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  border-radius: 18px;
  padding: 2.5rem 21px;
  margin: 2rem 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #333;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cust-bg:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* Heading */
.cust-bg h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.5rem;
  position: relative;
}

.cust-bg h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 0.6rem;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 10px;
}

/* Paragraphs */
.cust-bg p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
}
.faq-section {
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: "Poppins", sans-serif;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
  position: relative;
}

.faq-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 0.6rem auto 0;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 10px;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.faq-item:last-of-type {
  border-bottom: none;
}

/* Summary styling */
.faq-item summary {
  cursor: pointer;
  position: relative;
  padding-right: 1.8rem;
  list-style: none;
}

.faq-item summary h3 {
  font-size: clamp(1.2rem, 3vw, 1.3rem) !important;
  font-weight: 600;
  margin: 0;
  color: #222;
  transition: color 0.3s ease;
}

.faq-item summary:hover h3 {
  color: #ff8c00;
}

/* Plus / minus icon */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #ffb400;
  transition: transform 0.3s ease, content 0.3s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

/* Answer text */
.faq-item p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  padding-right: 1.5rem;
}
.img-style {
  display: block;
  max-width: 100%;
  border-radius: 20px 60px 20px 60px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.479);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.img-style:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}
.team-section {
  margin: 3rem auto;
  padding: 21px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: "Poppins", sans-serif;
}
.team-member {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.team-member:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Span as image */
.team-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("/images/alessandro-ferri.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-img.second {
  background-image: url("/images/martina-rossi.jpg");
}

.team-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Info text */
.team-info {
  flex: 1;
}

.role {
  font-size: 1rem;
  font-weight: 600;
  color: #ff8c00;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.8rem;
}

.team-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    text-align: center;
  }

  .team-img {
    margin: 0 auto 1rem auto; /* centers the span */
  }

  .team-info {
    margin-top: 0;
  }
}
.top-casino-section {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  margin: 2rem 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: "Poppins", sans-serif;
  color: #333;
}

/* Section heading */
.top-casino-section .casino-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  position: relative;
  color: #222;
}

.top-casino-section .casino-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 0.6rem;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 10px;
}

/* List styling */
.top-casino-section .casino-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* wrap to next line on small screens */
  gap: 1rem; /* space between items */
}

.top-casino-section .casino-list li {
  flex: 1 1 180px; /* each item takes at least 180px, grows as needed */
}
.top-casino-section .casino-list li a {
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f9f9f9;
  color: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center; /* center text in horizontal layout */
}

.top-casino-section .casino-list li a:hover {
  background: linear-gradient(135deg, #e6b800, #ff9900);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.list-pos {
  list-style-position: inside;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.img_el {
  padding: 50px 0;
  position: relative;
  margin-top: 17px;
}
.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/casino-mobile.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.img_el .container {
  position: relative;
  z-index: 3;
}
.img_el .container h2,
.img_el .container p {
  color: white !important;
}
.img_el .container ul li {
  color: #ffffff;
}
.bet {
  background-color: #054146;
  padding: 5px;
  box-sizing: border-box;
}
.bet-sec {
  background-color: #081d36;
  padding: 5px;
  box-sizing: border-box;
} /* Modern Casino Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #ffd700;
  margin-top: 1rem !important;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casino-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23ffd700" opacity="0.1"/><circle cx="40" cy="40" r="1.5" fill="%23ff8c00" opacity="0.1"/><polygon points="25,15 30,25 35,15" fill="%23ffd700" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23casino-pattern)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.footer::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ff8c00, #ffd700, #ff8c00);
  background-size: 200% 100%;
  animation: footerShimmer 3s ease-in-out infinite;
}

/* Copyright section */
.footer .col-md-6:first-child p {
  font-size: 0.95rem;
  color: #e0e0e0;
  margin: 0;
  font-weight: 400;
  position: relative;
}

.footer .col-md-6:first-child p::before {
  content: "🎰";
  margin-right: 0.5rem;
  font-size: 1.1rem;
  animation: spin 4s linear infinite;
}

/* Contact and links section */
.footer .col-md-6:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer .col-md-6:last-child span {
  color: #ffd700;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.footer .col-md-6:last-child span::before {
  content: "📧";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer .col-md-6:last-child a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 25px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1),
    rgba(255, 140, 0, 0.1)
  );
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer .col-md-6:last-child a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.footer .col-md-6:last-child a:hover {
  color: #1a1a2e;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.footer .col-md-6:last-child a:hover::before {
  left: 100%;
}

/* Large screen layout */
@media (min-width: 992px) {
  .footer .col-md-6:last-child {
    flex-direction: row;
    justify-content: end;
    align-items: center;
  }
}

/* Medium screen adjustments */
@media (min-width: 768px) {
  .footer .col-md-6:first-child {
    text-align: left !important;
  }

  .footer .col-md-6:last-child {
    text-align: right !important;
  }
}

/* Small screen layout */
@media (max-width: 767px) {
  .footer .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .footer .col-md-6 {
    text-align: center !important;
    margin-bottom: 1rem;
  }

  .footer .col-md-6:last-child {
    margin-bottom: 0;
  }
}

/* Animations */
@keyframes footerShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

/* Additional decorative elements */
.footer .row::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  border-radius: 1px;
}

/* Hover effect for the entire footer */
.footer:hover::after {
  animation-duration: 1.5s;
}

/* Additional casino-themed decorations */
.footer .container::before {
  content: "♠ ♥ ♦ ♣";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffd700;
  font-size: 1.2rem;
  opacity: 0.6;
  letter-spacing: 1rem;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}
/* Casino 404 Page Styles */
.error-404-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.error-404-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casino-bg" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffd700" opacity="0.1"/><circle cx="30" cy="30" r="1.5" fill="%23ff8c00" opacity="0.1"/><rect x="15" y="5" width="4" height="4" fill="%23ffd700" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23casino-bg)"/></svg>');
  animation: backgroundFloat 20s ease-in-out infinite;
}

.error-404-container .row {
  position: relative;
  z-index: 2;
}

/* Animated casino icon */
.casino-icon {
  font-size: 8rem;
  color: #ff4444;
  position: relative;
  display: inline-block;
  animation: iconBounce 2s ease-in-out infinite;
}

.casino-icon::before {
  content: "🎰";
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 2rem;
  animation: spin 3s linear infinite;
}

.casino-icon::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: radial-gradient(ellipse, rgba(255, 68, 68, 0.3), transparent);
  border-radius: 50%;
  animation: shadowPulse 2s ease-in-out infinite;
}

/* 404 Number styling */
.error-number {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  animation: gradientShift 3s ease-in-out infinite;
  position: relative;
}

.error-number::after {
  content: "404";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #ff4444, #ff6b35);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: errorGlow 4s ease-in-out infinite;
}

/* Error message */
.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 1.5rem;
  position: relative;
}

.error-title::before {
  content: "🚨";
  margin-right: 1rem;
  animation: warningBlink 2s ease-in-out infinite;
}

.error-description {
  font-size: 1.2rem;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Casino-themed home button */
.casino-home-btn {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border: none;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.casino-home-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.casino-home-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
  color: #1a1a2e;
}

.casino-home-btn:hover::before {
  left: 100%;
}

.casino-home-btn i {
  font-size: 1.2rem;
  animation: homeIconBounce 2s ease-in-out infinite;
}

/* Floating casino elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-elements::before {
  content: "♠";
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 3rem;
  color: #ffd700;
  opacity: 0.3;
  animation: float1 6s ease-in-out infinite;
}

.floating-elements::after {
  content: "♥";
  position: absolute;
  top: 60%;
  right: 15%;
  font-size: 2.5rem;
  color: #ff4444;
  opacity: 0.3;
  animation: float2 7s ease-in-out infinite;
}

/* Responsive design */
@media (max-width: 768px) {
  .error-number {
    font-size: 6rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-description {
    font-size: 1rem;
  }

  .casino-icon {
    font-size: 6rem;
  }

  .casino-home-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .error-number {
    font-size: 4rem;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .casino-icon {
    font-size: 4rem;
  }
}

/* Animations */
@keyframes backgroundFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

@keyframes shadowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.2);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes errorGlow {
  0%,
  90%,
  100% {
    opacity: 0;
  }
  5%,
  85% {
    opacity: 0.7;
  }
}

@keyframes warningBlink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.3;
  }
}

@keyframes homeIconBounce {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(5px);
  }
}

@keyframes float1 {
  0%,
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  33% {
    transform: translate(-30px, -30px) rotate(-120deg);
  }
  66% {
    transform: translate(20px, 20px) rotate(-240deg);
  }
}
.navbar {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 249, 250, 0.95)
  ) !important;
  backdrop-filter: blur(20px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #ffd700, #ff8c00, #ffd700) 1;
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 249, 250, 0.98)
  ) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ff8c00, #ffd700, #ff8c00);
  background-size: 300% 100%;
  animation: navbarShimmer 4s ease-in-out infinite;
}

.navbar-brand {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

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

.navbar-brand img {
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
  transition: filter 0.3s ease;
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
}

.navbar-nav {
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  padding: 0.8rem 1.2rem !important;
  border-radius: 25px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1),
    rgba(255, 140, 0, 0.1)
  );
  transition: left 0.3s ease;
  border-radius: 25px;
}

.navbar-nav .nav-link:hover::before {
  left: 0;
}

.navbar-nav .nav-link:hover {
  color: #ff8c00 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.navbar-nav .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.navbar-nav .nav-link.active::before {
  display: none;
}

/* Dropdown styling */
.navbar-nav .dropdown-toggle {
  position: relative;
}

.navbar-nav .dropdown-toggle::after {
  border: none;
  content: "⬇";
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

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

/* Enhanced toggler */
.navbar-toggler {
  border: 2px solid var(--nav-link-color, #141414) !important;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar-toggler::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.2),
    rgba(255, 140, 0, 0.2)
  );
  transition: left 0.3s ease;
}

.navbar-toggler:hover::before {
  left: 0;
}

.navbar-toggler:hover {
  border-color: #ff8c00 !important;
  transform: scale(1.05);
}

.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%2820, 20, 20, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* Enhanced mobile menu */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 65px;
    left: 15px;
    right: 15px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 249, 250, 0.95)
    );
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.5rem;
    margin: 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
  }

  .navbar-collapse::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border-radius: 15px 15px 0 0;
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.3s ease forwards;
  }

  .navbar-nav .nav-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  .navbar-nav .nav-item:nth-child(2) {
    animation-delay: 0.2s;
  }
  .navbar-nav .nav-item:nth-child(3) {
    animation-delay: 0.3s;
  }
  .navbar-nav .nav-item:nth-child(4) {
    animation-delay: 0.4s;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 1rem 1.5rem !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
  }

  .navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #fff !important;
  }
}

/* Enhanced dropdown menu */
@media screen and (min-width: 1200px) {
  .custom-dropdown {
    border: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 1rem 0;
    margin-top: 0.8rem;
    min-width: 250px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 249, 250, 0.95)
    ) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
  }

  .custom-dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border-radius: 15px 15px 0 0;
  }

  .custom-dropdown .dropdown-item {
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    color: var(--nav-link-color, #141414) !important;
    font-weight: 500;
    border-radius: 8px;
    margin: 0 0.5rem;
    position: relative;
    overflow: hidden;
  }

  .custom-dropdown .dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd9004f, #ff8c00);
    transition: left 0.3s ease;
    border-radius: 8px;
  }

  .custom-dropdown .dropdown-item:hover::before {
    left: 0;
  }

  .custom-dropdown .dropdown-item:hover {
    color: #111111 !important;
    transform: translateX(5px);
  }
}

/* Animations */
@keyframes navbarShimmer {
  0% {
    background-position: -300% 0;
  }
  100% {
    background-position: 300% 0;
  }
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Scroll effect enhancement */
.navbar.navbar-scrolled {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 249, 250, 0.98)
  ) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Casino-themed decorative elements */
.navbar-brand::after {
  content: "🎰";
  position: absolute;
  top: -5px;
  right: -15px;
  font-size: 1.2rem;
  opacity: 0.7;
  animation: spin 8s linear infinite;
}

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