/* NEXORA Arena - demo chrome + polish */
:root {
  --nexora-cyan: #00e5ff;
  --nexora-violet: #7c5cff;
  --nexora-bg: #0b0f1a;
  --nexora-panel: #141a2b;
  --nexora-text: #e8eefc;
}

.cursor-pointer {
  cursor: pointer !important;
}

/* Header "Pages" dropdown — full site map */
.nexora-pages-slot {
  list-style: none;
  display: flex;
  align-items: center;
}

.nexora-pages-dd {
  position: relative;
  z-index: 10090;
}

.nexora-pages-dd__btn {
  display: inline-flex !important;
  visibility: visible !important;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  background: #3cbc1c;
  color: #fafafa;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

header.large-screens .right-content,
header.large-screens .nexora-pages-slot,
header.large-screens .nexora-pages-dd {
  visibility: visible !important;
}

.nexora-pages-dd__btn:hover,
.nexora-pages-dd.is-open .nexora-pages-dd__btn {
  background: #fafafa;
  color: #12141c;
}

.nexora-pages-dd__caret {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.nexora-pages-dd.is-open .nexora-pages-dd__caret {
  transform: rotate(180deg);
}

.nexora-pages-dd__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(92vw, 520px);
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 14px;
  background: #12141c;
  border: 1px solid rgba(60, 188, 28, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  z-index: 10100;
}

.nexora-pages-dd__panel[hidden] {
  display: none !important;
}

.nexora-pages-group__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3cbc1c;
  margin-bottom: 6px;
}

.nexora-pages-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nexora-pages-link {
  display: block;
  padding: 6px 8px;
  color: #e8eefc;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
}

.nexora-pages-link:hover,
.nexora-pages-link.is-active {
  background: rgba(60, 188, 28, 0.18);
  color: #fafafa;
}

.nexora-pages-link.is-active {
  color: #3cbc1c;
  font-weight: 700;
}

@media (max-width: 992px) {
  .nexora-pages-dd__btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .nexora-pages-dd__btn span,
  .nexora-pages-dd__caret {
    display: none;
  }
  .nexora-pages-dd__panel {
    right: 0;
    left: auto;
    width: min(92vw, 340px);
    grid-template-columns: 1fr;
  }
}

.nexora-cart-link {
  position: relative;
}

.nexora-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--nexora-cyan);
  color: #041018;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.nexora-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--nexora-panel);
  color: var(--nexora-text);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 12px 18px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 10000;
  max-width: min(92vw, 420px);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nexora-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nexora-toast.is-error {
  border-color: #ff5c7a;
}

.nexora-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}

.nexora-modal.is-open {
  display: flex;
}

.nexora-modal__panel {
  background: var(--nexora-panel);
  color: var(--nexora-text);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 14px;
  padding: 28px 24px;
  width: min(92vw, 440px);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nexora-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #9fb0d0;
  font-size: 28px;
  line-height: 1;
}

.navbar-brand img,
.mobile-menu .navbar-brand img {
  max-height: 42px;
  width: auto;
}

.nexora-promo-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.nexora-promo-row input {
  flex: 1;
}

.nexora-empty {
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  background: rgba(13, 21, 40, 0.5);
}

#nexora-shop-search {
  max-width: 320px;
  margin-bottom: 24px;
}

