* { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

body {
  background: #f0f0f0; /* Fallback color */
}

/* Fixed background image layer - always fully visible */
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('i39.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
  pointer-events: none;
}

/* Container for scrollable content */
.scroll-container {
  position: relative;
  z-index: 2;
  min-height: 200vh; /* Make page scrollable for demo */
}

:root{
  --top: 30px;
  --right: 30px;
  --left: 30px;
  --height: 600px; /* Changed from 6px to make square visible */
  --radius: 24px;
--alpha: 0.1;
}

#page {
  margin: var(--top) var(--right) 0 var(--left);
  height: var(--height);
  background: rgba(255, 255, 255, var(--alpha));
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  padding: 40px;
  backdrop-filter: blur(2px);
}

.content {
  position: relative;
  z-index: 10;
  /* Make text more readable over semi-transparent background */
  color: #333;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Canvas if needed */
body > canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 7;
  pointer-events: none;
  display: block;
}

@media (max-width: 420px) {
  :root{
    --left: 12px;
    --right: 12px;
    --top: 20px;
    --height: 400px;
    --radius: 18px;
  }
}