/* Custom Properties for Global Theming */
:root {
  --bg-color-start: #ffffff;
  --bg-color-end: #f5f5f7;
  --transition-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-color: rgba(0, 0, 0, 0.03);
}

/* Reset and Layout */
*, *::before, *::after {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-color-start) 0%, var(--bg-color-end) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Visually Hidden Utility for SEO & Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Landing Page Container */
.app-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

/* Main Image Component */
.main-artwork {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  
  /* Initial state for entrance animation */
  opacity: 0;
  transform: scale(0.96) translate3d(0, 8px, 0);
  animation: entrance 1.4s var(--transition-ease) 0.2s forwards;
  
  /* Smooth transition for hover interactions */
  transition: 
    transform 0.8s var(--transition-ease),
    filter 0.8s var(--transition-ease),
    box-shadow 0.8s var(--transition-ease);
  
  user-select: none;
  -webkit-user-drag: none;
}

/* Ambient glow and interaction */
.main-artwork:hover {
  transform: scale(1.025) translate3d(0, -4px, 0);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
  cursor: default;
}

/* Entrance Animation */
@keyframes entrance {
  0% {
    opacity: 0;
    transform: scale(0.96) translate3d(0, 8px, 0);
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.02));
  }
}