/* Mobile top bar + drawer + bottom tab bar */
@media (max-width: 992px) {
  header.small-screen {
    display: block !important;
    position: sticky;
    top: 0;
    /* Must sit ABOVE .nexora-nav-backdrop — drawer lives inside this stacking context */
    z-index: 10070;
    height: auto !important;
    min-height: 64px;
    padding: 10px 0;
    background: #12141c !important;
    border-bottom: 1px solid rgba(60, 188, 28, 0.35);
  }

  header.small-screen .mobile-menu {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 4px;
    width: 100%;
  }

  header.small-screen .mobile-menu .navbar-brand img {
    max-height: 36px;
    width: auto;
  }

  header.small-screen .mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  header.small-screen .mobile-actions a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fafafa !important;
    background: #3cbc1c !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    border-radius: 0;
    position: relative;
    font-size: 16px;
  }

  header.small-screen .mobile-actions a:hover,
  header.small-screen .mobile-actions a:focus {
    color: #12141c !important;
    background: #fafafa !important;
  }

  /* Hamburger = same primary button look (green + white lines) */
  header.small-screen .hamburger-menu {
    width: 48px !important;
    height: 42px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    flex: 0 0 48px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #3cbc1c !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    z-index: 10070;
    cursor: pointer;
    position: relative;
  }

  header.small-screen .hamburger-menu .bar,
  header.small-screen .hamburger-menu .bar:before,
  header.small-screen .hamburger-menu .bar:after {
    background: #fafafa !important;
    width: 20px !important;
    height: 2px !important;
  }

  header.small-screen .hamburger-menu .bar {
    position: relative;
    transform: none !important;
    display: block;
    transition: background 120ms ease;
  }

  header.small-screen .hamburger-menu .bar:before {
    bottom: 7px !important;
  }

  header.small-screen .hamburger-menu .bar:after {
    top: 7px !important;
  }

  header.small-screen .hamburger-menu .bar.animate {
    background: transparent !important;
  }

  header.small-screen .hamburger-menu .bar.animate:before,
  header.small-screen .hamburger-menu .bar.animate:after {
    background: #fafafa !important;
  }

  header.small-screen .mobile-navar {
    top: 0 !important;
    right: -105% !important;
    left: auto !important;
    width: min(86vw, 320px) !important;
    max-width: min(86vw, 320px) !important;
    height: 100% !important;
    padding: 72px 0 88px !important;
    background: #12141c !important;
    color: #fafafa !important;
    position: fixed !important;
    z-index: 10060 !important;
    overflow-y: auto !important;
    transform: none !important;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.55);
    transition: right 0.35s ease !important;
    -webkit-transform: none !important;
  }

  header.small-screen .mobile-navar.active {
    right: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
  }

  header.small-screen .mobile-navar ul li {
    font-size: 15px;
    line-height: 1.4;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-transform: uppercase;
  }

  header.small-screen .mobile-navar ul li:first-child {
    margin-top: 0;
  }

  header.small-screen .mobile-navar ul li a {
    display: block;
    width: 100%;
    color: #fafafa !important;
  }

  header.small-screen .mobile-navar ul li:hover,
  header.small-screen .mobile-navar ul li a.active,
  header.small-screen .has-children.active {
    background-color: #3cbc1c !important;
    color: #fafafa !important;
  }

  header.small-screen .icon-arrow {
    color: #3cbc1c !important;
  }

  header.small-screen .mobile-navar .children {
    padding-left: 8px;
  }

  .nexora-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Below header/drawer (10070), above page content */
    z-index: 10040;
  }

  .nexora-nav-backdrop.is-open {
    display: block;
  }

  /* Bottom mobile navigation bar */
  .nexora-mobile-tabbar {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10080;
    height: 64px;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #12141c;
    border-top: 1px solid rgba(60, 188, 28, 0.4);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  }

  .nexora-mobile-tabbar a,
  .nexora-mobile-tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #c9d0dc;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    min-height: 52px;
  }

  .nexora-mobile-tabbar a i,
  .nexora-mobile-tabbar button i {
    font-size: 18px;
    color: #3cbc1c;
  }

  .nexora-mobile-tabbar a.is-active,
  .nexora-mobile-tabbar button.is-active,
  .nexora-mobile-tabbar a:hover,
  .nexora-mobile-tabbar button:hover {
    color: #fafafa;
  }

  .nexora-mobile-tabbar a.is-active i,
  .nexora-mobile-tabbar button.is-active i {
    color: #fafafa;
  }

  body {
    padding-bottom: 72px;
  }

  .nexora-story-hero {
    min-height: calc(100vh - 140px);
  }
}

@media (min-width: 993px) {
  header.small-screen .mobile-actions,
  .nexora-nav-backdrop,
  .nexora-mobile-tabbar {
    display: none !important;
  }
}

body.nexora-nav-open {
  overflow: hidden;
}

