:root {
  --body-bg-color: #000000;
  --body-text-color: #f2f2f2;
  --heading-color: #ffffff;
  --hero-gradient1: #000000;
  --hero-gradient2: #dc5151;
  --footer-bg-color: #0d0d0d;
  --link-color: #c54747;
  --header-bg-color: #05090f;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}
html {
  overflow-x: hidden;
}
body {
  background: linear-gradient(180deg, #0a0e1a 0%, #05070d 50%, #000 100%);
  color: var(--body-text-color);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    /* main ambient blue */
    radial-gradient(circle at center, rgba(8, 11, 20, 0.45), transparent 65%),
    /* corner depth */
    radial-gradient(circle at 15% 20%, rgba(8, 11, 20, 0.35), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(8, 11, 20, 0.3), transparent 42%);
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65),
    transparent 25%,
    transparent 75%,
    rgba(0, 0, 0, 0.65)
  );
  pointer-events: none;
  z-index: -2;
}
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;
}
.error_page {
  min-height: 70vh;
}
.footer {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.95),
    rgba(5, 7, 13, 0.95)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.25rem 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  align-items: start;
}

.footer-brand img {
  margin-bottom: 0.75rem;
}

.footer-tagline {
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #ffffff;
  position: relative;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, #8b1d1d, transparent);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-col p i {
  margin-right: 8px;
  color: #8b1d1d;
}

/* Newsletter */
.footer-newsletter form {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.75rem;
  flex-direction: column;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(180deg, #8b1d1d, #5e1414);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.footer-newsletter button:hover {
  opacity: 0.9;
}

/* Divider */
.footer-divider {
  margin: 2.4rem 0 1.6rem;
  border-color: rgba(255, 255, 255, 0.06);
}

/* Bottom */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-social span {
  margin-right: 12px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-social span:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Mobile */
@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.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: 175px 0 77px;
  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;
  box-shadow: 0 6.5px 25px -1px #0d1b2f;
}
.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: 100px 0 30px;
  }
}
.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;
  position: relative;
}

.navbar-light .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--link-color),
    transparent
  );
  border-radius: 999px;
}

/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-light .navbar-nav .nav-link.active::after {
    left: 0;
    transform: none;
    width: 36px;
    background: linear-gradient(90deg, var(--link-color), transparent);
  }
  .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;
}
.colored {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #dc5151 35%,
    #712323 70%,
    #7c2525 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
}
.colored::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b1d1d, transparent);
}
.heading {
  margin-bottom: 21px;
}
.heading h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
  position: relative;
}
.heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, #8b1d1d, transparent);
}
.heading p {
  color: (255, 255, 255, 0.75);
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}
.casino {
  padding: 1.25rem 17px;
  margin: 2.5rem 0;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 20, 0.35),
    rgba(8, 11, 20, 0.15)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.casino h3 {
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0 0 1rem;
  text-align: center;
  text-shadow:
    0 3px 12px rgba(151, 17, 17, 0.85),
    /* depth */ 0 0 6px rgba(8, 11, 20, 0.6); /* cool blue lift */
}
.casino img {
  border-radius: 17px;
  transition: transform 0.3s ease;
}
.casino img:hover {
  transform: translateY(-3px);
}
.casino p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0.9rem;
}
.box {
  padding: 1.75rem 19px;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 20, 0.35),
    rgba(8, 11, 20, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  height: 100%;
}
.box h3 {
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}
.box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, #8b1d1d, rgba(139, 29, 29, 0.2));
  border-radius: 999px;
}
.title {
  margin-bottom: 15px;
}

.title h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  position: relative;
}
.title h2::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0.3em;
  width: 4px;
  height: 1.1em;
  background: linear-gradient(180deg, #8b1d1d, rgba(139, 29, 29, 0.25));
  border-radius: 999px;
}
.title h3 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  position: relative;
}
.title h3::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0.3em;
  width: 4px;
  height: 1.1em;
  background: linear-gradient(180deg, #8b1d1d, rgba(139, 29, 29, 0.25));
  border-radius: 999px;
}
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.colored-bg {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.95) 0%,
    rgba(8, 11, 20, 0.95) 60%,
    rgba(5, 7, 13, 0.95) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
}
/* ===== Cust section: software providers ===== */
.cust-bg {
  margin: 30px auto;
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1rem, 3vw, 1.6rem);
  border-radius: 16px;
  overflow: hidden;

  /* rich layered background */
  background:
    radial-gradient(
      900px 320px at 15% 0%,
      rgba(139, 29, 29, 0.28),
      transparent 60%
    ),
    radial-gradient(
      800px 360px at 85% 20%,
      rgba(124, 37, 37, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(10, 14, 26, 0.96), rgba(5, 7, 13, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(139, 29, 29, 0.06) inset;
}

.cust-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.08),
      transparent 38%,
      rgba(255, 255, 255, 0.04)
    ),
    radial-gradient(
      2px 2px at 20px 30px,
      rgba(255, 255, 255, 0.12) 40%,
      transparent 42%
    ),
    radial-gradient(
      2px 2px at 90px 80px,
      rgba(255, 255, 255, 0.08) 40%,
      transparent 42%
    ),
    radial-gradient(
      2px 2px at 160px 140px,
      rgba(255, 255, 255, 0.06) 40%,
      transparent 42%
    );
  opacity: 0.35;
  pointer-events: none;
}

