/* ==========================================================================
   NovaIsle AI — 3D Print-Gallery Hallway & Dynamic Blueprint Showcase CSS
   Inspired by motionsites.ai/?prompt=print-gallery & ?prompt=protein-bars
   ========================================================================== */

/* ==========================================================================
   Zestwell First-Person 3D Ring Corridor Full-Screen Layout
   ========================================================================== */
body.gallery-3d-page {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: #FFF9EC;
  color: #3A3550;
}

#gallery3d {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  touch-action: none;
  cursor: grab;
  z-index: 1;
}

.z-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(255, 249, 236, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 53, 80, 0.12);
}

.z-gui {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.z-arrows {
  position: fixed;
  left: 26px;
  top: 42%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.z-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #3A3550;
  background: rgba(255, 249, 236, 0.72);
  color: #3A3550;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.z-arrow-btn:hover {
  background: #3A3550;
  color: #FFF9EC;
}

.z-hint {
  position: fixed;
  right: 28px;
  bottom: 92px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: #3A3550;
  text-transform: uppercase;
}

.z-toggle {
  position: fixed;
  right: 28px;
  bottom: 34px;
  pointer-events: auto;
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  border-radius: 999px;
  border: 1px solid rgba(58, 53, 80, 0.35);
  background: rgba(255, 249, 236, 0.86);
}

.z-toggle button {
  border: none;
  background: transparent;
  color: #3A3550;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.z-toggle button.active {
  background: #3A3550;
  color: #FFF9EC;
}

.z-caption {
  position: fixed;
  left: 28px;
  bottom: 28px;
  max-width: 62vw;
  pointer-events: none;
}

.z-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(58, 53, 80, 0.75);
  margin-bottom: 6px;
}

.z-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  color: #3A3550;
  margin: 0;
  text-transform: uppercase;
}

.z-open-pill {
  position: fixed;
  z-index: 25;
  pointer-events: none;
  transform: translate(-50%, -140%);
  background: #1e1b2b;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.14s ease;
}

.z-list-overlay {
  position: fixed;
  inset: 0;
  z-index: 24;
  background: #FFF9EF;
  overflow-y: auto;
  padding: 96px 28px 60px;
  display: none;
}

.z-list-overlay.open {
  display: block;
}

.z-list-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (max-width: 760px) {
  .z-arrows { top: auto; bottom: 26px; left: 16px; transform: none; flex-direction: row; }
  .z-toggle { right: 16px; bottom: 28px; }
  .z-hint { top: 72px; bottom: auto; left: 16px; right: 16px; text-align: left; }
  .z-caption { left: 16px; bottom: 92px; max-width: 90vw; }
}

/* 3D Curved Gallery Stage */
.gallery-stage-wrap {
  position: relative;
  background: radial-gradient(ellipse 85% 65% at 50% 42%, #ffffff 0%, #eef5f9 58%, #dceaf3 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  padding: 28px 0 36px;
  user-select: none;
}

.gallery-toolbar {
  max-width: var(--max-w);
  margin: 0 auto 14px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.gallery-mode-switch {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

.gallery-mode-btn {
  border: none;
  background: transparent;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.gallery-mode-btn.active {
  background: var(--bg-ocean);
  color: #ffffff;
}

/* 3D Hallway Viewport */
.hallway-viewport {
  position: relative;
  height: 470px;
  perspective: 1200px;
  overflow: hidden;
  cursor: grab;
}

.hallway-viewport:active {
  cursor: grabbing;
}

/* Subtle Architectural Gallery Floor Reflection */
.hallway-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(220, 234, 243, 0) 0%, rgba(186, 214, 232, 0.45) 100%);
  pointer-events: none;
}

.hallway-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.painting-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  margin-left: -135px;
  margin-top: -195px;
  background: #ffffff;
  padding: 12px 12px 16px;
  border-radius: 8px;
  border: 6px solid #e2cbb0;
  box-shadow: 0 24px 52px rgba(6, 40, 61, 0.18), 0 4px 12px rgba(6, 40, 61, 0.08);
  cursor: pointer;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform, opacity;
}

.painting-card:hover {
  border-color: #0284c7;
  box-shadow: 0 32px 66px rgba(2, 132, 199, 0.26);
}

.painting-art {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 4px;
  overflow: hidden;
  background: #06283d;
  margin-bottom: 12px;
}

.painting-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.painting-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(4, 27, 43, 0.78);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 999px;
}

.painting-meta-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--ocean-teal);
  margin-bottom: 4px;
}

.painting-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.painting-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.painting-card:hover .painting-cta {
  color: var(--ocean-teal);
}

