@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
  --accent: #C89B7B;
  --accent-soft: rgba(200, 155, 123, 0.15);
  --accent-glow: rgba(200, 155, 123, 0.12);
  --cool: #7BA4B8;
  --glass: rgba(10, 16, 26, 0.9);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hl: rgba(255, 255, 255, 0.12);
  --text-1: rgba(255, 255, 255, 0.93);
  --text-2: rgba(255, 255, 255, 0.5);
  --text-3: rgba(255, 255, 255, 0.3);
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Outfit', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-b);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  background: #0a0e18;
}

.scene {
  position: relative;
  width: 100%;
  height: 100vh;
  perspective: 1200px;
  overflow: hidden;
}

.pixi-root {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pixi-root canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.grain-overlay {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 49;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.02;
  animation: grain 6s steps(8) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  12.5% { transform: translate(-5%, -10%); }
  25% { transform: translate(-15%, 5%); }
  37.5% { transform: translate(7%, -25%); }
  50% { transform: translate(-5%, 25%); }
  62.5% { transform: translate(15%, 0%); }
  75% { transform: translate(0%, 15%); }
  87.5% { transform: translate(-10%, 10%); }
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 19;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
}
