:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #cfd6df;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #0d0d0d;
  --link-color: #c74d4d;
  --header-bg-color: #1f1f1f;
  --font-family: system-ui;
  --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;

  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/body-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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;
}
.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: absolute;
  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: 155px 0 15px;
  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: 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;
}
/* 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");
}

.action-thriller h2 {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 21px;
  position: relative;
  display: inline-block;
}

/* aggressive accent underline */
.action-thriller h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #ff2e2e, #ff8c00);
  box-shadow: 0 0 12px rgba(255, 46, 46, 0.7);
}

.action-thriller p {
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

/* subtle intensity on hover */
.action-thriller:hover h2 {
  text-shadow: 0 0 18px rgba(255, 46, 46, 0.35);
}
.box {
  position: relative;
  background: linear-gradient(145deg, #0e141c, #141c27);
  padding: 27px 21px;
  margin: 30px 0;
  border-left: 4px solid #ff2e2e;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

/* cinematic scanline / texture */
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.12;
  pointer-events: none;
}

.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 46, 46, 0.15);
}

.box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  color: #ffffff;
  position: relative;
}

/* aggressive title accent */
.box h3::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, #ff2e2e, #ff8c00);
  box-shadow: 0 0 10px rgba(255, 46, 46, 0.6);
}

.box p {
  font-size: 1rem;
  line-height: 1.75;
  color: #cfd6df;
  letter-spacing: 0.25px;
}

/* staggered feel if stacked */
.box:nth-child(2) {
  border-left-color: #ff8c00;
}
.title {
  position: relative;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ffffff;
  padding-left: 18px;
  border-left: 4px solid #ff2e2e;
}

/* sharp underline, left aligned */
.title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, #ff2e2e, #ff8c00);
  box-shadow: 0 0 14px rgba(255, 46, 46, 0.6);
}

/* subtle pressure glow */
.title:hover {
  text-shadow: 0 0 22px rgba(255, 46, 46, 0.35);
}
.cust-img {
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.343);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* subtle intensity on hover */
.cust-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 46, 46, 0.25);
}
.cust-bg {
  position: relative;
  padding: 30px 12px;
  background: linear-gradient(180deg, #0f141b 0%, #0b1016 100%);
  color: #cfd6df;
  border-left: 5px solid #ff2e2e;
}

/* soft separation from rest of page */
.cust-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 46, 46, 0.08),
    transparent 55%
  );
  pointer-events: none;
}

.cust-bg h2 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #ffffff;
  margin-bottom: 25px;
}

/* section subtitles */
.cust-bg h3 {
  margin-top: 45px;
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #ffffff;
  position: relative;
  padding-left: 14px;
}

.cust-bg h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, #ff2e2e, #ff8c00);
}

/* body text */
.cust-bg p {
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #cfd6df;
}

.img-section {
  position: relative;
  padding: 30px 21px;
  margin-top: 30px;

  /* glass effect */
  background: rgba(15, 20, 28, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #cfd6df;
  border-radius: 16px;

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* image container */
.img-top {
  margin-bottom: 35px;
}

/* cinematic film still */
.img-section img {
  border-radius: 14px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* spotlight title */
.img-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-left: 18px;
  border-left: 4px solid #ff2e2e;
}

/* subsection headers */
.img-section h3 {
  margin-top: 45px;
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #ffffff;
  position: relative;
  padding-left: 14px;
}

.img-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, #ff2e2e, #ff8c00);
}

/* body copy */
.img-section p {
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
  color: #cfd6df;
}
.sidebar-widget {
  margin: 30px 0;
  width: 279px;
}

.spotlight-widget {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 14px;

  /* frosted / blurry card */
  background: rgba(15, 20, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);

  overflow: hidden;
}

/* danger accent strip */
.spotlight-widget::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff2e2e, #ff8c00);
}

/* header */
.sw-head {
  margin-bottom: 14px;
  padding-left: 10px;
}

.sw-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 46, 46, 0.16);
  border: 1px solid rgba(255, 46, 46, 0.22);
}

.sw-title {
  margin: 10px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #ffffff;
}

/* media row */
.sw-media {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sw-media:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
}

/* image */
.sw-media img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* text */
.sw-desc {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #cfd6df;
}

.sw-link {
  font-size: 0.85rem;
  color: rgba(255, 46, 46, 0.9);
  letter-spacing: 0.2px;
  font-weight: 600;
}

.sw-media:hover .sw-link {
  color: #ff8c00;
}

.large-media .sw-media {
  display: block;
  padding: 0;
  background: transparent;
  border: none;
}

/* large cinematic image */
.large-media .sw-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;

  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* text container */
.large-media .sw-meta {
  padding: 10px 6px 0;
}

/* description */
.large-media .sw-desc {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #cfd6df;
  margin-bottom: 10px;
}

/* link */
.large-media .sw-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 46, 46, 0.9);
}

.large-media .sw-media:hover .sw-link {
  color: #ff8c00;
}
.navbar-nav {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      rgba(186, 197, 218, 0),
      rgba(182, 19, 19, 0.741),
      rgba(186, 197, 218, 0)
    )
    1;
}
.footer {
  background: linear-gradient(180deg, #0b0f14, #0a0d12);
  color: #cfd6df;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.8));
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-text {
  font-size: 0.95rem;
  color: #b9c0c9;
  margin-bottom: 14px;
}

/* newsletter */
.newsletter-form input {
  max-width: 260px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.newsletter-form input::placeholder {
  color: #aeb6bf;
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ff2e2e;
  box-shadow: none;
}

/* social icons */
.footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 6px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.footer-social span:hover {
  transform: translateY(-4px);
  background: rgba(255, 46, 46, 0.25);
}

/* links */
.footer-link {
  color: #ff2e2e;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: #ff8c00;
}

/* copyright */
.footer-copy {
  font-size: 0.9rem;
  color: #9ea6b0;
}
.error-section {
  min-height: 70vh;
}

/* error card */
.error-section .border {
  position: relative;
  background: rgba(15, 20, 28, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);

  overflow: hidden;
}

/* danger accent strip */
.error-section .border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(
    180deg,
    #ff2e2e,
    #ff8c00
  );
}

/* icon */
.error-section i.bi-exclamation-circle {
  filter: drop-shadow(0 0 18px rgba(255, 46, 46, 0.5));
}

/* headline */
.error-section h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

/* text */
.error-section p {
  color: #cfd6df;
  line-height: 1.7;
}

/* button */
.error-section .btn-dark {
  background: linear-gradient(
    135deg,
    #1b1f27,
    #0f141c
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.error-section .btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}
