﻿/* =========================
   ROOT (NO CHANGE - PERFECT)
========================= */
:root {
  --cx-bg: #060913;
  --cx-surface: #0c0f1a;
  --cx-surface-soft: #12152a;

  --cx-primary: #9b5cff;
  --cx-primary-dark: #7b2cff;
  --cx-accent: #a855f7;

  --cx-text: #ffffff;
  --cx-text-muted: #9aa0a6;
  --cx-text-light: #aaa;
  --cx-text-soft: #b8bfd7;
  --cx-text-softer: #aeb5ca;
  --cx-text-dim: #778097;

  --cx-border: rgba(255, 255, 255, 0.05);
  --cx-border-light: rgba(255, 255, 255, 0.08);
  --cx-border-primary-soft: rgba(155, 92, 255, 0.2);
  --cx-border-primary-muted: rgba(155, 92, 255, 0.42);

  --cx-danger: #ff2d2d;
  --cx-warning: #ffc107;

  --cx-overlay-dark: rgba(6, 9, 19, 0.95);
  --cx-overlay-mid: rgba(6, 9, 19, 0.6);
  --cx-blog-bg: #050816;
  --cx-blog-panel: rgba(9, 14, 32, 0.86);
  --cx-blog-field: rgba(255, 255, 255, 0.06);
  --cx-blog-subtle: rgba(255, 255, 255, 0.02);
  --cx-blog-glow: rgba(139, 44, 255, 0.22);
  --cx-blog-glow-soft: rgba(120, 35, 255, 0.1);
  --cx-blog-quote: rgba(123, 44, 255, 0.22);
  --cx-blog-overlay-strong: rgba(5, 8, 22, 0.98);
  --cx-blog-overlay: rgba(5, 8, 22, 0.74);
  --cx-blog-overlay-faint: rgba(5, 8, 22, 0.04);
  --cx-blog-overlay-muted: rgba(5, 8, 22, 0.26);
  --cx-blog-overlay-soft: rgba(5, 8, 22, 0.28);
  --cx-blog-overlay-deep: rgba(5, 8, 22, 0.9);

  --cx-gradient-primary: linear-gradient(45deg, var(--cx-primary-dark), var(--cx-accent));
  --cx-gradient-card: linear-gradient(145deg, var(--cx-surface-soft), var(--cx-surface));
  --cx-gradient-bg: linear-gradient(90deg, #1a0f2e, #0b0f2a);
  --cx-gradient-blog-cta: linear-gradient(90deg, rgba(28, 14, 58, 0.96), rgba(12, 17, 40, 0.9));

  --cx-shadow-primary: 0 0 20px rgba(155, 92, 255, 0.4);
  --cx-shadow-blog-title: 0 0 18px rgba(155, 92, 255, 0.46);
  --cx-shadow-blog-panel: 0 18px 60px rgba(0, 0, 0, 0.28);
  --cx-shadow-blog-badge: 0 0 18px rgba(155, 92, 255, 0.45);

  --cx-radius-sm: 8px;
  --cx-radius: 14px;
  --cx-radius-lg: 18px;

  --cx-transition: 0.3s ease;
}

/* =========================
   SMOOTH UI
========================= */
html {
  scroll-behavior: smooth;
}

/* =========================
   GLOBAL / BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--cx-bg);
  color: var(--cx-text);

  /* ✅ Gaming UI font */
  font-family: 'Exo 2', system-ui, -apple-system, sans-serif;

  /* ✅ Better readability */
  line-height: 1.6;
  letter-spacing: 0.2px;

  /* ✅ Rendering optimization */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* ✅ Prevent horizontal scroll issues */
  overflow-x: hidden;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

p {
  color: var(--cx-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--cx-transition);
}

/* =========================
   NAVBAR (RESPONSIVE FIX)
========================= */
.cx-navbar {
  background: transparent;
  border-bottom: 1px solid var(--cx-border-light);
  transition: var(--cx-transition);
  z-index: 9999;
}

.cx-navbar.scrolled {
  background: var(--cx-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

@media(max-width:991px) {
  .cx-navbar.fixed-top {
    background: var(--cx-bg);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
}

/* NAV LINKS */
.cx-navbar .nav-link {
  color: var(--cx-text-muted);
  font-weight: 500;
  font-size: 15px;
}

.cx-navbar .nav-link:hover,
.cx-navbar .nav-link:focus {
  color: var(--cx-text);
}

.cx-navbar .nav-link.active {
  color: var(--cx-primary);
}

/* =========================
   OFFCANVAS MENU FIX
========================= */
.offcanvas {
  background: var(--cx-surface);
  --bs-offcanvas-width: 210px;
}

/* desktop fix */
@media (min-width: 992px) {
  .offcanvas {
    position: static;
    transform: none !important;
    visibility: visible !important;
    background: transparent !important;
    width: auto !important;
  }

  .offcanvas-body {
    overflow: visible;
  }
}

/* mobile */
@media (max-width: 991px) {
  .offcanvas {
    width: 280px;
  }

  .offcanvas-body {
    overflow-y: auto;
  }
}

/* =========================
   PRIMARY BUTTON
========================= */
.cx-btn-primary {
  background: var(--cx-gradient-primary);
  color: var(--cx-text);
  border: none;
  border-radius: var(--cx-radius);
  padding: 6px 20px;
  font-weight: 500;
  transition: var(--cx-transition);
}

.cx-btn-primary:hover {
  box-shadow: var(--cx-shadow-primary);
}

/* =========================
   OUTLINE (PRIMARY BASED)
========================= */
.cx-btn-outline {
  background: transparent;
  color: var(--cx-primary);

  /* 🔥 primary based border */
  border: 1px solid var(--cx-primary);

  border-radius: var(--cx-radius);
  padding: 6px 20px;
  font-weight: 500;

  transition: var(--cx-transition);
}

/* hover = fill like primary */
.cx-btn-outline:hover {
  background: var(--cx-gradient-primary);
  color: var(--cx-text);
  box-shadow: var(--cx-shadow-primary);
}

/* active */
.cx-btn-outline:active {
  background: var(--cx-primary-dark);
  border-color: var(--cx-primary-dark);
}

/* =========================
   ACCESSIBILITY FIX
========================= */
button:focus,
a:focus {
  outline: 2px solid var(--cx-primary);
  outline-offset: 2px;
}


/* =========================
   HERO SECTION (SCOPED)
========================= */
.cx-hero {
  position: relative;
}

/* carousel */
.cx-hero #heroCarousel .carousel-item {
  height: calc(100vh - 80px);
  min-height: 600px;
  position: relative;
}

.cx-hero #heroCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   OVERLAY
========================= */
.cx-hero .cx-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(90deg,
      var(--cx-overlay-dark) 20%,
      var(--cx-overlay-mid) 50%,
      transparent);
}

/* =========================
   CONTENT
========================= */
.cx-hero .cx-hero-content {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  max-width: 520px;
  z-index: 2;
}

/* ✅ ADDED (MISSING TAG STYLE) */
.cx-hero .cx-hero-tag {
  display: inline-block;
  background: var(--cx-border-light);
  color: var(--cx-text);

  padding: 6px 12px;
  border-radius: 20px;

  font-size: 13px;
  font-weight: 500;

  margin-bottom: 10px;
}

.cx-hero .cx-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.cx-hero .cx-text-primary {
  color: var(--cx-primary);
}

.cx-hero .cx-hero-desc {
  margin-top: 10px;
  color: var(--cx-text-light);
}

.cx-hero .cx-hero-btns {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

/* =========================
   THUMB SECTION
========================= */
.cx-hero .cx-thumb-section {
  position: absolute;
  bottom: 65px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
}

/* viewport */
.cx-hero .cx-thumb-viewport {
  width: 330px;
  overflow: hidden;
}

/* track */
.cx-hero .cx-thumb-track {
  display: flex;
  gap: 10px;
  transition: transform 0.4s ease;
}

/* =========================
   THUMB ITEM
========================= */
.cx-hero .cx-thumb {
  min-width: 100px;
  height: 60px;
  border-radius: var(--cx-radius-sm);
  overflow: hidden;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid var(--cx-primary);
  transition: var(--cx-transition);
}

.cx-hero .cx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cx-hero .cx-thumb.active {
  opacity: 1;
}

.cx-hero .cx-thumb:hover {
  opacity: 0.8;
}

/* =========================
   THUMB INNER + TEXT
========================= */
.cx-hero .cx-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.cx-hero .cx-thumb-text {
  position: absolute;
  bottom: 5px;
  left: 6px;
  right: 6px;

  font-size: 9px;
  font-weight: 600;
  color: var(--cx-text);

  background: rgba(0, 0, 0, 0.6);
  padding: 3px 5px;
  border-radius: 4px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* =========================
   NAV BUTTONS
========================= */
.cx-hero .cx-thumb-nav {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--cx-text);

  width: 35px;
  height: 35px;
  border-radius: 50%;

  margin: 0 10px;
  cursor: pointer;

  transition: var(--cx-transition);
}

.cx-hero .cx-thumb-nav:hover {
  background: var(--cx-primary);
}

/* =========================
   ANIMATION
========================= */
.cx-hero .cx-hero-tag,
.cx-hero .cx-hero-title,
.cx-hero .cx-hero-desc,
.cx-hero .cx-hero-btns {
  opacity: 0;
  transform: translateY(20px);
}

/* 👇 tag animation bhi add */
.cx-hero .carousel-item.active .cx-hero-tag {
  animation: cxFadeUp 0.5s forwards;
}

.cx-hero .carousel-item.active .cx-hero-title {
  animation: cxFadeUp 0.6s 0.2s forwards;
}

.cx-hero .carousel-item.active .cx-hero-desc {
  animation: cxFadeUp 0.8s 0.4s forwards;
}

.cx-hero .carousel-item.active .cx-hero-btns {
  animation: cxFadeUp 1s 0.6s forwards;
}

@keyframes cxFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .cx-hero .cx-hero-content {
    left: 20px;
    right: 20px;
    max-width: 100%;
  }

  .cx-hero .cx-hero-title {
    font-size: 28px;
  }

  .cx-hero .cx-thumb-section {
    justify-content: center;
    bottom: 20px;
  }

  .cx-hero .cx-thumb-viewport {
    width: 240px;
  }
}

/* =========================
   PRIZE COMPONENT
========================= */
/* .cx-prize {
  background: var(--cx-bg);
} */

/* card */
.cx-prize .cx-prize-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 24px 28px;
  border-radius: var(--cx-radius-lg);
  overflow: hidden;

  background:
    url('../images/prize-bg.webp') center / cover no-repeat,
    var(--cx-gradient-bg);
}

/* overlay */
.cx-prize .cx-prize-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(6, 9, 19, 0.95),
      rgba(6, 9, 19, 0.7),
      rgba(6, 9, 19, 0.4));
}

