:root {
  --body-bg-color: #000000;
  --body-text-color: #ffffff;
  --heading-color: #52ffcb;
  --hero-gradient1: #667eea;
  --hero-gradient2: #764ba2;
  --footer-bg-color: #223c3f;
  --link-color: #0afbff;
  --header-bg-color: #eaecec;
  --font-family: system-ui;
  --nav-link-color: #141414;
}

body {
  background: linear-gradient(135deg, #232526 0%, #414345 100%) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  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;
}

.navbar {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(40, 44, 63, 0.9)) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(82, 255, 203, 0.3);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--link-color),
      var(--heading-color),
      var(--link-color),
      transparent);
  opacity: 0.6;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
}

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

.hero-section.with-bg {
  background-image: url('/images/nft-games.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

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

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

.content-area a:hover {
  color: var(--link-color);
  opacity: 0.8;
}

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

.footer a {
  text-decoration: none;
}

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

  .hero-section h1 {
    font-size: 2rem;
  }
}

.navbar-light .navbar-nav .nav-link {
  color: white !important;
}

.navbar-nav .nav-link.active {
  color: #8652ff !important;
}

/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 75px;
    left: 15px;
    right: 15px;
      background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(40, 44, 63, 0.9)) !important;
    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;
  }
}

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

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

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

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
  border-radius: 12px;
  padding: .5rem 0;
  margin-top: .5rem;
  min-width: 220px;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px)
}

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

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  border-radius: 8px
}

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

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

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

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

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

@media (max-width:1199.98px) {
  .custom-dropdown {
    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;
}

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

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

.box {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(40, 44, 63, 0.8));
  border: 1px solid #52ffcb4d;
  border-radius: 12px;
  padding: 15px;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--link-color),
      var(--heading-color),
      transparent);
  opacity: 0.6;
}

.box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(82, 255, 203, 0.5),
      transparent);
  transform: translateY(-50%);
  animation: scan 3s linear infinite;
}

.box:hover {
  border-color: var(--heading-color);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(82, 255, 203, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.box:hover::before {
  opacity: 1;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes scan {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes glow {
  0% {
    filter: brightness(1);
  }

  100% {
    filter: brightness(1.2) saturate(1.1);
  }
}

.title {
  margin-bottom: 15px;
}

.title h2 {
  text-shadow: 0 2px 12px rgba(82, 255, 203, 0.5), 0 1px 0 #222;
}

.img-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  outline: 3px solid #52ffcb4d;
}

.img-shadow:hover {
  transform: translateY(-5px);
}

.img_el {
  padding: 50px 0;
  position: relative;
}

.img_el:before {
  content: "";
  background: color-mix(in srgb, #000000ae, transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 17px;
}

.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/popular-nft-games.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  border-radius: 17px;
}

.img_el .container {
  position: relative;
  z-index: 3;
}

.img_el .container h2,
.img_el .container p {
  color: white !important;
}

.img_el .container h3 {
  color: #EF8A54;
}

.cust-box {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(40, 44, 63, 0.9));
  border: 1px solid rgba(82, 255, 203, 0.4);
  border-radius: 16px;
  padding: 16px;
  margin: 32px 0;
  position: relative;
  backdrop-filter: blur(15px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(82, 255, 203, 0.2);
  transition: all 0.4s ease;
  overflow: hidden;
}

.cust-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent,
      var(--link-color),
      var(--heading-color),
      var(--link-color),
      transparent);
  opacity: 0.8;
  animation: pulse-glow 3s ease-in-out infinite;
}

.cust-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(82, 255, 203, 0.05) 0%,
      transparent 50%);
  animation: rotate-bg 20s linear infinite;
  pointer-events: none;
}

.cust-box:hover {
  border-color: var(--heading-color);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(82, 255, 203, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.cust-box h2 {
  position: relative;
  z-index: 2;
  color: var(--heading-color) !important;
  text-shadow: 0 2px 15px rgba(82, 255, 203, 0.4);
  margin-bottom: 24px !important;
}

.cust-box p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.7;
  font-size: 1.05rem;
}


@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.6;
    filter: brightness(1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.3);
  }
}

@keyframes rotate-bg {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .cust-box {
    padding: 24px 20px;
    margin: 24px 0;
  }

  .cust-box img {
    margin-bottom: 16px !important;
  }
}

a {
  color: var(--heading-color) !important;
}

.footer {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(40, 44, 63, 0.95));
  border-top: 1px solid rgba(82, 255, 203, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--link-color),
      var(--heading-color),
      var(--link-color),
      transparent);
  animation: footer-glow 4s ease-in-out infinite;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(82, 255, 203, 0.03),
      transparent);
  animation: footer-scan 8s linear infinite;
}

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

.footer p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer a {
  color: var(--link-color) !important;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--link-color), var(--heading-color));
  transition: width 0.3s ease;
}

.footer a:hover {
  color: var(--heading-color) !important;
  text-shadow: 0 0 8px rgba(82, 255, 203, 0.6);
  transform: translateY(-1px);
}

.footer a:hover::before {
  width: 100%;
}

@keyframes footer-glow {

  0%,
  100% {
    opacity: 0.6;
    filter: brightness(1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.4);
  }
}

@keyframes footer-scan {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@media (max-width: 768px) {
  .footer span {
    margin-bottom: 8px;
    display: block;
  }

  .footer .me-3 {
    margin-right: 0 !important;
  }
}

.navbar-toggler {
  color: rgb(157 144 144 / 65%);
  background-color: #e3e3e3 !important;
  border: var(--bs-border-width) solid rgb(255 255 255 / 34%) !important;
}