/*
 * NexHub Theme — Custom Styles
 */

/* Cosmic blue background overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(0, 89, 255, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 50% 35% at 85% 20%, rgba(0, 120, 255, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 8, 24, 0.15) 0%, rgba(0, 8, 24, 0.55) 100%);
}

/* Cyber hacker background */
.nexhub-cyber-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.nexhub-cyber-bg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.nexhub-cyber-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 89, 255, 0.45) 0,
    rgba(0, 89, 255, 0.45) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.nexhub-cyber-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 70% at 50% 45%, transparent 35%, rgba(0, 4, 14, 0.75) 100%);
}

#app {
  position: relative;
  z-index: 2;
}

/* Product carousel */
.nexhub-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  background: rgba(0, 89, 255, 0.12);
  border: 1px solid rgba(0, 89, 255, 0.45);
  box-shadow: 0 0 24px rgba(0, 89, 255, 0.15);
}

.nexhub-carousel-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 89, 255, 0.35);
  background: rgba(0, 89, 255, 0.08);
  color: rgba(var(--cl-accent), 1);
  transition: all 0.2s ease;
}

.nexhub-carousel-btn:hover {
  background: rgba(0, 89, 255, 0.2);
  box-shadow: 0 0 16px rgba(0, 89, 255, 0.3);
}

.nexhub-products-splide .splide__slide {
  width: 9.5rem !important;
}

@media (min-width: 640px) {
  .nexhub-products-splide .splide__slide { width: 11rem !important; }
}

@media (min-width: 768px) {
  .nexhub-products-splide .splide__slide { width: 12.5rem !important; }
}

.nexhub-product-card {
  position: relative;
  display: block;
  aspect-ratio: 187 / 280;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nexhub-product-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(0, 89, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 89, 255, 0.35);
}

.nexhub-product-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 20, 60, 0.6);
  filter: grayscale(0.3) brightness(0.55);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.nexhub-product-card:hover .nexhub-product-card-bg {
  transform: scale(1.08);
  filter: grayscale(0.1) brightness(0.65);
}

.nexhub-product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 89, 255, 0.85) 0%, rgba(0, 89, 255, 0.3) 45%, transparent 75%);
}

.nexhub-soldout {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fca5a5;
}

.nexhub-product-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 0.65rem;
  z-index: 2;
}

.nexhub-product-price {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.2rem;
}

.nexhub-product-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nexhub-carousel-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nexhub-carousel-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 89, 255, 0.35), transparent);
}

.nexhub-explore-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 16rem;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(0, 89, 255, 1) 0%, rgba(0, 60, 200, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 89, 255, 0.4);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nexhub-lang-pt .nexhub-explore-btn {
  max-width: 14rem;
  font-size: 0.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.nexhub-explore-btn:hover {
  box-shadow: 0 0 50px rgba(0, 89, 255, 0.55);
  transform: translateY(-1px);
}

/* Pix + Mercado Pago checkout badge */
.nexhub-pix-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.6rem;
  padding: 0.75rem 0.5rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.nexhub-pix-strip svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nexhub-mp {
  color: #009ee3;
  font-weight: 700;
}

.nexhub-hero h1 {
  line-height: 1.15;
  margin-bottom: 1rem !important;
  text-shadow: 0 0 40px rgba(0, 89, 255, 0.25);
}

.nexhub-hero p {
  line-height: 1.65;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

#app > div > div > div > .component + .component {
  margin-top: 0;
}

/* Shared section layout */
.nexhub-section-wrap {
  padding: 2rem 0 2.5rem;
}

.nexhub-carousel-section {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .nexhub-carousel-section { margin-top: 3.5rem; }
  .nexhub-section-wrap { padding: 2.5rem 0 3rem; }
}

.nexhub-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 5;
}