/* glow border */
.cx-prize .cx-prize-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;

  background: var(--cx-gradient-primary);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* content layer */
.cx-prize .cx-prize-left,
.cx-prize .cx-prize-right {
  position: relative;
  z-index: 1;
}

/* left */
.cx-prize .cx-prize-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* trophy */
.cx-prize .cx-prize-trophy {
  width: 120px;
  flex-shrink: 0;
}

/* text */
.cx-prize .cx-prize-label {
  font-size: 13px;
  color: var(--cx-text-muted);
}

.cx-prize .cx-prize-title {
  font-size: 28px;
  font-weight: 700;
  margin: 4px 0;
}

.cx-prize .cx-prize-desc {
  font-size: 14px;
  color: var(--cx-text-light);
}

/* =========================
   RESPONSIVE (ORIGINAL)
========================= */
@media (max-width: 743px) {

  .cx-prize .cx-prize-card {
    flex-direction: column;
    text-align: center;
    padding: 26px 18px;
  }

  .cx-prize .cx-prize-left {
    flex-direction: column;
    gap: 10px;
  }

  .cx-prize .cx-prize-trophy {
    width: 90px;
  }

  .cx-prize .cx-prize-right {
    width: 100%;
    margin-top: 12px;
  }

  .cx-prize .cx-prize-right .btn {
    width: 100%;
  }
}

/* =========================
   🔥 FIXES (ADDED ONLY)
========================= */

/* prevent overflow */
.cx-prize .cx-prize-left {
  min-width: 0;
}

/* better spacing */
.cx-prize .cx-prize-card {
  gap: 24px;
}

/* text readability */
.cx-prize .cx-prize-title {
  line-height: 1.2;
}

.cx-prize .cx-prize-desc {
  line-height: 1.5;
}

/* =========================
   TABLET FIX
========================= */
@media (max-width: 992px) {

  .cx-prize .cx-prize-card {
    gap: 18px;
    padding: 22px 20px;
  }

  .cx-prize .cx-prize-trophy {
    width: 100px;
  }

  .cx-prize .cx-prize-title {
    font-size: 24px;
  }
}

