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

:root {
  --bg: #f6f5f1;
  --bg-dot: #ddd9d0;
  --text: #2c2a25;
  --text-muted: #9e9a90;
  --text-faint: #c8c4ba;
  --accent: #b8a88a;
  --drop-border: #b8a88a;
}

body {
  font-family: 'Newsreader', Georgia, serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow: hidden;
}

/* Dot grid background */
.dot-grid {
  background-image: radial-gradient(circle, var(--bg-dot) 0.8px, transparent 0.8px);
  background-size: 24px 24px;
  background-position: 12px 12px;
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.5s; }
.fade-in-delay-3 { animation-delay: 0.8s; }
.fade-in-delay-4 { animation-delay: 1.1s; }

/* Breathing animation for the icon */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.breathe {
  animation: breathe 4s ease-in-out infinite;
}

/* Subtle hover on icon */
.icon-clickable {
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}

.icon-clickable:active {
  transform: scale(0.92);
}

/* Title input */
.title-input {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-muted);
  width: 200px;
  text-align: center;
  padding: 4px 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.title-input:hover {
  border-bottom-color: var(--text-faint);
}

.title-input:focus {
  border-bottom-color: var(--accent);
  color: var(--text);
}

/* Drop zone */
.drop-zone-active {
  background-color: rgba(184, 168, 138, 0.04);
}

.drop-border {
  border: 2px dashed var(--drop-border) !important;
}

/* Quote text transition */
.quote-text {
  transition: opacity 0.4s ease;
}

/* Footer link */
.footer-link {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

/* Visit counter */
.visit-counter {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

/* Scrollbar hide */
::-webkit-scrollbar { display: none; }

/* Drop message */
@keyframes dropFadeIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.drop-message {
  animation: dropFadeIn 0.3s ease forwards;
}