.nexhub-section-nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nexhub-section-track {
  position: relative;
  z-index: 1;
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.nexhub-carousel-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nexhub-hero {
  padding-bottom: 1rem;
}

.nexhub-hero .flex.flex-col.gap-4 {
  gap: 1.25rem !important;
}

.nexhub-hero-actions {
  max-width: 100%;
  width: 100%;
  margin-top: 0.5rem;
  gap: 0.75rem !important;
}

.nexhub-hero-actions .nexhub-action-btn {
  min-width: 9.5rem;
  justify-content: center;
  white-space: nowrap;
}

.nexhub-lang-pt .nexhub-hero-actions .nexhub-action-btn {
  min-width: 8.5rem;
  font-size: 0.8125rem;
  padding-left: 1.15rem !important;
  padding-right: 1.15rem !important;
}

.announcement .overflow-hidden {
  min-height: 1.35rem;
  padding: 0.15rem 0;
}

.announcement p {
  line-height: 1.35;
}

/* Video showcase horizontal carousel */
.nexhub-videos-splide .splide__slide {
  width: 16.5rem !important;
}

@media (min-width: 640px) {
  .nexhub-videos-splide .splide__slide { width: 19rem !important; }
}

@media (min-width: 1024px) {
  .nexhub-videos-splide .splide__slide { width: 21rem !important; }
}

.nexhub-video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 89, 255, 0.22);
  background: rgba(8, 12, 28, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nexhub-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 89, 255, 0.45);
  box-shadow: 0 16px 48px rgba(0, 89, 255, 0.22);
}

.nexhub-video-card-media {
  position: relative;
  overflow: hidden;
}

.nexhub-video-card-yt {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 0;
}

.nexhub-video-card-body {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 9.5rem;
}

.nexhub-video-card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(150, 200, 255, 1);
  background: rgba(0, 89, 255, 0.1);
  border: 1px solid rgba(0, 89, 255, 0.25);
}

.nexhub-video-card-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nexhub-video-card-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nexhub-video-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff !important;
  background: linear-gradient(135deg, #0066ff 0%, #004bcc 100%);
  border: 1px solid rgba(120, 180, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 89, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nexhub-lang-pt .nexhub-video-card-btn {
  font-size: 0.68rem;
  padding: 0.5rem 0.65rem;
}

.nexhub-video-card-btn span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.nexhub-video-card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 89, 255, 0.35);
}

.nexhub-yt-shorts-block {
  margin-top: 2.5rem;
}

.nexhub-shorts-splide .splide__slide {
  width: 11rem !important;
}

@media (min-width: 640px) {
  .nexhub-shorts-splide .splide__slide { width: 12.5rem !important; }
}

@media (min-width: 1024px) {
  .nexhub-shorts-splide .splide__slide { width: 13.5rem !important; }
}

.nexhub-video-card-yt--short {
  aspect-ratio: 9 / 16;
}

.nexhub-video-card--short .nexhub-video-card-body {
  min-height: 7.5rem;
}

.nexhub-yt-skeleton {
  border-radius: 1rem;
  border: 1px solid rgba(0, 89, 255, 0.15);
  background: linear-gradient(90deg, rgba(8, 12, 28, 0.95) 0%, rgba(0, 89, 255, 0.08) 50%, rgba(8, 12, 28, 0.95) 100%);
  background-size: 200% 100%;
  animation: nexhub-yt-shimmer 1.4s ease-in-out infinite;
}

.nexhub-yt-skeleton--video {
  width: 16.5rem;
  height: 18rem;
}

@keyframes nexhub-yt-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.nexhub-yt-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px dashed rgba(0, 89, 255, 0.25);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

/* Feature cards — equal height */
.nexhub-features-grid {
  align-items: stretch;
}

.nexhub-feature-item {
  display: flex;
}

.nexhub-feature-card {
  width: 100%;
  min-height: 10.5rem;
}

@media (min-width: 1024px) {
  .nexhub-feature-card {
    min-height: 11.5rem;
  }
}

/* Feedback cards — equal height rows */
.nexhub-feedback-card {
  min-height: 9.5rem;
}

.nexhub-action-btn {
  border-radius: 999px !important;
  box-shadow: 0 0 20px rgba(0, 89, 255, 0.15);
}

.nexhub-action-btn.text-accent-500 {
  background: rgba(0, 89, 255, 0.06) !important;
  backdrop-filter: blur(6px);
}