/* =========================
   MOBILE IMPROVE
========================= */
@media (max-width: 768px) {

  .cx-prize .cx-prize-card {
    gap: 14px;
  }

  .cx-prize .cx-prize-title {
    margin: 6px 0;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {

  .cx-prize .cx-prize-card {
    padding: 22px 14px;
    gap: 12px;
  }

  .cx-prize .cx-prize-trophy {
    width: 80px;
  }

  .cx-prize .cx-prize-title {
    font-size: 22px;
  }

  .cx-prize .cx-prize-desc {
    font-size: 13px;
  }
}

/* =========================
   POPULAR SECTION
========================= */

.cx-popular {
  background: var(--cx-bg);
  position: relative;
  overflow: hidden;
}

/* =========================
   HEADER
========================= */

.cx-popular .cx-popular-header {
  margin-bottom: 8px;
}

.cx-popular .cx-popular-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cx-text);
  margin: 0;
}

.cx-popular .cx-popular-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--cx-primary);
  text-decoration: none;
  transition: var(--cx-transition);
}

.cx-popular .cx-popular-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}


/* =========================
   CAROUSEL
========================= */

.cx-popular .cx-popular-carousel {
  position: relative;
}

.cx-popular .cx-popular-track {
  display: flex;
  align-items: stretch;
  gap: 16px;

  transition: transform 0.4s ease;
  will-change: transform;

  touch-action: pan-y;
  user-select: none;
}

.cx-popular .cx-popular-track.dragging {
  cursor: grabbing;
  transition: none;
}


/* =========================
   CARD
========================= */

.cx-popular .cx-game-card {

  /* DESKTOP = 6 CARDS */
  flex: 0 0 calc((100% - 80px) / 6);

  min-width: 0;

  background: var(--cx-gradient-card);
  border: 1px solid var(--cx-border-light);
  border-radius: var(--cx-radius);

  padding: 16px 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;

  gap: 10px;

  position: relative;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.cx-popular .cx-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--cx-primary);
  box-shadow: var(--cx-shadow-primary);
}


/* =========================
   IMAGE
========================= */

.cx-popular .cx-game-card img {
  width: 48px;
  height: 48px;

  object-fit: contain;
  display: block;

  flex-shrink: 0;
}


/* =========================
   CONTENT
========================= */

.cx-popular .cx-game-content {
  width: 100%;
}

.cx-popular .cx-game-content h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  color: var(--cx-text);

  margin: 0 0 4px;
}

.cx-popular .cx-game-content p {
  font-size: 12px;
  line-height: 1.4;

  color: var(--cx-text-light);

  margin: 0;
}


/* =========================
   TOURNAMENT COUNT
========================= */

.cx-popular .cx-game-card span {
  margin-top: auto;

  font-size: 12px;
  font-weight: 500;

  color: var(--cx-primary);
}


/* =========================
   NAV BUTTONS
========================= */

.cx-popular .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.75);

  color: #fff;

  font-size: 24px;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.cx-popular .carousel-nav:hover {
  background: var(--cx-primary);
}

.cx-popular .carousel-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.cx-popular .carousel-prev {
  left: -8px;
}

.cx-popular .carousel-next {
  right: -8px;
}


/* =========================
   DOTS
========================= */

.cx-popular .cx-dots {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 8px;

  margin-top: 18px;
}

.cx-popular .cx-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.25);

  cursor: pointer;

  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.cx-popular .cx-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--cx-primary);
}


/* =========================
   TABLET LARGE
========================= */

@media (max-width: 1199px) {

  .cx-popular .cx-game-card {
    flex: 0 0 calc((100% - 64px) / 5);
  }
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

  .cx-popular .cx-game-card {
    flex: 0 0 calc((100% - 48px) / 4);
  }

  .cx-popular .carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

  .cx-popular .cx-popular-title {
    font-size: 18px;
  }

  .cx-popular .cx-game-card {
    flex: 0 0 calc((100% - 32px) / 3);

    padding: 14px 12px;
  }

  .cx-popular .cx-game-card img {
    width: 44px;
    height: 44px;
  }

  .cx-popular .carousel-prev {
    left: -4px;
  }

  .cx-popular .carousel-next {
    right: -4px;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 575px) {

  .cx-popular .cx-popular-track {
    gap: 12px;
  }

  .cx-popular .cx-game-card {

    /* 2 CARDS */
    flex: 0 0 calc((100% - 12px) / 2);

    padding: 14px 10px;
  }

  .cx-popular .cx-game-content h6 {
    font-size: 13px;
  }

  .cx-popular .cx-game-content p,
  .cx-popular .cx-game-card span {
    font-size: 11px;
  }

  .cx-popular .carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

/* =========================
   FEATURED SECTION
========================= */
.cx-featured {
  background: var(--cx-bg);
}

/* =========================
   HEADER
========================= */
.cx-featured .cx-featured-link {
  font-size: 14px;
  color: var(--cx-primary);
  white-space: nowrap;
}

.cx-featured .cx-featured-link:hover {
  text-decoration: underline;
}

/* =========================
   CAROUSEL
========================= */
.cx-featured .cx-carousel {
  position: relative;
  overflow: hidden;
}

.cx-featured .cx-track {
  display: flex;
  gap: 16px;
}
.custom-carousel {
    overflow: hidden;
    position: relative;
}

.custom-carousel .carousel-track {
    transition: transform .5s ease-in-out;
    will-change: transform;
}
/* =========================
   CARD
========================= */
.cx-featured .cx-t-card {
  flex: 0 0 calc((100% - 48px) / 4);

  background: var(--cx-gradient-card);
  border-radius: var(--cx-radius);
  overflow: hidden;

  border: 1px solid var(--cx-border-light);
  transition: var(--cx-transition);
  cursor: pointer;
}

.cx-featured .cx-t-card:hover {
  transform: translateY(-5px);
  border-color: var(--cx-primary);
  box-shadow: var(--cx-shadow-primary);
}

/* =========================
   IMAGE
========================= */
.cx-featured .cx-t-img {
  position: relative;
  height: 170px;
}

.cx-featured .cx-t-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay */
.cx-featured .cx-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9),
      transparent);
}

/* =========================
   TITLE
========================= */
.cx-featured .cx-t-title {
  position: absolute;
  bottom: 10px;
  left: 15px;
  right: 15px;
}

