/* ==========================================================================
   CLIPPY CONSTRUCTION — DEFAULT PROVISIONING PAGE
   Clean, fully responsive, static page for clippy.network / cPanel
   ========================================================================== */

/* --- Reset & Core Layout --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fcfcfd;
  color: #2b303a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Viewport Container --- */
.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f4f5f8 80%, #ebeef2 100%);
  padding: 24px;
  user-select: none;
  -webkit-user-select: none;
}

/* --- Scene Container (3:2 Aspect Ratio) --- */
.scene-container {
  position: relative;
  width: min(94vw, 1440px, calc((100vh - 48px) * 1.5));
  aspect-ratio: 1536 / 1024;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Primary Master Artwork (Untouched Visual Truth) --- */
.base-artwork {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .viewport {
    padding: 12px;
  }
  
  .scene-container {
    width: 98vw;
  }
}
    font-size: 0.75rem; /* 12px */
  }

  /* Simplify motion on smaller viewports */
  .layer-crane {
    animation-duration: 20s;
  }
  .layer-magnet {
    animation-duration: 10s;
  }
}

/* Touch / Pointer Fine Media Query for Parallax */
@media (hover: none) or (pointer: coarse) {
  /* On touch devices, disable parallax transforms to keep layout rock solid */
  .layer {
    transform: none !important;
  }
}

/* --- Accessibility: Reduced Motion Override --- */
@media (prefers-reduced-motion: reduce) {
  .scene-container {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .layer, .steam-wisp, .loose-clip, .layer-crane, .layer-magnet, .layer-clippy {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }

  body.layers-active .base-artwork {
    opacity: 1 !important;
  }

  .layers-wrapper {
    display: none !important;
  }
}