/* Hallway HUD (Print-Gallery Bottom Editorial Bar) */
.hallway-hud {
  max-width: var(--max-w);
  margin: 8px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.hud-walking {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ocean-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hud-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--bg-ocean);
  line-height: 1.1;
  margin: 0;
}

.hud-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.hud-arrow-btn:hover {
  background: var(--bg-ocean);
  color: #ffffff;
  border-color: var(--bg-ocean);
}

/* List Mode Grid */
.gallery-list-grid {
  display: none;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px 36px;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-list-grid.active {
  display: grid;
}

.list-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.list-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.list-item-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.list-item-body {
  padding: 14px;
}

/* ==========================================================================
   Full-Screen Immersive Industry Blueprint Drawer (Modal)
   ========================================================================== */
.blueprint-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  background: rgba(4, 22, 36, 0.72);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  padding: 24px 16px;
}

.blueprint-modal.open {
  display: block;
}

.blueprint-sheet {
  max-width: 1060px;
  margin: 0 auto;
  background: #f4f9fc;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  animation: sceneFade 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.bp-close {
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.bp-close:hover {
  background: var(--bg-ocean);
  color: #ffffff;
}

.bp-body {
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bp-disclaimer {
  padding: 12px 18px;
  border-radius: 14px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 13px;
  font-weight: 600;
}

.bp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.bp-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-dark);
}

/* Before Baseline Strip */
.before-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.before-box {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 14px;
}

.before-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  color: #dc2626;
}

.before-box span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Live Dynamic Mini-Website Showcase (protein-bars / coastal / clinical / tech) */
.mini-site-shell {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  background: #041b2b;
}

.mini-site-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #0b2234;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 11px;
}

.mini-lang-btns {
  display: inline-flex;
  gap: 4px;
}

.mini-lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.mini-lang-btn.active {
  background: #ffffff;
  color: #041b2b;
}

.mini-site-viewport {
  position: relative;
  min-height: 460px;
  padding: 20px 26px 24px;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.8s ease;
}

.mini-nav {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mini-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.88;
}

.mini-nav-cta {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 700;
}

.theme-clinical-glass .mini-nav-cta,
.theme-tcm-zen .mini-nav-cta {
  background: #0b2234;
  color: #ffffff;
  border-color: #0b2234;
}

.mini-site-desc {
  margin: 0 0 14px 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.88;
  max-width: 480px;
}

.mini-site-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-btn-solid {
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #041b2b;
  font-size: 11px;
  font-weight: 800;
}

.theme-clinical-glass .mini-btn-solid,
.theme-tcm-zen .mini-btn-solid {
  background: #0284c7;
  color: #ffffff;
}

.mini-btn-outline {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}

.mini-feature-row {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.theme-clinical-glass .mini-feature-row,
.theme-tcm-zen .mini-feature-row {
  border-top-color: rgba(11, 34, 52, 0.12);
}

.mini-feature-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 11px 13px;
}

.theme-clinical-glass .mini-feature-card,
.theme-tcm-zen .mini-feature-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(11, 34, 52, 0.1);
  color: #0b2234;
}

.mini-feature-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.mini-feature-card span {
  display: block;
  font-size: 11px;
  opacity: 0.78;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .mini-feature-row { grid-template-columns: 1fr; }
  .mini-nav-links { display: none; }
}

.mini-stage-body {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 8px;
}

/* 1. Coastal Luxury (Full-Bleed Ken-Burns Ocean Photo + Floating Glass Booking Bar) */
.theme-coastal-luxury .mini-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: miniKenBurns 9s ease-in-out infinite alternate;
}

.theme-coastal-luxury .mini-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(3, 22, 36, 0.86) 0%, rgba(4, 38, 60, 0.45) 60%, rgba(3, 22, 36, 0.72) 100%);
}

@keyframes miniKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.mini-booking-bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
}

.mini-book-btn {
  background: #fde68a;
  color: #041b2b;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
}

/* 2. Pop-Product (MotionSites protein-bars: 3D Floating Fan of 3 Packages + Giant Kinetic Text) */
.theme-pop-product .mini-bg-word {
  position: absolute;
  left: -10px;
  top: 52%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  animation: popMarquee 9s linear infinite;
}

@keyframes popMarquee {
  0% { transform: translate(0, -50%); }
  100% { transform: translate(-28%, -50%); }
}

.pop-fan {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 210px;
  flex-shrink: 0;
}

.pop-pack-3d {
  position: absolute;
  width: 122px;
  height: 176px;
  border-radius: 18px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32), inset 0 0 20px rgba(255, 255, 255, 0.28);
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pop-pack-3d.left { transform: translateX(-76px) rotate(-14deg) scale(0.84); opacity: 0.78; z-index: 1; }
.pop-pack-3d.center { transform: translateY(-10px) rotate(0deg) scale(1.06); z-index: 3; animation: floatPack 2.8s ease-in-out infinite alternate; }
.pop-pack-3d.right { transform: translateX(76px) rotate(14deg) scale(0.84); opacity: 0.78; z-index: 1; }