.cx-featured .cx-t-title h6 {
  margin: 0;
  font-weight: 600;
}

.cx-featured .cx-t-title small {
  color: var(--cx-text-light);
}

/* =========================
   CONTENT
========================= */
.cx-featured .cx-t-content {
  padding: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .cx-featured .cx-t-card {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}

@media (max-width: 768px) {
  .cx-featured .cx-t-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 576px) {
  .cx-featured .cx-t-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 480px) {
  .cx-featured .cx-t-card {
    flex: 0 0 calc((100% - 16px) / 1);
  }
}

/* =========================
   NAV BUTTONS
========================= */

.custom-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.75);

  color: #fff;

  font-size: 24px;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.custom-carousel .carousel-nav:hover {
  background: var(--cx-primary);
}

.custom-carousel .carousel-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.custom-carousel .carousel-prev {
  left: -8px;
}

.custom-carousel .carousel-next {
  right: -8px;
}
.custom-carousel .cx-dots{
  display: none;
}
/* =========================
   LIVE SECTION
========================= */
.cx-live {
  background: var(--cx-bg);
}

/* =========================
   CARD
========================= */
.cx-live .cx-live-card {
  background: var(--cx-gradient-card);
  border-radius: var(--cx-radius);
  border: 1px solid var(--cx-border-light);
  overflow: hidden;
}

/* =========================
   ROW (DESKTOP)
========================= */
.cx-live .cx-live-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;

  gap: 12px;
  /* 🔥 spacing fix */

  padding: 16px;
  border-bottom: 1px solid var(--cx-border);
}

.cx-live .cx-live-row:last-child {
  border-bottom: none;
}

/* =========================
   LEFT (IMAGE + TEXT)
========================= */
.cx-live .cx-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  /* 🔥 text overflow fix */
}

.cx-live .cx-left img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

/* =========================
   TEXT
========================= */
.cx-live .cx-title {
  font-weight: 600;
  font-size: 14px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cx-live .cx-sub {
  font-size: 12px;
  color: var(--cx-text-light);
}

.cx-live .cx-value {
  font-weight: 600;
}

.cx-live .cx-prize {
  color: var(--cx-warning);
  font-weight: 600;
}

.cx-live .cx-time {
  color: var(--cx-warning);
  font-size: 12px;
}

/* =========================
   BADGE
========================= */
.cx-live .cx-badge-live {
  background: var(--cx-danger);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--cx-radius-sm);
  margin-left: 6px;
  white-space: nowrap;
}

/* =========================
   BUTTON
========================= */
.cx-live .cx-btn-gradient {
  background: var(--cx-gradient-primary);
  color: var(--cx-text);
  border: none;
  padding: 8px 14px;
  border-radius: var(--cx-radius-sm);
  font-size: 13px;
  white-space: nowrap;
}

/* =========================
   TABS
========================= */
.cx-live .cx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cx-live .cx-tabs button {
  background: none;
  border: none;
  color: var(--cx-text-muted);
  position: relative;
  padding-bottom: 4px;
}

.cx-live .cx-tabs .active {
  color: var(--cx-primary);
}

.cx-live .cx-tabs .active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cx-primary);
}

/* =========================
   COUNT
========================= */
.cx-live .cx-count {
  background: var(--cx-surface);
  padding: 2px 6px;
  border-radius: var(--cx-radius-sm);
  font-size: 11px;
}

.cx-live .cx-count.red {
  background: var(--cx-danger);
  color: var(--cx-text);
}

/* =========================
   RESPONSIVE
========================= */

/* tablet */
@media (max-width: 992px) {

  .cx-live .cx-live-row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  /* hide time */
  .cx-live .cx-time {
    display: none;
  }
}

/* mobile */
@media (max-width: 768px) {

  .cx-live .cx-live-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .cx-live .cx-left {
    justify-content: flex-start;
  }

  /* stack info */
  .cx-live .cx-live-row>div {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
  }

  /* button full width */
  .cx-live .cx-btn-gradient {
    width: 100%;
    text-align: center;
  }
}

/* small mobile */
@media (max-width: 480px) {
  .cx-live .cx-live-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cx-live .cx-left img {
    width: 38px;
    height: 38px;
  }

  .cx-live .cx-title {
    font-size: 13px;
  }

  .cx-live .cx-btn-gradient {
    padding: 8px;
    font-size: 12px;
  }
}

/* =========================
   WHY JOIN SECTION
========================= */
.cx-why {
  background: var(--cx-bg);
}

/* heading highlight */
.cx-why .cx-text-primary {
  color: var(--cx-primary);
}

/* =========================
   MAIN BOX
========================= */
.cx-why .cx-why-box {
  background: rgba(15, 18, 30, 0.9);
  border: 1px solid var(--cx-border-light);
  border-radius: var(--cx-radius-lg);
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}

/* =========================
   ITEM
========================= */
.cx-why .cx-why-item {
  gap: 14px;
  padding: 6px 4px;
  transition: var(--cx-transition);
}

/* hover */
.cx-why .cx-why-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--cx-radius-sm);
}

/* =========================
   ICON BOX
========================= */
.cx-why .cx-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--cx-radius);

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* icon */
.cx-why .cx-icon-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* =========================
   CONTENT
========================= */
.cx-why .cx-content h6 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}

