/* OraxAdmin Premium — Hamachi / Splashtop / Halai inspired */

/* ── Hero video / globe background (Hamachi-style) ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 800px);
  padding-top: calc(var(--nav-h) + 14px);
  padding-bottom: 40px;
  align-items: flex-start;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.2) hue-rotate(180deg);
}

.hero-bg-layer canvas#heroGlobe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, var(--bg) 72%),
    linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: 1;
}

.hero .container.hero-grid { position: relative; z-index: 2; }

/* ── Splashtop mega menu ── */
.nav-mega-wrap { position: relative; }

.nav-mega-trigger {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-mega-trigger:hover,
.nav-mega-wrap.open .nav-mega-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: min(720px, 92vw);
  background: rgba(8, 12, 20, 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

body.en .nav-mega-panel { transform: translateX(-50%) translateY(8px); }

.nav-mega-wrap.open .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.mega-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  margin-bottom: 4px;
}

.mega-item:hover {
  background: rgba(34, 211, 238, 0.08);
  text-decoration: none;
  color: inherit;
}

.mega-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.mega-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.mega-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

/* ── Trust badges (Splashtop-style) ── */
.trust-bar {
  padding: 28px 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

.trust-stars { color: #aab4c0; font-size: 14px; letter-spacing: 2px; }

.trust-badge strong {
  font-size: 13px;
  font-weight: 700;
}

.trust-badge span { font-size: 11px; color: var(--muted); }

/* ── Video wall (Halai-style autoplay) ── */
.video-wall {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #030508;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.video-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(34, 211, 238, 0.12);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.video-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 8, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
}

.video-frame-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.video-frame-overlay p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.video-frame-overlay a {
  pointer-events: auto;
  align-self: flex-start;
}

.video-live-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 10px;
  font-weight: 700;
  color: #fca5a5;
  z-index: 2;
}

.video-live-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── Logo poll spotlight (embedded on homepage) ── */
.logo-poll-spotlight .section-head {
  text-align: center;
  margin-bottom: 24px;
}

.logo-poll-spotlight .section-head .btn {
  margin-top: 16px;
}

.logo-poll-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(170, 180, 192, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #050a14;
  min-height: 720px;
}

.logo-poll-frame iframe {
  display: block;
  width: 100%;
  height: min(85vh, 920px);
  border: none;
  background: #050a14;
}

@media (max-width: 900px) {
  .logo-poll-frame { min-height: 560px; }
  .logo-poll-frame iframe { height: 75vh; min-height: 520px; }
}

/* ── Logo gallery on homepage ── */
.logo-gallery-section .section-head { text-align: center; }
.logo-gallery-section .section-head .btn-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px;
}
.logo-gallery-subtitle {
  font-size: 1rem;
  color: var(--gold);
  margin: 32px 0 16px;
  font-weight: 700;
}
.logo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.logo-gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(8, 16, 28, 0.85);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.logo-gallery-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.logo-gallery-img-wrap {
  display: block;
  aspect-ratio: 1;
  background: #000;
  padding: 12px;
}
.logo-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-gallery-card-body { padding: 14px 16px 18px; }
.logo-gallery-id {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.logo-gallery-card-body h4 {
  font-size: 0.95rem;
  margin: 6px 0 4px;
  font-weight: 700;
}
.logo-gallery-card-body p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.logo-gallery-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.logo-gallery-actions .btn-sm { padding: 8px 12px; font-size: 0.78rem; }
.logo-gallery-ref { border-color: rgba(170, 180, 192, 0.35); }
.logo-gallery-error { color: var(--muted); text-align: center; grid-column: 1 / -1; }
.logo-gallery-error a { color: var(--accent); }

/* ── MSN-style cinema (after LIVE MESH, separate section) ── */
.cinema-section {
  position: relative;
  padding: 20px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(170, 180, 192, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34, 211, 238, 0.05), transparent);
}

.cinema-letterbox {
  height: clamp(22px, 4.5vw, 48px);
  background: linear-gradient(180deg, #000 0%, #0a0f18 100%);
  border-bottom: 2px solid rgba(170, 180, 192, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.cinema-letterbox-bottom {
  background: linear-gradient(0deg, #000 0%, #0a0f18 100%);
  border-top: 2px solid rgba(170, 180, 192, 0.35);
  border-bottom: none;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
}

.cinema-tag {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(170, 180, 192, 0.12));
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.cinema-section.cinema-locked {
  display: none;
}

.cinema-section.cinema-reveal {
  display: block;
  animation: cinemaSectionIn 0.9s var(--ease) forwards;
}

@keyframes cinemaSectionIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.cinema-after-mesh {
  margin-top: -8px;
  border-top: 1px solid var(--border);
}

.cinema-head {
  margin-bottom: 32px;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cinema-msn-layout {
  display: grid;
  grid-template-columns: 1fr min(320px, 32%);
  gap: 28px;
  align-items: start;
}

.cinema-stage {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(170, 180, 192, 0.2);
  background: #000;
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 80px rgba(34, 211, 238, 0.08);
  overflow: hidden;
}

/* MSN news feed — side queue */
.cinema-msn-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.msn-feed-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}

.msn-story {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.msn-story:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.05);
}

.msn-story.is-active {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.1);
}

.msn-story.is-done {
  opacity: 0.55;
}

.msn-story-num {
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold);
  align-self: center;
}

.msn-story-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.msn-story-body strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.msn-story-body span {
  font-size: 0.72rem;
  color: var(--muted);
}

.msn-story-bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.msn-story-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, var(--accent));
  transition: width 0.08s linear;
}

