.page-container {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--top-bar-height) - var(--nav-height));
  overflow: hidden;
  background: var(--bg-primary);
}

.footer-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.footer-layer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.04) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.footer-layer:hover::before {
  opacity: 1;
}

.footer-content {
  padding: 30px 0 12px;
}

.footer-layer-bottom {
  padding: 10px 0 4px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
}

.footer-layer-bottom p {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.main-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: var(--bg-primary);
  border-radius: 0 0 20px 20px;
  will-change: transform;
  min-height: 100%;
  transform: translateZ(0);
}

@media (max-width: 767px) {
  .page-container {
    height: calc(100vh - var(--nav-height));
  }

  .main-layer {
    border-radius: 0;
  }

  .footer-content {
    padding: 16px 0 8px;
  }
}
