.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1510;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.login-header p {
  color: #2a2018;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.guest-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 1.05rem;
}

.name-input-area {
  display: flex;
  gap: 10px;
  width: 100%;
}

.name-input-area input {
  flex: 1;
}

.login-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.2em;
}

/* Divider */
.login-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Coming Soon wrapper */
.coming-soon-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 246, 238, 0.8);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: var(--radius-md);
  z-index: 1;
  pointer-events: none;
}

.login-full-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
}

/* Site description */
.site-description {
  margin-top: 40px;
  max-width: 480px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.site-description h2 {
  font-size: 1.15rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
}

.site-description > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.site-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-features li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  padding-left: 1.2em;
  position: relative;
}

.site-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.site-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* Footer */
.login-footer {
  margin-top: 32px;
  font-size: 0.8rem;
  color: #5c5040;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.login-footer a {
  color: #3a3020;
  transition: color 0.2s;
}

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

.footer-sep {
  margin: 0 8px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);

  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  padding: 0 4px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-top: 16px;
  margin-bottom: 6px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 8px;
}

.modal-body li {
  margin-bottom: 4px;
}