.msn-story.is-active .msn-story-bar-fill {
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.cinema-stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(170,180,192,0.5), rgba(34,211,238,0.35) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
}

.cinema-stage-inner {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: clamp(380px, 56vw, 720px);
  background: #000;
}

.cinema-stage-inner::before,
.cinema-stage-inner::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: clamp(22px, 5%, 52px);
  background: #000;
  z-index: 5;
  pointer-events: none;
  border-inline: 1px solid rgba(170, 180, 192, 0.2);
}

.cinema-stage-inner::before {
  top: 0;
  border-bottom: 2px solid rgba(170, 180, 192, 0.4);
}

.cinema-stage-inner::after {
  bottom: 0;
  border-top: 2px solid rgba(170, 180, 192, 0.4);
}

.cinema-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.cinema-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.cinema-slide.is-exiting {
  opacity: 0;
  transform: scale(0.98);
  z-index: 1;
}

.cinema-slide iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.2),
    0 0 0 2px rgba(170, 180, 192, 0.15);
  pointer-events: none;
}

.cinema-slide-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 48px 28px 56px;
  background: linear-gradient(0deg, rgba(3, 5, 8, 0.95) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s 0.3s, transform 0.6s 0.3s;
}

.cinema-slide-caption-top {
  /* Hidden: title/subtitle are shown once in the NOW PLAYING bar (avoids duplicate caption) */
  display: none;
  top: 52px;
  inset-inline-start: 0;
  bottom: auto;
  padding: 20px 28px 32px;
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.92) 0%, transparent 100%);
  transform: translateY(-12px);
}

.cinema-stage.cinema-live .cinema-slide.is-active .cinema-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.cinema-stage.cinema-live .cinema-slide.is-active .cinema-slide-caption-top {
  transform: translateY(0);
}

.cinema-slide-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.cinema-slide-caption p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.cinema-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
}

.cinema-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

.cinema-waiting {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(8, 16, 28, 0.6), rgba(3, 5, 8, 0.95));
  transition: opacity 0.5s;
}

.cinema-stage.cinema-live .cinema-waiting {
  opacity: 0;
  pointer-events: none;
}

.cinema-wait-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.2);
  border-top-color: var(--accent);
  animation: cinemaSpin 1.2s linear infinite;
  margin-bottom: 16px;
}

@keyframes cinemaSpin { to { transform: rotate(360deg); } }

.cinema-waiting p {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.cinema-now-playing {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 7;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.85) 0%, transparent 100%);
}

