/* Post List Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fa;
}

.post-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.post-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px 0;
  border-radius: 16px;
}

.post-header h1 {
  font-size: 36px;
  color: #065f46;
  margin-bottom: 12px;
  font-weight: 700;
}

.post-description {
  font-size: 17px;
  color: #059669;
  font-weight: 500;
}

.post-write-section {
  margin-bottom: 32px;
  text-align: right;
}

.btn-write {
  padding: 14px 28px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-write:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.btn-write:active {
  transform: translateY(0);
}

.btn-write span {
  font-size: 18px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loading {
  text-align: center;
  padding: 80px 20px;
  color: #059669;
  font-size: 17px;
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 100px 20px;
  color: #94a3b8;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 17px;
  margin-bottom: 28px;
  color: #64748b;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 24px 0;
}

.page-btn {
  padding: 14px 36px;
  border: 2px solid #d1fae5;
  background-color: white;
  color: #059669;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.page-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

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

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* 반응형 */
@media (max-width: 768px) {
  .post-container {
    padding: 24px 16px;
  }

  .post-header h1 {
    font-size: 24px;
  }
}