.cx-why .cx-content p {
  font-size: 11px;
  color: var(--cx-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* =========================
   COLOR ICONS (KEEP SAME LOOK)
========================= */
.cx-why .icon-yellow {
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.cx-why .icon-blue {
  background: rgba(0, 123, 255, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.35);
}

.cx-why .icon-pink {
  background: rgba(255, 0, 128, 0.12);
  border: 1px solid rgba(255, 0, 128, 0.35);
}

.cx-why .icon-cyan {
  background: rgba(0, 200, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.35);
}

.cx-why .icon-green {
  background: rgba(0, 255, 150, 0.12);
  border: 1px solid rgba(0, 255, 150, 0.35);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .cx-why .cx-why-box {
    padding: 15px;
  }
}

/* =========================
   INVITE SECTION
========================= */
.cx-invite {
  background: var(--cx-bg);
}

/* =========================
   MAIN BOX
========================= */
.cx-invite .cx-invite-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* 🔥 spacing fix */

  background:
    url("../images/teasure_box.png") no-repeat left center,
    var(--cx-gradient-bg);

  background-size: 180px, cover;

  border-radius: var(--cx-radius-lg);

  padding: 22px 30px 22px 180px;
  /* 🔥 reduced */

  border: 1px solid var(--cx-border-light);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(155, 92, 255, 0.25);

  min-height: 120px;
}

/* =========================
   CONTENT
========================= */
.cx-invite .cx-invite-content {
  max-width: 520px;
}

.cx-invite .cx-invite-content h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  /* 🔥 fix spacing */
}

.cx-invite .cx-invite-content p {
  font-size: 13px;
  color: var(--cx-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* =========================
   BUTTON
========================= */
.cx-invite .cx-invite-btn {
  flex-shrink: 0;
  /* 🔥 prevent squeeze */
}

/* =========================
   RESPONSIVE
========================= */

/* tablet */
@media (max-width: 992px) {

  .cx-invite .cx-invite-box {
    padding: 20px 20px 20px 140px;
    background-size: 140px, cover;
  }

  .cx-invite .cx-invite-content h5 {
    font-size: 16px;
  }
}

/* mobile */
@media (max-width: 768px) {

  .cx-invite .cx-invite-box {
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 16px;
    /* 🔥 spacing balanced */

    background-position: top center;
    background-size: 110px;

    padding: 100px 16px 20px;
    /* 🔥 top space for image */
  }

  .cx-invite .cx-invite-content {
    max-width: 100%;
  }

  .cx-invite .cx-invite-btn {
    width: 100%;
  }

  .cx-invite .cx-btn-primary {
    width: 100%;
  }
}

/* small mobile */
@media (max-width: 480px) {

  .cx-invite .cx-invite-box {
    padding: 90px 14px 18px;
    gap: 14px;
  }

  .cx-invite .cx-invite-content h5 {
    font-size: 15px;
  }

  .cx-invite .cx-invite-content p {
    font-size: 12px;
  }
}

/* =========================
   TESTIMONIAL SECTION
========================= */
.cx-testimonial {
  background: var(--cx-bg);
}

/* =========================
   CAROUSEL WRAPPER
========================= */
.cx-testimonial .cx-carousel {
  position: relative;
  overflow: hidden;
  /* 🔥 prevent cut */
  padding: 5px;
}

/* track */
.cx-testimonial .cx-track {
  display: flex;
  gap: 16px;

  transition: transform 0.4s ease;
  will-change: transform;
}

/* =========================
   CARD
========================= */
.cx-testimonial .cx-testimonial-card {
  flex: 0 0 calc((100% - 32px) / 3);

  background: var(--cx-gradient-card);
  border: 1px solid var(--cx-border-light);
  border-radius: var(--cx-radius);

  padding: 16px;

  transition: var(--cx-transition);
  position: relative;
  overflow: hidden;
}

/* hover */
.cx-testimonial .cx-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cx-shadow-primary);
  z-index: 2;
}

/* =========================
   QUOTE
========================= */
.cx-testimonial .cx-quote {
  position: absolute;
  top: 10px;
  left: 12px;

  font-size: 72px;
  font-weight: 700;
  line-height: 1;

  color: var(--cx-primary);
}

/* =========================
   TEXT
========================= */
.cx-testimonial .cx-testimonial-text {
  font-size: 14px;
  color: var(--cx-text-muted);
  line-height: 1.6;

  margin: 50px 0 0;
}

/* =========================
   USER
========================= */
.cx-testimonial .cx-user-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;

  border: 2px solid var(--cx-primary);
}

.cx-testimonial h6 {
  font-size: 14px;
  font-weight: 600;
}

.cx-testimonial small {
  font-size: 12px;
  color: var(--cx-text-light);
}

/* =========================
   NAV BUTTONS (FEATURED STYLE)
========================= */
.cx-testimonial .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;

  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 5;
  transition: 0.3s;
}

.cx-testimonial .carousel-nav:hover {
  background: var(--cx-primary);
}

/* positions */
.cx-testimonial .carousel-prev {
  left: -10px;
}

.cx-testimonial .carousel-next {
  right: -10px;
}

/* =========================
   RESPONSIVE
========================= */

/* tablet */
@media (max-width: 992px) {

  .cx-testimonial .cx-testimonial-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .cx-testimonial .cx-quote {
    font-size: 60px;
  }

  .cx-testimonial .cx-testimonial-text {
    margin-top: 45px;
  }
}

/* mobile */
@media (max-width: 576px) {

  .cx-testimonial .cx-testimonial-card {
    flex: 0 0 100%;
    padding: 14px;
  }

  .cx-testimonial .cx-quote {
    font-size: 48px;
  }

  .cx-testimonial .cx-testimonial-text {
    margin-top: 40px;
    font-size: 13px;
  }

  .cx-testimonial .cx-user-img {
    width: 36px;
    height: 36px;
  }

  .cx-testimonial h6 {
    font-size: 13px;
  }

  .cx-testimonial small {
    font-size: 11px;
  }

  /* hide arrows */
  .cx-testimonial .carousel-nav {
    display: none !important;
  }
}

/* small mobile (UX fix) */
@media (max-width: 420px) {

  .cx-testimonial .cx-quote {
    position: static;
    font-size: 36px;
    margin-bottom: 6px;
  }

  .cx-testimonial .cx-testimonial-text {
    margin-top: 0;
  }
}

/* =========================
   DOT NAVIGATION
========================= */
.cx-testimonial .cx-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.cx-testimonial .cx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cx-border-light);
  cursor: pointer;
  transition: 0.3s;
  border: unset;
}

.cx-testimonial .cx-dot.active {
  width: 20px;
  border-radius: 20px;
  background: var(--cx-primary);
}

/* show only tablet+ */
@media (min-width: 768px) {
  .cx-testimonial .cx-dots {
    display: flex;
  }
}

/* =========================
   FOOTER BASE
========================= */
.cx-footer {
  position: relative;
  background: linear-gradient(180deg, #050816, #060913);
  color: #cbd5e1;
  font-size: 14px;
  padding: 50px 0 20px;
  overflow: hidden;
}

/* 🔥 animated top glow */
.cx-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;

  background: linear-gradient(90deg,
      transparent,
      #7b2ff7,
      #9b5cff,
      transparent);

  animation: cxGlowMove 4s linear infinite;
}

@keyframes cxGlowMove {
  to {
    transform: translateX(50%);
  }
}

.cx-footer .container {
  max-width: 1200px;
}

/* =========================
   BRAND
========================= */
.cx-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.cx-logo-x {
  color: #9b5cff;
  text-shadow: 0 0 10px rgba(155, 92, 255, 0.6);
}

