@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700&family=Inter:wght@400;500&display=swap');

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

:root {
  --bg-color: #07071a;
  --eye-bg:   rgba(255,255,255,0.92);
  --iris:     #07071a;
  --pupil:    rgba(255,255,255,0.9);
  --primary:  #2563eb;
  --sky:      #0ea5e9;
  --text:     #f8fafc;
  --muted:    #94a3b8;
  --dim:      #334155;
}

html, body {
  width: 100%; height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  transition: background-color 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--text);
}

/* ambient */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s;
}
body::before {
  top: -20%; left: -15%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
}
body::after {
  bottom: -20%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(14,165,233,0.07) 0%, transparent 70%);
}

/* layout */
.page-wrap {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* hint text */
.hint {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}
.hint strong {
  color: var(--muted);
  font-weight: 700;
}

/* eyes container */
.eyes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}

/* each eye */
.eye {
  background: var(--eye-bg);
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 1px rgba(37,99,235,0.15),
    0 12px 40px rgba(0,0,0,0.5),
    inset 0 2px 4px rgba(255,255,255,0.3);

  width:  clamp(100px, 18vw, 180px);
  height: clamp(100px, 18vw, 180px);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: box-shadow 0.3s;
}
.eye:hover {
  box-shadow:
    0 0 0 1px rgba(37,99,235,0.4),
    0 16px 48px rgba(37,99,235,0.25),
    inset 0 2px 4px rgba(255,255,255,0.3);
}

/* iris (dark) */
.inner-eye {
  background: radial-gradient(circle at 35% 35%, #1e293b 0%, var(--iris) 60%);
  width:  clamp(50px, 9vw, 90px);
  height: clamp(50px, 9vw, 90px);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.05);
  transition: background 0.4s;
}

/* pupil (white shine) */
.eye-circle {
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0.6) 100%);
  width:  20%;
  height: 20%;
  border-radius: 50%;
  position: relative;
  top: 18%;
  left: 12%;
}

/* mouse pointer lines — hidden by default, shown via JS */
.mouse-container {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 0;
}
.mouse {
  background: rgba(37,99,235,0.25);
}
.mouse-left {
  width: 50px; height: 1px;
  transform: translateX(-46.5px) translateY(.5px) rotate(30deg);
}
.mouse-right {
  width: 50px; height: 1px;
  transform: translateX(-3.5px) translateY(-.5px) rotate(-30deg);
}

/* color palette indicator */
.palette-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.palette-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.palette-dot.active {
  transform: scale(1.4);
  border-color: rgba(255,255,255,0.5);
}
