/* HOME PAGE */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 24px 80px; overflow: hidden; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hero-title { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; margin: 24px 0 24px; }
.hero-wordmark { font-size: 0.5em; font-weight: 500; color: var(--text-2); letter-spacing: -0.02em; display: block; margin-bottom: 14px; font-family: var(--font-mono); }
.hero-wordmark sup { font-size: 0.5em; opacity: 0.5; }
.hero-sub { font-size: 1.1rem; color: var(--text-2); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-tos { font-size: 0.78rem; color: var(--text-3); margin-top: 28px; font-family: var(--font-mono); letter-spacing: 0.02em; }
.hero-tos a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border-hi); text-underline-offset: 3px; transition: color var(--t); }
.hero-tos a:hover { color: #fff; }

/* Banner showcase */
.banner-showcase { padding: 60px 24px; }
.banner-frame { max-width: 1100px; margin: 0 auto; position: relative; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--bg-card); }
.banner-frame img { display: block; width: 100%; height: auto; }
.banner-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4)); pointer-events: none; }
.banner-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--border); position: relative; z-index: 2; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); }
.banner-meta .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.banner-meta .right { display: flex; gap: 8px; }

.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; font-family: var(--font-mono); color: var(--text-3); letter-spacing: 0.05em; }
.strip-dot { color: var(--text-4); }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.about-logo { display: flex; align-items: center; justify-content: center; }
.about-logo-inner { position: relative; width: 280px; height: 280px; }
.about-logo-inner img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-xl); position: relative; z-index: 2; }
.about-logo-glow { position: absolute; inset: -20px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%); filter: blur(40px); z-index: 1; animation: pulse-glow 4s ease-in-out infinite; }
@keyframes pulse-glow { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-icon { width: 40px; height: 40px; border-radius: var(--r); background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feat-sub { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

.news-header { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { display: flex; flex-direction: column; align-items: flex-start; }
.news-tag { font-size: 0.7rem; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-2); margin-bottom: 16px; }
.news-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.news-sub { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

.dc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.dc-card { display: flex; flex-direction: column; }
.dc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.dc-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #5865F2, #4752c4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.dc-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.dc-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 0; }
.dc-online { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.2); }

.cta-box { position: relative; text-align: center; padding: 80px 24px; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,0.015); }
.cta-title { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin: 16px 0 12px; }
.cta-sub { font-size: 1rem; color: var(--text-2); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .about-logo { order: -1; }
  .about-logo-inner { width: 200px; height: 200px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .dc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* ============ EMERGENT-STYLE HOME ============ */

/* Override main bg to Emergent */
body { background: #0F0F10 !important; }

/* Sleek top header (replaces .nav for home) */
.em-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: rgba(15,15,16,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.em-header-left { display: flex; align-items: center; gap: 28px; min-width: 0; }
.em-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem;
  color: #DDDDE6;
  flex-shrink: 0;
  text-decoration: none;
}
.em-logo .nav-logo-mark { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255,255,255,0.06)); }
.em-logo .nav-logo-word { height: 20px; width: auto; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255,255,255,0.08)); }
.em-logo .nav-logo-tm { font-size: 0.6em; opacity: 0.55; align-self: flex-start; margin-top: 2px; }
.em-logo span:not(.nav-logo-tm) { display: none; }
.em-tabs {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 3px;
}
.em-tab {
  padding: 6px 12px; border-radius: 7px;
  font-size: 0.82rem; color: #939399;
  transition: all 0.15s ease; white-space: nowrap;
}
.em-tab:hover { color: #DDDDE6; background: rgba(255,255,255,0.04); }
.em-tab.active { color: #DDDDE6; background: rgba(255,255,255,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.em-header-right { display: flex; align-items: center; gap: 8px; }

.em-icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  color: #80FFF9;
  cursor: pointer; transition: all 0.15s ease;
}
.em-icon-btn:hover {
  background: rgba(128,255,249,0.1);
  border-color: rgba(128,255,249,0.2);
  transform: scale(1.05);
}
.em-gift-btn {
  position: relative;
  animation: gift-pulse 2.5s ease-in-out infinite;
}
.em-gift-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128,255,249,0.2), transparent 70%);
  z-index: -1;
  opacity: 0.7;
}
@keyframes gift-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(128,255,249,0); }
  50% { box-shadow: 0 0 0 6px rgba(128,255,249,0.06); }
}

