:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #0d0d0d;
  --link-color: #ea1a1a;
  --header-bg-color: #141414;
  --font-family: "Montserrat", Arial, sans-serif;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  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;
}

.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.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 {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.hero-section.with-bg {
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; /* important for outside shadow */
  position: relative;
  z-index: 1;

  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.45);
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .hero-section {
    padding: 77px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !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;
  }
}

.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;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
/* Section container */
.heading {
  margin: 30px auto;
  padding: 30px 21px;
  background: #ffffff;
  border-left: 6px solid #d40000; /* casino red accent */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift effect */
.heading:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Title styling */
.heading h2 {
  margin-bottom: 20px;
  color: #000000;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

/* Red underline accent */
.heading h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #d40000;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Paragraph styling */
.heading p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 18px;
}

/* Subtle red highlight for keywords */
.heading p strong {
  color: #d40000;
}

/* Smooth fade-in animation */
.heading {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cust-bg {
  margin: 30px auto;
  padding: 35px 21px;
  background: #ffffff;
  border-radius: 10px;
  border-top: 5px solid #d40000; /* red casino accent */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}

/* Decorative subtle pattern (card suits) */
.cust-bg::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  background-size: contain;
  opacity: 0.05;
  transform: rotate(25deg);
  pointer-events: none;
}

.cust-bg h2 {
  color: #000;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.cust-bg h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #d40000;
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
}

.cust-bg p {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.cust-bg p strong {
  color: #d40000;
}

/* Fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.img-section {
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 1.5rem;
  position: relative;
}
.img-section .section-top-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}
.img-section__content {
  background: linear-gradient(180deg, #fff 0, #b8d8f9 100%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 1.25rem 17px;
  margin-top: -6px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
}
.img-section__content h2 {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.12),
    rgba(16, 185, 129, 0.04)
  );
  color: #0f172a;
  padding: 0.4rem 5px;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
}
.img-section__content h3 {
  color: #0b1220;
  font-weight: 600;
}
.simple-box {
  margin: 30px auto;
  padding: 30px 21px;

  /* soft glass effect */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);

  animation: floatFade 0.8s ease forwards;
  opacity: 0;

  position: relative;
  overflow: hidden;
}

/* floating red accent orb */
.simple-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #d40000 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(12px);
}

/* Title */
.simple-box h2 {
  font-weight: 800;
  color: #000;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* Modern paragraph style */
.simple-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
  margin-bottom: 20px;
}

/* Entrance animation */
@keyframes floatFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.box-first,
.box-second {
  background-color: #e7e9ebde;
  padding: 17px 15px;
}
.box-second {
  background-color: #c5c5c5de;
}
@media (min-width: 1200px) {
  .box-first {
    border-top-left-radius: 21px;
    border-bottom-left-radius: 21px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
  }
  .box-second {
    border-top-right-radius: 21px;
    border-bottom-right-radius: 21px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}
@media (max-width: 1200px) {
  .box-first {
    border-radius: 21px 21px 0 0;
  }
  .box-second {
    border-radius: 0 0 21px 21px;
  }
}
.conclusion h2 {
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* Modern red underline glow */
.conclusion h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #d40000;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 0, 0, 0.6);
}

/* Smooth fade-in animation */
.conclusion h2 {
  opacity: 0;
  animation: fadeHeading 0.8s ease forwards;
}

@keyframes fadeHeading {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.rounded-5 {
  border-radius: 21px;
} /* Main container */
.game {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 30px 21px;
  margin: 30px auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  animation: gameFade 0.7s ease forwards;
  opacity: 0;
}

/* Decorative soft red glow */
.game::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #d40000 0%, transparent 60%);
  opacity: 0.12;
  filter: blur(10px);
  pointer-events: none;
}

/* Main title */
.game h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

/* Red underline bar */
.game h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #d40000;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 2px;
}

/* Subheadings (h3) */
.game h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #000;
  position: relative;
  padding-left: 14px;
}

/* Small red left bar accent */
.game h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: 18px;
  background: #d40000;
  border-radius: 3px;
}

/* Paragraphs */
.game p {
  font-size: 1.07rem;
  line-height: 1.75;
  color: #222;
  margin-bottom: 18px;
}

/* Animation */
@keyframes gameFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 21px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}
/* Container styling */
.links {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 35px 21px;
  border-radius: 14px;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  animation: fadeLinks 0.7s ease forwards;
  opacity: 0;
  width: 279px;
  margin-bottom: 15px;
}

/* Decorative subtle red corner glow */
.links::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #d40000 0%, transparent 60%);
  opacity: 0.12;
  filter: blur(8px);
  pointer-events: none;
}

/* Title styling */
.links h2 {
  font-weight: 700;
  color: #000;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

/* Red underline bar */
.links h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #d40000;
  position: absolute;
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

/* List reset */
.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
/* Add custom red marker */
.sidebar-page-list li {
  margin-bottom: 14px;
  position: relative;
  padding-left: 22px;
}

.sidebar-page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: #d40000;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(212, 0, 0, 0.6);
}

/* Link styling */
.sidebar-page-list li a {
  text-decoration: none;
  font-size: 1.05rem;
  color: #000;
  font-weight: 600;
  padding: 6px 0;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
  border-left: 3px solid transparent;
}

/* Hover effect — red bar + slight slide */
.sidebar-page-list li a:hover {
  color: #d40000;
  border-left: 3px solid #d40000;
  padding-left: 8px;
  transform: translateX(3px);
}

/* Entrance animation */
@keyframes fadeLinks {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Main error container */
.error_page {
  background: #ffffff;
  border-radius: 18px;
  padding: 60px 20px;
  max-width: 750px;
  margin: 80px auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  animation: fadeError 0.7s ease forwards;
  opacity: 0;
}

/* Subtle red glow accent */
.error_page::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #d40000 0%, transparent 60%);
  opacity: 0.12;
  filter: blur(12px);
  pointer-events: none;
}

/* Icon */
.error_page i {
  color: #d40000;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounceIn 0.8s ease;
}

/* Heading */
.error_page h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Paragraph */
.error_page p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 25px;
}

/* Button */
.error_page_btn {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  background: #000 !important;
  border: 2px solid #000;
  transition: all 0.3s ease;
}

.error_page_btn:hover {
  background: #d40000 !important;
  border-color: #d40000;
  box-shadow: 0 10px 18px rgba(212, 0, 0, 0.35);
}

/* Fade animation */
@keyframes fadeError {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon bounce animation */
@keyframes bounceIn {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.sidebar {
  position: sticky;
  top: 80px;
  align-self: flex-start;
}