.cinema-now-left { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.cinema-now-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fca5a5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cinema-now-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.2s ease-in-out infinite;
}

.cinema-now-playing strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cinema-now-playing #cinemaSub {
  font-size: 11px;
  color: var(--muted);
}

.cinema-now-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#cinemaCounter {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.cinema-progress {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 4px;
  z-index: 7;
  background: rgba(255, 255, 255, 0.08);
}

.cinema-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  transition: width 0.08s linear;
}

@media (max-width: 900px) {
  .mesh-status-pill { max-width: 100%; font-size: 0.68rem; }
  .hero-panel-live {
    min-height: auto;
    position: relative;
    top: auto;
    order: -1;
  }
  .hero-copy { order: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .mesh-stats-row { grid-template-columns: 1fr; }
  .cinema-now-playing { flex-direction: column; align-items: stretch; }
  .cinema-msn-layout { grid-template-columns: 1fr; }
  .cinema-msn-feed { position: static; order: 2; }
  .cinema-stage { order: 1; }
  .cinema-stage-inner { min-height: 52vw; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 10px); padding-bottom: 28px; }
}

/* ── Topology (Hamachi-style) ── */
.topology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topo-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.topo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.topo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.1);
}

.topo-card:hover::before { opacity: 1; }

.topo-card.featured {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
}

.topo-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

.topo-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.topo-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.topo-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

/* ── Web management (Hamachi) ── */
.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mgmt-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.mgmt-item:hover { background: rgba(34, 211, 238, 0.04); }

.mgmt-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.mgmt-item h4 { font-size: 14px; margin-bottom: 6px; }
.mgmt-item p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Comparison table ── */
.compare-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: start;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--muted); opacity: 0.6; }
.compare-table .highlight { background: rgba(34, 211, 238, 0.06); }

/* ── Resource center ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.resource-card {
  padding: 24px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, border-color 0.25s;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: inherit;
  text-decoration: none;
}

.resource-card .rc-icon { font-size: 28px; margin-bottom: 10px; }
.resource-card h4 { font-size: 14px; margin-bottom: 6px; }
.resource-card p { font-size: 11px; color: var(--muted); margin: 0; }

/* ── Solutions split (Splashtop dual path) ── */
.split-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.split-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s;
}

.split-card:hover { transform: scale(1.02); }

.split-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity 0.3s, transform 8s linear;
}

.split-card:hover .split-card-bg {
  opacity: 0.5;
  transform: scale(1.08);
}

.split-card:nth-child(1) .split-card-bg {
  background: linear-gradient(135deg, #0c4a6e, #22d3ee 60%, #030508);
}

.split-card:nth-child(2) .split-card-bg {
  background: linear-gradient(135deg, #450a0a, #ef4444 50%, #030508);
}

.split-card > * { position: relative; z-index: 1; }
.split-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.split-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.testimonial blockquote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 16px;
  font-style: italic;
}

.testimonial cite {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

.testimonial cite strong { color: var(--accent); display: block; margin-bottom: 2px; }

@media (max-width: 900px) {
  .nav-mega-panel { grid-template-columns: 1fr; min-width: 92vw; }
  .video-wall, .topology-grid, .mgmt-grid, .resource-grid,
  .split-hero-cards, .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .video-frame { aspect-ratio: 16 / 11; }
}

/* ============================================================
   Cinema feed v2 — modern poster cards (creative gallery)
   ============================================================ */
.cinema-feed-v2 { gap: 14px; }

.cinema-feed-v2 .msn-feed-label {
  display: flex; align-items: center; gap: 8px;
}
.cinema-feed-v2 .msn-feed-label::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
}

.cinema-feed-v2 .msn-story {
  grid-template-columns: 78px 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s, box-shadow .3s;
}
.cinema-feed-v2 .msn-story::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  pointer-events: none;
}
.cinema-feed-v2 .msn-story:hover {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,.4);
  background: rgba(124,58,237,.06);
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.cinema-feed-v2 .msn-story:hover::before { transform: translateX(120%); }