.cx-footer-desc {
  color: #94a3b8;
  margin-top: 10px;
  line-height: 1.6;
  max-width: 420px;
}

/* =========================
   SOCIAL
========================= */
.cx-social {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cx-social a {
  width: 38px;
  height: 38px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  transition: all 0.3s ease;
}

.cx-social a:hover {
  background: linear-gradient(135deg, #7b2ff7, #9b5cff);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 15px rgba(155, 92, 255, 0.6);
}

/* =========================
   LINKS
========================= */
.cx-footer-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.cx-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cx-footer-links li {
  margin-bottom: 8px;
}

.cx-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
}

.cx-footer-links a:hover {
  color: #9b5cff;
  padding-left: 4px;
}

/* =========================
   NEWSLETTER
========================= */
.cx-newsletter-form {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.cx-newsletter-form input {
  flex: 1;
  min-width: 0;

  padding: 10px 12px;
  border-radius: 8px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(6px);
  color: #ffffff;
}

.cx-newsletter-form input::placeholder {
  color: #64748b;
}

.cx-newsletter-form input:focus {
  outline: none;
  border-color: #9b5cff;
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.4);
}

/* =========================
   FOOTER BOTTOM
========================= */
.cx-footer-bottom {
  margin-top: 30px;
  padding: 15px 10px;

  background: linear-gradient(90deg, #050816, #0b0f1a);
  border-top: 1px solid rgba(155, 92, 255, 0.2);

  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {

  .cx-footer .col-lg-4,
  .cx-footer .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {

  .cx-footer {
    text-align: center;
  }

  .cx-footer .col-lg-4,
  .cx-footer .col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cx-social {
    justify-content: center;
  }

  .cx-newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {

  .cx-logo {
    font-size: 20px;
  }

  .cx-footer-desc {
    font-size: 13px;
  }
}

/* =========================
   CONTACT PAGE
========================= */
.cx-contact-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 6%, var(--cx-blog-glow), transparent 28%),
    radial-gradient(circle at 0 35%, var(--cx-blog-glow-soft), transparent 24%),
    var(--cx-blog-bg);
}

.cx-contact-hero {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--cx-blog-overlay-strong) 0%, var(--cx-blog-overlay) 43%, var(--cx-blog-overlay-soft) 70%, var(--cx-blog-overlay-deep) 100%),
    url("../images/bg-image.png") center right / cover no-repeat;
}

.cx-contact-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 155px;
  background: linear-gradient(180deg, transparent, var(--cx-blog-bg));
  pointer-events: none;
}

.cx-contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.cx-contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cx-text-soft);
  font-size: 16px;
  margin-bottom: 30px;
}

.cx-contact-breadcrumb i {
  color: var(--cx-text-dim);
  font-size: 12px;
}

.cx-contact-breadcrumb span {
  color: var(--cx-primary);
}

.cx-contact-hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.05;
  margin-bottom: 22px;
}

.cx-contact-hero h1 span {
  color: var(--cx-primary);
  text-shadow: var(--cx-shadow-blog-title);
}

.cx-contact-hero p {
  max-width: 500px;
  color: var(--cx-text-softer);
  font-size: 22px;
  line-height: 1.55;
}

.cx-contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 48px;
}

.cx-contact-highlight {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 240px;
}

.cx-contact-highlight>i,
.cx-info-list>article>i {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--cx-primary);
  background: rgba(155, 92, 255, 0.22);
  font-size: 28px;
}

.cx-contact-highlight strong,
.cx-info-list h3 {
  display: block;
  color: var(--cx-text);
  font-size: 17px;
  margin-bottom: 4px;
}

.cx-contact-highlight span,
.cx-info-list p {
  color: var(--cx-text-softer);
  line-height: 1.5;
  margin: 0;
}

.cx-contact-content {
  padding: 54px 0 54px;
  margin-top: -4px;
  position: relative;
  z-index: 2;
}

.cx-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.95fr);
  gap: 26px;
}

.cx-contact-panel,
.cx-contact-features {
  background: var(--cx-blog-panel);
  border: 1px solid var(--cx-border-primary-soft);
  border-radius: 10px;
  box-shadow: var(--cx-shadow-blog-panel);
}

.cx-contact-panel {
  padding: 28px;
}

.cx-contact-panel h2 {
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 34px;
  position: relative;
}

.cx-contact-panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--cx-gradient-primary);
}

.cx-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cx-contact-form .cx-full {
  grid-column: 1 / -1;
}

.cx-contact-form input,
.cx-contact-form textarea {
  width: 100%;
  border: 1px solid var(--cx-border-light);
  border-radius: 7px;
  background: var(--cx-blog-field);
  color: var(--cx-text);
  padding: 0 20px;
  font: inherit;
}

.cx-contact-form input {
  min-height: 60px;
}

.cx-contact-form textarea {
  min-height: 184px;
  padding-top: 18px;
  resize: vertical;
}

.cx-contact-form input::placeholder,
.cx-contact-form textarea::placeholder {
  color: var(--cx-text-dim);
}

.cx-contact-form button,
.cx-faq-link {
  min-height: 60px;
  border: 0;
  border-radius: 7px;
  background: var(--cx-gradient-primary);
  color: var(--cx-text);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cx-info-list {
  display: grid;
  gap: 28px;
}

.cx-info-list article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cx-info-list h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.cx-location-panel,
.cx-faq-panel {
  margin-top: 4px;
}


.cx-faq-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.cx-faq-list details {
  border: 1px solid var(--cx-border-light);
  border-radius: 7px;
  background: var(--cx-blog-subtle);
}

.cx-faq-list summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  color: var(--cx-text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.cx-faq-list summary::-webkit-details-marker {
  display: none;
}

.cx-faq-list summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--cx-text-soft);
  font-size: 12px;
  transition: var(--cx-transition);
}

.cx-faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.cx-faq-list p {
  color: var(--cx-text-softer);
  padding: 0 16px 16px;
  margin: 0;
}

.cx-faq-link {
  width: 100%;
  border: 1px solid var(--cx-border-primary-muted);
  background: transparent;
  color: var(--cx-primary);
}

.cx-faq-link:hover {
  color: var(--cx-text);
  background: var(--cx-gradient-primary);
}

.cx-contact-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 28px;
  padding: 24px 20px;
}

.cx-contact-features article {
  text-align: center;
  padding: 0 26px;
  border-right: 1px solid var(--cx-border-light);
}

.cx-contact-features article:last-child {
  border-right: 0;
}