/* Upgraded roster / streamer media fit */
.gamer-card .img-block {
  overflow: hidden;
  border-radius: 8px;
}

.gamer-card .img-block > img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.inner-banner .player-img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.stream-card .streamer {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 767px) {
  .gamer-card .img-block > img {
    height: 260px;
  }
}

/* Instagram-style story hero */
.nexora-story-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 40px);
  overflow: hidden;
  background: #05070f;
  color: #fff;
}

.nexora-story-hero__progress {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  display: flex;
  gap: 6px;
  z-index: 5;
}

.nexora-story-hero__progress span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.nexora-story-hero__progress span i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #7c5cff);
  border-radius: inherit;
}

.nexora-story-hero__progress span.is-done i {
  width: 100%;
}

.nexora-story-hero__progress span.is-active i {
  animation: nexora-story-fill linear forwards;
  animation-duration: var(--story-duration, 5s);
}

@keyframes nexora-story-fill {
  from { width: 0; }
  to { width: 100%; }
}

.nexora-story-hero__slides {
  position: relative;
  min-height: inherit;
}

.nexora-story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  display: grid;
  align-items: center;
}

.nexora-story-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.nexora-story-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5.2s ease-out;
}

.nexora-story-slide.is-active .nexora-story-slide__bg {
  transform: scale(1);
}

.nexora-story-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 15, 0.88) 0%, rgba(5, 7, 15, 0.55) 42%, rgba(5, 7, 15, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.35) 0%, rgba(5, 7, 15, 0.15) 40%, rgba(5, 7, 15, 0.75) 100%);
  z-index: 1;
}

.nexora-story-slide__content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 64px;
  max-width: 720px;
  margin-left: 0;
  margin-right: auto;
}

.nexora-story-kicker {
  color: var(--nexora-cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 12px;
}

.nexora-story-slide__content h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
}

.nexora-story-copy {
  color: rgba(232, 238, 252, 0.86);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 34rem;
}

.nexora-story-slide__content .btn-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nexora-story-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  max-width: 220px;
  border: 0;
  background: transparent;
  z-index: 4;
  cursor: pointer;
}

.nexora-story-nav--prev { left: 0; }
.nexora-story-nav--next { right: 0; }

.nexora-story-hero.is-paused .nexora-story-hero__progress span.is-active i {
  animation-play-state: paused;
}

@media (max-width: 991px) {
  .nexora-story-hero {
    min-height: 78vh;
  }
  .nexora-story-slide__content {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .nexora-story-hero {
    min-height: 88vh;
  }
  .nexora-story-slide__content h1 br {
    display: none;
  }
  .nexora-story-nav {
    width: 18%;
  }
}

/* Vanilla carousel (replaces Slick) */
.nexora-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 8px;
}
.nexora-carousel > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}
.nexora-carousel-wrap {
  position: relative;
}
.nexora-carousel-btn {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: #3cbc1c;
  color: #fff;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.nexora-carousel-btn.prev { left: 0; }
.nexora-carousel-btn.next { right: 0; }

.nexora-marquee {
  display: flex;
  gap: 24px;
  overflow: hidden;
  width: 100%;
}
.nexora-marquee-track {
  display: flex;
  gap: 24px;
  animation: nexora-marquee 28s linear infinite;
  width: max-content;
}
@keyframes nexora-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nexora-range-dual {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nexora-range-dual input[type="range"] {
  width: 100%;
  accent-color: #3cbc1c;
}

/* Comment / contact forms — keep fields aligned after Bootstrap removal */
.leave-comment-sec form .row {
  align-items: stretch;
}
.leave-comment-sec .form-control,
.comments-sec .form-control,
.contact form .form-control {
  width: 100%;
}
.leave-comment-sec textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Inner page hero: don't stack huge padding with .p-64 */
.page-title-banner.p-64 {
  padding: 120px 0 48px;
}
@media (max-width: 992px) {
  .page-title-banner.p-64 {
    padding: 88px 0 32px;
  }
}
@media (max-width: 492px) {
  .page-title-banner.p-64 {
    padding: 80px 0 28px;
  }
}
