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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.photo-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading {
  text-align: center;
  color: #888;
}

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #666;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.no-photo {
  padding: 3rem 2rem;
  color: #666;
}

.no-photo p {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.no-photo .sub {
  font-size: 0.9rem;
  color: #999;
}

.photo {
  width: 100%;
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
}

.refresh-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: #fff;
  background: #555;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.refresh-btn:hover {
  background: #333;
}

.refresh-btn:active {
  transform: scale(0.98);
}

footer {
  margin-top: 2rem;
  color: #999;
  font-size: 0.85rem;
}