.cx-contact-features i {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cx-primary);
  background: rgba(155, 92, 255, 0.24);
  border: 1px solid var(--cx-border-primary-soft);
  font-size: 38px;
  margin-bottom: 16px;
}

.cx-contact-features h3 {
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.cx-contact-features p {
  color: var(--cx-text-softer);
  margin: 0;
}

@media (max-width: 1199px) {
  .cx-contact-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .cx-contact-features article {
    padding: 0 18px;
  }
}

@media (max-width: 991px) {
  .cx-contact-hero {
    min-height: 470px;
    background-position: center;
  }

  .cx-contact-grid {
    grid-template-columns: 1fr;
  }

  .cx-contact-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .cx-contact-features article:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 767px) {
  .cx-contact-hero {
    min-height: 520px;
    padding-top: 88px;
  }

  .cx-contact-hero p {
    font-size: 18px;
  }

  .cx-contact-highlights,
  .cx-contact-form {
    grid-template-columns: 1fr;
  }

  .cx-contact-highlights {
    display: grid;
    gap: 18px;
    margin-top: 32px;
  }

  .cx-contact-panel {
    padding: 22px;
  }

  .cx-contact-form input {
    min-height: 56px;
  }

  .cx-map-card {
    min-height: 300px;
  }
}

@media (max-width: 575px) {
  .cx-contact-features {
    grid-template-columns: 1fr;
  }

  .cx-contact-features article {
    border-right: 0;
    border-bottom: 1px solid var(--cx-border-light);
    padding: 0 14px 22px;
  }

  .cx-contact-features article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* =========================
   SIGNUP MODAL APP STYLE
========================= */

.cx-signup-modal {
  --bs-modal-width: min(980px, 94vw);
  --bs-modal-zindex: 10000;
}

.cx-signup-modal .modal-dialog {
  padding: 12px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.cx-signup-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cx-border-primary-muted);
  border-radius: 24px;
  background: rgba(5, 8, 22, 0.96);

  box-shadow:
    0 25px 80px rgba(0, 0, 0, .7),
    0 0 40px rgba(155, 92, 255, .18);
}

/* =========================
   CLOSE BUTTON
========================= */

.cx-signup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  opacity: 1;
  background-color: rgba(255, 255, 255, .08);
}

/* =========================
   LAYOUT
========================= */

.cx-signup-shell {
  display: flex;
  min-height: 680px;
}

/* =========================
   LEFT PANEL
========================= */

.cx-signup-form-panel {
  width: 55%;
  padding: 42px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;

  background:
    radial-gradient(circle at top left,
      rgba(155, 92, 255, .12),
      transparent 32%),
    linear-gradient(145deg,
      rgba(7, 11, 28, .98),
      rgba(12, 16, 34, .96));
}

.cx-signup-form-panel h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  margin-bottom: 8px;
  color: #fff;
}

.cx-signup-form-panel h2 span {
  color: var(--cx-primary);
}

.cx-signup-form-panel>p {
  color: var(--cx-text-softer);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* =========================
   FORM
========================= */

.cx-signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cx-signup-field {
  width: 100%;
  min-height: 58px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 0 18px;

  border: 1px solid var(--cx-border-primary-muted);
  border-radius: 14px;

  background: rgba(255, 255, 255, .035);

  transition: .3s;
}

.cx-signup-field:focus-within {
  border-color: var(--cx-primary);
  box-shadow: 0 0 0 4px rgba(155, 92, 255, .12);
}

.cx-signup-field i {
  color: var(--cx-text-soft);
  font-size: 17px;
  flex-shrink: 0;
}

.cx-signup-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.cx-signup-field input::placeholder {
  color: var(--cx-text-softer);
}

.cx-signup-field button {
  border: 0;
  background: transparent;
  color: var(--cx-text-soft);
  font-size: 16px;
  padding: 0;
}

/* =========================
   CHECKBOX
========================= */

.cx-signup-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  font-size: 14px;
  line-height: 1.5;

  color: var(--cx-text-softer);
}

.cx-signup-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cx-primary);
}

.cx-signup-check a,
.cx-signup-login a {
  color: var(--cx-primary);
  text-decoration: none;
}

/* =========================
   BUTTON
========================= */

.cx-signup-submit {
  width: 100%;
  min-height: 58px;

  border: 0;
  border-radius: 14px;

  background: var(--cx-gradient-primary);
  color: #fff;

  font-size: 18px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  transition: .3s;
}

.cx-signup-submit:hover {
  transform: translateY(-2px);
}

/* =========================
   DIVIDER
========================= */

.cx-signup-divider {
  display: flex;
  align-items: center;
  gap: 14px;

  color: var(--cx-text-softer);
  font-size: 14px;
}

.cx-signup-divider::before,
.cx-signup-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cx-border-primary-muted);
}

/* =========================
   SOCIAL
========================= */

.cx-signup-socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cx-signup-socials button {
  min-height: 56px;

  border-radius: 14px;
  border: 1px solid var(--cx-border-primary-soft);

  background: rgba(255, 255, 255, .03);

  color: #fff;
  font-size: 24px;

  transition: .3s;
}

.cx-signup-socials button:hover {
  border-color: var(--cx-primary);
  transform: translateY(-3px);
}

.cx-signup-socials .fa-google {
  color: #4285f4;
}

.cx-signup-socials .fa-discord {
  color: #7c8cff;
}

.cx-signup-socials .fa-steam {
  color: #d9e7ff;
}

.cx-signup-socials .fa-facebook {
  color: #1877f2;
}

/* =========================
   LOGIN TEXT
========================= */

.cx-signup-login {
  text-align: center;
  font-size: 15px;
  color: var(--cx-text-softer);
  margin: 0;
}

/* =========================
   RIGHT IMAGE
========================= */

.cx-signup-art {
  width: 45%;

  background:
    linear-gradient(90deg,
      rgba(5, 8, 22, .08),
      rgba(5, 8, 22, .02)),
    url("../images/bg-image.png") center/cover no-repeat;
}

/* ===================================================
   TABLET
=================================================== */

@media (max-width: 991px) {

  .cx-signup-shell {
    flex-direction: column;
  }

  .cx-signup-form-panel {
    width: 100%;
    padding: 34px 26px;
  }

  .cx-signup-art {
    width: 100%;
    min-height: 320px;
    order: -1;
  }

}

/* ===================================================
   MOBILE APP STYLE
=================================================== */

