/* ========================= style.css ========================= */ * { box-sizing: border-box; } html, body { margin: 0; min-height: 100%; overflow: hidden; font-family: Georgia, 'Times New Roman', serif; background: #09020d; color: #fff7fb; } canvas { position: fixed; inset: 0; z-index: 0; } .ui { position: fixed; inset: 0; z-index: 1; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 28px; } .title-card { text-align: center; text-shadow: 0 0 28px rgba(255, 150, 210, 0.6); } .title-card h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 400; letter-spacing: 0.04em; } .title-card p { margin: 12px 0 0; opacity: 0.8; font-size: clamp(0.95rem, 2vw, 1.2rem); } .controls { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); width: min(680px, calc(100vw - 32px)); padding: 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 24px; background: rgba(255, 255, 255, 0.1); box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35); backdrop-filter: blur(18px); display: grid; grid-template-columns: 1fr auto; gap: 12px; pointer-events: auto; } input[type='file'] { width: 100%; color: #ffe8f3; font-size: 0.95rem; } button { border: none; border-radius: 999px; padding: 12px 20px; color: #351122; background: #ffd2e6; cursor: pointer; font-weight: 700; box-shadow: 0 0 22px rgba(255, 160, 205, 0.45); } button:hover { transform: translateY(-1px); } .note { max-width: 760px; margin-bottom: 14vh; text-align: center; font-size: clamp(1.4rem, 4vw, 3.1rem); line-height: 1.2; opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 1s ease, transform 1s ease; text-shadow: 0 0 30px rgba(255, 130, 190, 0.75); } .note.show { opacity: 1; transform: translateY(0) scale(1); }