.em-upgrade {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px;
  border-radius: 16px;
  font-size: 0.82rem; font-weight: 600;
  background: linear-gradient(135deg, #f5c842, #e0a800);
  color: #0F0F10;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  border: 1px solid rgba(245,200,66,0.4);
  box-shadow:
    0 0 0 0 rgba(245,200,66,0),
    0 4px 14px rgba(245,200,66,0.3),
    inset 0 1px 0 rgba(255,255,255,0.4);
  animation: upgrade-glow 2.6s ease-in-out infinite;
}
.em-upgrade:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(245,200,66,0.18),
    0 6px 22px rgba(245,200,66,0.5),
    inset 0 1px 0 rgba(255,255,255,0.45);
}
@keyframes upgrade-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,200,66,0.4), 0 4px 14px rgba(245,200,66,0.3), inset 0 1px 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(245,200,66,0), 0 4px 18px rgba(245,200,66,0.5), inset 0 1px 0 rgba(255,255,255,0.45); }
}

/* Discount pill (mirrors Emergent FLAT 85% pill) */
.em-pill-wrap {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.em-pill {
  pointer-events: all;
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 4px 4px 4px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #80FFF9 0%, #f5c842 50%, #80FFF9 100%);
  background-size: 200% 100%;
  animation: pill-shimmer 6s linear infinite;
  font-family: 'Inter', sans-serif;
  position: relative;
  max-width: 92vw;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(128,255,249,0.18), 0 1px 0 rgba(255,255,255,0.4) inset;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.em-pill:hover { transform: translateY(-1px); }
@keyframes pill-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.em-pill-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #0F0F10;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.em-pill-icon img { width: 22px; height: 22px; object-fit: contain; }
.em-pill-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F0F10;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.em-pill-cta {
  flex-shrink: 0;
  padding: 6px 16px; border-radius: 999px;
  background: #0F0F10;
  color: #fff;
  font-size: 0.82rem; font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.em-pill:hover .em-pill-cta { background: #1a1a1c; }

@media (max-width: 700px) {
  .em-pill-text { font-size: 0.78rem; max-width: 60vw; }
  .em-pill { height: 50px; padding: 4px 4px 4px 8px; }
}

/* Hide the old .nav and .strip on home (we use .em-header instead) */
body > .nav, body > .strip { display: none; }

/* Hero (Emergent-style centered) */
.em-main { padding-top: 132px; position: relative; z-index: 5; }
.em-hero { padding: 80px 24px 60px; text-align: center; position: relative; }
.em-hero-inner { max-width: 820px; margin: 0 auto; }
.em-hero-title {
  font-size: clamp(2.4rem, 6.7vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #DDDDE6;
}
.grad-cyan {
  background: linear-gradient(135deg, #80FFF9 0%, #DDDDE6 60%, #80FFF9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.em-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #939399;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.em-hero-detail {
  max-width: 580px; margin: 0 auto 32px;
}
.em-hero-detail p {
  font-size: 0.92rem;
  color: #737780;
  line-height: 1.7;
}
.em-hero-detail strong { color: #DDDDE6; font-weight: 600; }

.em-hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }

.btn-em-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.92rem; font-weight: 600;
  background: #fff; color: #0F0F10;
  transition: all 0.18s ease;
  box-shadow:
    0 4px 16px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}
.btn-em-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 24px rgba(255,255,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}
.btn-em-primary svg { transition: transform 0.18s ease; }
.btn-em-primary:hover svg { transform: translateX(2px); }
.btn-em-xl { padding: 16px 28px; font-size: 1rem; border-radius: 14px; }

.btn-em-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.92rem; font-weight: 500;
  background: rgba(255,255,255,0.04);
  color: #DDDDE6;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.18s ease;
}
.btn-em-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.em-tos {
  font-size: 0.78rem;
  color: #5C5F66;
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.em-tos a { color: #939399; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.15); text-underline-offset: 3px; }
.em-tos a:hover { color: #DDDDE6; }

/* CTA section */
.em-cta-section { padding: 80px 24px 120px; }
.em-cta-inner {
  max-width: 760px; margin: 0 auto;
  text-align: center;
  padding: 80px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(128,255,249,0.06), transparent 70%),
    rgba(255,255,255,0.015);
  position: relative;
  overflow: hidden;
}
.em-cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
  color: #DDDDE6;
}
.em-cta-sub {
  font-size: 1rem;
  color: #939399;
  margin-bottom: 32px;
}

@media (max-width: 700px) {
  .em-tabs { display: none; }
  .em-header { padding: 0 14px; }
  .em-header .ham { display: flex; }
  .em-main { padding-top: 124px; }
  .em-hero { padding: 60px 20px 40px; }
}
@media (max-width: 480px) {
  .em-pill { height: 56px; }
  .em-pill-text { white-space: normal; line-height: 1.25; font-size: 0.74rem; }
}

/* Home: ham menu in em-header */
.em-header .ham {
  display: none; position: absolute; right: 16px; top: 14px;
  width: 32px; height: 32px;
  flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  z-index: 210;
  background: transparent; border: none; cursor: pointer;
  padding: 0;
}
.em-header .ham span {
  width: 20px; height: 1.5px;
  background: #DDDDE6; border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.em-header .ham.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.em-header .ham.open span:nth-child(2) { opacity: 0; }
.em-header .ham.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .em-tabs { display: none; }
  .em-header { padding: 0 14px; }
  .em-header .ham { display: flex; }
  .em-header-left { gap: 0; }
  .em-header-right { display: none; }
}

/* Right-side drawer for em-header — same look as global .mob-nav */
.em-header .mob-nav {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto;
  width: min(320px, 85vw);
  background: rgba(15,15,16,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 76px 22px 32px;
  display: flex; flex-direction: column; gap: 0;
  z-index: 205;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.em-header .mob-nav.open { transform: translateX(0); }
/* Legacy .mobopen path — kept harmless */
.em-header.mobopen .mob-nav { transform: translateX(0); }

.em-header .mob-link {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  color: var(--text-2);
  font-size: 0.96rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s, padding-left 0.2s;
}
.em-header .mob-link:hover {
  color: #fff;
  background: transparent;
  padding-left: 8px;
}
.em-header .mob-link::after {
  content: '→';
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
.em-header .mob-link:hover::after { opacity: 1; transform: translateX(0); }

/* PROJECTS section */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.proj-card {
  display: flex; flex-direction: column;
  padding: 0;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
}
.proj-card .proj-content {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column;
  flex: 1;
  position: relative; z-index: 1;
}
.proj-card:hover {
  transform: translateY(-3px);
}
.proj-card.gold .card-illust {
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(245,200,66,0.06) 0%, rgba(245,200,66,0.01) 50%, transparent 100%),
    linear-gradient(180deg, rgba(15,15,17,0.6), rgba(20,20,22,0.4));
}
.proj-card.gold .card-icon-chip {
  background: linear-gradient(180deg, rgba(245,200,66,0.14), rgba(245,200,66,0.04));
  border-color: rgba(245,200,66,0.25);
  color: #f5c842;
}
.proj-title {
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #fff;
}
.proj-desc {
  font-size: 0.86rem; color: var(--text-2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}
.proj-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
.proj-meta.gold-meta { color: #f5c842; }

@media (max-width: 1000px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

/* ─── Hero 3D Stage ───────────────────────────────────────── */
.hero-stage {
  position: relative;
  padding: 110px 24px 140px;
  overflow: hidden;
  perspective: 1200px;
}
.hero-stage-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 1100px; height: 700px;
  transform: translate(-50%, -40%);
  background: radial-gradient(ellipse at center,
    rgba(140,150,180,0.10) 0%,
    rgba(245,200,66,0.04) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-stage-text {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 70px;
}

/* The tilted frame — uses the reference's transform */
.hero-stage-frame {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  z-index: 1;
}
.hero-stage-tilt {
  position: relative;
  transform: perspective(1400px) rotateX(28deg) rotateY(-12deg) rotateZ(2deg) scale(1.02);
  transform-origin: center 30%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.hero-stage:hover .hero-stage-tilt {
  transform: perspective(1400px) rotateX(20deg) rotateY(-8deg) rotateZ(1deg) scale(1.04);
}

/* Soft ground shadow under the mock window */
.hero-stage-tilt::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 8%; right: 8%;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

@media (max-width: 900px) {
  .hero-stage-tilt {
    transform: perspective(1400px) rotateX(18deg) rotateY(-6deg) scale(0.92);
  }
  .hero-stage { padding: 60px 16px 100px; }
}
@media (max-width: 600px) {
  .hero-stage-tilt {
    transform: perspective(1400px) rotateX(12deg) rotateY(-3deg) scale(0.85);
  }
  .hero-stage { padding: 40px 8px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage-tilt { transform: none; }
}

/* ─── Mock Window (fake VEXNILX dashboard) ────────────────── */
.mock-window {
  background: rgba(15,15,17,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 80px rgba(0,0,0,0.6),
    0 60px 140px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
}
.mock-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-traffic { display: flex; gap: 6px; }
.mock-dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.mock-dot.red { background: #ff5f57; }
.mock-dot.yel { background: #febc2e; }
.mock-dot.grn { background: #28c840; }
.mock-url {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.3);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.05);
  min-width: 280px;
  justify-content: center;
}
.mock-url svg { color: rgba(74,222,128,0.7); }

.mock-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}

.mock-side {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px 14px;
  background: rgba(255,255,255,0.015);
}
.mock-side-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-side-brand img { width: 18px; height: 18px; object-fit: contain; }

.mock-side-section { margin-bottom: 18px; }
.mock-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 8px;
}
.mock-side-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.mock-side-item.active {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.mock-side-bullet {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.mock-side-item.active .mock-side-bullet { background: #f5c842; }

.mock-plan {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245,200,66,0.10), rgba(245,200,66,0.02));
  border: 1px solid rgba(245,200,66,0.25);
}
.mock-plan-name { font-size: 0.78rem; font-weight: 600; color: #fff; }
.mock-plan-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  background: linear-gradient(135deg, #f5c842, #e0a800);
  color: #000;
  font-weight: 700;
}

/* Main content */
.mock-main { padding: 18px 22px; }
.mock-topbar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.mock-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}
.mock-search svg { color: rgba(255,255,255,0.4); }
.mock-pill {
  font-size: 0.72rem; font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  white-space: nowrap;
}

/* Stats row */
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.mock-stat {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
}
.mock-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.mock-stat-num {
  font-size: 1.3rem; font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.mock-stat-delta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}
.mock-stat-delta.up { color: #4ade80; }

.mock-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mock-h3 { font-size: 0.82rem; font-weight: 600; color: #fff; }
.mock-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}

.mock-tut-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mock-tut {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
}
.mock-tut-thumb {
  height: 50px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #2a2a30, #181820);
}
.mock-tut-thumb.v2 { background: linear-gradient(135deg, #1a3a4a, #0f1f2a); }
.mock-tut-thumb.v3 { background: linear-gradient(135deg, #5b3a8a, #2a1a4a); }
.mock-tut-thumb.v4 { background: linear-gradient(135deg, #8a6a3a, #4a3a1a); }
.mock-tut-title {
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-tut-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.4);
}

/* Floating side panel (right of stage) */
.mock-float-panel {
  position: absolute;
  top: 18%; right: -4%;
  width: 200px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15,15,17,0.96);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-size: 0.72rem;
  transform: translateZ(40px);
  z-index: 2;
}
.mock-float-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.mock-float-row {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 5px;
}
.mock-float-row.sub {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.5);
}
.mock-float-row.sub strong { color: #f5c842; font-weight: 600; }
.mock-float-name { font-weight: 600; }
.mock-float-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
  flex-shrink: 0;
}
.mock-float-dot.pulse { animation: mock-pulse 2s ease-in-out infinite; }
@keyframes mock-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(74,222,128,0.6); }
  50%      { box-shadow: 0 0 16px rgba(74,222,128,1); }
}

/* Floating pill (left) */
.mock-float-pill {
  position: absolute;
  top: 12%; left: -3%;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15,15,17,0.96);
  border: 1px solid rgba(245,200,66,0.30);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: #f5c842;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateZ(60px);
  z-index: 2;
}
.mock-float-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f5c842;
  box-shadow: 0 0 8px rgba(245,200,66,0.7);
}

@media (max-width: 900px) {
  .mock-body { grid-template-columns: 160px 1fr; }
  .mock-stats { grid-template-columns: 1fr 1fr 1fr; }
  .mock-tut-row { grid-template-columns: 1fr 1fr; }
  .mock-float-panel { display: none; }
  .mock-float-pill { left: 4%; }
}
@media (max-width: 600px) {
  .mock-side { display: none; }
  .mock-body { grid-template-columns: 1fr; min-height: 360px; }
  .mock-tut-row { grid-template-columns: 1fr 1fr; }
  .mock-float-pill { display: none; }
  .mock-url { min-width: 0; font-size: 0.6rem; padding: 4px 8px; }
}

/* About-page iframe inside the 3D stage window */
.mock-iframe-wrap {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #0F0F10;
}
.mock-iframe {
  width: 200%;             /* render at half scale → see more of the page */
  height: 200%;
  transform: scale(0.5);
  transform-origin: 0 0;
  border: 0;
  display: block;
  background: #0F0F10;
  pointer-events: none;    /* tilted preview — clicks blocked, parent links elsewhere */
}
@media (max-width: 900px) {
  .mock-iframe-wrap { height: 360px; }
}
@media (max-width: 600px) {
  .mock-iframe-wrap { height: 300px; }
}

/* ─── Dual feature: VexnHosteo + VenxPass ─────────────────── */
.dual-feat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1100px; margin: 0 auto;
}
.dual-feat {
  position: relative;
  border-radius: 18px !important;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.dual-feat:hover { transform: translateY(-3px); }
.dual-feat .card-illust {
  height: 160px;
  margin: -1px -1px 0;
  border-radius: 18px 18px 0 0;
}
.dual-feat-ticket {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(245,200,66,0.10) 0%, rgba(245,200,66,0.02) 50%, transparent 100%),
    linear-gradient(180deg, rgba(15,15,17,0.6), rgba(20,20,22,0.4));
  margin: -1px -1px 0;
  border-radius: 18px 18px 0 0;
  padding: 16px 24px;
  overflow: hidden;
}
.dual-feat-ticket img {
  max-width: 320px;
  width: 100%; height: auto;
  filter: drop-shadow(0 14px 30px rgba(245,200,66,0.20))
          drop-shadow(0 4px 14px rgba(0,0,0,0.5));
  transform: rotate(-3deg) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.dual-feat:hover .dual-feat-ticket img { transform: rotate(-1deg) scale(1.02); }

.dual-feat.gold-tint {
  border-color: rgba(245,200,66,0.20) !important;
}
.dual-feat.gold-tint:hover {
  border-color: rgba(245,200,66,0.40) !important;
}

.dual-feat-body {
  flex: 1;
  padding: 22px 26px 26px;
  display: flex; flex-direction: column;
}
.dual-feat-tier {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3); margin-bottom: 12px;
}
.dual-feat-tier.gold-text { color: #f5c842; }
.dual-feat-body h3 {
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.25;
}
.dual-feat-body p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.dual-feat-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}
.dual-feat:hover .dual-feat-cta { transform: translateX(4px); }

/* Animated gradient (shorter) */
.anim-grad-tight {
  background: linear-gradient(90deg, #f5c842, #ffd966, #e0a800, #f5c842);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vh-grad-shift 4.5s ease-in-out infinite;
}
.grad-gold {
  background: linear-gradient(135deg, #f5c842 0%, #ffd966 50%, #e0a800 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 800px) {
  .dual-feat-grid { grid-template-columns: 1fr; }
}
