/* layout.css */
html, body {
  height: auto !important;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--muted);
  background: 
    radial-gradient(1200px 600px at 10% 10%, rgba(123,226,255,0.08), transparent 8%),
    radial-gradient(1000px 500px at 90% 90%, rgba(155,255,184,0.06), transparent 10%),
    radial-gradient(800px 400px at 50% 20%, rgba(255,123,226,0.05), transparent 12%),
    linear-gradient(120deg, var(--bg-1), var(--bg-2));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* subtle animated sheen on body (slow) */
@keyframes bgShift {
  0% { background-position: 0% 50%, 100% 50%, 50% 20%, 0% 0%; }
  50% { background-position: 20% 40%, 80% 60%, 60% 30%, 100% 100%; }
  100% { background-position: 0% 50%, 100% 50%, 50% 20%, 0% 0%; }
}

body { 
  animation: bgShift 30s linear infinite; 
  background-size: 1200px 600px, 1000px 500px, 800px 400px, 100% 100%;
}

/* floating particles animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(123,226,255,0.3), transparent 50%),
    radial-gradient(2px 2px at 40% 70%, rgba(155,255,184,0.3), transparent 50%),
    radial-gradient(2px 2px at 60% 20%, rgba(255,123,226,0.3), transparent 50%),
    radial-gradient(2px 2px at 80% 50%, rgba(123,226,255,0.3), transparent 50%),
    radial-gradient(2px 2px at 30% 80%, rgba(155,255,184,0.3), transparent 50%);
  background-repeat: no-repeat;
  animation: float 20s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-40px) translateX(20px); }
  75% { transform: translateY(-20px) translateX(10px); }
  100% { transform: translateY(0) translateX(0); }
}

.main-container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 var(--page-padding) 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
  min-height: auto;
}