.nexhub-action-btn.text-accent-500:hover {
  box-shadow: 0 0 28px rgba(0, 89, 255, 0.3);
  transform: translateY(-1px);
}

.nexhub-action-btn.text-t-primary {
  box-shadow: 0 0 24px rgba(0, 89, 255, 0.35);
}

.nexhub-action-btn.text-t-primary:hover {
  box-shadow: 0 0 36px rgba(0, 89, 255, 0.5);
  transform: translateY(-1px);
}

/* Floating social + language */
.nexhub-float-social {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nexhub-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1.25rem;
}

.nexhub-float-discord {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
}

.nexhub-float-youtube {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.nexhub-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 36px rgba(0, 89, 255, 0.35);
}

.nexhub-lang-switch {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(8, 10, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nexhub-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nexhub-lang-btn:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.nexhub-lang-btn.is-active {
  opacity: 1;
  border-color: rgba(0, 89, 255, 0.7);
  box-shadow: 0 0 16px rgba(0, 89, 255, 0.3);
}

.nexhub-flag {
  width: 1.65rem;
  height: auto;
  border-radius: 0.2rem;
  display: block;
}

/* Cursor blue glow — subtle spotlight */
#nexhub-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 160px;
  height: 160px;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle closest-side,
    rgba(0, 89, 255, 0.14) 0%,
    rgba(0, 89, 255, 0.06) 35%,
    transparent 72%
  );
  filter: blur(10px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

@media (pointer: coarse) {
  #nexhub-cursor-glow { display: none; }
}

@media (max-width: 640px) {
  .nexhub-lang-switch {
    left: 1rem;
    bottom: 1rem;
    padding: 0.3rem;
    gap: 0.35rem;
  }

  .nexhub-lang-btn {
    width: 2.35rem;
    height: 2.35rem;
  }

  .nexhub-flag {
    width: 1.45rem;
  }
}

/* Navbar animated border */
.nexhub-navbar {
  margin-bottom: 1.25rem;
}

.nexhub-navbar-glow {
  position: relative;
  padding: 2px;
  border-radius: 1rem;
  background: linear-gradient(
    120deg,
    rgba(0, 89, 255, 0.35),
    rgba(0, 89, 255, 0.95),
    rgba(0, 200, 255, 1),
    rgba(0, 89, 255, 0.95),
    rgba(0, 89, 255, 0.35)
  );
  background-size: 300% 300%;
  animation: nexhub-border-flow 5s ease infinite;
  box-shadow: 0 0 28px rgba(0, 89, 255, 0.12);
}

@keyframes nexhub-border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nexhub-navbar-inner {
  position: relative;
  z-index: 1;
  border-radius: calc(1rem - 2px);
  background: rgba(8, 10, 24, 0.97) !important;
  backdrop-filter: blur(14px);
  overflow: visible;
}

.nexhub-navbar-glow {
  overflow: visible;
}

.nexhub-navbar-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
}

@media (min-width: 1024px) {
  .nexhub-navbar-top {
    gap: 1rem 1.25rem;
    padding: 0.9rem 1.25rem;
  }
}

.nexhub-navbar-brand {
  grid-area: brand;
  flex-shrink: 0;
}

.nexhub-navbar-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  text-decoration: none;
}

.nexhub-navbar-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.nexhub-navbar-title {
  margin: 0;
  color: rgb(var(--cl-t-primary));
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .nexhub-navbar-title {
    font-size: 1.5rem;
  }
}

.nexhub-navbar-search {
  grid-area: search;
  min-width: 0;
  width: 100%;
}

.nexhub-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nexhub-navbar-actions-desktop {
  grid-area: actions;
  justify-self: end;
}

.nexhub-navbar-actions-mobile {
  grid-area: actions;
  justify-self: end;
}

@media (min-width: 1024px) {
  .nexhub-navbar-actions-mobile {
    display: none;
  }
}

.nexhub-navbar-icon-btn,
.nexhub-navbar-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nexhub-navbar-cart {
  color: rgba(var(--cl-accent), 1);
  border-color: rgba(var(--cl-accent), 0.45);
}

