/* Bridge LAN page styles onto zemew.com palette */
:root {
  --muted: rgba(184, 210, 240, 0.72);
}

body.lan-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--bc-5);
}

body.lan-page > main {
  flex: 1 1 auto;
}

body.lan-page > footer.shell-footer {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  width: 100%;
  margin-top: auto;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(2, 4, 8, 0.35) 100%);
  padding: 1.25rem;
  text-align: center;
}

body.lan-page .btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--bc-2), var(--bc-3));
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 4, 8, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.lan-page .btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 4, 8, 0.35);
}

body.lan-page .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(21, 39, 60, 0.97) 0%, rgba(21, 39, 60, 0.88) 100%);
  backdrop-filter: blur(8px);
}

body.lan-page .lan-preview-badge {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-1);
  border: 1px solid var(--border-strong);
  background: rgba(152, 186, 227, 0.12);
  vertical-align: middle;
}

#toTop {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bc-2), var(--bc-3));
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(2, 4, 8, 0.35);
}

#toTop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#toTop:hover {
  transform: translateY(-3px);
}