@keyframes floatPack {
  0% { transform: translateY(-4px) rotate(-3deg) scale(1.04); }
  100% { transform: translateY(-16px) rotate(3deg) scale(1.08); }
}

/* 3. Clinical Glass (Light Pearl-Blue Luxury Medical + Biometric Pulse Rings) */
.theme-clinical-glass {
  color: #0b2234 !important;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ecfdf5 100%) !important;
}

.theme-clinical-glass .mini-nav { border-bottom-color: rgba(11, 34, 52, 0.12); color: #0369a1; }
.theme-clinical-glass .mini-site-badge { background: #0284c7; color: #ffffff; border: none; }
.theme-clinical-glass .mini-site-copy h4 { color: #0b2234; }

.pulse-stage {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pulse-ring {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(2, 132, 199, 0.35);
  animation: medicalPulse 3s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 1.5s; }

@keyframes medicalPulse {
  0% { transform: scale(0.65); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}

.pulse-core {
  position: relative;
  z-index: 2;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 14px 36px rgba(2, 132, 199, 0.28);
}

.pulse-core img { width: 100%; height: 100%; object-fit: cover; }

/* 4. TCM Oriental Zen (Warm Rice-Paper & Jade Ink Wash) */
.theme-tcm-zen {
  color: #1c2b24 !important;
  background: radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.18), transparent 55%), linear-gradient(135deg, #f7f4ec 0%, #ebe5d5 100%) !important;
}
.theme-tcm-zen .mini-nav { border-bottom-color: rgba(28, 43, 36, 0.14); color: #065f46; }
.theme-tcm-zen .mini-site-badge { background: #065f46; color: #fde68a; border: none; }
.theme-tcm-zen .mini-site-copy h4 { color: #1c2b24; }

.zen-seal {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1.5px dashed #047857;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 40px rgba(6, 95, 70, 0.14);
  animation: slowSpin 18s linear infinite;
  flex-shrink: 0;
}
.zen-seal-inner { animation: slowSpinRev 18s linear infinite; text-align: center; color: #065f46; }
@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes slowSpinRev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

/* 5. Industrial Tech (CAD Blueprint Grid + Glowing Laser Scan + Telemetry) */
.theme-industrial-tech {
  background:
    linear-gradient(to right, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #03111c 0%, #072438 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
}

.theme-industrial-tech::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #34d399, transparent);
  box-shadow: 0 0 22px #38bdf8;
  animation: laserScan 3.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes laserScan { 0%, 100% { top: 14%; } 50% { top: 86%; } }

.hud-spec-box {
  width: 240px;
  background: rgba(3, 17, 27, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 14px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.hud-spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(56, 189, 248, 0.22);
  color: #bae6fd;
}

/* 6. Bento Neon (SaaS / Digital / Beauty DTC: Animated Sparkline & Floating Glass Cards) */
.theme-bento-neon {
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.36), transparent 55%), radial-gradient(circle at 85% 80%, rgba(236, 72, 153, 0.28), transparent 55%), #090d1f !important;
}

.neon-cards {
  display: grid;
  grid-template-columns: repeat(2, 115px);
  gap: 10px;
  flex-shrink: 0;
}

.neon-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
  backdrop-filter: blur(10px);
  animation: floatTile 3.4s ease-in-out infinite alternate;
}
.neon-tile:nth-child(2) { animation-delay: 0.6s; }
.neon-tile:nth-child(3) { animation-delay: 1.2s; }
.neon-tile:nth-child(4) { animation-delay: 1.8s; }
@keyframes floatTile { from { transform: translateY(4px); } to { transform: translateY(-6px); } }

.mini-site-copy {
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.mini-site-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  margin-bottom: 10px;
}

.mini-site-copy h4 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.2;
  margin: 0 0 12px 0;
}

/* ==========================================================================
   Authentic Platform Webpage Screenshots (Reddit / TripAdvisor / WhatClinic / Otzovik / LinkedIn)
   & Real TikTok / YouTube Official Channel UI
   ========================================================================== */
.mock-post-grid,
.mock-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Browser-Framed Platform Webpage Screenshot */
.web-shot {
  background: #ffffff;
  border: 1px solid #d5dde5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.web-shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
}

.web-shot-dots {
  display: inline-flex;
  gap: 4px;
}
.web-shot-dots span { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.web-shot-dots span:nth-child(1) { background: #f87171; }
.web-shot-dots span:nth-child(2) { background: #fbbf24; }
.web-shot-dots span:nth-child(3) { background: #4ade80; }

.web-shot-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 2px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #475569;
}

.web-shot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid #eef2f6;
}
.web-shot-nav.reddit { background: #ffffff; color: #ff4500; }
.web-shot-nav.tripadvisor { background: #ffffff; color: #00aa6c; }
.web-shot-nav.whatclinic { background: #0f4c81; color: #ffffff; }
.web-shot-nav.otzovik { background: #f8fafc; color: #1d4ed8; }
.web-shot-nav.linkedin { background: #ffffff; color: #0a66c2; }
.web-shot-nav.generic { background: #0f172a; color: #ffffff; }

.web-shot-body {
  padding: 14px 16px 16px;
  display: flex;
  gap: 12px;
  flex: 1;
}

.reddit-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #ff4500;
  padding-top: 2px;
}

.web-shot-content { flex: 1; min-width: 0; }

.web-shot-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

.web-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ta-bubbles {
  color: #00aa6c;
  letter-spacing: 1px;
  font-size: 12px;
}

.web-shot-content h4 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.35;
  color: #0f172a;
}

.web-shot-content p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.55;
  color: #475569;
}

.web-shot-actions {
  display: flex;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* Real TikTok Profile UI */
.tt-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: #161823;
  font-family: var(--font-body);
}

.tt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f1f2;
  font-size: 13px;
  font-weight: 700;
}

.tt-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #20d5ec;
  color: #ffffff;
  font-size: 9px;
  margin-left: 4px;
}

.tt-profile {
  padding: 14px 16px 12px;
  text-align: center;
}

.tt-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fe2c55;
  padding: 2px;
  display: block;
  margin: 0 auto 6px;
}

.tt-handle {
  font-size: 13px;
  font-weight: 700;
  color: #161823;
  margin-bottom: 10px;
}

.tt-stats {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 12px;
}

.tt-stat strong { display: block; font-size: 15px; font-weight: 800; color: #161823; }
.tt-stat span { font-size: 11px; color: #6b7280; }

.tt-btns {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.tt-follow {
  background: #fe2c55;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 34px;
  border-radius: 4px;
}

.tt-msg {
  background: #f1f1f2;
  color: #161823;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 4px;
}

.tt-bio {
  font-size: 11px;
  color: #374151;
  line-height: 1.45;
  margin: 0;
}

.tt-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #f1f1f2;
  border-bottom: 1px solid #f1f1f2;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
}

.tt-tabs span { padding: 8px 0; }
.tt-tabs span.active { color: #161823; border-bottom: 2px solid #161823; }

.tt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #ffffff;
}

.tt-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f172a;
}

.tt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-pinned {
  position: absolute; top: 5px; left: 5px; background: #fe2c55; color: #ffffff;
  font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 3px;
}
.tt-views {
  position: absolute; bottom: 5px; left: 6px; color: #ffffff;
  font-size: 10px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* Real YouTube Channel UI */
.yt-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: #0f0f0f;
}

.yt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  font-weight: 800;
}

.yt-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0f0f0f;
}
.yt-play-red {
  background: #ff0000;
  color: #ffffff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
}

.yt-banner {
  height: 76px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
.yt-banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }

.yt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 10px;
}

.yt-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.yt-info { flex: 1; min-width: 0; }
.yt-name { font-size: 14px; font-weight: 800; color: #0f0f0f; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-meta { font-size: 11px; color: #606060; margin-bottom: 6px; }
.yt-sub-btn {
  display: inline-block;
  background: #0f0f0f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.yt-tabs {
  display: flex;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  font-weight: 700;
  color: #606060;
}
.yt-tabs span { padding: 7px 0; }
.yt-tabs span.active { color: #0f0f0f; border-bottom: 2px solid #0f0f0f; }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 14px 14px;
}

.yt-vid-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 5px;
}
.yt-vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-dur {
  position: absolute; bottom: 4px; right: 4px; background: rgba(0, 0, 0, 0.82);
  color: #ffffff; font-family: var(--font-mono); font-size: 9px; padding: 1px 4px; border-radius: 3px;
}
.yt-vid-title {
  font-size: 11px; font-weight: 700; color: #0f0f0f; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yt-vid-meta { font-size: 10px; color: #606060; margin-top: 2px; }

@media (max-width: 960px) {
  .gallery-list-grid { grid-template-columns: repeat(2, 1fr); }
  .before-strip, .mock-post-grid, .mock-social-grid { grid-template-columns: 1fr; }
  .mini-site-viewport { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .gallery-list-grid { grid-template-columns: 1fr; }
  .hallway-viewport { height: 420px; }
  .painting-card { width: 230px; margin-left: -115px; }
}