.nexhub-navbar-icon-btn:hover,
.nexhub-navbar-cart:hover {
  background: rgba(0, 89, 255, 0.1);
  color: rgba(var(--cl-accent), 1);
  border-color: rgba(var(--cl-accent), 0.45);
}

.nexhub-navbar-cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: rgb(var(--cl-accent));
  color: rgb(var(--cl-t-primary));
  font-size: 0.625rem;
  font-weight: 700;
}

.nexhub-navbar-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .nexhub-navbar-menu {
    height: auto !important;
    overflow: visible !important;
  }
}

.nexhub-navbar-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
}

@media (min-width: 1024px) {
  .nexhub-navbar-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    padding: 0.65rem 1.25rem 0.85rem;
  }
}

.nexhub-navbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nexhub-navbar-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }
}

/* Currency selector — rounded NexHub style */
.nexhub-currency-selector {
  flex-shrink: 0;
  position: relative;
}

.nexhub-currency-selector .choices {
  margin-bottom: 0;
  width: 4.5rem;
  position: relative;
}

.nexhub-currency-selector .choices.is-open {
  overflow: visible;
}

.nexhub-currency-selector .choices__inner {
  min-height: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 0.55rem 0 0.65rem !important;
  border-radius: 0.65rem !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  display: flex;
  align-items: center;
}

