@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #2f3a2e;
  --sage: #5b6f52;
  --sage-dark: #3f4f39;
  --blush: #e8c4b8;
  --gold: #b8935f;
  --cream: #faf7f0;
  --line: #e2ddd0;
  --error: #a4452f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gate {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 2.4rem;
  margin: 0 0 6px;
  color: var(--sage-dark);
}

.subtitle {
  color: #6b7566;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

input[type="password"], input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}

input:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: var(--sage-dark);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s ease;
}

button:hover { background: var(--sage); }

.page {
  width: 100%;
  max-width: 900px;
  padding: 32px 20px 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.dropzone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: white;
  margin-bottom: 12px;
}

.dropzone p { margin: 8px 0 0; color: #6b7566; font-size: 0.9rem; }
.dropzone-icon { font-size: 2rem; }

.uploader-name { margin-bottom: 20px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 6px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  /* background: #e2ddd0; */
  display: flex;
  /* align-items: center; */
  justify-content: center;
  color: #a3a695;
  font-size: 0.75rem;
}

.empty-state {
  text-align: center;
  color: #8a9084;
  padding: 40px 0;
  font-size: 0.9rem;
}
