/* =========================
   TOKEN PAGE NAVBAR + LOGO
========================= */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 10px;
  background: transparent;
  pointer-events: none;
}

.header-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  position: relative;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
  max-width: max-content;
  margin: 0 auto;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    rgba(7, 12, 25, 0.68);

  border: 1px solid rgba(124, 168, 255, 0.14);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 12px 34px rgba(0,0,0,0.26),
    0 0 18px rgba(78,161,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.76);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(78,161,255,0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(78,161,255,0.14);
  box-shadow:
    inset 0 0 0 1px rgba(124,168,255,0.20),
    0 6px 16px rgba(78,161,255,0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #071018;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(90deg, #72c7ff, #d6b36a);
  box-shadow:
    0 8px 18px rgba(78,161,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.28);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(78,161,255,0.24),
    inset 0 1px 0 rgba(255,255,255,0.36);
}

/* old token header items off */
.brand,
.brand-logo,
.brand-mark,
.brand-text,
.nav-toggle,
.brand-floating {
  display: none !important;
}

/* ===== TOKEN HERO ===== */
.token-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  min-height: 100vh;
  padding-top: 128px;
  padding-bottom: 48px;
}

.token-hero-copy {
  max-width: 700px;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin: 0 0 14px 0;
  padding-left: 2px;
}

.hero-logo::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  background: radial-gradient(
    circle,
    rgba(78,161,255,0.18) 0%,
    rgba(78,161,255,0.08) 42%,
    rgba(214,179,106,0.06) 62%,
    transparent 76%
  );
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

.hero-logo img {
  display: block;
  height: 68px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 6px 18px rgba(78,161,255,0.22))
    drop-shadow(0 0 12px rgba(214,179,106,0.14));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo:hover img {
  transform: translateY(-1px) scale(1.02);
  filter:
    drop-shadow(0 8px 22px rgba(78,161,255,0.26))
    drop-shadow(0 0 14px rgba(214,179,106,0.16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(114,199,255,0.95), rgba(214,179,106,0.15));
}

.token-title {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #f6f8fc;
}

.token-title-line {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.1rem, 2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #8fd8ff 0%, #d9bd76 58%, #f3f7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.token-text {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(230,236,248,0.72);
  font-size: 1.06rem;
  line-height: 1.85;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.token-hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.token-point {
  padding: 18px;
}

.token-point strong {
  display: block;
  margin-bottom: 8px;
  color: #f5f8ff;
  font-size: 0.98rem;
}

.token-point span {
  color: rgba(230,236,248,0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

.token-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.token-core-shell {
  width: min(100%, 520px);
  min-height: 520px;
  padding: 16px;
  border-radius: 28px;
  overflow: hidden;
}

#tokenCoreCanvas {
  width: 100%;
  height: 100%;
  min-height: 488px;
  display: block;
  border-radius: 22px;
}

/* ===== GENERAL TOKEN SECTIONS ===== */
.section {
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0 0 14px;
  color: #f6f8fc;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: rgba(230,236,248,0.7);
  font-size: 1.02rem;
  line-height: 1.8;
}

.token-card {
  padding: 24px;
}

.token-card h3 {
  margin: 0 0 10px;
  color: #f6f8fc;
  font-size: 1.16rem;
}

.token-card p {
  margin: 0;
  color: rgba(230,236,248,0.72);
  line-height: 1.75;
}

.tokenomics-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.tokenomics-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.token-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 16px;
  background:
    conic-gradient(
      from 180deg,
      rgba(114,199,255,0.9) 0deg 72deg,
      rgba(214,179,106,0.88) 72deg 144deg,
      rgba(102,150,255,0.82) 144deg 198deg,
      rgba(95,130,255,0.82) 198deg 234deg,
      rgba(130,205,255,0.82) 234deg 270deg,
      rgba(188,154,92,0.84) 270deg 324deg,
      rgba(80,118,255,0.84) 324deg 360deg
    );
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 18px 40px rgba(0,0,0,0.34);
}

.token-ring-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(7, 12, 25, 0.86);
  color: #f6f8fc;
}

.token-ring-core span {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.token-ring-core small {
  margin-top: 6px;
  color: rgba(230,236,248,0.72);
  font-size: 0.95rem;
}

.tokenomics-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tokenomics-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.tokenomics-item strong {
  color: #f6f8fc;
  font-size: 0.98rem;
}

.tokenomics-item span {
  color: #d9bd76;
  font-size: 1rem;
  font-weight: 700;
}

.cta-section {
  padding-bottom: 72px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .header-wrap {
    width: min(100% - 28px, 1240px);
  }

  .navbar {
    min-height: 64px;
    padding: 8px 12px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-link {
    height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .nav-cta {
    height: 40px;
    padding: 0 20px;
    font-size: 0.92rem;
  }

  .token-hero {
    grid-template-columns: 1fr;
    padding-top: 118px;
    gap: 28px;
    min-height: auto;
  }

  .token-hero-copy {
    max-width: 100%;
  }

  .hero-logo img {
    height: 62px;
  }

  .token-hero-points {
    grid-template-columns: 1fr;
  }

  .tokenomics-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 8px;
  }

  .header-wrap {
    width: calc(100% - 20px);
    min-height: auto;
    justify-content: center;
  }

  .navbar {
    width: 100%;
    min-height: auto;
    border-radius: 24px;
    padding: 10px;
  }

  .nav-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav-link,
  .nav-cta {
    height: 40px;
    padding: 0 14px;
  }

  .token-hero {
    padding-top: 132px;
    padding-bottom: 26px;
  }

  .hero-logo img {
    height: 56px;
  }

  .hero-logo::before {
    width: 58px;
    height: 58px;
    left: -12px;
  }

  .token-title {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }

  .token-text {
    font-size: 1rem;
  }

  .token-core-shell {
    min-height: 360px;
  }

  #tokenCoreCanvas {
    min-height: 328px;
  }

  .tokenomics-list {
    grid-template-columns: 1fr;
  }
}
/* =========================
   VENX FINAL MOBILE PATCH
   (TOKEN + WHITEPAPER)
========================= */

@media (max-width: 600px) {

  /* ===== TEXT BALANCE ===== */
  p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  h1 {
    line-height: 1.05;
  }

  h2 {
    line-height: 1.1;
  }

  /* ===== HERO ===== */
  .token-text,
  .wp-subtitle {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  /* ===== BUTTONS ===== */
  .token-actions,
  .wp-hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .token-actions .btn,
  .wp-hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  /* ===== CARDS ===== */
  .token-card,
  .wp-info-card,
  .wp-road-step,
  .token-point {
    padding: 16px;
  }

  /* ===== STACK / LADDER ===== */
  .wp-arch-step,
  .wp-ladder-item {
    padding: 18px;
  }

  .wp-arch-step strong,
  .wp-ladder-item h3 {
    font-size: 1rem;
  }

  /* ===== TOKEN HERO GRID ===== */
  .token-hero-points {
    grid-template-columns: 1fr;
  }

  /* ===== TOKENOMICS ===== */
  .tokenomics-item {
    padding: 16px;
  }

  .token-ring {
    width: 220px;
    height: 220px;
  }

  /* ===== WHITEPAPER TABLE ===== */
  .wp-table-row {
    padding: 16px;
    gap: 10px;
  }

  .wp-table-head {
    display: none; /* mobile clean */
  }

  /* ===== NAVBAR IMPROVEMENT ===== */
  .nav-menu {
    gap: 6px;
  }

  .nav-link,
  .nav-cta {
    font-size: 0.85rem;
    padding: 0 12px;
  }

}