.nexhub-currency-selector .choices.is-open .choices__inner {
  border-color: rgba(0, 89, 255, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(0, 89, 255, 0.15);
}

.nexhub-currency-selector .choices__list--single {
  padding: 0 !important;
}

.nexhub-currency-selector .choices__inner .choices__item {
  max-width: none !important;
  padding: 0 !important;
}

.nexhub-currency-selector .choices__inner .symbol {
  background: transparent !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.nexhub-currency-selector .choices__inner .code,
.nexhub-currency-selector .choices__inner .default {
  display: none !important;
}

.nexhub-currency-selector .choices[data-type*="select-one"]::after {
  border-color: rgba(255, 255, 255, 0.45) transparent transparent transparent !important;
  margin-top: -0.15rem;
  right: 0.65rem;
}

.nexhub-currency-selector .choices__list.choices__list--dropdown,
.currency-selector.nexhub-currency-selector .choices__list.choices__list--dropdown {
  position: absolute !important;
  top: calc(100% + 0.4rem) !important;
  right: 0 !important;
  left: auto !important;
  width: 9.5rem !important;
  min-width: 9.5rem !important;
  max-width: 9.5rem !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(0, 89, 255, 0.22) !important;
  background: rgba(8, 10, 24, 0.98) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 9500;
}

.nexhub-currency-selector .choices__list--dropdown .choices__item {
  padding: 0.55rem 0.75rem !important;
  font-size: 0.8125rem;
}

.nexhub-currency-selector .choices__list--dropdown .choices__item--selectable {
  padding-right: 0.75rem !important;
}

.nexhub-currency-selector .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: rgba(0, 89, 255, 0.14) !important;
}

.nexhub-currency-selector .choices__list--dropdown .choices__item--selectable.is-selected {
  background: rgba(0, 89, 255, 0.22) !important;
}

.nexhub-currency-selector .choices__list--dropdown .symbol {
  display: inline-block;
  min-width: 1.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.nexhub-currency-selector .choices__list--dropdown .code {
  color: rgba(255, 255, 255, 0.75);
  margin-left: 0.35rem;
}

.nexhub-currency-selector .choices__list--dropdown .default {
  display: none !important;
}

.nexhub-hero {
  padding-top: 0.25rem;
}

.nexhub-hero h1 {
  margin-bottom: 0.75rem !important;
}

/* Search bar */
.nexhub-search {
  width: 100%;
}

.nexhub-search-glow {
  position: relative;
  padding: 1px;
  border-radius: 0.7rem;
  background: linear-gradient(
    90deg,
    rgba(0, 89, 255, 0.25),
    rgba(0, 89, 255, 0.75),
    rgba(0, 180, 255, 0.95),
    rgba(0, 89, 255, 0.75),
    rgba(0, 89, 255, 0.25)
  );
  background-size: 220% 100%;
  animation: nexhub-search-flow 4s linear infinite;
}

@keyframes nexhub-search-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.nexhub-search-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  border: none;
  border-radius: calc(0.7rem - 1px);
  background: rgba(6, 10, 22, 0.98);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nexhub-search-trigger:hover {
  background: rgba(0, 89, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.nexhub-search-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: rgba(0, 89, 255, 0.9);
}

.nexhub-search-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nexhub-search-kbd {
  display: none;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
  .nexhub-search-kbd { display: inline-block; }
}

@media (max-width: 640px) {
  .nexhub-search-nav .nexhub-search-label,
  .nexhub-search-nav .nexhub-search-kbd { display: none; }
  .nexhub-search-nav .nexhub-search-trigger {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    justify-content: center;
  }
  .nexhub-search-nav { width: auto; }
}

.nexhub-search-modal {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(6, 8, 20, 0.98);
  border: 1px solid rgba(0, 89, 255, 0.15);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.nexhub-search-portal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.nexhub-search-modal-input {
  padding: 0.75rem 1rem;
  border-radius: calc(0.75rem - 1.5px);
  background: rgba(6, 10, 22, 0.96);
}

.nexhub-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nexhub-search-close:hover {
  background: rgba(0, 89, 255, 0.15);
  color: #fff;
}

.nexhub-search-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Video embed polish */
lite-youtube {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(0, 89, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 89, 255, 0.15);
}

/* Terms of Service page */
.nexhub-terms-wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.nexhub-terms-header {
  text-align: center;
  margin-bottom: 2rem;
}

.nexhub-terms-title {
  margin: 0 0 0.65rem;
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .nexhub-terms-title { font-size: 2.25rem; }
}

.nexhub-terms-sub {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.nexhub-terms-shell {
  position: relative;
  padding: 2px;
  border-radius: 1rem;
  background: linear-gradient(
    120deg,
    rgba(0, 89, 255, 0.3),
    rgba(0, 89, 255, 0.85),
    rgba(0, 180, 255, 0.95),
    rgba(0, 89, 255, 0.85),
    rgba(0, 89, 255, 0.3)
  );
  background-size: 300% 300%;
  animation: nexhub-border-flow 6s ease infinite;
  box-shadow: 0 0 24px rgba(0, 89, 255, 0.1);
}

.nexhub-terms-shell > * {
  position: relative;
}

.nexhub-terms-card {
  padding: 1.25rem 1.35rem;
  background: rgba(8, 10, 24, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.nexhub-terms-card:first-of-type {
  border-radius: calc(1rem - 2px) calc(1rem - 2px) 0 0;
}

.nexhub-terms-card:last-of-type {
  border-bottom: none;
}

.nexhub-terms-intro {
  background: rgba(0, 89, 255, 0.06);
  border-bottom-color: rgba(0, 89, 255, 0.15);
}

.nexhub-terms-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  padding-left: 0.75rem;
  border-left: 3px solid rgba(0, 89, 255, 0.85);
  line-height: 1.35;
}

.nexhub-terms-card p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.nexhub-terms-card p:last-child {
  margin-bottom: 0;
}

.nexhub-terms-tag {
  display: inline-block;
  margin-bottom: 0.85rem !important;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem !important;
  font-weight: 600;
  color: rgba(150, 200, 255, 1) !important;
  background: rgba(0, 89, 255, 0.1);
  border: 1px solid rgba(0, 89, 255, 0.22);
}

.nexhub-terms-list {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.15rem;
  list-style: none;
}

.nexhub-terms-list li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.nexhub-terms-list li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 89, 255, 0.75);
}

.nexhub-terms-list-warn li::before {
  background: rgba(255, 120, 80, 0.85);
}

.nexhub-terms-footer {
  padding: 1rem 1.35rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(6, 8, 18, 0.98);
  border-radius: 0 0 calc(1rem - 2px) calc(1rem - 2px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