@media (max-width: 575px) {

  .cx-signup-modal {
    padding: 0 !important;
  }

  .cx-signup-modal .modal-dialog {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    max-width: 100%;
  }

  .cx-signup-modal .modal-content {
    min-height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .cx-signup-shell {
    min-height: 100vh;
    flex-direction: column;
  }

  /* =========================
     TOP IMAGE
  ========================= */

  .cx-signup-art {
    width: 100%;
    min-height: 240px;
    order: -1;

    background-position: center top;
  }

  /* =========================
     FORM PANEL
  ========================= */

  .cx-signup-form-panel {
    width: 100%;
    flex: 1;

    padding:
      26px 18px calc(30px + env(safe-area-inset-bottom));

    gap: 18px;

    justify-content: flex-start;
  }

  .cx-signup-form-panel h2 {
    font-size: 32px;
  }

  .cx-signup-form-panel>p {
    font-size: 14px;
  }

  /* =========================
     INPUTS
  ========================= */

  .cx-signup-form {
    gap: 14px;
  }

  .cx-signup-field {
    min-height: 54px;
    padding: 0 14px;
    border-radius: 12px;
  }

  .cx-signup-field input {
    font-size: 14px;
  }

  .cx-signup-submit {
    min-height: 54px;
    border-radius: 12px;
    font-size: 16px;
  }

  /* =========================
     SOCIAL
  ========================= */

  .cx-signup-socials {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cx-signup-socials button {
    min-height: 52px;
    border-radius: 12px;
    font-size: 22px;
  }

  /* =========================
     CLOSE BTN
  ========================= */

  .cx-signup-close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
  }

}

/* ===================================================
   SMALL MOBILE
=================================================== */

@media (max-width: 380px) {

  .cx-signup-form-panel {
    padding: 22px 14px 30px;
  }

  .cx-signup-form-panel h2 {
    font-size: 28px;
  }

  .cx-signup-field {
    min-height: 50px;
  }

  .cx-signup-submit {
    min-height: 50px;
  }

  .cx-signup-socials button {
    min-height: 50px;
  }

}

/* ===================================================
   LARGE SCREEN
=================================================== */

@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    --bs-modal-width: 920px;
  }

}

/* =========================
   ABOUT SECTION
========================= */

.cx-about {
  background: var(--cx-bg);
  position: relative;
}

/* SUBTITLE */

.cx-about-subtitle {
  color: var(--cx-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* TITLE */

.cx-about-title {
  color: var(--cx-text);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
}

/* DESCRIPTION */

.cx-about-text {
  color: var(--cx-text-soft);
  font-size: 17px;
  line-height: 1.8;
  max-width: 520px;
}

/* STATS */

.cx-about-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cx-border);
  border-radius: 18px;
  padding: 22px 15px;
  text-align: center;
  transition: var(--cx-transition);
}

.cx-about-stat:hover {
  transform: translateY(-6px);
  border-color: var(--cx-border-primary-muted);
  box-shadow: 0 0 20px rgba(155, 92, 255, 0.15);
}

.cx-about-stat h3 {
  color: var(--cx-primary);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
}

.cx-about-stat span {
  color: var(--cx-text-muted);
  font-size: 14px;
}

/* BUTTON */

.cx-about-btn {
  background: linear-gradient(90deg, #7b2cff, #b06cff);
  border: none;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--cx-transition);
}

.cx-about-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(155, 92, 255, 0.4);
}

/* IMAGE */

.cx-about-image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(155, 92, 255, 0.35);
  background: #0b1020;
  box-shadow:
    0 0 0 1px rgba(155, 92, 255, 0.08),
    0 0 40px rgba(155, 92, 255, 0.18);
}

.cx-about-poster {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* CEO CARD */

.cx-ceo-card {
  position: absolute;
  left: 30px;
  bottom: 30px;
  background: rgba(10, 14, 25, 0.82);
  border: 1px solid rgba(155, 92, 255, 0.35);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 18px 24px;
  min-width: 280px;
}

.cx-ceo-label {
  display: inline-block;
  color: var(--cx-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cx-ceo-card h4 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 1199px) {

  .cx-about-title {
    font-size: 48px;
  }

}

@media (max-width: 991px) {

  .cx-about {
    text-align: center;
  }

  .cx-about-text {
    margin-inline: auto;
  }

  .cx-about-title {
    font-size: 42px;
  }

  .cx-about-poster {
    height: 420px;
  }

  .cx-ceo-card {
    left: 20px;
    right: 20px;
    bottom: 20px;
    min-width: auto;
  }

}

@media (max-width: 576px) {

  .cx-about-title {
    font-size: 34px;
  }

  .cx-about-text {
    font-size: 15px;
  }

  .cx-about-poster {
    height: 300px;
  }

  .cx-about-stat {
    padding: 18px 10px;
  }

  .cx-about-stat h3 {
    font-size: 22px;
  }

  .cx-ceo-card {
    padding: 14px 18px;
  }

  .cx-ceo-card h4 {
    font-size: 22px;
  }

}

/* PLAY BUTTON */

.cx-about-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--cx-transition);
  z-index: 2;
}

.cx-about-play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(155, 92, 255, 0.4);
  animation: cxPulse 2s infinite;
}

.cx-about-play i {
  color: #fff;
  font-size: 42px;
  margin-left: 6px;
}

.cx-about-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 35px rgba(155, 92, 255, 0.5);
}

/* PULSE */

@keyframes cxPulse {

  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }

}

@media (max-width: 576px) {

  .cx-about-play {
    width: 70px;
    height: 70px;
  }

  .cx-about-play i {
    font-size: 30px;
  }

}

/* =========================
   WHATSAPP FLOAT BUTTON
========================= */

.cx-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  text-decoration: none;
  z-index: 9999;
  box-shadow:
    0 0 0 0 rgba(37, 211, 102, 0.5),
    0 10px 25px rgba(37, 211, 102, 0.35);
  animation: cxWhatsappPulse 2s infinite;
  transition: 0.3s ease;
}

.cx-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.05);
}

@keyframes cxWhatsappPulse {

  0% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0.5),
      0 10px 25px rgba(37, 211, 102, 0.35);
  }

  70% {
    box-shadow:
      0 0 0 18px rgba(37, 211, 102, 0),
      0 10px 25px rgba(37, 211, 102, 0.2);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0),
      0 10px 25px rgba(37, 211, 102, 0.2);
  }

}

@media (max-width: 576px) {

  .cx-whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 30px;
    right: 16px;
    bottom: 16px;
  }

}