.msn-poster {
  grid-row: 1 / 2; grid-column: 1;
  position: relative;
  width: 78px; height: 54px;
  border-radius: 13px;
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.msn-story[data-accent="violet"] .msn-poster { background: linear-gradient(135deg, #1e1547, #7c3aed 58%, #22d3ee); }
.msn-story[data-accent="gold"]   .msn-poster { background: linear-gradient(135deg, #11202e, #aab4c0 58%, #22d3ee); }
.msn-story[data-accent="cyan"]   .msn-poster { background: linear-gradient(135deg, #06212e, #0891b2 55%, #34d399); }

.msn-poster-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 28% 18%, rgba(255,255,255,.4), transparent 60%);
}
.msn-poster-glyph {
  position: relative; z-index: 2;
  font-size: 1.45rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}
.msn-poster-num {
  position: absolute; z-index: 2;
  top: 5px; inset-inline-start: 7px;
  font: 900 .72rem/1 var(--font-display, "Outfit", sans-serif);
  letter-spacing: .04em; color: #fff; opacity: .92;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.cinema-feed-v2 .msn-story-body { grid-row: 1 / 2; grid-column: 2; gap: 6px; }
.cinema-feed-v2 .msn-story-body strong { font-size: .9rem; }

.msn-story-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; color: var(--muted);
}
.msn-chip {
  font-size: .6rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
  letter-spacing: .05em; text-transform: uppercase;
}
.msn-chip-new {
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  color: #fff; box-shadow: 0 0 14px rgba(124,58,237,.5);
}

.msn-story-play {
  grid-row: 1 / 2; grid-column: 3;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: #fff; font-size: .68rem;
  transition: transform .25s, background .25s, box-shadow .25s, border-color .25s;
}
.cinema-feed-v2 .msn-story:hover .msn-story-play {
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  border-color: transparent; transform: scale(1.1);
  box-shadow: 0 0 20px rgba(124,58,237,.55);
}

.cinema-feed-v2 .msn-story-bar { grid-column: 1 / -1; grid-row: 2 / 3; margin-top: 6px; }

.cinema-feed-v2 .msn-story.is-active {
  border-color: rgba(167,139,250,.55);
  background: rgba(124,58,237,.1);
  box-shadow: 0 0 30px rgba(124,58,237,.16);
}
.cinema-feed-v2 .msn-story.is-active .msn-story-bar-fill {
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  box-shadow: 0 0 8px rgba(124,58,237,.6);
}
.cinema-feed-v2 .msn-story.is-done { opacity: .5; }
.cinema-feed-v2 .msn-story.is-done .msn-poster { filter: grayscale(.4); }

@media (max-width: 820px) {
  .cinema-feed-v2 { flex-direction: row; flex-wrap: wrap; }
  .cinema-feed-v2 .msn-story { flex: 1 1 220px; }
}

/* ============================================================
   Stacked cinema layout — inline choices ABOVE an enlarged stage
   ============================================================ */
.cinema-head-min { margin-bottom: 18px; }
.cinema-head-min h2, .cinema-head-min p { display: none; }

.cinema-layout-stacked {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cinema-layout-stacked .cinema-msn-feed {
  order: -1;
  position: static;
  top: auto;
  flex-flow: row wrap;
  gap: 12px;
  width: 100%;
}
.cinema-layout-stacked .msn-feed-label {
  flex: 1 0 100%;
  margin: 0 0 2px;
}
.cinema-layout-stacked .cinema-feed-v2 .msn-story {
  flex: 1 1 240px;
  min-width: 200px;
}
.cinema-layout-stacked .cinema-stage { order: 0; width: 100%; }
.cinema-layout-stacked .cinema-stage-inner {
  aspect-ratio: 16 / 10;
  min-height: clamp(440px, 72vw, 920px);
  height: auto;
}

@media (max-width: 760px) {
  .cinema-layout-stacked .cinema-feed-v2 .msn-story { flex: 1 1 100%; }
  .cinema-layout-stacked .cinema-stage-inner {
    aspect-ratio: 4 / 3;
    min-height: clamp(320px, 78vw, 560px);
  }
}