.cust-bg::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #dc5151, rgba(139, 29, 29, 0.2));
  filter: drop-shadow(0 0 12px rgba(220, 81, 81, 0.35));
  pointer-events: none;
}

.cust-bg > * {
  position: relative; /* stay above overlays */
  z-index: 1;
}

/* Main title */
.cust-bg h2 {
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  line-height: 1.2;
  color: #fff;

  /* gradient text glow */
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ff8f8f 35%,
    #dc5151 65%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 10px 28px rgba(151, 17, 17, 0.45),
    0 2px 10px rgba(0, 0, 0, 0.65);
}

.cust-bg h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #8b1d1d, transparent);
  opacity: 0.9;
}

/* Subheadings */
.cust-bg h3 {
  margin: 1.8rem 0 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.25px;
  color: #fff;

  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);

  text-shadow:
    0 3px 14px rgba(151, 17, 17, 0.35),
    0 2px 10px rgba(0, 0, 0, 0.65);
}

.cust-bg h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 10px;
  background: radial-gradient(
    circle at 30% 30%,
    #ffb2b2,
    #dc5151 55%,
    #8b1d1d 100%
  );
  box-shadow: 0 0 14px rgba(220, 81, 81, 0.35);
  transform: translateY(-1px);
}

/* Paragraphs */
.cust-bg p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

/* First paragraph “lead” */
.cust-bg p:first-of-type {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.03rem;
}

/* Nice separators between blocks (auto for long text sections) */
.cust-bg h3 + p {
  margin-top: 0.65rem;
}

.cust-bg p + h3 {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Responsive polish */
@media (max-width: 640px) {
  .cust-bg {
    border-radius: 14px;
  }
  .cust-bg::after {
    left: 5px;
  }
  .cust-bg h3 {
    padding: 0.3rem 19px;
  }
}

.payment h3 {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-shadow: 0 3px 14px rgba(139, 29, 29, 0.45);
}

.payment > p {
  margin: 0 auto 1.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

/* Individual wrapped sections */
.payment-item {
  position: relative;
  padding: 1.4rem 19px;
  margin-bottom: 7px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

/* subtle left accent */
.payment-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b1d1d, rgba(139, 29, 29, 0.25));
}

.payment-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.25px;
}

.payment-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  font-size: 0.98rem;
}
.payment-item h4 i {
  font-size: 1.5em;
  vertical-align: -1px;
}
.faq {
  padding: 2.1rem 11px;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 20, 0.55),
    rgba(8, 11, 20, 0.25)
  );
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(139, 29, 29, 0.45);
}

.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  margin-bottom: 0.75rem;
}

.faq-accordion .accordion-button {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.25px;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(
    180deg,
    rgba(139, 29, 29, 0.18),
    rgba(139, 29, 29, 0.08)
  );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.faq-accordion .accordion-body {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  padding: 1.1rem 1.25rem 1.4rem;
  border-left: 3px solid rgba(139, 29, 29, 0.6);
  margin-top: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0 0 14px 14px;
}

/* Remove default focus glow */
.accordion-button:focus {
  box-shadow: none;
}
.img-scale {
  transition: transform 0.3s ease;
}
.img-scale:hover {
  transform: scale(1.03);
}
.error-404 {
  position: relative;
  background:
    radial-gradient(900px 380px at 15% 10%, rgba(139, 29, 29, 0.22), transparent 60%),
    radial-gradient(820px 360px at 85% 20%, rgba(124, 37, 37, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 26, 0.96), rgba(5, 7, 13, 0.98));
  overflow: hidden;
}

.error-404::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.10) 40%, transparent 42%),
    radial-gradient(2px 2px at 90px 80px, rgba(255,255,255,0.07) 40%, transparent 42%),
    radial-gradient(2px 2px at 160px 140px, rgba(255,255,255,0.05) 40%, transparent 42%);
  opacity: 0.35;
  pointer-events: none;
}

.error-card {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.2rem, 3vw, 2rem);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.error-card::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b1d1d, rgba(139, 29, 29, 0.2));
  pointer-events: none;
}

.error-code {
  font-size: clamp(4rem, 10vw, 6.2rem);
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;

  background: linear-gradient(90deg, #ffffff 0%, #dc5151 45%, #712323 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 34px rgba(151, 17, 17, 0.35);
}

.error-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.35px;
  margin-bottom: 0.75rem;
}

.error-text {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 62ch;
}

/* Buttons */
.btn-404 {
  border: none;
  background: linear-gradient(180deg, #8b1d1d, #5e1414);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn-404:hover {
  opacity: 0.92;
}

.btn-404-outline {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.btn-404-outline:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Bottom links */
.error-links {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.error-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.error-links a:hover {
  color: #ffffff;
}

.error-links .dot {
  margin: 0 10px;
  opacity: 0.55;
}
